lilypond-user
[Top][All Lists]
Advanced

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

Re: alternative repeat - extraneous barline


From: Jean Brefort
Subject: Re: alternative repeat - extraneous barline
Date: Sat, 09 Jul 2016 18:07:26 +0200

Le samedi 09 juillet 2016 à 16:59 +0100, Phil Holmes a écrit :
> ----- Original Message ----- 
> From: "Ken Pierce" <address@hidden>
> To: <address@hidden>
> Sent: Saturday, July 09, 2016 4:41 PM
> Subject: alternative repeat - extraneous barline
> 
> 
> > An extraneous barline appears in the middle of the second
> > ending.  How can 
> > I
> > eliminate it?
> > 
> > Thanks,
> > Ken
> > 
> > --- example:
> > 
> > \version "2.18.2"
> > \score {
> >   \new Staff {
> >       \time 6/8 \partial 8
> >       \repeat volta 2 { a'8 | a'8. g'16 f'8 a'8. g'16 f'8 | }
> >       \alternative {
> >         {  d'4.~ d'4 }
> >         {  d'4.~ d'4 } % extraneous barline appears
> >       }
> >      }
> >   \layout { }
> > }
> 
> Simplest answer is to upgrade to 2.19.  It looks like this has been
> fixed in 
> all 2.19.x versions, so the latest development version should be
> fine.
> 
> --
> Phil Holmes 

With 2.18.2, you can use something like:

\version "2.18.2"
\score {
   \new Staff {
       \time 6/8 \partial 8
       \repeat volta 2 { a'8 | a'8. g'16 f'8 a'8. g'16 f'8 | }
       \alternative {
         {  d'4.~ d'4 \set Timing.measurePosition = #(ly:make-moment 6/8)}
         {  d'4.~ d'4 } % no extraneous barline appears
       }
      }
   \layout { }
}

Best regards,
Jean



reply via email to

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