lilypond-user
[Top][All Lists]
Advanced

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

Re: Custom trill articulation?


From: Mats Bengtsson
Subject: Re: Custom trill articulation?
Date: Tue, 08 Sep 2009 14:39:55 +0200
User-agent: Thunderbird 2.0.0.5 (X11/20070716)

Try the following:

editorial = {
 \once \override TrillSpanner #'bound-details #'left #'text = "tr"
}

\relative c'{
 c \startTrillSpan d e f \stopTrillSpan
 \editorial  c \startTrillSpan d e f \stopTrillSpan

}

It should be possible to define a macro \startEditorialTrillSpan, that both does the setting and starts the trill, but for technical reasons it requires a few lines of Scheme code.

   /Mats

Hilary Snaden wrote:
Is it possible to define custom articulations? I'm looking for an articulation (called, say, \etrill) which behaves exactly as \trill except that instead of "tr" being rendered as a glyph, it's rendered in a standard upright font. (This is to distinguish editorial trills.)


--
=============================================
        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: address@hidden
        WWW: http://www.s3.kth.se/~mabe
=============================================





reply via email to

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