lilypond-user
[Top][All Lists]
Advanced

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

Re: Annotate and Lilyglyphs


From: Urs Liska
Subject: Re: Annotate and Lilyglyphs
Date: Thu, 05 Feb 2015 23:37:40 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.4.0


Am 05.02.2015 um 23:19 schrieb Craig Dabelstein:
Hi all,

I'm having some trouble getting the Lilyglyphs to display in Latex after exporting the annotate inp file.

Do you put the Lilyglyphs code into the annotate message section? 
e.g.
message = "This \decrescHairpin\ is very long. Would a \textit{dim.} be better?"

or 

message = "Should this \crescHairpin\ go all the way to the \ff?"

Many thanks,

You can put arbitrary LaTeX code - and that includes lilyglyphs - in a message section, but you have to enclose everything in "@"-s.
Normally LaTeX special characters are escaped so that they _print_ as desired, so
message = "Here you should use \crescHairpin"
would be translated to the following in the .inp file:
{Here you should use \textbackslash crescHairpin}

I think your above examples should be written as:

message = "This @\decrescHairpin@ is very long. Would a @\textit{dim.}@ be better?"
message = "Should this @\crescHairpin@ go all the way to the @\lilyDynamics{ff}@"

HTH
Urs


Craig



_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user


reply via email to

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