Jump to content

Rotating a text object: Difference between revisions

From LilyPond wiki
m Replace version="2.24.0" with version="2.24" now that the LilyWiki extension supports auto-selecting the latest release in a stable series
Tags: Mobile edit Mobile web edit
No edit summary
Line 17: Line 17:
[[Category:Really cool]]
[[Category:Really cool]]
[[Category:Really simple]]
[[Category:Really simple]]
[[Category:Editorial annotations]]
[[Category:Editorial annotations]][[Category:Snippet]]

Revision as of 22:59, 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 } }
}