1 %% DO NOT EDIT this file manually; it is automatically
2 %% generated from LSR http://lsr.dsi.unimi.it
3 %% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
4 %% and then run scripts/auxiliar/makelsr.py
6 %% This file is in the public domain.
10 lsrtags = "editorial-annotations, expressive-marks, scheme-language, staff-notation, tweaks-and-overrides"
13 By default you cannot make double-digit fingering notation (i.e.
14 numbers larger than 9). This is a hard coded limitation.
16 This snippet shows two methods of creating fingerings larger than 9.
19 doctitle = "Creating double-digit fingerings"
24 #(make-music 'FingeringEvent
28 #(make-music 'FingeringEvent
32 #(define-music-function (parser location digit) (integer?)
33 (make-music 'FingeringEvent
36 #(define (calc-finger-without-warning grob)
37 (let* ((event (event-cause grob))
38 (digit (ly:event-property event 'digit)))
39 (number->string digit 10)))
42 % optional override to remove warnings for fingerings larger than 5
43 \override Fingering.text = #calc-finger-without-warning