lilypond-user
[Top][All Lists]
Advanced

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

Re: Newbie problem in my first or second score


From: Steve Lane
Subject: Re: Newbie problem in my first or second score
Date: Mon, 21 Apr 2014 13:11:46 +0000
User-agent: Microsoft-MacOutlook/14.3.1.130117

Thanks, David and Federico — easy fix! All layout engines have their architectural weak spots, so that 's no surprise I guess.

I guess the rendering of that first sixteenth as a grace note in this piece is somewhat arbitrary anyway, since the first measure is always playes simply as four sixteenths. Doubtless some historical reason.

Thanks again,

SGL

From: David Nalesnik <address@hidden>
Date: Monday, April 21, 2014 8:08 AM
To: Steve Lane <address@hidden>
Cc: "address@hidden" <address@hidden>
Subject: Re: Newbie problem in my first or second score

Hi Steve,


On Mon, Apr 21, 2014 at 7:02 AM, Steve Lane <address@hidden> wrote:
Hello all:

So I am trying to lay out the first bars of Mozart's Sonata K 333. The first measure is a partial measure. No matter what I try so far, I'm getting an extra time and key signature in the bass clef, in addition to the bass clef first displaying as treble, then adding a bass clef in:


The code is as follows (I didn't see how to make it tinier):

\version "2.18.2"
\include "english.ly"

keyTime = { \key bf \major \time 4/4 }

upper = \relative c''' {
  \partial 4 \grace g16 f8 ef16 d |
}

lower = {
  \partial 4 r4 |
}

\score {
  \new PianoStaff <<
    \new Staff = "upper" { \clef "treble" \keyTime \upper }
    \new Staff = "lower" { \clef "bass" \keyTime  \lower }
  >>
}


Any help appreciated :-)


Welcome to LilyPond!

Sorry you had to discover so quickly perhaps the most persistent bug in the program.

It's easily fixed, though: add a corresponding grace spacer to the other part at the same point.

\partial 4 \grace s16 r4

--David
 

reply via email to

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