From 9e42345b99c9f663f8647513ec2caa8c64dccf6a Mon Sep 17 00:00:00 2001 From: Trevor Daniels Date: Thu, 9 May 2013 09:08:49 +0100 Subject: [PATCH] Doc: add snippet showing flared and constante hairpins (3235) simply use Mike's regression test as the example code --- Documentation/notation/expressive.itely | 10 +++++ .../printing-hairpins-in-various-styles.ly | 30 +++++++++++++++ .../printing-hairpins-in-various-styles.ly | 38 +++++++++++++++++++ 3 files changed, 78 insertions(+) create mode 100644 Documentation/snippets/new/printing-hairpins-in-various-styles.ly create mode 100644 Documentation/snippets/printing-hairpins-in-various-styles.ly 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\! +} -- 2.39.2