-%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
-%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
-%% and then run scripts/auxiliar/makelsr.py
-%%
-%% This file is in the public domain.
-\version "2.14.0"
+% DO NOT EDIT this file manually; it is automatically
+% generated from Documentation/snippets/new
+% Make any changes in Documentation/snippets/new/
+% and then run scripts/auxiliar/makelsr.py
+%
+% This file is in the public domain.
+%% Note: this file works from version 2.19.56
+\version "2.19.56"
\header {
- lsrtags = "text, paper-and-layout, titles"
-
-%% Translation of GIT committish: 615cbf212fdaf0b220b3330da417d0c3602494f2
- texidoces = "
-La alineaciĆ³n horizontal de los nombres de instrumento se puede
-trucar modificando la propiedad @code{Staff.InstrumentName
-#'self-alignment-X}. Las variables de @code{\\layout}
-@code{indent} y @code{short-indent} definen el espacio en que se
-alinean los nombres de instrumento antes del primer sistema y de
-los siguientes, respectivamente.
-
-"
- doctitlees = "Alinear y centrar los nombres de instrumento"
+ lsrtags = "paper-and-layout, text, titles"
texidoc = "
The horizontal alignment of instrument names is tweaked by changing the
doctitle = "Aligning and centering instrument names"
} % begin verbatim
-\paper {
- left-margin = 3\cm
-}
+\paper { left-margin = 3\cm } % begin verbatim
+
\score {
\new StaffGroup <<
- \new Staff {
- \override Staff.InstrumentName #'self-alignment-X = #LEFT
- \set Staff.instrumentName = \markup \left-column {
+
+ \new Staff \with {
+ \override InstrumentName.self-alignment-X = #LEFT
+ instrumentName = \markup \left-column {
"Left aligned"
"instrument name"
+ }
+ shortInstrumentName = "Left"
}
- \set Staff.shortInstrumentName = #"Left"
- c''1
- \break
- c''1
- }
- \new Staff {
- \override Staff.InstrumentName #'self-alignment-X = #CENTER
- \set Staff.instrumentName = \markup \center-column {
+
+ { c''1 \break c''1 }
+
+ \new Staff \with {
+ \override InstrumentName.self-alignment-X = #CENTER
+ instrumentName = \markup \center-column {
Centered
"instrument name"
- }
- \set Staff.shortInstrumentName = #"Centered"
- g'1
- g'1
+ }
+ shortInstrumentName = "Centered"
}
- \new Staff {
- \override Staff.InstrumentName #'self-alignment-X = #RIGHT
- \set Staff.instrumentName = \markup \right-column {
+
+ { g'1 g'1}
+
+ \new Staff \with {
+ \override InstrumentName.self-alignment-X = #RIGHT
+ instrumentName = \markup \right-column {
"Right aligned"
"instrument name"
}
- \set Staff.shortInstrumentName = #"Right"
- e'1
- e'1
+ shortInstrumentName = "Right"
}
+
+ { e'1 e'1 }
+
>>
+
\layout {
ragged-right = ##t
indent = 4\cm