%% 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/using-an-extra-voice-for-breaks.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: a8a85e19654e46d725563e6deba44083ef137a2c
  texidocja = "
改行や改ページの情報を音楽から分離し、@code{\\break}, @code{\\pageBreak}
やその他のレイアウト情報のみを含む専用のボイスを用意した方が管理しやすい@c
場合があります。

このパターンは、@code{line-break-system-details} のような、@c
@code{NonMusicalPaperColumn} Grob の設定が長いプロパティをオーバライドする@c
際に、特に有用です。
"
  doctitleja = "改行のために専用のボイスを用意する"

%% Translation of GIT committish: 2f3474d9af596d677ed5b7ce720ae4d0954a6b51
  texidocit = "
Spesso è più facile gestire l'informazione sulle interruzioni di linea
e di pagina tenendola separata dalla musica grazie a un'ulteriore voce
che contenga solo pause spaziatrici e i comandi
@code{\\break}, @code{\\pageBreak} e altre informazioni di formattazione.

Questo modello diventa utile specialmente quando si modifica
@code{line-break-system-details} e altre utili ma lunghe
proprietà di @code{NonMusicalPaperColumnGrob}.

"
  doctitleit = "Usare una voce apposita per le interruzioni"


%% Translation of GIT committish: de1e42ce512f3690387cdd065109bddff1b7bd6d
  texidocfr = "
Il est souvent plus pratique de séparer ce qui est purement musical et
les informations concernant les sauts de ligne ou de page, en créant une
voix supplémentaire dédiée. Cette voix spécifique ne contiendra que des
blancs -- des silences invisibles @code{\\skip} --, des @code{\\break},
des @code{\\pageBreak} et autres informations concernant les ruptures.

Cette manière de procéder est tout à fait indiquée lorsque vous ajustez
les @code{line-break-system-details} et autres propriétés fort
intéressantes de l'objet @code{NonMusicalPaperColumn}.
"

  doctitlefr = "Recours à une voix supplémentaire pour gérer les sauts"

%% Translation of GIT committish: 506860610ae036509ff2629736fb24bd92dde75e
  texidoces = "
Con frecuencia es más fácil gestionar la información de los saltos
de línea y de página manteniéndola separada de la música, por
medio de la introducción de una vos adicional que contiene
solamente silencios de separacion junto a las instrucciones
@code{\\break}, @code{\\pageBreak} y otras informaciones de
disposición.

Este patrón se hace especialmente útil cuando se está
sobreescribiendo la propiedad @code{line-break-system-details} y
las otras útiles pero largas propiedades del objeto gráfico
@code{NonMusicalPaperColumn}.
"

  doctitlees = "Uso de una voz adicional para los saltos de línea y de página"

  categories = "Specific notation, Workaround"

  texidoc = "
Often it is easier to manage line and page-breaking information by
keeping it separate from the music by introducing an extra voice
containing only skips along with the @code{\\break},
@code{\\pageBreak}, and other layout information.

This pattern becomes especially helpful when overriding
@code{line-break-system-details} and the other useful but long
properties of the @code{NonMusicalPaperColumn} grob.
"

  doctitle = "Using an extra voice for breaks"
} % begin verbatim


music = \relative c'' { c4 c c c }

\score {
  \new Staff <<
    \new Voice {
      s1*2 \break
      s1*3 \break
      s1*4 \break
      s1*5 \break
    }
    \new Voice {
      \repeat unfold 2 { \music }
      \repeat unfold 3 { \music }
      \repeat unfold 4 { \music }
      \repeat unfold 5 { \music }
    }
  >>
}

\paper {
  indent = 0
  line-width = 140\mm
  ragged-right = ##t
}



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