lilypond-user
[Top][All Lists]
Advanced

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

Re: Grace notes causing extra space in other staves


From: Schneidy
Subject: Re: Grace notes causing extra space in other staves
Date: Thu, 13 Mar 2014 06:29:47 -0700 (PDT)

I have a very bad one, 'hope you wouldn't mind...

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\version "2.18.0"

global = {
  \key c \major
  \time 4/4
}

myGrace = \markup \score { 
  \new Staff 
  \with {
    \omit Clef
    \omit TimeSignature
    \omit StaffSymbol
    \omit BarLine
  }
  \relative c'
  {  
    \time 1/4
    \grace { c'8( d ees} \hideNotes  e,4) 
  }
  \layout {}
}

right = \relative c' {
  \global
  r4 <d, ges>8 <aes' c>
  \once\override TupletBracket.padding = #1.5
  \tuplet 3/2 {
    <ges' c>4 
    \once\override TextScript.extra-offset = #'(-7 . -5.7)
    <g, des>^\myGrace <e' g>4 
  }
}

left = \relative c, {
  \global
  <e ges>2 r4 ges16 a c e

}

\score {
  \keepWithTag #'pdf
  \new PianoStaff \with {
    instrumentName = "Piano"
  } <<
    \new Staff = "right" \with {
      midiInstrument = "acoustic grand"
    } \right
    \new Staff = "left" \with {
      midiInstrument = "acoustic grand"
    } { \clef bass \left }
  >>
  \layout { }
}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

If midi's needed, use tags.

HTH
~Pierre




--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Grace-notes-causing-extra-space-in-other-staves-tp160385p160395.html
Sent from the User mailing list archive at Nabble.com.



reply via email to

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