Aligning text marks to notes: Difference between revisions
Appearance
m added categories |
m added "really simple" cat |
||
| Line 18: | Line 18: | ||
[[Category:Tweaks and overrides]] | [[Category:Tweaks and overrides]] | ||
[[Category:Text]] | [[Category:Text]] | ||
[[Category:Really simple]] | |||
Revision as of 22:07, 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' |
}