Dear list,

I found the snippet: "Vertical brace spanning several lyrics lines" 
(http://lsr.di.unimi.it/LSR/Item?id=265 and 
http://lsr.di.unimi.it/LSR/Snippet?id=265).

It works perfectly "out of the box" for  three lyrics lines as in the snippet, 
but it took me quite some time to get it to work for two lyric lines. It is a 
wee bit more complicated than with an odd number of lyric lines.
 
This would be the "even number"-version: 
-------------------------------------------------------------
dropLyrics = {
  \override LyricText.extra-offset = #'(0 . -1)
  \override LyricHyphen.extra-offset = #'(0 . -1)
  \override LyricExtender.extra-offset = #'(0 . -1)
  \override StanzaNumber.extra-offset = #'(0 . -1)
}

leftbrace = \set stanza = \markup {
  \hspace #1
  \translate #'(0 . -0.6) \left-brace #25 }

rightbrace = \set stanza = \markup {
  \hspace #1
  \translate #'(0 . 0.4) \right-brace #25 }

lyricsbeforebrace = \lyricmode { Here are some ly -- rics }

lyricsfrombrace = \lyricmode { Here come some more }

melody = \relative c' { c d e f  g r4 f e d c }

\score{
  <<
     \new Voice = m {\autoBeamOff \melody} 
    \new Lyrics \lyricsto m  {\leftbrace \lyricsbeforebrace \rightbrace  
\dropLyrics \lyricsfrombrace}
    \new Lyrics \lyricsto m { \lyricsbeforebrace  }
  >>
}
---------------------------------------------------------------------

I wonder if it would be a good idea to add this even number case to the 
existing snippet.

If yes, is this post sufficient? I'm fairly new in the LilyPond universe and I 
have no clear idea who manages the snippet repository and  how.

Best regards,
Robert Blackstone
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to