Skip to main content

is_phantom_box

Function is_phantom_box 

Source
pub fn is_phantom_box(node: &Node) -> bool
Expand description

Is node a phantom’s hint holding its argument (\phantom, \hphantom, \vphantom in math, math_common.rs): a box of its content, not spacing (OXIDIZED_DESIGN_DIVERGENCES #1141)? An empty argument (\phantom{}) makes none: an empty XMArg before the parse, an absent token after it.