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: Ralph Palmer
Subject: Re: \bar "||" and \repeat around a line break
Date: Thu, 17 Jan 2013 21:52:14 -0500

On Thu, Jan 17, 2013 at 5:17 PM, Jim Long <address@hidden> wrote:
With respect, I think Johan's point is that along the lines of a
recent thread about having Lilypond generally 'do the right
thing' by default while preserving its immense amount of control
over the details, wouldn't it be a beneficial feature to have
Lilypond handle the situation automatically?

I think I understand. 

Consider a composition of the form

A B A C A D A E

The composer requires that each section begin on a new line of
the page; and end with a double barline, except the final
section:

A = { ... \bar "||" \break }
...
E = { ... \bar "|." }

Sections B and D begin with a volta repeat, but sections C and E
do not:

A = { ... \bar "||" \break }
B = { \repeat volta 2 { ... } ... \bar "||" \break }
C = { ... \bar "||" \break }
D = { \repeat volta 2 { ... } ... \bar "||" \break }
E = { ... \bar "|." }

If I understand Johan correctly, he is saying that at some point
in the future, it would be nice to have Lilypond handle this
automatically, and put a double barline at the end of each
section A through D, whether the next section begins with a volta
repeat or not.

It's a feature request along the lines of the recent discussion
about gradually enlarging the number of engraving scenarios that
Lilypond can handle correctly without having to use manual
overrides and such.

Okay, but how does Lilypond know that you are starting a new section, or that you want a double bar before some repeats, but possibly not others (since not all repeats come at the beginning - or the end, for that matter - of a section)?

Ralph 


--
Ralph Palmer
Brattleboro, VT
USA
address@hidden

reply via email to

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