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 http://lilypond.org/doc/v2.12/Documentation/user/lilypond/The-Feta-font#The-Feta-font). 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.

   /Mats

Jonathan Wilkes wrote:
Hello,
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?

Thanks,
Jonathan



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

--
=============================================
        Mats Bengtsson
        Signal Processing
        School of Electrical Engineering
        Royal Institute of Technology (KTH)
        SE-100 44  STOCKHOLM
        Sweden
        Phone: (+46) 8 790 8463                         
       Fax:   (+46) 8 790 7260
        Email: mats.bengts...@ee.kth.se
        WWW: http://www.s3.kth.se/~mabe
=============================================



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

Reply via email to