lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: piano pedal lines over staff


From: Mats Bengtsson
Subject: Re: piano pedal lines over staff
Date: Mon, 05 Mar 2007 10:13:32 +0100
User-agent: Thunderbird 1.5.0.9 (X11/20061206)

If you really want to use it as a piano pedal bracket, then you can do
       \override Staff.SustainPedalLineSpanner #'direction = #UP
       \override Staff.PianoPedalBracket #'edge-height = #'(-1.0 . -1.0)

Otherwise, use ordinary text spanners with
        \override TextSpanner #'dash-fraction = #'()
       \override TextSpanner #'edge-height = #'(1.0 . 1.0)

Note that this answer refers to version 2.10 or earlier. In version 2.11, the
edge-height property of TextSpanner has been replaced by a much more
clumsy construct. To figure out the exact details, enter the two lines above
into a text file and run convert-ly --from="2.10.0" on that file.

  /Mats

Scott Miller wrote:
I've tried different text span options, but cannot seem to get exactly what I'm after. Is there a way to have a piano pedal sort of line above the staff, with the end hook pointing down?

Somewhat like this (though a solid complete line, of course):

__________
            |

Thanks for your help,

Scott


_______________________________________________
lilypond-user mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user

--
=============================================
        Mats Bengtsson
        Signal Processing
        Signals, Sensors and Systems
        Royal Institute of Technology
        SE-100 44  STOCKHOLM
        Sweden
        Phone: (+46) 8 790 8463                         
       Fax:   (+46) 8 790 7260
        Email: address@hidden
        WWW: http://www.s3.kth.se/~mabe
=============================================





reply via email to

[Prev in Thread] Current Thread [Next in Thread]