]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/making-glissandi-breakable.ly
Imported Upstream version 2.16.1
[lilypond.git] / Documentation / snippets / making-glissandi-breakable.ly
diff --git a/Documentation/snippets/making-glissandi-breakable.ly b/Documentation/snippets/making-glissandi-breakable.ly
new file mode 100644 (file)
index 0000000..9eee164
--- /dev/null
@@ -0,0 +1,39 @@
+% DO NOT EDIT this file manually; it is automatically
+% generated from Documentation/snippets/new
+% Make any changes in Documentation/snippets/new/
+% and then run scripts/auxiliar/makelsr.py
+%
+% This file is in the public domain.
+%% Note: this file works from version 2.15.15
+\version "2.15.15"
+
+\header {
+  lsrtags = "staff-notation, tweaks-and-overrides"
+
+  texidoc = "
+Setting the @code{breakable} property to @code{#t} in combination with
+@code{after-line-breaking} allows a glissando to break if it occurs
+at a line break:
+"
+
+  doctitle = "Making glissandi breakable"
+} % begin verbatim
+
+
+glissandoSkipOn = {
+  \override NoteColumn #'glissando-skip = ##t
+  \override NoteHead #'transparent = ##t
+  \override NoteHead #'no-ledgers = ##t
+}
+
+\relative c'' {
+  \override Glissando #'breakable = ##t
+  \override Glissando #'after-line-breaking = ##t
+  f1\glissando |
+  \break
+  a4 r2. |
+  f1\glissando
+  \once \glissandoSkipOn
+  \break
+  a2 a4 r4 |
+}