lilypond-user
[Top][All Lists]
Advanced

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

Re: Defining shortcuts for scheme code


From: D Josiah Boothby
Subject: Re: Defining shortcuts for scheme code
Date: Thu, 16 Feb 2006 17:54:05 -0800 (PST)

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
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user





reply via email to

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