[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Grace notes in the first measure mess up the layout
From: |
Daniel Rosen |
Subject: |
RE: Grace notes in the first measure mess up the layout |
Date: |
Tue, 4 Feb 2020 03:14:19 +0000 |
> From: Arle Lommel [mailto:address@hidden]
> Sent: Monday, February 03, 2020 10:04 PM
> To: Lilypond-User Mailing List <address@hidden>
> Subject: Grace notes in the first measure mess up the layout
>
> How can I get this to display as expected?
Just add an equivalent grace note spacer in the other voices, as shown in the
NR
(http://lilypond.org/doc/v2.19/Documentation/notation/special-rhythmic-concerns#grace-notes,
under "Known Issues and Warnings"):
\version "2.19.83"
vocal = \relative c'' {
\clef treble
\key aes \major
\grace s16 % <-- Here
R2.
}
upper = \relative c'' {
\clef treble
\key aes \major
\grace s16 % <-- and here
c4 ees4 g4
}
lower = \relative c' {
\clef bass
\key aes \major
\time 3/4
\grace b,16( <f c'>2.) |
}
\score {
<<
\new Voice = "mel" { \vocal }
\new PianoStaff <<
\new Staff = "upper" \upper
\new Staff = "lower" \lower
>>
>>
\layout {}
}
DR