Report active native math alignment and output lists

This commit is contained in:
gloamxun committed 2026-11-21 06:26:49 +08:00
1 parent 3ed2c2cd54
commit d02777a1fc
12 files changed
+779 -199

No files matched your search

@@ -20,17 +20,17 @@ pub(super) struct BoxFrame {
pub(super) paragraph: Option<super::super::paragraph::Builder>,
pub(super) vertical: VerticalBuilder,
pub(super) span: Span,
discretionary: Option<DiscretionaryFrame>,
pub(super) discretionary: Option<DiscretionaryFrame>,
pub(super) math: Vec<super::super::math::MathBuilder>,
// An inner $...$ belongs to this box, even inside an outer display.
display: Option<super::display::DisplayFrame>,
pub(super) display: Option<super::display::DisplayFrame>,
}
#[derive(Clone)]
struct DiscretionaryFrame {
pub(super) struct DiscretionaryFrame {
parts: Vec<Vec<TextNode>>,
font: FontId,
span: Span,
math: Vec<super::super::math::MathBuilder>,
pub(super) math: Vec<super::super::math::MathBuilder>,
}
impl BoxFrame {
pub(super) fn collect_statistics(&self, c: &mut super::super::statistics::Collector) {