pub fn environment_end_hooks(
name: &str,
end_hook: Option<&Tokens>,
) -> Vec<Tokens>Expand description
\end{name}’s hooks: the pre-\AddToHook \AtEndEnvironment store (@environment@name@atend, filled by
bindings: deluxetable’s table end), then \UseHook{env/name/end} (latex.ltx:15386-15388) when it has code.
end_hook is that invocation if the caller built it already.