|
From: | Antonio Gervasoni |
Subject: | Re: Haipins ending with text: scheme help |
Date: | Tue, 29 Jul 2014 15:26:35 -0700 (PDT) |
n = #(make-dynamic-script #{ \markup \line { \normal-text \normalsize \italic "n." } #})
pd = #(make-dynamic-script #{ \markup \line { \normal-text \normalsize \italic "pd." } #})
After that, the \n will appear under a rest, on the second and fourth bars. I apologise for the mistake.
Thank you so much. I'll try it now.
Best,
Antonio
2014-07-29 21:44 GMT+02:00 Antonio Gervasoni <[hidden email]>:> Hi Thomas,Hi Antonio,
>
> Sure! Here it is:
>
your example is not very helpful, because it does not show "a dynamictext attached to a rest".
And it does not compile, because of the unknown \n
>> %%% Definition of the two types of hairpingis2.)\mf\> r4\n <------ ??
>
>
> hairpinN = \hairpinWithRightText \markup \italic "n."
>
> hairpinPD = \hairpinWithRightText \markup \italic "pd."
>
>
> %%% Example
>
>
> {
>
> \new Staff \relative c''' {
>
> a1(\p\<
>
>
> a1(\p\<
>
> dis2.)\mf\> r4\n
>
> e2(\p\< dis4 e \break
>
> f2 g
>
> \hairpinN
>
> gis1\mp\>)
>
> R1\!
>
> R1
>
> }
>
> }
>Anyway, I added some code, so that the added _text_ is alwaysvertically aligned to the _hairpin_ in the same manner (regarding its
baseline). At least for most european languages.
See attached.
HTH,Harm
_______________________________________________
lilypond-user mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/lilypond-user
http://lilypond.1069038.n5.nabble.com/Haipins-ending-with-text-scheme-help-tp165055p165091.htmlIf you reply to this email, your message will be added to the discussion below:
[Prev in Thread] | Current Thread | [Next in Thread] |