Tomas, You were very close. You were just missing a pair of brackets, which I've indicated below.
On 3/14/09 10:10 AM, "Tomas Valusek" <[email protected]> wrote: > Hello, > > thanks for answer. I tried my best, but I don't understand what's wrong. > I have slightly modified last example in NR 6.1.2 like this: > > 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"} > > > I don't understand anything from it. How to modify my file so that it > works as expected? > 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. HTH, Carl _______________________________________________ lilypond-user mailing list [email protected] http://lists.gnu.org/mailman/listinfo/lilypond-user
