2012/11/19 Nick Payne <[email protected]>:
> On 19/11/12 12:47, Paul wrote:
>
> I would like to set my prall on the right-hand side of my note, rather
> than above it. (Per Baroque organ scores.) Any ideas how to achieve
> this?
>
>
> Adaptation of http://lsr.dsi.unimi.it/LSR/Item?id=690
>
> %=============================
> \version "2.16.0"
>
> bprall =
> #(let ((finger (make-music 'FingeringEvent)))
> (set! (ly:music-property finger 'tweaks)
> (acons 'text (markup #:fontsize 5 #:musicglyph "scripts.prallup")
> (ly:music-property finger 'tweaks)))
> finger)
>
> \relative c'' {
> \set fingeringOrientations = #'(right)
> \override Fingering #'minimum-X-extent = #'(1 . 2)
> <c\bprall>4 e8
> }
> %=============================
Hi Nick,
with 2.16.0 you could write it simpler:
hprall =
#(define-event-function (parser location)()
#{
\tweak #'minimum-X-extent #'(-2 . 2)
\tweak #'text \markup \fontsize #5 \musicglyph #"scripts.prallup" -0
#})
\relative c'' {
\once \set fingeringOrientations = #'(right)
<c\hprall>4 e8
}
-Harm
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user