lilypond-user
[Top][All Lists]
Advanced

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

Re: Text inside hairpin


From: Janek Warchoł
Subject: Re: Text inside hairpin
Date: Sun, 29 Jun 2014 23:31:16 +0200

There's a snippet doing this in OpenLilyLib:
https://github.com/openlilylib/openlilylib/tree/master/notation-snippets/hairpin-with-text

2014-06-29 18:36 GMT+02:00 Pierre Perol-Schneider
<address@hidden>:
> 2014-06-29 17:12 GMT+02:00 Javier Ruiz-Alma <address@hidden>:
>
>
>> How can text be placed inside a hairpin?  See image for sample.
>
>
> %%%%%%%%%%%%%%%%%%%%%%%%%%%
> \version "2.18.2"
>
> {
>   \once\override Hairpin.height = #1.2
>   c''\<
>   c''
>   \once\override TextScript.extra-offset = #'(0 . 2)
>
>   c''-\markup \teeny \italic "cresc."
>   c''\!
> }
>
> \layout {
>   \context {
>     \Staff
>     \hide KeySignature
>     \omit TimeSignature
>     \omit Clef
>   }
> }
>
> \relative c'' {
>   \key g\minor
>   \once\override Hairpin.height = #1.2
>   b!8*2/3[ \<[c cis d ees d]
>   \once\override TextScript.extra-offset = #'(0 . 1.7)
>   c[ _\markup\tiny\italic "cresc." cis d e e f\!]
> }
> %%%%%%%%%%%%%%%%%%%%%%%%%%
>
> Cheers,
> Pierre
>
>
> _______________________________________________
> lilypond-user mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>



reply via email to

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