This would be particularly useful if you had a file containing a number of
your shortcuts, so all you would have to do is something like this:
\include "shortcutsFile.ly"
then call whatever shortcut(s) you need, when you need them.
Josiah
On Thu, 16 Feb 2006, Thies Albrecht wrote:
Hi everybody!
To prevent having to use extensive scheme code inside my score I prefer to
define shortcuts for often used code snippets, e.g. when setting ottavation
on and off.
In the following code example Point'n'click is turned off also IMHO I have
only defined the shortcut without using it. Now I wonder if my way of
defining shortcuts is okay or if I've misunderstood the documentation on
that.
Example:
--------
\version "2.7.34"
noPnC = #(ly:set-option 'point-and-click #f)
\relative c'' {c1}
--------------
End of example
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user