lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: \bar "||" and \repeat around a line break


From: Marc Hohl
Subject: Re: \bar "||" and \repeat around a line break
Date: Thu, 17 Jan 2013 20:01:22 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130106 Thunderbird/17.0.2

Am 17.01.2013 19:56, schrieb Thomas Morley:
2013/1/17 Johan Vromans <address@hidden>:
Frank Steinmetzger <address@hidden> writes:

Am Donnerstag, 17. Januar 2013, 08:28:37 schrieb Ralph Palmer:
In addition, you can specify "||:", which is equivalent to "|:" except at
line breaks, where it gives a double bar line at the end of the line and a
start repeat at the beginning of the next line.
Excellent. Just as I was implementing it I noticed that the \grace approach
caused the \breathe sign which comes right before the \bar "||" to appear
wrong; namely after the linebreak. The ||: approach does it right.
Except that it does not work with \repeat, AFAIK.

As I said earlier, I think that \bar "||" should behave like "||:" when
followed by \repeat.

-- Johan

_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user
How about:

\version "2.16.1"

\relative c'' {
        \time 4/4
        \repeat unfold 12 a4 %\break
        % see /ly/engraver-init.ly
        \once  \set  Score.startRepeatType = #"||:"
        \repeat volta 2 {
               \repeat unfold 20 a4
        }
        a1
        \break
        \repeat volta 2 {
               \repeat unfold 20 a4
        }
}
Hi Harm,

that's a clever solution, but still – you have to overwrite the defaults.

It would be better if LilyPond takes the given bar line style into account
when setting the repeats, but this is not a trivial task ...

Regards,

Marc

HTH,
   Harm

_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user





reply via email to

[Prev in Thread] Current Thread [Next in Thread]