A comprehensive stress-test benchmark for LuaLaTeX (TeX Live 2026), using Standard Model quantum field theory as the narrative thread. Covers OpenType math fonts, Feynman diagram auto-layout, 3D plotting, Lua scripting, CJK–Latin mixed typesetting, and more.
.
├── main.tex # Document entry point
├── preamble.tex # Preamble loader (thin wrapper)
├── preamble/
│ ├── layout.tex # Page layout · colours · chapter styles
│ ├── packages.tex # Math · physics · graphics · table packages
│ ├── theorems.tex # tcolorbox theorem environments
│ └── refs-macros.tex # hyperref · cleveref · bibliography · macros
├── chapters/
│ ├── ch01-symmetry.tex # Ch 1 Gauge Symmetries & Group Structure
│ ├── ch02-lagrangian.tex # Ch 2 Standard Model Lagrangian
│ ├── ch03-pathintegral.tex # Ch 3 Path Integrals & Functionals
│ ├── ch04-feynman.tex # Ch 4 Feynman Diagrams & Amplitudes
│ ├── ch05-renorm.tex # Ch 5 Renormalization & Running Couplings
│ ├── ch06-pheno.tex # Ch 6 Particle Phenomenology
│ ├── ch07-lua.tex # Ch 7 LuaTeX Engine Deep Dive
│ ├── ch08-fonts.tex # Ch 8 Fonts & OpenType Math Typesetting
│ └── app-references.tex # App Cross-references & Bibliography
├── reference.bib # Bibliography database (12 entries)
├── .latexmkrc # Latexmk build configuration
├── .gitattributes # Git attributes (e.g. for line endings)
├── .gitignore # Git ignore rules
├── build/ # Intermediate files (.aux, .log, …)
└── output/ # Final artifacts (main.pdf, SyncTeX)
| Dependency | Minimum Version | Notes |
|---|---|---|
| TeX Live | 2026 | Full install with LuaHBTeX 1.24.0 |
| Biber | 2.21+ | Bibliography backend |
| LXGW Fonts | — | OpenType CJK fonts required by fontset=lxgw |
# Full build (automatic multi-pass lualatex + biber)
latexmk main.tex
# Clean intermediate files
latexmk -c main.tex
# Clean everything (including PDF)
latexmk -C main.tex.latexmkrc is pre-configured: $pdf_mode = 4 (LuaLaTeX),
$out_dir = 'output', $aux_dir = 'build'. No extra flags needed.
- Install the recommended extension
james-yu.latex-workshop(listed in.vscode/extensions.json) - Open the project folder
- Build with the latexmk (latexmkrc) or latexmk (lualatex) recipe
- Output →
output/main.pdf
The document stress-tests the following packages / tools:
unicode-math · mathtools · tikz-cd · nicematrix · physics2 ·
derivative · tikz-feynman · simplewick · witharrows · cancel ·
slashed · pgfplots (polar / 3D / fillbetween / xbar) ·
tabularray · siunitx · tcolorbox · lua-ul · luacode ·
hologo · microtype · marginnote · biblatex (GB/T 7714-2015) ·
cleveref · hyperref
For typesetting engine testing and educational demonstration only. Physics content is drawn from publicly available literature.