pub fn classify_list(items: &[Node]) -> Vec<Option<AtomClass>>Expand description
Classify a horizontal list: every item’s effective atom class, with TeX’s Bin→Ord degradation rules applied (appendix G, rules 5, 6, and 7):
- 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;
- a Bin atom at the end of the list becomes Ord.
Non-atom items yield None and are transparent: they neither receive a
class nor interrupt atom adjacency.