lilypond-user
[Top][All Lists]
Advanced

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

Re: Parametric variables?


From: Graham Percival
Subject: Re: Parametric variables?
Date: Sun, 15 Mar 2009 12:59:13 +0800
User-agent: Mutt/1.5.18 (2008-05-17)

On Sat, Mar 14, 2009 at 06:56:28PM -0600, Carl D. Sorensen wrote:
> 
> > fng = #(define-music-function (parser location marktext) (string?)
> > #{ \markup {\finger $marktext}
>    ^  The lilypond music expression needs to start with a #{
> > #})
>    ^  and end with a #}.  You were missing the { and }, you only had
> the # characters. 
> > 
> > {<c' d'>1^\fng #"2\n1"}
> 
> However, this still doesn't work as expected, at least for me.  the \n
> doesn't add a newline in the markup on my compiler.  It just turns into
> whitespace.

Does \n normally work in lilypond markup?  (I honestly don't know)

Why not just do \fng #2 #1, and use \column or whatever in the
function?

Cheers,
- Graham




reply via email to

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