MIDI: fix regtest failure
[lilypond/patrick.git] / input / regression / instrument-name-x-align.ly
blob7fb981f95e7f5b9beacfd2b632e942bea105d50c
1 \header {
3 texidoc = "Instrument names horizontal alignment is tweaked by
4 changing the @code{Staff.Instrument #'self-alignment-X} property. The
5 @code{\\layout} variables @code{indent} and @code{short-indent} define
6 the space where the instrument names are aligned before the first and
7 the following systems, respectively."
11 \version "2.12.0"
12 \paper { left-margin = 3\cm }
13 \score {
14 \new StaffGroup <<
15 \new Staff {
16 \override Staff . InstrumentName #'self-alignment-X = #LEFT
17 \set Staff . instrumentName = \markup \column {
18 "Left aligned" "instrument name"
20 \set Staff . shortInstrumentName = "Left"
21 c''1 \break c''
23 \new Staff {
24 \override Staff . InstrumentName #'self-alignment-X = #CENTER
25 \set Staff . instrumentName = \markup \center-column {
26 "Centered" "instrument name"
28 \set Staff . shortInstrumentName = "Centered"
29 g'1 g'
31 \new Staff {
32 \override Staff . InstrumentName #'self-alignment-X = #RIGHT
33 \set Staff . instrumentName = \markup \column \right-align {
34 "Right aligned" "instrument name"
36 \set Staff . shortInstrumentName = "Right"
37 e' \break e'
40 \layout {
41 ragged-right = ##t
42 indent = 4\cm
43 short-indent = 2\cm