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: Thomas Morley
Subject: Re: Placing clef change *after* bar line
Date: Wed, 29 Feb 2012 00:15:27 +0100

Hi Eluze,

2012/2/28 -Eluze <address@hidden>:
>
>
> David Nalesnik-2 wrote:

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

try:

\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-cancellation
                       key-signature
                       time-signature
 ) )
 \clef bass
 \key a \major
 c,1
 c
}

Cheers,
  Harm



reply via email to

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