Skip to main content

with_building_template

Function with_building_template 

Source
pub fn with_building_template(caller: impl FnOnce(&mut Template))
Expand description

Runs caller on the alignment template being built, if one is. A column type’s \NC@rewrite@<c> expanded outside a preamble (an \edef that meets it) builds nothing: in TeX it only yields tokens there (\NC@find p{…}), and unwrapping the missing template panicked (2605.18869: tabularx’s X, current inside a tabularx since 61s, met by an \edef while an algorithm’s unclosed group was open).