> 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] <
ml-node+s1069038n165091...@n5.nabble.com> wrote:
> 2014-07-29 21:44 GMT+02:00 Antonio Gervasoni <[hidden email]
> <http://user/SendEmail.jtp?type=node&node=165091&i=0>>:
> > 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] <http://user/SendEmail.jtp?type=node&node=165091&i=1>
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>
> *hairpin-with-text-right.ly <http://hairpin-with-text-right.ly>* (7K) Download
> Attachment
> <http://lilypond.1069038.n5.nabble.com/attachment/165091/0/hairpin-with-text-right.ly>
>
>
> ------------------------------
> 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
> <http://lilypond.1069038.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=165055&code=YWdlcnZhc29uaUBnbWFpbC5jb218MTY1MDU1fDIwMjE3MTg3NzQ=>
> .
> NAML
> <http://lilypond.1069038.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
--
View this message in context:
http://lilypond.1069038.n5.nabble.com/Haipins-ending-with-text-scheme-help-tp165055p165096.html
Sent from the User mailing list archive at Nabble.com.
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user