litchi 0.0.1

High-performance parser for Microsoft Office, OpenDocument, and Apple iWork file formats with unified API
Documentation
1
2
3
4
5
6
7
8
9
10
// Template conversion helpers for LaTeX

use crate::formula::ast::MathNode;

/// Check if base needs grouping for scripts (subscript/superscript)
#[inline]
pub fn needs_grouping_for_scripts(nodes: &[MathNode]) -> bool {
    nodes.len() > 1
}