From 04db69f5f3c6b64e6d1ae4ede9e5836a0ffbbd49 Mon Sep 17 00:00:00 2001 From: David Kastrup Date: Thu, 13 Dec 2012 17:15:27 +0100 Subject: [PATCH] Issue 1029: \thumb should behave like other fingerings This changes \thumb from a script to an actual bona-fide fingering. The size tweak is a bit ugly: it might make some sense to resize the actual glyph to match fingerings, but maybe it should then also be relocated from "scripts.thumb". --- Documentation/included/script-chart.ly | 1 - ly/script-init.ly | 4 +++- scm/script.scm | 7 ------- 3 files changed, 3 insertions(+), 9 deletions(-) diff --git a/Documentation/included/script-chart.ly b/Documentation/included/script-chart.ly index 671e9e4a2d..ef64790ffd 100644 --- a/Documentation/included/script-chart.ly +++ b/Documentation/included/script-chart.ly @@ -50,7 +50,6 @@ This chart shows all articulations, or scripts, that the feta font contains. '("upbow" "downbow" "flageolet" - "thumb" "snappizzicato" "open" "halfopen" diff --git a/ly/script-init.ly b/ly/script-init.ly index ed7aed5948..0baf24258b 100644 --- a/ly/script-init.ly +++ b/ly/script-init.ly @@ -46,7 +46,9 @@ staccatissimo = #(make-articulation "staccatissimo") staccato = #(make-articulation "staccato") stopped = #(make-articulation "stopped") tenuto = #(make-articulation "tenuto") -thumb = #(make-articulation "thumb") +thumb = \tweak text \markup \scale #(cons (magstep 5) (magstep 5)) + \musicglyph #"scripts.thumb" + #(make-music 'FingeringEvent) trill = #(make-articulation "trill") turn = #(make-articulation "turn") upbow = #(make-articulation "upbow") diff --git a/scm/script.scm b/scm/script.scm index 905a9f5a62..125a2fee5d 100644 --- a/scm/script.scm +++ b/scm/script.scm @@ -293,13 +293,6 @@ (avoid-slur . inside) (padding . 0.20) (side-relative-direction . ,DOWN))) - ("thumb" - . ( - (script-stencil . (feta . ("thumb" . "thumb"))) - (avoid-slur . around) - (padding . 0.50) - (direction . ,UP) - (staff-padding . 0.5))) ("trill" . ( (script-stencil . (feta . ("trill" . "trill"))) -- 2.39.2