Thanks Aaron, very useful! JM
> Le 8 oct. 2021 à 03:24, Aaron Hill <[email protected]> a écrit : > > On 2021-10-07 5:46 pm, Kira Garvie wrote: >> Hello all! >> I can't figure out how to get that horizontal line dividing the >> spanish from the english verses... any tips? >> Thank you! >> Kira > > Here is an excerpt of what I have done in the past: > > %%%% > \version "2.20.0" > > separatorLineBelow = \with { > \override StanzaNumber.stencil = > #(grob-transformer 'stencil > (lambda (grob orig) > (grob-interpret-markup grob > #{ \markup \overlay { \stencil $orig > \with-dimensions #'(0 . 0) #'(0 . 0) > \translate #'(-1 . -1.25) > \override #'(thickness . 2) > \draw-line #'(6 . 0)} #} ))) > \override VerticalAxisGroup.nonstaff-nonstaff-spacing = > #'( (basic-distance . 0) (minimum-distance . 4.0) > (padding . 0.0) (stretchability . 0) ) > } > > \layout { \context { \Lyrics > \override VerticalAxisGroup.nonstaff-nonstaff-spacing = > #'( (basic-distance . 0) (minimum-distance . 3.5) > (padding . 0.0) (stretchability . 0) ) > } } > > << \new Voice = melody \fixed c' { \time 3/4 a4 g b | a2. } > \new Lyrics \lyricsto melody { \set stanza = "1." Lo -- rem ips -- um. } > \new Lyrics \with \separatorLineBelow > \lyricsto melody { \set stanza = "2." Lo -- rem ips -- um. } > \new Lyrics \lyricsto melody { \set stanza = "3." Lo -- rem ips -- um. } > \new Lyrics \with \separatorLineBelow > \lyricsto melody { \set stanza = "4." Lo -- rem ips -- um. } > \new Lyrics \lyricsto melody { \set stanza = "5." Lo -- rem ips -- um. } > \new Lyrics \lyricsto melody { \set stanza = "6." Lo -- rem ips -- um. } >> > %%%% > > The principle is simply to hack the StanzaNumber and then increase the > spacing between two Lyrics lines. > > > -- Aaron Hill >
