bug-lilypond
[Top][All Lists]
Advanced

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

Re: Repeat start bar comes twice


From: David Kastrup
Subject: Re: Repeat start bar comes twice
Date: Sun, 19 Feb 2017 16:19:21 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

th567892000 <address@hidden> writes:

>> I'm not top posting.
>
> Hello,
>
> I get the repeat start bar twice.
> This mistake occurs only, when you have minimum two staffs and in one staff 
> the first node after repeat start has a grace node.
> In case of both first nodes have a grace node, the repeat start comes once.
>
> regards
>
> Thomas Heidler
>
>
> Example:
> \version "2.18.2"
>
> <<
>   \new Staff \relative c'' { 
>     d1
>     \repeat volta 2 {
>       \grace b 
>       c1 | g1
>     }
>   }
>
>   \new Staff \relative c'' { 
>     a1
>     \repeat volta 2 {
>       % \grace b 
>       c1 | g1
>     }
>   }
>>>

Issue 34.  The manual states:


Known issues and warnings
.........................

[...]

   Grace note synchronization can also lead to surprises.  Staff
notation, such as key signatures, bar lines, etc., are also
synchronized.  Take care when you mix staves with grace notes and staves
without, for example,

     <<
       \new Staff \relative { e''4 \bar ".|:" \grace c16 d2. }
       \new Staff \relative { c''4 \bar ".|:" d2. }
     >>
     

PNG image


This can be remedied by inserting grace skips of the corresponding
durations in the other staves.  For the above example

     <<
       \new Staff \relative { e''4 \bar ".|:" \grace c16 d2. }
       \new Staff \relative { c''4 \bar ".|:" \grace s16 d2. }
     >>
     

PNG image

   Please make sure that you use the ‘\grace’ command for the spacer
part, even if the visual part uses ‘\acciaccatura’ or ‘\appoggiatura’
because otherwise an ugly slur fragment will be printed, connecting the
invisible grace note with the following note.


-- 
David Kastrup

reply via email to

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