Thank you Thomas!

On 18 September 2017 at 10:45, Thomas Morley <[email protected]>
wrote:

> 2017-09-18 10:38 GMT+02:00 Gianmaria Lari <[email protected]>:
> > Great, thank you Thomas!!
> >
> > But why I should prefer "with" version....
> >
> > \version "2.19.65"
> > \score {
> >   \new Staff \with {midiInstrument = #"cello" instrumentName = \markup
> \box
> > \circle "1." }
> >   {a b c' d'}
> > }
> >
> > versus "set" version....
> >
> > \version "2.19.65"
> > \score {
> >   \new Staff {
> >     \set Staff.midiInstrument = #"glockenspiel"
> >     \set Staff.instrumentName = \markup \box \circle "1. "
> >     a b c' d'
> >   }
> > }
> >
> > Thank you, g.
>
>
>
> Because it'll fail for several instances, one failing syntax-example
> below. There are several others, mostly with grace-synchronisation.
>
> \new Staff
>   <<
>     \set Staff.instrumentName = \markup \box \circle "1."
>     { \grace g4 a b c' d' }
>   >>
>
> Cheers,
>   Harm
>
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to