]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/making-glissandi-breakable.ly
Imported Upstream version 2.19.45
[lilypond.git] / Documentation / snippets / making-glissandi-breakable.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 = "staff-notation, tweaks-and-overrides"
11
12   texidoc = "
13 Setting the @code{breakable} property to @code{#t} in combination with
14 @code{after-line-breaking} allows a glissando to break if it occurs at
15 a line break:
16
17 "
18   doctitle = "Making glissandi breakable"
19 } % begin verbatim
20
21 glissandoSkipOn = {
22   \override NoteColumn.glissando-skip = ##t
23   \hide NoteHead
24   \override NoteHead.no-ledgers = ##t
25 }
26
27 \relative c'' {
28   \override Glissando.breakable = ##t
29   \override Glissando.after-line-breaking = ##t
30   f1\glissando |
31   \break
32   a4 r2. |
33   f1\glissando
34   \once \glissandoSkipOn
35   \break
36   a2 a4 r4 |
37 }