lilypond-user
[Top][All Lists]
Advanced

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

Re: inline \prall


From: james
Subject: Re: inline \prall
Date: Tue, 20 Nov 2012 13:51:07 +0100


On Nov 19, 2012, at 4:41 AM, Nick Payne wrote:

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
}
%=============================

Another option, if you don't understand this, would be to simply replace the glyph for the dot:
\score {
   \relative c'' {
      c4.*2/3
      \once \override Voice.NoteHead #'stencil = #ly:text-interface::print
      \once \override Voice.NoteHead #'text = \markup \musicglyph#"scripts.prallup"
      \once \override Voice.Stem #'stencil = ##f
      \once \override Voice.Flag #'stencil = ##f
      c8 \noBeam
      e8 \appoggiatura { e8 } d4 s4
   }
}


reply via email to

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