]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/chord-tremolo.ly
* lily/side-position-interface.cc (general_side_position):
[lilypond.git] / input / regression / chord-tremolo.ly
1 \version "1.3.146"
2
3 \header{
4 texidoc="
5 Chord tremolos look like beams, but are a kind of repeat symbol.
6 To avoid confusion, chord tremolo beams do not reach the stems, but 
7 leave a gap.  Chord tremolo beams on half notes are not ambiguous,
8 as half notes cannot appear in a regular beam, and should reach the 
9 stems.
10
11 (To ensure that the spacing engine is not confused we add some regular notes as well.) 
12 "
13 }
14   
15 \score { 
16   \context Voice \notes\relative c' {
17         % huh -> one beam missing!
18         \repeat "tremolo" 8 { d16 e }
19         \repeat "tremolo" 4 { d e }
20         \repeat "tremolo" 2 { d e }
21         \repeat "tremolo" 1 { d e }
22         \repeat "tremolo" 1 { d e }
23         \break
24         \repeat "tremolo" 4 { f'8 e }
25         \repeat "tremolo" 2 { f e }    
26         \repeat "tremolo" 1 { f e }
27         c4 c4 c4 c4
28         c4 c4 c4 c4
29         c4 c4 c4 c4
30
31   }
32   \paper {
33     linewidth = 90*\staffspace
34   }  
35   \midi { }
36 }