[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: inline \prall
From: |
Thomas Morley |
Subject: |
Re: inline \prall |
Date: |
Mon, 19 Nov 2012 21:46:20 +0100 |
2012/11/19 Nick Payne <address@hidden>:
> 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