Jump to content

Rotating a text object: Difference between revisions

From LilyPond wiki
No edit summary
m New category
Tags: Mobile edit Mobile web edit
 
Line 17: Line 17:
[[Category:Really cool]]
[[Category:Really cool]]
[[Category:Really simple]]
[[Category:Really simple]]
[[Category:Editorial annotations]][[Category:Snippet]]
[[Category:Editorial annotations]]
[[Category:Snippet]]

Latest revision as of 23:21, 21 November 2025

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"

%% 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 } }
}