Aaron Hill <[email protected]> writes:
> On 2021-11-22 11:24 am, Rajesh Baskar wrote:
>> I had another question. The MeasureCounter boxify function does not
>> work if we change the staff to Rhythmic staff.
>
> You need to scope the grob to the appropriate context. \boxifying
> something within Staff only affects Staff. If you need it to work for
> RhythmicStaff, just be more specific:
>
> %%%%
> \new Voice {
> \boxify RhythmicStaff.MeasureCounter
> ...
> }
>
> %% ...or... %%
>
> \new RhythmicStaff
> \with { \boxify MeasureCounter }
> { ... }
>
> %% ...or... %%
>
> \layout {
> \context {
> \RhythmicStaff
> \boxify MeasureCounter
> }
> }
> %%%%
You can also do this less specifically:
\layout {
\boxify Staff.MeasureCounter
}
should affect all contexts that respond to an _alias_ of "Staff" which
includes RhythmicStaff .
--
David Kastrup