Rotating a text object: Difference between revisions
Appearance
Import snippet from LSR |
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 |
||
| Line 1: | Line 1: | ||
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. | 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. | ||
<lilypond version="2.24 | <lilypond version="2.24"> | ||
%% http://lsr.di.unimi.it/LSR/Item?id=284 | %% http://lsr.di.unimi.it/LSR/Item?id=284 | ||
Revision as of 18:52, 16 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 } }
}