pub fn begin_mode_under_hook_groups(mode: &str, end: &Token) -> Result<()>Expand description
begin_mode_opt for X under a begin hook’s open groups (environment_frame_under_hook_groups): the mode is
bound in the frame marked with end, X’s own, so it ends with the environment and the hook’s groups close as plain
groups (in TeX a list environment’s begin code opens no group); a hook environment’s mode on top stays in force.
The text font set_mode_from binds when a text mode is begun from math stays on top, beside a hook’s own font.