lilypond-user
[Top][All Lists]
Advanced

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

Re: Grace notes and PianoStaff name


From: Thomas Morley
Subject: Re: Grace notes and PianoStaff name
Date: Sun, 31 Jan 2016 20:57:02 +0100

2016-01-31 20:54 GMT+01:00 Gilberto Agostinho <address@hidden>:
> 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



reply via email to

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