Aligning the ends of hairpins to NoteColumn directions: Difference between revisions

Import snippet from LSR
 
mNo edit summary
 
(3 intermediate revisions by 2 users not shown)
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 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.
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&nbsp;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.0">
<lilypond version="2.24">
{
{
   c'2\< <c' d'>\! |
   c'2\< <c' d'>\! |
Line 13: Line 13:
[[Category:Expressive marks]]
[[Category:Expressive marks]]
[[Category:Included in the official documentation]]
[[Category:Included in the official documentation]]
[[Category:Snippet]]