Aligning text marks to notes: Difference between revisions
Appearance
m Lemzwerg moved page Aligning text marks to the first note of the measure to Aligning text marks to notes without leaving a redirect |
mNo edit summary |
||
| Line 19: | Line 19: | ||
[[Category:Tweaks and overrides]] | [[Category:Tweaks and overrides]] | ||
[[Category:Text]] | [[Category:Text]] | ||
[[Category:Included in the official documentation]] | |||
[[Category:Snippet]] | [[Category:Snippet]] | ||
Latest revision as of 05:36, 24 December 2025
By default, TextMark objects are aligned to so-called NonMusicalPaperColumn grobs, like the left edge of the staff or a bar line. They can be aligned to a note instead by setting the non-musical property to #f.
\version "2.24"
\layout {
line-length = 80\mm
}
{
\textMark "mark a" c'1 |
\textMark "mark b" c'1 |
\break
\override Score.TextMark.non-musical = ##f
\textMark "mark c" c'1 |
\textMark "mark d" c'1 |
}