]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/glissando.ly
Fix off-by-one error in constrained-breaking.
[lilypond.git] / input / regression / glissando.ly
1 \version "2.10.0"
2
3 \header{
4
5   texidoc=" Between notes, there may be simple glissando lines.
6 Here, the first two glissandi are not consecutive.
7
8 The engraver does no time-keeping, so it involves some trickery to get
9 << @{ s8 s8 s4 @} @{ c4 \\gliss d4 @} >> working correctly.
10
11 "
12 }
13
14
15 \new Staff \relative c''{
16                                 % gliss non gliss and 
17   c4 \glissando d e \glissando f \glissando \break
18                                 % consecutive 
19   c \glissando d, \glissando e'
20   << { \stemUp e8 \glissando g8 }
21      \context Voice = VB {\stemDown \repeat unfold 4 d16 } >>
22   \override Glissando  #'style = #'zigzag
23   c4 \glissando c,, \glissando c' \glissando d
24 }
25
26 \layout{
27   line-width = 50.\mm
28   indent = 0
29 }
30
31