lilypond-devel
[Top][All Lists]
Advanced

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

Re: slides-in-tablature.ly snippets: string numbers of hided notes are v


From: David Kastrup
Subject: Re: slides-in-tablature.ly snippets: string numbers of hided notes are visible
Date: Sat, 01 Sep 2012 22:22:21 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux)

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?

> 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 }

-- 
David Kastrup




reply via email to

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