lilypond-user
[Top][All Lists]
Advanced

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

Re: Haipins ending with text: scheme help


From: Antonio Gervasoni
Subject: Re: Haipins ending with text: scheme help
Date: Tue, 29 Jul 2014 15:39:03 -0700 (PDT)

Works perfectly! You are a genius!

Thanks again!

You should publish it on the snippet repository. It's far better than creating a second voice with spacers, as is suggested there (or somewhere else... I can't remember now)

Best regards,

Antonio


On Tue, Jul 29, 2014 at 5:25 PM, Antonio Gervasoni <[hidden email]> wrote:
> your example is not very helpful, because it does not show "a dynamic 
> text attached to a rest". 
> And it does not compile, because of the unknown \n 

Aw! I forgot that! It's on the file called by \include. Both dynamics are defined on this way:

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



On Tue, Jul 29, 2014 at 3:58 PM, Thomas Morley-2 [via Lilypond] <[hidden email]> wrote:
2014-07-29 21:44 GMT+02:00 Antonio Gervasoni <[hidden email]>:
> Hi Thomas,
>
> Sure! Here it is:
>

Hi Antonio,

your example is not very helpful, because it does not show "a dynamic
text attached to a rest".
And it does not compile, because of the unknown \n

>
> %%% Definition of the two types of hairpin

>
>
> hairpinN = \hairpinWithRightText \markup \italic "n."
>
> hairpinPD = \hairpinWithRightText \markup \italic "pd."
>
>
> %%% Example
>
>
> {
>
> \new Staff \relative c''' {
>
> a1(\p\<
>
  gis2.)\mf\> r4\n <------ ??

>
> 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 always
vertically 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



If you reply to this email, your message will be added to the discussion below:
http://lilypond.1069038.n5.nabble.com/Haipins-ending-with-text-scheme-help-tp165055p165091.html
To unsubscribe from Haipins ending with text: scheme help, click here.
NAML




View this message in context: Re: Haipins ending with text: scheme help
Sent from the User mailing list archive at Nabble.com.

reply via email to

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