[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Grace notes immediately following repeat barline cause extra barline
From: |
Leo Correia de Verdier |
Subject: |
Re: Grace notes immediately following repeat barline cause extra barline |
Date: |
Tue, 7 Apr 2020 12:15:02 +0200 |
This is the issue described in the end of the grace note section here
http://lilypond.org/doc/v2.20/Documentation/notation/special-rhythmic-concerns#grace-notes
.
If you insert a spacer of the same length ( \grace s16 ) in all other staves at
the same time (after "\repeat \volta 2 {" ) the doubled repeat bars will
disappear.
> 7 apr. 2020 kl. 12:03 skrev Brent Annable <address@hidden>:
>
> Hi all,
>
> I'm typesetting a multi-staff score, and whenever one part begins with grace
> notes immediately following a repeat barline, an extra barline is placed
> after the grace notes, between them and the note to which they are attached.
> It doesn't matter whether I use volta repeats or just insert repeat barlines,
> and inserting line breaks results in the same behaviour (just with line
> breaks). See attached PDF; code is given below.
>
> Does anybody know a way around this?
>
> Many thanks,
>
> Brent.
>
>
> \version "2.20.0"
>
> scoreAViolinI = \relative c'' {
> c c c c
> c c c c
> \repeat volta 2 {b b b b}
> \repeat volta 2 {b b b b}
> a a a a \bar ":..:"
> a a a a
>
> }
>
> scoreAViolinII = \relative c'' {
> c c c c %break
> \grace {e32 d} c4 c c c
> \repeat volta 2 {b b b b} %break
> \repeat volta 2 {\grace {d32 c} b4 b b b}
> a a a a \bar ":..:" %break
> \grace {d32 c} a4 a a a
> }
>
> scoreAViolinIPart = \new Staff \with {
> instrumentName = "Violin I"
> } \scoreAViolinI
>
> scoreAViolinIIPart = \new Staff \with {
> instrumentName = "Violin II"
> } \scoreAViolinII
>
> \score {
> <<
> \scoreAViolinIPart
> \scoreAViolinIIPart
> >>
> \layout { }
> }
grace notes + repeat signs.pdf
Description: Adobe PDF document
>