lilypond-user
[Top][All Lists]
Advanced

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

Re: Hiding expressive notation


From: David Kastrup
Subject: Re: Hiding expressive notation
Date: Thu, 30 Aug 2012 08:10:56 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux)

Federico Bruni <address@hidden> writes:

> Il 30/08/2012 07:44, Ben Eichler ha scritto:
>> Hi there,
>>
>>
>> I transcribe music for guitar using a normal staff and tabstaff. About
>> 99% of the time, when I specify a string a note must be played on, I
>> don't want it to create a string notation on the normal staff, I only
>> want it to change the string used (and show the correct fret) on the
>> TabStaff.
>>
>> Is it possible for me to hide this type of notation from the normal
>> staff without rewriting the music without specifying the strings? I
>> tried searching for a command in the index but couldn't find anything
>> relevant.
>>
>
> Just add this in the \layout block:
>
> \layout {
>   \context {
>     \Staff
>     \override StringNumber #'transparent = ##t
>   }
> }

It is better to do \override StringNumber #'stencil = ##f since that
does not reserve space for the string number (older LilyPond versions
might complain).

-- 
David Kastrup




reply via email to

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