%% 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/adding-beams,-slurs,-ties,-etc.,-when-using-tuplet-and-non-tuplet-rhythms.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 syntaxe de LilyPond demande parfois un positionnement inhabituel des
parenthèses, crochets, etc. qui peuvent s'entrelacer.

Par exemple, le crochet ouvrant une ligature manuelle se place @strong{à
la suite} de la note de départ et sa durée, non pas avant. De même, le
crochet fermant se place à la fin de la ligature, y compris lorsque la
dernière note se trouve incluse dans un n-olet.

Cet extrait illustre la manière de combiner ligatures manuelles,
liaisons d'articulation, de prolongation ou de phrasé, avec des n-olets
bornées par des accolades.
"

  doctitlefr = "Coexistence de ligatures et liaisons avec des rythmes comprenant des n-olets"

  categories = "Connecting notes, Rhythms"

  texidoc = "
LilyPond primarily uses postfix syntax for inputting parentheses,
brackets, etc., which might feel unintuitive for novices.

For example, when entering a manual beam, the left square bracket has
to be placed @emph{after} the starting note and its duration, not
before. Similarly, the right square bracket should directly follow the
note which is to be at the end of the requested beaming, even if this
note happens to be inside a tuplet section.

This snippet demonstrates how to combine manual beaming, manual slurs,
ties, and phrasing slurs with tuplet sections (enclosed within curly
braces).
"

  doctitle = "Adding beams, slurs, ties, etc., when using tuplet and non-tuplet rhythms"
} % begin verbatim


{
  r16[ g16 \tuplet 3/2 { r16 e'8] }
  g16( a \tuplet 3/2 { b d' e') }
  g8[( a \tuplet 3/2 { b d') e']\( ~ }
  \time 2/4
  \tuplet 5/4 { e'32 a b d' e' } a'4.\)
}



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