lilypond-user
[Top][All Lists]
Advanced

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

Re: How to create shortcut to a command?


From: Marc Mouries
Subject: Re: How to create shortcut to a command?
Date: Mon, 4 May 2009 22:08:03 -0400

Thanks a lot guys this is helpful. I am trying to make the lily code easier to read.

I also have many command to write the position like "^\markup { \small "IV" }" and "^\markup { \small "IIII" }" and so on, would you know how to create a command that takes an argument?

On Apr 27, 2009, at 6:09 AM, Francisco Vila wrote:

2009/4/27 Dmytro O. Redchuk <address@hidden>:
2009/4/27 Francisco Vila <address@hidden>:
2009/4/27 Dmytro O. Redchuk <address@hidden>:
% or even, i guess, this should work:
<note> _\markup { \italic "poco" \rit }

Yes, it does, but how would you do it for \upbow and \downbow?
:-)

Don't know.

I have investigated a bit how downbow is defined and I've found it in
the source code in ly/script-init.ly so we can write

db = #(make-articulation "downbow")
ub = #(make-articulation "upbow")

{ c' \db c' \ub }


--
Francisco Vila. Badajoz (Spain)
www.paconet.org





reply via email to

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