%% 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/aligning-the-ends-of-hairpins-to-notecolumn-directions.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: 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: de1e42ce512f3690387cdd065109bddff1b7bd6d
  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"

%% Translation of GIT committish: 1bf2403e1cd7038a1e7ea62da560af601e3694fc
  texidoces = "
Se pueden alinear los extremos de los reguladores con los puntos
izquierdo, central o derecho de los objetos gráficos
@code{NoteColumn} por medio de la sobreescritura de la propiedad
@code{endpoint-alignments}, que es una pareja de números que
representan los extremos izquierdo y derecho de un regulador.  Se
espera que los @code{endpoint-alignments} sean direcciones (-1, 0
o@tie{}1).  Cualquier otro valor se transforma acompañado de una
advertencia.  La derecha de un regulador que termina en un
silencio no resulta afectada, terminando siempre en el borde
izquierdo del silencio.
"

  doctitlees = "Alinear los extremos de los reguladores con las direcciones de @code{NoteColumn}"

  categories = "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
% ****************************************************************
