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: Richard Shann
Subject: Re: How to hide fingering in the output
Date: Mon, 26 Jun 2017 12:32:42 +0100

On Sun, 2017-06-25 at 18:45 +0200, David Kastrup wrote:
> 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).

Thank you, I'm now at least aware of \alias :)

Richard






reply via email to

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