X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Flsr%2Fbroken-crescendo-hairpin.ly;h=2baa30cf8ffd61d5645e62bb9375fde12c61f8fb;hb=3eb1e37e2e0b3966142cd04b85e30ab882308612;hp=b308dbd3927758fbacbf41f5edffad123e47cc56;hpb=b90a4cf94efb4d0069113b50fda0e51cc6676e6b;p=lilypond.git diff --git a/input/lsr/broken-crescendo-hairpin.ly b/input/lsr/broken-crescendo-hairpin.ly index b308dbd392..2baa30cf8f 100644 --- a/input/lsr/broken-crescendo-hairpin.ly +++ b/input/lsr/broken-crescendo-hairpin.ly @@ -1,8 +1,11 @@ -%% Do not edit this file; it is auto-generated from input/new +%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it %% This file is in the public domain. -\version "2.11.52" +\version "2.13.1" \header { + lsrtags = "expressive-marks" + +%% Translation of GIT committish: dff50e8e1d3134657a6b6203b9c93826dc4cef65 texidoces = " Para hacer invisibles partes de un regulador de crescendo, se usa el método de dibujar un rectángulo blanco encima de la parte @@ -25,24 +28,25 @@ regulador. " doctitlees = "Regulador interrumpido" - lsrtags = "expressive-marks" 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 defined as postscript code within a text markup. -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 +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 -draw the rectangle over the hairpin. +draw the rectangle over the hairpin. + " - doctitle = "Broken crescendo hairpin" + doctitle = "Broken Crescendo Hairpin" } % begin verbatim \relative c' { @@ -50,13 +54,23 @@ draw the rectangle over the hairpin. \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" + \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" } r8. des4 ~ des16->\sff } >>