From: Trevor Daniels Date: Thu, 9 May 2013 08:08:49 +0000 (+0100) Subject: Doc: add snippet showing flared and constante hairpins (3235) X-Git-Tag: release/2.17.19-1~8^2~20 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=9e42345b99c9f663f8647513ec2caa8c64dccf6a;p=lilypond.git Doc: add snippet showing flared and constante hairpins (3235) simply use Mike's regression test as the example code --- diff --git a/Documentation/notation/expressive.itely b/Documentation/notation/expressive.itely index f327ad2c24..7a9867dc6f 100644 --- a/Documentation/notation/expressive.itely +++ b/Documentation/notation/expressive.itely @@ -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 index 0000000000..b6a18ecc7d --- /dev/null +++ b/Documentation/snippets/new/printing-hairpins-in-various-styles.ly @@ -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 index 0000000000..8b8aae09c1 --- /dev/null +++ b/Documentation/snippets/printing-hairpins-in-various-styles.ly @@ -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\! +}