]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/tuplet-bracket-and-change-staff.ly
Merge remote-tracking branch 'origin/master' into translation
[lilypond.git] / Documentation / snippets / tuplet-bracket-and-change-staff.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 = "tweaks-and-overrides"
11
12   texidoc = "
13 This snippet shows how to set a tuplet starting in a lower staff and
14 finishing in the upper one.
15
16 "
17   doctitle = "Tuplet bracket and change staff"
18 } % begin verbatim
19
20 %% http://lsr.di.unimi.it/LSR/Item?id=926
21 %=> http://lilypond-french-users.1298960.n2.nabble.com/Crochet-de-nolet-tordu-tt7581491.html
22 %=> http://lilypond.1069038.n5.nabble.com/Tuplet-bracket-amp-changeStff-td164063.html
23
24 aigues = \relative c' {
25   \time 6/8
26   s4.
27   \stemDown
28   c16[ bes' e]
29   \stemUp
30   g c e
31   \stemDown
32   g8
33 }
34
35 basses = \relative c {
36   \time 3/4
37   \clef F
38   \tweak positions #'(4.5 . 9.5)
39   \tweak edge-height #'(1 . -1)
40   \tuplet 7/6 {
41     c16[ bes' e]
42     \change Staff = md
43     \stemUp
44     g[ c e g]
45   }
46   s4.s8
47 }
48
49 \new PianoStaff
50 \with { \omit TimeSignature }
51 <<
52   \new Staff = md \aigues
53   \new Staff = mg \basses
54 >>