%% 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)),quote]
\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))
  line-width = 160\mm - 2.0 * 10.16\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/making-glissandi-breakable.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{after-line-breaking} と共に @code{breakable} プロパティを @code{#t}
にすることで、グリッサンドの途中で改行することができます。
"
  doctitleja = "グリッサンドを改行できるようにする"

%% Translation of GIT committish: 2f3474d9af596d677ed5b7ce720ae4d0954a6b51
  texidocit = "
Per permettere a un glissando di andare a capo se capita su un'interruzione di
riga, si impostano le proprietà @code{breakable} e @code{after-line-breaking}
su @code{#t}:

"
  doctitleit = "Lasciare che i glissandi vadano a capo"

%% Translation of GIT committish: de1e42ce512f3690387cdd065109bddff1b7bd6d
  texidocfr = "
Normalement, LilyPond refuse de sauter automatiquement à la ligne à
l'endroit où un glissando se prolonge sur la mesure qui suit. Ce
comportement est modifiable par l'affectation de la valeur @code{#t} à
la propriété @code{Glissando.breakable}. L'activation de la propriété
@code{after-line-breaking} permet la continuation de l'indication de
glissando après le saut de ligne.

La propriété @code{breakable} n'affecte pas les sauts manuels insérés
par les commandes comme @code{\\break}.
"

  doctitlefr = "Saut de ligne et glissando"

%% Translation of GIT committish: cd3e2b0177d366d0a25b4c7628b26455e52175cd
  texidoces = "
Normalmente, LilyPond rehúsa insertar un salto de línea automático
en el punto en que un glissando cruza la barra de compás.  Este
comportamiento se puede cambiar estableciendo el valor de la
propiedad @code{Glissando.breakable} a @code{#t}.  También,
estableciendo el valor de la propiedad @code{after-line-breaking}
a @code{#t} hace que la línea del glissando continúe después del
salto.

La propiedad @code{breakable} no afecta a los saltos manuales
insertados con instrucciones como @code{\\break}.
"
  doctitlees = "Hacer que los glissandos se puedan dividir en el salto de línea"

%% Translation of GIT committish: 262abf17c7827e88e3d509100c43920c8e225bec
  texidocca = "
Si s'ajusta la propietat @code{breakable} al valor @code{#t} en
combinació amb @code{after-line-breaking}, podem fer que un
glissando es divideixi en el salt de línia:

"
  doctitlca = "Fer que els glissandos es puguin dividir en el salt de línia"

  categories = "Staff notation, Tweaks and overrides"

  texidoc = "
Normally, LilyPond refuses to automatically break a line at places
where a glissando crosses a bar line. This behavior can be changed by
setting the @code{Glissando.breakable} property to @code{#t}. Also
setting the @code{after-line-breaking} property to @code{#t} makes the
glissando line continue after the break.

The @code{breakable} property does not affect manual breaks inserted
with commands like @code{\\break}.
"

  doctitle = "Making glissandi breakable"
} % begin verbatim


glissandoSkipOn = {
  \override NoteColumn.glissando-skip = ##t
  \hide NoteHead
  \override NoteHead.no-ledgers = ##t
}

music = {
  \repeat unfold 16 f8 |
  f1\glissando |
  a4 r2. |
  \repeat unfold 16 f8 |
  f1\glissando \once\glissandoSkipOn |
  a2 a4 r4 |
  \repeat unfold 16 f8
}

\relative c'' {
  <>^\markup { \typewriter Glissando.breakable
               set to \typewriter "#t" }
  \override Glissando.breakable = ##t
  \override Glissando.after-line-breaking = ##t
  \music
}

\relative c'' {
  <>^\markup { \typewriter Glissando.breakable not set }
  \music
}

\paper {
  line-width = 100\mm
}



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