2013/12/1 Karol Majewski <karo...@wp.pl>

> 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.
}
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to