]> git.donarmstrong.com Git - lilypond.git/blob - input/lsr/vocal/vertical-brace-spanning-several-lyrics-lines.ly
Merge http://git.sv.gnu.org/r/lilypond
[lilypond.git] / input / lsr / vocal / vertical-brace-spanning-several-lyrics-lines.ly
1 %%  Do not edit this file; it is auto-generated from LSR!
2 \version "2.11.23"
3
4 \header { texidoc = "
5 This example shows a trick to insert a vertical brace when going from
6 several stanzas into a common ending in the lyrics. (An alternative is
7 of course to just skip the brace, especially if you add a line break
8 instead).
9 " }
10
11 % Replace brace150 by whatever between brace0 and brace575 that is of a
12 % suitable size.
13 leftbrace = \markup {\override #'(font-encoding . fetaBraces) \lookup #"brace200" }
14
15 % In some versions earlier than 20.10.20, the argument to \rotate was
16 % erroneously treated as radians instead of degrees, i.e. #3.14 was
17 % needed instead of #180
18 rightbrace = \markup {\rotate #180 \leftbrace }
19
20
21 lyricsbeforebrace = \lyricmode {Here is some ly -- rics }
22
23 lyricsfrombrace = \lyricmode { \markup{\rightbrace Here} comes some more }
24
25
26 melody = \relative c'{ c d e f g f e d c e d f g }
27
28
29 \score{
30 <<
31  \new Voice = m \melody
32  \new Lyrics \lyricsto m \lyricsbeforebrace
33  \new Lyrics \lyricsto m { \lyricsbeforebrace \lyricsfrombrace }
34  \new Lyrics \lyricsto m \lyricsbeforebrace
35 >>
36 }
37