Abstract
This section showcases the rendering of advanced ordered, unordered, and definition lists under the MarkCharm engine. When the abnt_strict flag is not enabled in this mode, it simulates standard web bullet indentation.
MarkCharm excels at resolving references in deeply nested structures common in technical and legal standards.
The list system uses % markers for deterministic hierarchy. The number of % defines the level, independent of indentation:
The reference to Subsection 1.1, item 1 automatically expands to include its full context in the hierarchy.
When two items share the same local number, the compiler automatically includes the minimum necessary context to differentiate them.
Notice how the compiler handles Subsection 1.2, alinea a vs Subsection 1.2, alinea a — each reference includes the minimum ancestor required for unique identification.
MarkCharm offers an advanced numbering engine and semantic reference resolution, allowing the structural hierarchy of lists to adapt dynamically to technical standards, public solicitations, or international publications.
Below, Chart 1 details list numbering modes, citation expansion styles, and ordinal configurations available in the compiler.
| Mode / Feature | Command | Detailed Description and Behavior |
|---|---|---|
| Legal | \list_mode{abnt_legal} |
Maps hierarchy to Roman numerals (I, II), Letters (a, b) and Items (1, 2). |
| Technical | \list_mode{abnt_technical} |
Maps hierarchy to Letters (a, b) at 1st level and Sub-letters (-) at 2nd level. Ideal for engineering reports. |
| TR | \list_mode{tr_legal} |
Standard structure for Statements of Requirements. Converts 1st level into Clause (1.1) and sublevels into Items. |
| Sequential | \list_mode{seq} |
Continuous numbering without unified paragraph inheritance. Suitable for executive briefs. |
| Default Markdown | \list_mode{markdown} |
Preserves standard CommonMark markers (-, *, 1.), maintaining direct compatibility. |
| Long Style | \cross_reference_style{long} |
Expands taxonomic labels fully in cross-references (e.g., Section 1, Paragraph 2, Item a). |
| Short Style | \cross_reference_style{short} |
Abbreviates taxonomic labels (e.g., Sec. 1, § 2, item a). Balances conciseness and precision. |
| Terse Style | \cross_reference_style{terse} |
Omits textual labels, displaying exclusively the unified numeric/alphabetic code (e.g., 1.2.a). |
| Spelled Ordinals | \ordinal_style{words} (default) |
Converts unnumbered markers to spelled-out ordinals by language and gender (e.g., first item). |
| Numeric Ordinals | \ordinal_style{numeric} |
Converts unnumbered markers to numeric ordinals with ordinal indicators (e.g., 1st item). |
\list_mode):abnt_legal: Used when documentation requires strict adherence to legislative drafting conventions.abnt_technical: Designed for engineering manuals where the hierarchy starts directly with alphabetic items (a)).\refs and \ordinal_style):\ordinal_style{words}) is active, MarkCharm identifies grammatical gender and language configured via \language.Usage Requirements & Caveats
\list_mode{...} directive globally alters markers. Define the mode before list structures.\Cref{label}, \cref{label}) requires unique label anchors ([label]) on the list item.