lilypond-user
[Top][All Lists]
Advanced

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

Grace notes immediately following repeat barline cause extra barline


From: Brent Annable
Subject: Grace notes immediately following repeat barline cause extra barline
Date: Tue, 7 Apr 2020 20:03:23 +1000

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 { }
}

Attachment: grace notes + repeat signs.pdf
Description: Adobe PDF document


reply via email to

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