]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/adding-beams,-slurs,-ties-etc.-when-using-tuplet-and-non-tuplet-rhythms.ly
Add '-dcrop' option to ps and svg backends
[lilypond.git] / Documentation / snippets / adding-beams,-slurs,-ties-etc.-when-using-tuplet-and-non-tuplet-rhythms.ly
1 %% DO NOT EDIT this file manually; it is automatically
2 %% generated from LSR http://lsr.di.unimi.it
3 %% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
4 %% and then run scripts/auxiliar/makelsr.py
5 %%
6 %% This file is in the public domain.
7 \version "2.18.0"
8
9 \header {
10   lsrtags = "expressive-marks, rhythms"
11
12   texidoc = "
13 LilyPond syntax can involve many unusual placements for parentheses,
14 brackets etc., which might sometimes have to be interleaved. For
15 example, when entering a manual beam, the left square bracket has to be
16 placed after the starting note and its duration, not before. Similarly,
17 the right square bracket should directly follow the note which is to be
18 at the end of the requested beaming, even if this note happens to be
19 inside a tuplet section. This snippet demonstrates how to combine
20 manual beaming, manual slurs, ties and phrasing slurs with tuplet
21 sections (enclosed within curly braces).
22
23 "
24   doctitle = "Adding beams slurs ties etc. when using tuplet and non-tuplet rhythms"
25 } % begin verbatim
26
27 {
28   r16[ g16 \tuplet 3/2 { r16 e'8] }
29   g16( a \tuplet 3/2 { b d e') }
30   g8[( a \tuplet 3/2 { b d') e'] ~ }
31   \time 2/4
32   \tuplet 5/4 { e'32\( a b d' e' } a'4.\)
33 }