|
From: | Mats Bengtsson |
Subject: | Re: [LSR-620] Vertical line as a baroque articulation mark |
Date: | Tue, 07 Apr 2015 18:35:34 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 |
/Mats On 2015-04-07 18:01, address@hidden wrote:
Hi Squad Members, Regarding this snippet: http://lsr.di.unimi.it/LSR/Item?id=620 I'm not sure about the 'font-size 3' effect; was it for the articulation line thickness? Anyway I'm thinking about putting a more user-friendly script. How about: upline = #(define-event-function (parser location) () #{ %% possible tweaks here, e.g: %-\tweak padding #1 %-\tweak avoid-slur #'around %-\tweak direction #DOWN -\tweak stencil #(lambda (grob) (grob-interpret-markup grob #{ \markup \override #'(thickness . 3) \draw-line #'(0 . 1) #})) \stopped #}) \relative c' { a'4^\upline a( c d')_\upline } Cheers, Pierre
-- ============================================= Mats Bengtsson Signal Processing School of Electrical Engineering Royal Institute of Technology (KTH) SE-100 44 STOCKHOLM Sweden Phone: (+46) 8 790 8463 Email: address@hidden WWW: http://www.ee.kth.se/~mabe =============================================
[Prev in Thread] | Current Thread | [Next in Thread] |