X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fsnippets%2Faligning-and-centering-instrument-names.ly;h=b67aeac03a360a4c01f1a2ddfa57c0e0b5842de2;hb=01df8ad908c92687d0c352e5ad5f067e52809423;hp=7f96d175fd88c8dd2c4446fabf48a1a7928d776f;hpb=1d589aa04c20d7711bf662618adbdd6d445db29d;p=lilypond.git diff --git a/Documentation/snippets/aligning-and-centering-instrument-names.ly b/Documentation/snippets/aligning-and-centering-instrument-names.ly index 7f96d175fd..b67aeac03a 100644 --- a/Documentation/snippets/aligning-and-centering-instrument-names.ly +++ b/Documentation/snippets/aligning-and-centering-instrument-names.ly @@ -1,22 +1,13 @@ -%% Do not edit this file; it is automatically +%% 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.13.10" +\version "2.17.6" \header { - lsrtags = "text, paper-and-layout, titles" - -%% Translation of GIT committish: 45fc8488655f9ea122d1ec6e3328892618bd6971 - 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 @@ -29,6 +20,7 @@ and the following systems, respectively. doctitle = "Aligning and centering instrument names" } % begin verbatim + \paper { left-margin = 3\cm } @@ -36,7 +28,7 @@ and the following systems, respectively. \score { \new StaffGroup << \new Staff { - \override Staff.InstrumentName #'self-alignment-X = #LEFT + \override Staff.InstrumentName.self-alignment-X = #LEFT \set Staff.instrumentName = \markup \left-column { "Left aligned" "instrument name" @@ -47,7 +39,7 @@ and the following systems, respectively. c''1 } \new Staff { - \override Staff.InstrumentName #'self-alignment-X = #CENTER + \override Staff.InstrumentName.self-alignment-X = #CENTER \set Staff.instrumentName = \markup \center-column { Centered "instrument name" @@ -57,7 +49,7 @@ and the following systems, respectively. g'1 } \new Staff { - \override Staff.InstrumentName #'self-alignment-X = #RIGHT + \override Staff.InstrumentName.self-alignment-X = #RIGHT \set Staff.instrumentName = \markup \right-column { "Right aligned" "instrument name"