Hi Urs,
A solution:
If I use \emph instead of \textit it works.
This works:
message = "Should the @\emph{cresc.} begin here or immediately after
the preceeding \lilyDynamics{pp}@?"
Craig
On Sat Feb 07 2015 at 5:28:59 AM Craig Dabelstein <
[email protected]> wrote:
> Hi Urs,
>
> I worked out one of the problems.
>
> 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
> @\lilyDynamics{ff}@?"
>
> This does work:
> message = "Should this @\crescHairpin{} go all the way to the
> \lilyDynamics{ff}@?"
>
> I still can't get italic text to work.
> @\textit{cresc.}@
>
> Craig
>
>
>
>
>
> On Fri Feb 06 2015 at 10:34:48 AM Urs Liska <[email protected]> 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 <[email protected]> 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}@"
>>>
>>> HTH
>>> Urs
>>>
>>>
>>> Craig
>>>
>>>
>>>
>>> _______________________________________________
>>> lilypond-user mailing
>>> [email protected]https://lists.gnu.org/mailman/listinfo/lilypond-user
>>>
>>>
>>> _______________________________________________
>>> lilypond-user mailing list
>>> [email protected]
>>> https://lists.gnu.org/mailman/listinfo/lilypond-user
>>>
>>
>>
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user