Next: , Previous: Bar numbers, Up: Orchestral music



4.14.4 Instrument names

In an orchestral score, instrument names are printed left side of the staves.

This can be achieved by setting Staff (lilypond-internals).instrument and Staff (lilypond-internals).instr. This will print a string before the start of the staff. For the first start, instrument is used, for the next ones instr is used:

            \property Staff.instrument = "ploink " { c''4 }
     

[picture of music]

You can also use markup texts to construct more complicated instrument names:

            \notes {
              \property Staff.instrument = \markup {
                  \column < "Clarinetti"
                    { "in B"
                      \smaller \musicglyph #"accidentals--1"
                    }
                    >
               }
               { c''1 }
            }
     

[picture of music]

See also

InstrumentName (lilypond-internals).

Bugs

When you put a name on a grand staff or piano staff the width of the brace is not taken into account. You must add extra spaces to the end of the name to avoid a collision.

This page is for LilyPond-2.0.3 (stable-branch).
Report errors to <bug-lilypond@gnu.org>.