]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/making-glissandi-breakable.ly
Rerun scripts/auxiliar/update-with-convert-ly.sh
[lilypond.git] / Documentation / snippets / making-glissandi-breakable.ly
1 % DO NOT EDIT this file manually; it is automatically
2 % generated from Documentation/snippets/new
3 % Make any changes in Documentation/snippets/new/
4 % and then run scripts/auxiliar/makelsr.py
5 %
6 % This file is in the public domain.
7 %% Note: this file works from version 2.16.0
8 \version "2.17.6"
9
10 \header {
11   lsrtags = "staff-notation, tweaks-and-overrides"
12
13   texidoc = "
14 Setting the @code{breakable} property to @code{#t} in combination with
15 @code{after-line-breaking} allows a glissando to break if it occurs
16 at a line break:
17 "
18
19   doctitle = "Making glissandi breakable"
20 } % begin verbatim
21
22
23 glissandoSkipOn = {
24   \override NoteColumn.glissando-skip = ##t
25   \override NoteHead.transparent = ##t
26   \override NoteHead.no-ledgers = ##t
27 }
28
29 \relative c'' {
30   \override Glissando.breakable = ##t
31   \override Glissando.after-line-breaking = ##t
32   f1\glissando |
33   \break
34   a4 r2. |
35   f1\glissando
36   \once \glissandoSkipOn
37   \break
38   a2 a4 r4 |
39 }