lilypond-user
[Top][All Lists]
Advanced

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

Re: Custom markup


From: Mats Bengtsson
Subject: Re: Custom markup
Date: Mon, 18 Jul 2005 22:47:18 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.6) Gecko/20050319

See http://lists.gnu.org/archive/html/lilypond-user/2005-07/msg00138.html
for some hints on how to implement a function in Scheme which you can
use with the syntax
\tc a

   /Mats

Sven Axelsson wrote:
OK, thanks. That gives the correct output.

But how would I wrap this into a self-contained command?

If I try

tc = \once \override TextScript #'staff-padding = #2 \markup { \column { "T"
"C" } }

then Lily fails (understandably) when I try to use as { a_\tc }

I would like to have the command completely self-contained,
since this is an abbreviated notation, and I want to be able to
switch between this and the full notation that instead inserts
a complex grace note, without any changes to the score.

That is also the reason for why I want the syntax to be

{ a\tc } instead of { a_\tc }


--
=============================================
        Mats Bengtsson
        Signal Processing
        Signals, Sensors and Systems
        Royal Institute of Technology
        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]