[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Question about defined music functions
From: |
David Kastrup |
Subject: |
Re: Question about defined music functions |
Date: |
Mon, 23 Jun 2014 15:06:03 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) |
James <address@hidden> writes:
> Can I assume (dangerous ground I know) that if I look in
> ly/music-functions-init.ly and see an entry that has the form
>
> someString =
> #(define-music-function ...
>
> That this is always a command in the form
>
> \someString
>
> That a user can directly in a .ly file (if you see what I mean/).
Basically, assuming that I see what you mean.
> +magnifyMusic =
> +#(define-music-function ....
>
> but if I look at this check-in
>
> http://git.savannah.gnu.org/gitweb/?p=lilypond.git;a=commit;h=d3e856b31301bc6e67a13118ad432d22897d9f8b
>
> The new function \justify-line seems to only touch the
> scm/define-markup-commands.scm file and nothing is added to
> ly/music-functions-init.ly
It is not a music function but rather a markup command. You can only
use it inside of markup.
--
David Kastrup