On 29/04/13 11:15, Peter Wannemacher wrote:

I am trying to offer alternate fingering in a piano piece. My goal is to place the alternate fingerings (4) (2) in parentheses and beneath the regular fingerings 5 3.

Here's what I've tried:
a_5_4 e_3_2 c e |% 5 and 3 are above 4  and 2

\parenthesize_4a_5 \parenthesize_2e_3 c e | % 4 and 2 are in parentheses, but above 5 and 3

a_5_"(4)" e_2_\markup\tiny{(1)} c e | % Correct position and parentheses; poor appearance


A nice bonus would be if I could  have the parentheses appear around the pair

\version "2.17.15"

parenSize = #(define-music-function (parser location size) (number?) #{
  \once \override ParenthesesItem.font-size = #size
            #})

\relative c'' {
  \parenSize #-1 a-\parenthesize-\tweak script-priority #999 _4_5 \parenSize #-1
  e-\parenthesize-\tweak script-priority #999 _2_3 c e |
}

_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to