Function boxworks::tex::build_horizontal_lists
source ยท pub fn build_horizontal_lists(
tex_engine: &dyn TexEngine,
contents: &mut dyn Iterator<Item = &String>,
) -> (HashMap<String, u32>, Vec<HList>)
Expand description
Build a horizontal list from some text.
This function works by putting the text inside a TeX \hbox{}
,
and then instructing TeX to describe the contents of the box.
This function is the inverse of TeX.2021.173 and onwards (part 12 of TeX: displaying boxes).