On Sun, 2014-06-29 at 18:36 +0200, Pierre Perol-Schneider wrote:
> 2014-06-29 17:12 GMT+02:00 Javier Ruiz-Alma <[email protected]>:
>
> 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)
I was intrigued by this, because there is text which you can drag in the
final PDF typeset in Denemo, so I wondered what syntax it would use. It
came up with
-\tweak #'extra-offset #'( -1.6 . 1.42 )
which perhaps might be neater?
It will be nice if Denemo can become a source for finding out LilyPond
syntax rather than having to ask on the m/l, but at the moment I fear
Denemo's LilyPond output is often rather inelegant.
Richard Shann
> 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
> [email protected]
> https://lists.gnu.org/mailman/listinfo/lilypond-user
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user