X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fsnippets%2Fbroken-crescendo-hairpin.ly;h=82725533312f59d4a3e312ac4613a1f73a86df42;hb=7b3d43f2b604e8ccdc24315fa0c094e04dcfcbaf;hp=1515b52fa33484719226a9b74237278c66160d21;hpb=e7aa6c445f463844dbaa52d38ea4aac2882b5601;p=lilypond.git diff --git a/Documentation/snippets/broken-crescendo-hairpin.ly b/Documentation/snippets/broken-crescendo-hairpin.ly index 1515b52fa3..8272553331 100644 --- a/Documentation/snippets/broken-crescendo-hairpin.ly +++ b/Documentation/snippets/broken-crescendo-hairpin.ly @@ -1,11 +1,10 @@ -% 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.19.2 -\version "2.19.2" +%% DO NOT EDIT this file manually; it is automatically +%% generated from LSR http://lsr.di.unimi.it +%% Make any changes in LSR itself, or in Documentation/snippets/new/ , +%% and then run scripts/auxiliar/makelsr.py +%% +%% This file is in the public domain. +\version "2.18.0" \header { lsrtags = "contemporary-notation, expressive-marks, symbols-and-glyphs" @@ -13,21 +12,21 @@ texidoc = " In order to make parts of a crescendo hairpin invisible, the following method is used: A white rectangle is drawn on top of the respective -part of the crescendo hairpin, making it invisible. +part of the crescendo hairpin, making it invisible. The rectangle is +defined as postscript code within a text markup. -The markup command @code{with-dimensions} tells LilyPond to consider only -the bottom edge of the rectangle when spacing it against the hairpin. -The property @code{staff-padding} prevents the rectangle from fitting -between the hairpin and staff. +The markup command @code{with-dimensions} tells LilyPond to consider +only the bottom edge of the rectangle when spacing it against the +hairpin. The property @code{staff-padding} prevents the rectangle from +fitting between the hairpin and staff. -Make sure to put the hairpin in a lower layer than the text markup to -draw the rectangle over the hairpin. +Make sure the hairpin is in a lower layer than the text markup to draw +the rectangle over the hairpin. " doctitle = "Broken Crescendo Hairpin" } % begin verbatim - \relative c' { << { @@ -44,7 +43,7 @@ draw the rectangle over the hairpin. des16_\markup \with-dimensions #'(2 . 7) #'(0 . 0) \with-color #white \filled-box #'(2 . 7) #'(0 . 2) #0 - r8. des4 ~ 16->\sff + r8. des4 ~ des16->\sff r8. } >> }