X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Flsr%2Fbroken-crescendo-hairpin.ly;h=beff93e76d5040b2080359b41876b69e449391bb;hb=37ca1f80bf5401accd17056938f4f7b2c147ddb2;hp=eebe31d36fc6eebe5c5c73d231a5efa780293995;hpb=71d5cdd90e14fc79b22b765a8f904017e26925af;p=lilypond.git diff --git a/input/lsr/broken-crescendo-hairpin.ly b/input/lsr/broken-crescendo-hairpin.ly index eebe31d36f..beff93e76d 100644 --- a/input/lsr/broken-crescendo-hairpin.ly +++ b/input/lsr/broken-crescendo-hairpin.ly @@ -1,45 +1,41 @@ -%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it +%% Do not edit this file; it is auto-generated from input/new %% This file is in the public domain. -\version "2.11.38" +\version "2.11.49" \header { lsrtags = "expressive-marks" - texidoc = " + 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. The rectangle is +part of the crescendo hairpin, making it invisible. The rectangle is defined as postscript code within a text markup. -In order to fine-tune the position and size of the markup, the number -preceding the \"setgray\" in the postscript definition can be set to a -value <1 making it grey. The two numbes before the \"scale\" in the -postscript code are responsible for the width and height of the -rectangle, the two numbers before the \"translate\" change the x- and -y-origin of the rectangle. +To fine-tune the position and size of the markup, the number +preceding @code{setgray} in the postscript definition can be set to a +value less than one, making it grey. The two numbers before @code{scale} +in the postscript code are responsible for the width and height of the +rectangle, the two numbers before @code{translate} change the x- and +y-origin of the rectangle. -Make sure to put the Hairpin in a lower layer than the Text Markup to -actually draw the rectangle above the hairpin. -" } -% begin verbatim -% Version specific to 2.10; fails under 2.11 -np +Make sure to put the hairpin in a lower layer than the text markup to +draw the rectangle over the hairpin. +" + doctitle = "Broken crescendo hairpin" +} % begin verbatim -\score -{ - \relative c' { - << { - \dynamicUp - \override DynamicLineSpanner #'staff-padding = #4 - r2 r16 c'8.\pp r4 - } \\ { - \override DynamicLineSpanner #'layer = #0 - des,2~\mf \< - \override TextScript #'layer = #2 - des16_\markup { - \postscript #"1.9 -4.5 translate 5 4 scale 1 setgray 0 0 moveto 0 1 - lineto 1 1 lineto 1 0 lineto 0 0 lineto fill" } - r8. des4~ des16-> \sff - } - >> +\relative c' { + << { + \dynamicUp + \override DynamicLineSpanner #'staff-padding = #4 + r2 r16 c'8.\pp r4 + } \\ { + \override DynamicLineSpanner #'layer = #0 + des,2\mf\< ~ + \override TextScript #'layer = #2 + des16_\markup { + \postscript #"1.9 -8 translate 5 4 scale 1 setgray 0 0 moveto 0 1 + lineto 1 1 lineto 1 0 lineto 0 0 lineto fill" } - \layout { ragged-right = ##t} + r8. des4 ~ des16->\sff + } >> }