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.

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to