I tried to lilypond code from
http://lists.gnu.org/archive/html/lilypond-user/2002-11/msg00150.html
but I obtain error message.
What it must be set instead of \property command?
% First possibility:
\score{\notes\relative c'{
\bar "|:"
c d e f |
g g g2
% Initialize first ending
\property Score.repeatCommands = #'((volta "1."))
f4 g e2 |
d1
% End the first ending, start the second ending.
\property Score.repeatCommands = #'((volta #f) end-repeat (volta "2."))
f4 e f2 |
g1 \bar "||"
% End the second ending, start the "Fine" ending.
\property Score.VoltaBracket \override #'font-style = #'large
\property Score.repeatCommands = #'((volta #f) end-repeat (volta "Fine"))
f4 e d2 |
c1 \bar "|."
% End the "Fine" ending.
\property Score.repeatCommands = #'((volta #f))
a'4 g a b |
c b a g |
f e d2 |
c1_#'(lines "D.C." "al Fine") \bar "||"
}
}
% Second possibility:
\score{\notes\relative c'{
\bar "|:"
c4 d e f |
g g g2
% Initialize first ending
\property Score.repeatCommands = #'((volta "1."))
f4 g e2 |
d1
% End the first ending, start the "Fine" ending.
\property Score.VoltaBracket \override #'font-style = #'large
\property Score.repeatCommands = #'((volta #f) end-repeat (volta "Fine"))
f4 e d2 |
c1 \bar "|."
% End the "Fine" ending.
\property Score.repeatCommands = #'((volta #f))
f4 e f2 |
g1 |
a4 g a b |
c b a g |
f e d2 |
c1_#'(lines "D.C." "al Fine") \bar "||"
}
}
Albert
|