lilypond-user
[Top][All Lists]
Advanced

[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 10:57:11 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0

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
>>
%%%%%%

Best
Jan-Peter

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 http://lilypond.org/doc/v2.19/Documentation/notation/visibility-of-objects#using-break_002dvisibility 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

Thanks
Urs



_______________________________________________
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]