Il giorno mer 2 mag 2018 alle 8:56, David Kastrup <d...@gnu.org> ha scritto:
Federico Bruni <f...@inventati.org> writes:

 Hi all

 How can I create custom fingerings which are made of a number and a
 letter?
 I want to display 3t, 2t, etc.

 I found this snippet in the LSR:
 http://lsr.di.unimi.it/LSR/Item?id=83

 but it allows to use only one character.

 Thanks in advance
 Federico

Something like this?

\version "2.19.81"

t =
#(define-event-function (n) (index?)
  #{ \tweak text #(format "~dt" n) -1 #})

{
  c\t1 d\t2 e2
}



This is perfect, thanks.
I think this should be added to the LSR.

However lilypond is using a sans serif font for the t. How can I set it to serif?
Also, the t seems bigger than the number. See attached image.


_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to