lilypond-user
[Top][All Lists]
Advanced

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

how to move TextScript closer to the staff?


From: Karol Majewski
Subject: how to move TextScript closer to the staff?
Date: Sun, 01 Dec 2013 09:44:38 +0100

Because LilyPond does not handle fingaring notation well, I wrote markup 
command:

\version "2.17.96"

#(define-markup-command
  (fingerMod layout props arg)
  (markup-list?)
  (interpret-markup layout props
    (markup
      (#:left-align
        (#:override
          '(baseline-skip . 1.5)
          (#:finger
            (make-center-column-markup arg)))))))

{
  <fis' b' d'>4 ^\markup \fingerMod { 1 3 5 } c'2.
}

The drawback is that the numerals are not centered on notehead.

Now, take a look at the example. My question is: how can I improve the code to 
have this TextScript (numerals) closer to the staff?

Karol

Attachment: numerals.png
Description: PNG image


reply via email to

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