Steve Tarr schrieb:
I'm working with 2.13.20, trying to reproduce a piece of shape-note
music that has a 4-dot (with no line) repeat bar at the beginning of
the piece.
The snippet titled "Printing a repeat sign at the beginning of a
piece" works as described if I use the "|:" bar, but doesn't display
the bar if I use ":" (or any other bar style) instead.
What's special about "|:" in this case? Is there some property I can
override to allow arbitrary bar lines to be displayed at the beginning
of a piece? Or is there something I can change so that ":" will be
treated as a repeat bar just as "|:" is?
As a somewhat hackish solution, you can start the piece with an
invisible grace note, like this:
\version "2.13.20"
test = \relative c' {
\grace s16
\bar ":"
\repeat volta 2 {
c4 d e f | g f e d
}
}
\score {
\new Staff {
\new Voice {
\test
}
}
}
If you have multiple voices, make sure that the invisible grace note is
in every
voice, otherwise the output will be cluttered.
HTH,
Marc
-Steve Tarr
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user