2016-01-31 20:54 GMT+01:00 Gilberto Agostinho <gilbertohasn...@gmail.com>:
> Hi all,
>
> Either I found a bug or I am missing something obvious here :) So: how can I
> add a PianoStaff name when the music start with a grace note?! See:
>
> \version "2.19.32"
>
> \markup "1) all good here"
> \new PianoStaff <<
>     \set PianoStaff.instrumentName = "Foo bar"
>      \new Staff { c'1 }
>      \new Staff { c'1 }
>>>
>
> \markup "2) the grace note hides the PianoStaff name"
> \new PianoStaff <<
>     \set PianoStaff.instrumentName = "Foo bar"
>     \new Staff {
>       \grace{c'8} c'1
>     }
>     \new Staff {
>       \grace{c'8} c'1
>     }
>>>
>
> Producing:
>
> <http://lilypond.1069038.n5.nabble.com/file/n186702/55.png>
>
> Any ideas?
>
> Cheers!
> Gilberto


\new PianoStaff
  \with { instrumentName = "Foo bar" }
<<
    \new Staff {
      \grace{c'8} c'1
    }
    \new Staff {
      \grace{c'8} c'1
    }
>>

HTH,
  Harm

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

Reply via email to