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



5.15.5 Instrument names

In an orchestral score, instrument names are printed at the 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 staff, instrument is used, for the following ones, instr is used.

     \set Staff.instrument = "Ploink "
     \set Staff.instr = "Plk "
     c1
     \break
     c''

[image of music]

You can also use markup texts to construct more complicated instrument names, for example

     \set Staff.instrument = \markup {
       \column { "Clarinetti"
                 \line { "in B" \smaller \flat } } }
     c''1

[image of music]

For longer instrument names, it may be useful to increase the indent setting in the \layout block.

See also

Program reference: 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.

Read comments on this page, or add one.

This page is for LilyPond-2.5.11 (development-branch).

Report errors to <bug-lilypond@gnu.org>.

Other languages: English.
Using automatic language selection.