lilypond-user
[Top][All Lists]
Advanced

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

trill spanner with "fancy" markup


From: Vaclav Smilauer
Subject: trill spanner with "fancy" markup
Date: Sat, 03 Jan 2004 16:55:00 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031107 Debian/1.5-3

Hello,

I need to typeset a trill with the "tr" at the beginning and moreover being enclosed in parentheses, like this : "(tr~~~~~~~~~)".

I only need to concatenate two markups when setting edge-text, for the first argument of #cons; for simple "tr~~~" this is

\property Voice.TextSpanner \set #'edge-text = #(cons (make-musicglyph-markup "scripts-trill") "").

So I tried

#(cons
   (combine-markup
       (make-musicglyph-markup "accidentals-leftparen")
       (make-musicglyph-markup "scripts-trill"))
   (make-musicglyph-markup "accidentals-rightparen"))

but this does not work (ERROR: In procedure car: ERROR: Wrong type argument in position 1: () ). I am not sure if combine-markup is the function I need, is there another one or should I do it in another way altogether?

Thanks for suggestions.

Vaclav

address@hidden:~/music/ly$ lilypond --version
lilypond (GNU LilyPond) 2.1.0






reply via email to

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