Jump to content

Rotating a text object

From LilyPond wiki
Revision as of 22:39, 26 October 2025 by Jean Abou Samra (talk | contribs) (Import snippet from LSR)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

LilyPond gives you the ability to rotate any object you want, particularly markups as showed here. Alternatively, you can use the \column function to display your text vertically without rotating the letters.

\version "2.24.0"

%% http://lsr.di.unimi.it/LSR/Item?id=284

\relative c' {
  \textLengthOn
  c4^\markup { \rotate #45.0 hello }
  c4^\markup { \rotate #90.0 hello }
  r4
  c4^\markup { \column { h e l l o } }
}