]> git.donarmstrong.com Git - lilypond.git/commitdiff
Doc: add snippet showing flared and constante hairpins (3235)
authorTrevor Daniels <t.daniels@treda.co.uk>
Thu, 9 May 2013 08:08:49 +0000 (09:08 +0100)
committerTrevor Daniels <t.daniels@treda.co.uk>
Mon, 13 May 2013 08:54:23 +0000 (09:54 +0100)
  simply use Mike's regression test as the example code

Documentation/notation/expressive.itely
Documentation/snippets/new/printing-hairpins-in-various-styles.ly [new file with mode: 0644]
Documentation/snippets/printing-hairpins-in-various-styles.ly [new file with mode: 0644]

index f327ad2c24e8e629482366f1061a1aa607043b7c..7a9867dc6fcb77ce700f0bcbe0044b9ba226d750 100644 (file)
@@ -472,6 +472,16 @@ items such as text scripts, text spanners, and piano pedal marks.
 @lilypondfile[verbatim,quote,texidoc,doctitle]
 {printing-hairpins-using-al-niente-notation.ly}
 
+@cindex Ferneyhough hairpins
+@cindex hairpins, Ferneyhough
+@cindex flared hairpins
+@cindex hairpins, flared
+@cindex constante hairpins
+@cindex hairpins, constante
+
+@lilypondfile[verbatim,quote,texidoc,doctitle]
+{printing-hairpins-in-various-styles.ly}
+
 @lilypondfile[verbatim,quote,texidoc,doctitle]
 {vertically-aligned-dynamics-and-textscripts.ly}
 
diff --git a/Documentation/snippets/new/printing-hairpins-in-various-styles.ly b/Documentation/snippets/new/printing-hairpins-in-various-styles.ly
new file mode 100644 (file)
index 0000000..b6a18ec
--- /dev/null
@@ -0,0 +1,30 @@
+\version "2.17.14"
+
+\header {
+  lsrtags = "expressive-marks"
+
+  texidoc = "
+Hairpin dynamics may be created in a variety of styles
+
+"
+  doctitle = "Printing hairpins in various styles"
+}
+
+\relative c'' {
+  \override Hairpin.stencil = #flared-hairpin
+  a4\< a a a\f
+  a4\p\< a a a\ff
+  a4\sfz\< a a a\!
+  \override Hairpin.stencil = #constante-hairpin
+  a4\< a a a\f
+  a4\p\< a a a\ff
+  a4\sfz\< a a a\!
+  \override Hairpin.stencil = #flared-hairpin
+  a4\> a a a\f
+  a4\p\> a a a\ff
+  a4\sfz\> a a a\!
+  \override Hairpin.stencil = #constante-hairpin
+  a4\> a a a\f
+  a4\p\> a a a\ff
+  a4\sfz\> a a a\!
+}
diff --git a/Documentation/snippets/printing-hairpins-in-various-styles.ly b/Documentation/snippets/printing-hairpins-in-various-styles.ly
new file mode 100644 (file)
index 0000000..8b8aae0
--- /dev/null
@@ -0,0 +1,38 @@
+% 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.17.14
+\version "2.17.14"
+
+\header {
+  lsrtags = "expressive-marks"
+
+  texidoc = "
+Hairpin dynamics may be created in a variety of styles
+
+"
+  doctitle = "Printing hairpins in various styles"
+} % begin verbatim
+
+
+\relative c'' {
+  \override Hairpin.stencil = #flared-hairpin
+  a4\< a a a\f
+  a4\p\< a a a\ff
+  a4\sfz\< a a a\!
+  \override Hairpin.stencil = #constante-hairpin
+  a4\< a a a\f
+  a4\p\< a a a\ff
+  a4\sfz\< a a a\!
+  \override Hairpin.stencil = #flared-hairpin
+  a4\> a a a\f
+  a4\p\> a a a\ff
+  a4\sfz\> a a a\!
+  \override Hairpin.stencil = #constante-hairpin
+  a4\> a a a\f
+  a4\p\> a a a\ff
+  a4\sfz\> a a a\!
+}