lilypond-user
[Top][All Lists]
Advanced

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

Re: tenuto fingering: 3t, 2t, 4t, etc.


From: Federico Bruni
Subject: Re: tenuto fingering: 3t, 2t, 4t, etc.
Date: Thu, 03 May 2018 08:30:34 +0200



Il giorno mer 2 mag 2018 alle 8:56, David Kastrup <address@hidden> ha scritto:
Federico Bruni <address@hidden> 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.


Attachment: tenuto.png
Description: PNG image


reply via email to

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