X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fsnippets%2Faligning-and-centering-instrument-names.ly;h=b67aeac03a360a4c01f1a2ddfa57c0e0b5842de2;hb=f34e902280136100fa7cdea1f6ff3e8860181008;hp=fbe16f3d7f1aa0424a4884060950ed137235771e;hpb=3749eebdbf55d7ebbc1ef3abccd0dff58fde3fa1;p=lilypond.git diff --git a/Documentation/snippets/aligning-and-centering-instrument-names.ly b/Documentation/snippets/aligning-and-centering-instrument-names.ly index fbe16f3d7f..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: 341940d3830b59f93a80131471d622c2818afddb - 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"