I had to try many different combinations, and don't ask me why, but this is what I eventually found worked:
@\crescHairpin{}
and
\lilyDynamics{ff}@
Why one of them needs the "@" symbol at the start and the other at the end I don't know.
I still can't get any variation of @\textit{dim.}@ to work.
Craig
On Fri Feb 06 2015 at 8:37:56 AM Urs Liska <address@hidden> wrote:
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}@"