lilypond-user
[Top][All Lists]
Advanced

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

Re: Placing clef change *after* bar line


From: -Eluze
Subject: Re: Placing clef change *after* bar line
Date: Tue, 28 Feb 2012 14:56:16 -0800 (PST)


David Nalesnik-2 wrote:
> 
> Hi,
> 
>>
>> > Most times, placing a clef change before a bar line is
>> > appropriate.  When combined with repeated sections though,
>> > sometimes it is clearer to place a clef change after the bar
>> > line.  I read through the LSR for everything 'clef' but didn't
>> > find anything on this topic.
>>
> 
> You can do an override of Score.BreakAlignment #'break-align-orders and
> get
> the result you want.
> 
> (See
> http://www.lilypond.org/doc/v2.14/Documentation/internals/breakalignment
> for
> more information.)
> 
> HTH,
> 

thanks, yes this would be a nicer approach!

but with the following code (the BreakAlignment override is taken from the
quoted manual):

\relative {
  \key e \major
  \repeat volta 2 {
    c1
    c1
  }
  \override Score.BreakAlignment #'break-align-orders = #(
                make-vector 3 '(
                        span-bar
                        breathing-sign
                        staff-bar
                        clef
                        key
                        time-signature
  ) )
  \clef bass
  \key a \major
  c,1
  c
}

the output is ugly - what's wrong?

http://old.nabble.com/file/p33410371/test4.preview.png 

thanks
Eluze
-- 
View this message in context: 
http://old.nabble.com/Placing-clef-change-*after*-bar-line-tp33404234p33410371.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.




reply via email to

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