%% 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/extending-a-trill-spanner.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: de1e42ce512f3690387cdd065109bddff1b7bd6d
  texidocfr = "
La propriété @code{minimum-length} d'une extension de trille -- objet
@code{TrillSpanner} -- n'est effective qu'après un appel explicite à la
procédure @code{set-spacing-rods}.

Pour ce faire, la propriété @code{set-spacing-rods} doit être définie à
@code{ly:spanner::set-spacing-rods}.
"

  doctitlefr = "Allongement d'une marque de trille (@code{TrillSpanner})"

  categories = "Staff notation, Syntax and expressions, Tweaks and
                overrides"

  texidoc = "
For @code{TrillSpanner} grobs, the @code{minimum-length} property
becomes effective only if the @code{set-spacing-rods} procedure is
called explicitly.

To do this, the @code{springs-and-rods} property should be set to
@code{ly:spanner::set-spacing-rods}.
"

  doctitle = "Extending a trill spanner"
} % begin verbatim


\relative c' {
  \key c\minor
  \time 2/4
  c16( as') c,-. des-.
  \once\override TrillSpanner.minimum-length = #15
  \once\override TrillSpanner.springs-and-rods = #ly:spanner::set-spacing-rods
  \afterGrace es4\startTrillSpan { d16[(\stopTrillSpan es)] }
  c( c' g es c g' es d
  c8)
}



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