|
From: | Marc Hohl |
Subject: | Re: slides-in-tablature.ly snippets: string numbers of hided notes are visible |
Date: | Sat, 01 Sep 2012 22:46:09 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120827 Thunderbird/15.0 |
Am 01.09.2012 22:22, schrieb David Kastrup:
pls <address@hidden> writes:There must have been a change in default with regards to the visibility of string numbers between 2.15.20 and the current version. In 2.15.20 it was still possible to add string numbers to notes (e.g. c'4\4) without them showing up in the score.But they showed up when writing <c'4\4>, so this was more a convenient bug than anything else.This was very handy in order to automatically specify the appropriate fret on the right string in tablature. One could decide whether to output individual string numbers via <c'\4>4 or not to engrave them via c'4\4.And what would you do when _wanting_ a chord with more than a single note but no string numbers?
IIRC, one could have been written < c' e' g' >\3\2\1 The fret numbers were placed accordingly in the tab staff, but no string numbers showed up in normal staves ... This does not necessarily mean that this is desired behavior ;-)
Now it seems that this behavior can only be achieved by constantly overriding the string number stencil...Not that bad: n=#(define-event-function (parser location e) (ly:event?) #{ \tweak #'stencil ##f $e #}) { c'\4 c'\n\4 }
Hey, that's clever! Regards, Marc
[Prev in Thread] | Current Thread | [Next in Thread] |