Alinear y centrar los nombres de instrumento
La alineación horizontal de los nombres de instrumento se puede
trucar modificando la propiedad self-alignment-X del objeto
gráfico InstrumentName (normalmente dentro del contexto
Staff). Las variables de \layout indent y
short-indent definen el espacio en que se alinean los
nombres de instrumento antes del primer sistema y de los
siguientes, respectivamente.
\paper {
left-margin = 3\cm
}
\new StaffGroup <<
\new Staff \with {
\override InstrumentName.self-alignment-X = #LEFT
instrumentName = \markup \left-column { "Left aligned"
"instrument name" }
shortInstrumentName = "Left"
} {
c''1 \break c''1
}
\new Staff \with {
\override InstrumentName.self-alignment-X = #CENTER
instrumentName = \markup \center-column { Centered
"instrument name" }
shortInstrumentName = "Centered"
} {
g'1 g'1
}
\new Staff \with {
\override InstrumentName.self-alignment-X = #RIGHT
instrumentName = \markup \right-column { "Right aligned"
"instrument name" }
shortInstrumentName = "Right"
} {
e'1 e'1
}
>>
\layout {
indent = 4\cm
short-indent = 2\cm
line-width = 6.5\cm
}