Aligning the ends of hairpins to NoteColumn directions: Difference between revisions
Appearance
m New category |
mNo edit summary |
||
| Line 1: | Line 1: | ||
The ends of hairpins may be aligned to the <code>LEFT</code>, <code>CENTER</code> or <code>RIGHT</code> of <code>NoteColumn</code> grobs by overriding the property <code>endpoint-alignments</code>, which is a pair of numbers representing the left and right ends of the hairpin. <code>endpoint-alignments</code> are expected to be directions (either -1, 0 | The ends of hairpins may be aligned to the <code>LEFT</code>, <code>CENTER</code>, or <code>RIGHT</code> of <code>NoteColumn</code> grobs by overriding the property <code>endpoint-alignments</code>, which is a pair of numbers representing the left and right ends of the hairpin. <code>endpoint-alignments</code> are expected to be directions (either -1, 0 or 1). Other values will be transformed with a warning. The right end of a hairpin terminating at a rest is not affected, always ending at the left edge of the rest. | ||
<lilypond version="2.24"> | <lilypond version="2.24"> | ||
Latest revision as of 13:24, 3 December 2025
The ends of hairpins may be aligned to the LEFT, CENTER, or RIGHT of NoteColumn grobs by overriding the property endpoint-alignments, which is a pair of numbers representing the left and right ends of the hairpin. endpoint-alignments are expected to be directions (either -1, 0 or 1). Other values will be transformed with a warning. The right end of a hairpin terminating at a rest is not affected, always ending at the left edge of the rest.
\version "2.24"
{
c'2\< <c' d'>\! |
\override Hairpin.endpoint-alignments = #'(1 . -1)
c'2\< <c' d'>\! |
\override Hairpin.endpoint-alignments = #`(,LEFT . ,CENTER)
c'2\< <c' d'>\! |
}