2 #(set-global-staff-size 30)
5 texidoc = "Lyrics without an @code{associatedVoice} should align properly.
6 If there are notes in the @code{PaperColumn}, they should align to them,
7 and when there are no notes, they should align relative to the
8 @code{PaperColumn} itself (represented with blue @code{GridLines} here)"
18 \consists "Grid_point_engraver"
19 gridInterval = #(ly:make-moment 1/4)
20 \override GridPoint.Y-extent = #'(-1 . 3)
24 \consists "Grid_line_span_engraver"
25 \override GridLine.color = #blue
31 \new Voice { s1*3 } % needed for gridLines
32 \new Voice { d'2 d' <f' g'>1 s1 }
34 \new Lyrics { \lyricmode { foo2 bar mmmm1 a2 bom } }
37 \markup "default (centered):"
40 \markup "right-aligned:"
42 \override Score.LyricText.self-alignment-X = #RIGHT