lilypond-user
[Top][All Lists]
Advanced

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

Re: lrouble Combining Repeats and Closing Bars in tunes


From: Cynthia Karl
Subject: Re: lrouble Combining Repeats and Closing Bars in tunes
Date: Tue, 18 Oct 2016 07:41:00 +0200

> ------------------------------
> 
> Message: 2
> Date: Mon, 17 Oct 2016 23:24:51 -0400
> From: Ben Beeson <address@hidden>
> To: lilypond-user <address@hidden>
> Subject: Trouble Combining Repeats and Closing Bars in tunes
> 
> Hi,
> 
> I am looking at a 4 - part tune where the first and third parts are
> repeated and the second and fourth parts are not repeated. Try as I
> may, I cannot get Lilypond to put ?the repeats and closing bars in the
> right place when engraving the tune. The following is just about as
> simple as I can get it and still show the issue. 

> % BarExample.ly 
> \version "2.19.48"
> 
> example = {   \time 2/4
>               \relative c''{
>                              \repeat volta 2 { a8 a8 a8 a8 | a8 a8 a8 a8 | 
> \break  }  
>                                               \bar ".|" d8 d8 d8 d8 |  d8 d8 
> d8 d8 | \bar "|." \break
>                              \repeat volta 2 { a8 a8 a8 a8 | a8 a8 a8 a8 | 
> \break } 
>                                               \bar ".|"  d8 d8 d8 d8 | d8 d8 
> d8 d8 | \bar "|." \break }
> }
>  
> 
> \score   
> {
>       \new Staff <<
>               
>                       \new Voice {                            
>                               \example
>                       }                               
>       >>   
> }
> % end BarExample.ly 
> 
> This produces the following which is clearly not what I intended since
> the first and third lines should be repeated and the second and fourth
> lines are not repeated.?
> 
> 
> ?What am I doing wrong and what is the best way to fix it short of
> using separate score blocks for each part??

Try:

Attachment: BarExample.ly
Description: Binary data






reply via email to

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