pub fn classify_list(items: &[Node]) -> Vec<Option<AtomClass>>Expand description
Classify a horizontal list: every item’s effective atom class, with TeX’s two Bin→Ord degradation rules applied (appendix G, rules 5 and 6):
- a Bin atom that opens the list or follows a Bin, Op, Rel, Open, or Punct atom becomes Ord;
- a Bin atom directly before a Rel, Close, or Punct atom becomes Ord.
Non-atom items yield None and are transparent: they neither receive a
class nor interrupt atom adjacency.