Hi list,
it’s possible to write something like
%%%%%%%%%%%%%%%%%%%%%%%%%
ambitus = \layout {
\context {
\Voice
\consists Ambitus_engraver
}
}
\score {
\relative { c' d e f g a b c }
\ambitus
}
%%%%%%%%%%%%%%%%%%%%%%%%%
or put the \layout variable in a \layout block:
%%%%%%%%%%%%%%%%%%%%%%%%%
\score {
\relative { c' d e f g a b c }
\layout { \ambitus }
}
%%%%%%%%%%%%%%%%%%%%%%%%%
Now it would be nice if \layout could accept several such \layout
variables:
%%%%%%%%%%%%%%%%%%%%%%%%%
musicaFicta = \layout {
\context {
\Voice
suggestAccidentals = ##t
}
}
\score {
\relative { c' d e f g a b c }
\layout {
\ambitus
\musicaFicta
}
}
%%%%%%%%%%%%%%%%%%%%%%%%%
Currently, that gives an “error: bad expression type” for
\musicaFicta. If not putting \ambitus and \musicaFicta in another
\layout layer, that will give two scores, one with Ambitus_engraver
and one with suggestAccidentals.
Would it be possible to implement this?
Cheers,
Malte