If there is only one lilyglyph in the message, surrounding it with the "@"-s is fine.
This works:
message = "Is this @\lilyDynamics{p}@ necessary?"
If there are two lilyglyphs in the one annotate message the "@"-s need to surround both.
This doesn't work:
message = "Should this @\crescHairpin{}@ go all the way to the @address@hidden"
This does work:
message = "Should this @\crescHairpin{} go all the way to the address@hidden"
I still can't get italic text to work.
@address@hidden
Craig
On Fri Feb 06 2015 at 10:34:48 AM Urs Liska <address@hidden> wrote:
Am 06.02.2015 um 01:32 schrieb Craig
Dabelstein:
Thanks Urs,
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
Hm, well, that's definitely not what it should be like.
I'll try to have a look ASAP.
Urs
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}@"