lilypond-user
[Top][All Lists]
Advanced

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

Re: instrumentName circle


From: Gianmaria Lari
Subject: Re: instrumentName circle
Date: Mon, 18 Sep 2017 10:38:25 +0200

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 <address@hidden> wrote:
2017-09-18 10:16 GMT+02:00 Gianmaria Lari <address@hidden>:
> 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


reply via email to

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