%% 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
% ****************************************************************

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



\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/aligning-the-ends-of-hairpins-to-notecolumn-directions.ly"
\sourcefileline 0
%% DO NOT EDIT this file manually; it was automatically
%% generated from `Documentation/snippets/new/`.
%%
%% Make any changes in `Documentation/snippets/new/`,
%% then run `scripts/auxiliar/makelsr.pl --new`.
%%
%% This file is in the public domain.
%%
%% Note: this file works from version 2.23.1.

\version "2.23.13"

\header {
%% Translation of GIT committish: 2f3474d9af596d677ed5b7ce720ae4d0954a6b51
  texidocit = "
Le estremità delle forcelle possono essere allineate alle direzioni @code{LEFT},
@code{CENTER} o @code{RIGHT} dei grob @code{NoteColumn} modificando la
proprietà @code{endpoint-alignments}, che è costituita da una coppia di
numeri che rappresentano le estremità sinistra e destra della forcella.
@code{endpoint-alignments} devono essere direzioni (-1, 0 o@tie{}1).  Valori
diversi verranno trasformati emettendo un avviso.  Non ha effetto quando
l'estremità destra di una forcella termina su una pausa; in questo caso termina
sempre sul margine sinistro della pausa.

"
  doctitleit = "Allineare le estremità delle forcelle alle direzioni di NoteColumn"

%% Translation of GIT committish: a3fd5364fc4f247579da0ed2bfea887ab37285c6
  texidocfr = "
Les terminaisons des soufflets peuvent s’aligner sur la gauche, au
centre ou sur la droite des @emph{grobs} @code{NoteColumn} à l’aide
d’une dérogation à la propriété @code{endpoint-alignments} --
@code{LEFT}, @code{CENTER} ou @code{RIGHT} -- sous forme de paire
représentant les extrémités gauche et droite du soufflet. Les
@code{endpoint-alignments} devraient être des directions (soit
@minus{}1, 0 ou 1), les autres valeurs entraînant l'émission d'un
avertissement. L'extrémité droite d'un soufflet se terminant sur un
silence ne sera pas affectée et s'alignera toujours sur le bord gauche
de ce silence.
"

  doctitlefr = "Alignement des bornes de soufflet relativement aux @code{NoteColumn}s"

  lsrtags = "expressive-marks"

  texidoc = "
The ends of hairpins may be aligned to the @code{LEFT}, @code{CENTER}
or @code{RIGHT} of @code{NoteColumn} grobs by overriding the property
@code{endpoint-alignments}, which is a pair of numbers representing
the left and right ends of the hairpin.  @code{endpoint-alignments}
are expected to be directions (either -1, 0 or@tie{}1).  Other values
will be transformed with a warning.  The right end of a hairpin
terminating at a rest is not affected, always ending at the left edge
of the rest.
"

  doctitle = "Aligning the ends of hairpins to NoteColumn directions"
} % begin verbatim


{
  c'2\< <c' d'>\! |
  \override Hairpin.endpoint-alignments = #'(1 . -1)
  c'2\< <c' d'>\! |
  \override Hairpin.endpoint-alignments = #`(,LEFT . ,CENTER)
  c'2\< <c' d'>\! |
}



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