Skip to main content

item_beside_phantoms

Function item_beside_phantoms 

Source
pub fn item_beside_phantoms(node: &Node) -> Option<Node>
Expand description

The parsed item of a list (an XMath, or an XMArg slot) that keeps its edge phantoms beside it (the math parser’s parse_single; OXIDIZED_DESIGN_DIVERGENCES #1141): its one element child but hints, when one of them is a phantom. Content, OpenMath and text read the list as that item; presentation draws the row. Any phantom, not only a box: once parsed, a phantom of spacing holds absent (\sqrt{\phantom{\quad}x}), and is still no item.