lilypond-user
[Top][All Lists]
Advanced

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

Re: How to hide fingering in the output


From: David Kastrup
Subject: Re: How to hide fingering in the output
Date: Sun, 25 Jun 2017 18:45:51 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

Richard Shann <address@hidden> writes:

> On Sun, 2017-06-25 at 18:54 +0300, Ivanov Dmitry wrote:
>> > move it to a layout block:
>> >
>> > \layout {  \omit Fingering }
>> 
>> Great. Would it be better to move:
>> 
>> \once \override Staff.TimeSignature #'stencil = ##f
>> \override Staff.Clef #'stencil = ##f
>> 
>> to the layout block as well? Or keep it as is?
>
> I'd like to know the answer to this as well, I don't know what I'm doing
> - just juggling stuff around until it works - a very bad way to achieve
> robust and readable code :(

\layout { \omit Fingering }

is equivalent to

\layout { \omit Bottom.Fingering }

and omits Fingering in _any_ context with a Bottom alias.  It's probably
more targeted to write

\layout {
  \context { \Voice
    \omit Fingering
  }
}

which specifically just addresses Voice contexts.  In a similar vein,
one can write

\layout {
  \context { \Staff
    \omit TimeSignature
    \omit Clef
  }
}

to target just Staff contexts while

\layout {
  \omit Staff.TimeSignature
}

will address all contexts with a Staff alias (which includes TabStaff,
VaticanaStaff and others).

-- 
David Kastrup



reply via email to

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