lilypond-user
[Top][All Lists]
Advanced

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

Re: special characters in markup


From: Paul Scott
Subject: Re: special characters in markup
Date: Fri, 11 Jan 2008 19:50:06 -0700
User-agent: Mozilla-Thunderbird 2.0.0.9 (X11/20080110)

Valentin Villenave wrote:
2008/1/11, Paul Scott <address@hidden>:

That's a good answer which I can use

This is not really needed anymore, as LilyPond can support all UTF-8
characters natively.

I was actually thinking about normal characters like '"' which have
another syntactical meaning in Lily.

Actually, the double quote is the only character you need to 'escape',
by preceding it with a backslash:

\markup "This 'is' #a \"quoted sentence\" \with $pecial {chars}"

As you can see, the #, { or \ characters are otherwise looking good.
This requires that the text be enclosed in quotes (Thanks to Geoff Horton).
This works:  \markup{ "some \"quoted text\"" }
This doesn't:  \markup{ some \"quoted text\" }

Paul





reply via email to

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