Aligning text marks to notes: Difference between revisions
Appearance
Created page with "By default, <code>TextMark</code> objects are aligned to the left edge of the staff. They can be aligned to the first note of the line instead by setting the <code>non-musical</code> property to false. <lilypond version="2.24"> \paper { indent = #0 ragged-right = ##t } { \textMark "mark a" c'1 | \break \override Score.TextMark.non-musical = ##f \textMark "mark b" c' | } </lilypond>" |
m added categories |
||
| Line 16: | Line 16: | ||
} | } | ||
</lilypond> | </lilypond> | ||
[[Category:Tweaks and overrides]] | |||
[[Category:Text]] | |||
Revision as of 21:19, 23 December 2025
By default, TextMark objects are aligned to the left edge of the staff. They can be aligned to the first note of the line instead by setting the non-musical property to false.
\version "2.24"
\paper {
indent = #0
ragged-right = ##t
}
{
\textMark "mark a"
c'1 |
\break
\override Score.TextMark.non-musical = ##f
\textMark "mark b"
c' |
}