Skip to main content

within_tempboxa

Function within_tempboxa 

Source
pub fn within_tempboxa<R>(
    content: Option<&Digested>,
    evaluate: impl FnOnce() -> Result<R>,
) -> Result<R>
Expand description

latex.ltx’s \@begin@tempboxa … \@end@tempboxa (16085-16094) around a box command’s size arguments: in a group, \@tempboxa holds content and \width/\height/\depth/\totalheight measure it (\lx@tempboxa@sizes, latex.ltx:16088-16093; internal dimensions, so -.5\height is exact to the sp, tex.web §455), then evaluate reads the sizes. Without \@tempboxa (plain TeX) evaluate runs unbound.