Re: How to create shortcut to a command?

2009-05-06 Thread Marc Hohl
Marc Mouries schrieb: 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 } and so on, would you know how to create a command that takes an argument? I

Re: How to create shortcut to a command?

2009-05-04 Thread Marc Mouries
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 } and so on, would you know how to create a command that takes an argument? On Apr 27, 2009, at 6:09

Re: How to create shortcut to a command?

2009-04-27 Thread Dmytro O. Redchuk
2009/4/26 Antheo m...@mouries.net: note _\markup { \italic { rit. } } % definition: rit = \markup { \bold \italic rit. } % usage: note _\rit note -\rit note ^\rit % or even, i guess, this should work: note _\markup { \italic poco \rit } -- Dmytro O. Redchuk

Re: How to create shortcut to a command?

2009-04-27 Thread Francisco Vila
2009/4/27 Dmytro O. Redchuk brownian@gmail.com: % 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? -- Francisco Vila. Badajoz (Spain) www.paconet.org ___

Re: How to create shortcut to a command?

2009-04-27 Thread Dmytro O. Redchuk
2009/4/27 Francisco Vila paconet@gmail.com: 2009/4/27 Dmytro O. Redchuk brownian@gmail.com: % 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. Since these are not a question of

Re: How to create shortcut to a command?

2009-04-27 Thread Dmytro O. Redchuk
2009/4/27 Francisco Vila paconet@gmail.com: 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 } Thank you. This can be very useful

How to create shortcut to a command?

2009-04-26 Thread Antheo
in context: http://www.nabble.com/How-to-create-shortcut-to-a-command--tp23245545p23245545.html Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman