]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/new/making-glissandi-breakable.ly
Imported Upstream version 2.16.1
[lilypond.git] / Documentation / snippets / new / making-glissandi-breakable.ly
1 \version "2.15.15"
2
3 \header {
4   lsrtags = "staff-notation, tweaks-and-overrides"
5
6   texidoc = "
7 Setting the @code{breakable} property to @code{#t} in combination with
8 @code{after-line-breaking} allows a glissando to break if it occurs
9 at a line break:
10 "
11
12   doctitle = "Making glissandi breakable"
13 }
14
15 glissandoSkipOn = {
16   \override NoteColumn #'glissando-skip = ##t
17   \override NoteHead #'transparent = ##t
18   \override NoteHead #'no-ledgers = ##t
19 }
20
21 \relative c'' {
22   \override Glissando #'breakable = ##t
23   \override Glissando #'after-line-breaking = ##t
24   f1\glissando |
25   \break
26   a4 r2. |
27   f1\glissando
28   \once \glissandoSkipOn
29   \break
30   a2 a4 r4 |
31 }