|
From: | Karol Majewski |
Subject: | Re: how to move TextScript closer to the staff? |
Date: | Sun, 01 Dec 2013 10:32:39 +0100 |
Federico, I'd like to avoid adding extra-offset. I'm looking for general solution.
Dnia 1-12-2013 o godz. 10:27 Federico Bruni napisaĆ(a):
2013/12/1 Karol Majewski <address@hidden>
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?
What about this? \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))))))){ \once \override TextScript.extra-offset = #'(0 . -1) <fis' b' d'>4 ^\markup \fingerMod { 1 3 5 } c'2.}
[Prev in Thread] | Current Thread | [Next in Thread] |