Jim Long <[email protected]> writes: > But this doesn't: > > \version "2.16.0" > > \score { > \relative c' { > c4 c c c > \break > \set Staff.explicitClefVisibility = #end-of-line-invisible > \clef bass > \unset Staff.explicitClefVisibility > c4 c c c > \break > } > } > > I couldn't immediately think of why there has to be music between the > \clef and the \unset in order for the #end-of-line-invisible to take > effect.
\set and \unset are commands setting context properties at the current point of musical time in a context. Here you are both setting and unsetting a property at the same point of time. The net effect is zero since the code dealing with setting/resetting properties runs only once per timestep, and the code dealing with \clef bass is not wedged in between. -- David Kastrup _______________________________________________ lilypond-user mailing list [email protected] https://lists.gnu.org/mailman/listinfo/lilypond-user
