%% Generated by lilypond-book
%% Options: [exampleindent=10.16\mm,indent=0\mm,line-width=160\mm,quote]
\include "lilypond-book-preamble.ly"


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



\paper {
  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/adding-timing-marks-to-long-glissandi.ly"
\sourcefileline 0
%% DO NOT EDIT this file manually; it is automatically
%% generated from LSR http://lsr.di.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.21.2"

\header {
%% Translation of GIT committish: a8a85e19654e46d725563e6deba44083ef137a2c
  texidocja = "
長いグリッサンド部分の拍をタイミング マークで表示する場合があります。@c
これは通例符頭が無く符幹だけの音符として表され、この中間部分に発想記号を@c
付け加えることもできます。

符幹がグリッサンドにうまく揃わない場合には、わずかに配置を調整する必要が@c
あるかもしれません。
"
  doctitleja = "長いグリッサンドにタイミング マークを追加する"

%% Translation of GIT committish: 6b35abe942bf1b4e709f215d3657a7cec1f4aa52
  texidocit = "
I battiti saltati nei glissandi molto lunghi vengono talvolta segnalati
con delle indicazioni di tempo, che consistono solitamente in dei gambi
privi di teste di nota.  Questi gambi possono essere usati anche per
contenere segni di espressione intermedi.

Se i gambi non si allineano bene al glissando, può essere necessario
riposizionarli leggermente.

"
  doctitleit = "Aggiungere i segni di tempo per i glissandi lunghi"

%% Translation of GIT committish: 7a89226d5472a2548ec19228d8bccee1bd2480b4
  texidocfr = "
Lorsqu'un glissando s'étend dans la durée, on trouve parfois des
indications temporelles, matérialisées par des hampes sans tête de note.
De telles hampes permettent aussi d'indiquer des éléments
intermédiaires.

L'alignement des hampes avec la ligne de glissando peut requérir
quelques aménagements.

"
  doctitlefr = "Ajout de marques temporelles à un long glissando"

%% Translation of GIT committish: 8ffecf6be17c6ec2ff87cf31873121a8cce29b09
  texidoces = "
Los pulsos que se saltan en glissandos muy largos se indican a veces
mediante marcas de tiempo, que a menudo consisten en figuras sin
cabeza.  Estas plicas se pueden usar también para albergar
indicaciones expresivas intermedias.

Si las plicas no quedan bien alineadas con el glissando, podría ser
necesario recolocarlas ligeramente.
"
  doctitlees = "Añadir marcas de tiempo a glissandos largos"

  lsrtags = "expressive-marks, staff-notation, tweaks-and-overrides"

  texidoc = "
Skipped beats in very long glissandi are sometimes indicated by timing
marks, often consisting of stems without noteheads.  Such stems can
also be used to carry intermediate expression markings.

If the stems do not align well with the glissando, they may need to be
repositioned slightly.

"
  doctitle = "Adding timing marks to long glissandi"
} % begin verbatim

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

glissandoSkipOff = {
  \revert NoteColumn.glissando-skip
  \undo \hide NoteHead
  \revert NoteHead.no-ledgers
}

\relative c'' {
  r8 f8\glissando
  \glissandoSkipOn
  f4 g a a8\noBeam
  \glissandoSkipOff
  a8

  r8 f8\glissando
  \glissandoSkipOn
  g4 a8
  \glissandoSkipOff
  a8 |

  r4 f\glissando \<
  \glissandoSkipOn
  a4\f \>
  \glissandoSkipOff
  b8\! r |
}



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