[Top][All Lists]

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

Re: double barline before, repeat barline after line break

From: Jan-Peter Voigt
Subject: Re: double barline before, repeat barline after line break
Date: Tue, 2 Jan 2018 11:07:07 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0

... you don't need to define this one. Just use the predefined:
\bar ".|:-||"

The order is "<beginning-of-line>-<end-of-line>" ... that is sometimes puzzeling me ...
In scm/bar-line.scm you can find all predefined barlines.


Am 02.01.2018 um 10:57 schrieb Jan-Peter Voigt:
Hi Urs,

happy new year! :-)

I thought you were engaged with the introduction of \defineBarLine ???
Or was it Janek alone or David N.?
You can define a "broken" barline like this. Doesn't this fit your needs?

\defineBarLine "||-.|:" #'("||" ".|:" ".|:")

rrr = \new Staff {
   R1*3 \bar "||-.|:" \break \time 2/2 R

\new StaffGroup <<
   \rrr \rrr


Am 02.01.2018 um 09:31 schrieb Urs Liska:
Hi all,

I've come across a situation where I need different barlines before and after a line break, and I don't know how to achieve that.

The situation is that I have a time signature change and the beginning of a repeat happening at a line break. According to the edition I'm copying from and consistent with what Gould says I want to print a double barline before the new time signature at the end of the first line, but LilyPond prints a single barline instead. You can see that in the two attached images.

If I manually use \bar "||" before the time signature the repeat barline is removed, so that is obviously not a viable approach. I think I'd rather have to override some properties of the barline but don't know which. The information on are not helpful, and looking through the IR entries for barlines and key signatures doesn't give me further hints.

So is there any proper way to have printed the following:

end-of-line: double barline - time signature

new-line: clef - key - time - repeat barline


lilypond-user mailing list

lilypond-user mailing list

reply via email to

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