Hello everyone, thanks a lot for your reply, Tina. I finally had the time to play around with it.
> From: [email protected] > %%% SNIPPET BEGINS %%% > \version "2.25.25" > > vocStaffMusic = \relative { > c'2 d > \new Voice = "hummingVoice" { > e4^"hum melody" f g a > } > % \new CueVoice = "instrumental" { > \new Voice = "instrumental" { > e'4^"flute" f g,,^"horn" a > } > c2 d4 e > } > > vocLyrics = \lyricmode { > Ly -- rics > more ly -- rics > } > > \score { << > \new Staff \with { \consists Ambitus_engraver } { > \new Voice = "vocWithLyrics" { \vocStaffMusic } > } > \new Lyrics \lyricsto "vocWithLyrics" { \vocLyrics }>>} > %%% SNIPPET ENDS %%% > > From: Valentin Petzel <[email protected]> > %%% > \layout { > \context { > \name "AmbitusContainer" > \type "Engraver_group" > \accepts "Voice" > \consists Ambitus_engraver > } > \context { > \Staff > \accepts "AmbitusContainer" > } > } > > \new Staff << > \new AmbitusContainer << > \new Voice g'' > \new Voice e'' > \new Voice c’ >> > \new Voice c’ >> > %%% (Sorry, Apple Mail messes up the double angle brackets.) It works, but I could not figure out a way to make it work the way I want, which is being able to switch contexts inline in a single sequential input variable without the need to maintain several simultaneous music expressions that are then combined in the Staff context. I guess this should be possible, since it works fine when using \cueVoice. I tried several scenarios, putting AmbitusContainer in the input variable or in the score block, using \keepWithTag etc., but to no success. I feel like I am missing something obvious here. Any advice would be appreciated. Thank you, all the best, Oliver
