[Top][All Lists]

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

Re: Trillspanner line thickness

From: Mats Bengtsson
Subject: Re: Trillspanner line thickness
Date: Tue, 15 Sep 2009 09:44:54 +0200
User-agent: Thunderbird (X11/20070716)

The zigzag line is typeset by LilyPond using a number of copies of the scripts.trill_element glyph from the so-called Feta font (see Therefore, your only chance to change the thickness is to change the font size. As you have noted, just changing the font-size property of the TextSpanner object will also affect the "tr" indication, but the following trick can be used to compensate the font size of the "tr":

\override TrillSpanner #'font-size = #-3
\override TrillSpanner #'bound-details #'left #'text = #(make-translate-scaled-markup
                                            '(0.0 . -1.0)
(make-fontsize-markup 3 (make-musicglyph-markup "scripts.trill")))

Note that the argument 3 to make-fontsize-markup has to match the -3 in the font-size setting.


Jonathan Wilkes wrote:
I'm getting to the end of formatting a score, and I just need some hints on changing the thickness of the zigzag line after trills. I've tried zigzag-width, thickness, and everything else that looked promising but with no results. I didn't use font-size because I want the trill sign to stay the same size.

     Is what I want to do possible?


lilypond-user mailing list

        Mats Bengtsson
        Signal Processing
        School of Electrical Engineering
        Royal Institute of Technology (KTH)
        SE-100 44  STOCKHOLM
        Phone: (+46) 8 790 8463                         
       Fax:   (+46) 8 790 7260
        Email: address@hidden

reply via email to

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