1 %% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
2 %% This file is in the public domain.
6 lsrtags = "text, paper-and-layout, titles"
9 Instrument names are generally printed at the left side of the staves.
10 To align the names of several different intruments, you can put them in
11 a @code{\\markup} block and use one of the following possibilites:
14 Right-aligned instrument names: this is the default behavior
17 Center-aligned instrument names: with the @code{\\hcenter-in #n}
19 can place the instrument names inside a padded box (@code{n} being the
24 Left-aligned instrument names: you have to print the names on top of an
25 empty box, using the @code{\\combine} command
26 with an @code{\\hspace #n} object.
31 doctitle = "Aligning and centering instrument names"
39 \new StaffGroup \relative <<
41 \set Staff.instrumentName = "Piccolo"
43 \set Staff.instrumentName = \markup { \hcenter-in #10 "Piccolo" }
44 c1^"centered" c \break
45 \set Staff.instrumentName = \markup { \combine \hspace #8 "Piccolo" }
49 \set Staff.instrumentName = "Flute"
51 \set Staff.instrumentName = \markup { \hcenter-in #10 "Flute" }
53 \set Staff.instrumentName = \markup { \combine \hspace #8 "Flute" }