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.

On 18 September 2017 at 10:24, Thomas Morley <thomasmorle...@gmail.com>
wrote:

> 2017-09-18 10:16 GMT+02:00 Gianmaria Lari <gianmarial...@gmail.com>:
> > How can I draw a box or a circle around the exercise number "1."
> >
> > \version "2.19.65"
> > \score{
> >   \new Staff {
> >     \set Staff.instrumentName=#"1."
> >     c' d' e' f'
> >   }
> > }
> >
> > Thank you, g.
>
>
> Use the relevant markup-commands.
> Also, always put it in a with-Block:
>
> \new Staff \with { instrumentName = \markup \box \circle "1." }
>
>
> Cheers,
>   Harm
>
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to