%% Generated by lilypond-book
%% Options: [exampleindent=10.16\mm,indent=0\mm,line-width=160\mm,paper-height=845.047\pt,paper-width=597.508\pt,papersize='(cons (* 597.508 pt) (* 845.047 pt))]
\include "lilypond-book-preamble.ly"


% ****************************************************************
% Start cut-&-pastable-section
% ****************************************************************

#(ly:set-option 'eps-box-padding 3.000000)



\paper {
  #(set-paper-size '(cons (* 597.508 pt) (* 845.047 pt)))
  indent = 0\mm
  line-width = 160\mm
  % offset the left padding, also add 1mm as lilypond creates cropped
  % images with a little space on the right
  line-width = #(- line-width (* mm  3.000000) (* mm 1))
}

\layout {
  
}




% ****************************************************************
% ly snippet:
% ****************************************************************
\sourcefilename "snippets/aligning-and-centering-instrument-names.ly"
\sourcefileline 0
%% DO NOT EDIT this file manually; it was automatically
%% generated from the LilyPond Wiki
%% (https://wiki.lilypond.community).
%%
%% Make any changes in the Wiki itself, or in
%% `Documentation/snippets/new/`, then run
%% `scripts/auxiliar/makelsr.pl`.
%%
%% This file is in the public domain.

\version "2.24.0"

\header {
%% Translation of GIT committish: f11513f36c131dab18338d6a3a729e24a927150d
  texidocja = "
楽器名の水平方向の位置は @code{Staff.InstrumentName.self-alignment-X}
プロパティを変更することで調整することができます。@c
@code{\\layout} 変数は @code{indent} と @code{short-indent} を定義しており、@c
それぞれ最初のシステムとその後のシステムで、楽器名に割くスペースの量を@c
変更することができます。
"
  doctitleja = "楽器名を揃える"

%% Translation of GIT committish: de1e42ce512f3690387cdd065109bddff1b7bd6d
  texidocfr = "
L'alignement horizontal des noms d'instrument se gère à l'aide de la
propriété @code{self-alignment-X} de l'objet @code{InstrumentName}
(habitullement attaché à un contexte @code{Staff}). Les variables
@code{indent} et @code{short-indent}, attachées au bloc @code{\\layout},
déterminent l'espace alloué à l'alignement des noms d'instrument,
respectivement dans leurs formes développée et abrégée.
"

  doctitlefr = "Alignement des noms d'instrument"

%% Translation of GIT committish: 9c7cce2e12f0730684dcf6fe737eed69170674a3
  texidoces = "
La alineación horizontal de los nombres de instrumento se puede
trucar modificando la propiedad @code{self-alignment-X} del objeto
gráfico @code{InstrumentName} (normalmente dentro del contexto
@code{Staff}).  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"

%% Translation of GIT committish: 3f57efa0cde39bf0642fb6fb3672a19262ceda83
  texidocca = "
L'alineació horitzontal dels noms d'instruments es pot ajustar
modificant la propietat @code{Staff.InstrumentName #'self-alignment-X}.
Les variables de @code{\\layout}, @code{indent} i @code{short-indent}
defineixen l'espai en el qual s'alineen els noms d'instrument abans
del primer sistema i dels següents, respectivament.

"
  doctitleca = "Alinear i centrar els noms dels instruments"

  categories = "Non-music, Paper and layout, Text, Titles"

  texidoc = "
The horizontal alignment of instrument names is tweaked by changing the
@code{self-alignment-X} property of the @code{InstrumentName} grob
(usually in the @code{Staff} context). The @code{\\layout} variables
@code{indent} and @code{short-indent} define the space in which the
instrument names are aligned before the first and the following
systems, respectively.
"

  doctitle = "Aligning and centering instrument names"
} % begin verbatim


\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
}



% ****************************************************************
% end ly snippet
% ****************************************************************
