Yes of course!
setOfRulesA = {}, etc, works fine and I should have mentioned it first.

But I was wondering why nesting works *for only one* \layout bloc and not
more ?

Le jeu. 8 oct. 2026, à 12 h 13, Kieren MacMillan <
[email protected]> a écrit :

> Hi there,
>
> > tl;dr: why no multiple layout inheritance?
>
> I’d just do it this way:
>
> %%
> \version "2.27.3"
>
> layoutA = {
>   \override NoteHead.color = "red"
> }
>
> layoutB = {
>   \override Stem.thickness = 10
> }
>
> layoutC = {
>   \layoutA
>   \layoutB
>   \override Stem.length = 20
> }
>
> \score {
>   { c'4 d' e' f' }
>   \layout { \layoutC }
> }
> %%
>
> Hope that helps!
> Kieren.
>
> __________________________________________________
>
> My work day may look different than your work day. Please do not feel
> obligated to read or respond to this email outside of your normal working
> hours.
>
>

-- 
*Pierre-Luc Gauthier*

Reply via email to