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: [EMAIL PROTECTED]
        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