lilypond-user
[Top][All Lists]
Advanced

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

Re: Help with double bar lines


From: Ben Beeson
Subject: Re: Help with double bar lines
Date: Sat, 26 Jul 2014 13:49:03 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0

Hi Harm,

That is a very clever idea and it does exactly what I was looking to do!

Thanks for your help!

Ben

On 07/26/2014 01:16 PM, Thomas Morley wrote:
2014-07-26 21:51 GMT+02:00 Ben Beeson <address@hidden>:
Hi all,

I am noticing that placing a double bar line at the end of a part requires a
separate \score {} for each part to get the desired results.  What I would
like to know is how to write one \score {} that has all the coding for a
multi-part tune and shows the double bar lines at the appropriate places for
the end of each part and start of the next part.  I can make this work by
adding a separate \score{} for each part, but it just seems like there ought
to be an easier way to do this.  I am attaching an example ly file and the
output that hopefully shows what I am trying to do.

If I am missing something obvious or this can't be done, please let me know.

Thanks in advance for your help,

Ben
In a construct like:

 \bar "|."
 \break
 \bar ".|"


the second command will override the first, because both are applied
at the same musical moment.

There is no predefined barline withe the behaviour you want, instead
you need to define a special barline yourself:


\version "2.18"

#(define-bar-line "|.-b" "|." ".|" "|.")

\relative c'' {
          \partial 8  e8
          \bar ".|"
          \repeat unfold 32 a,4
          \bar "|.-b"
          \break
          \repeat unfold 32 a4
          \bar "|." |
}

HTH,
  Harm



reply via email to

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