Skip to content

Transforms complex documents like PDFs and Office docs into LLM-ready markdown/JSON for your Agentic workflows.

feat: update array formatting in latex_dict.py for improved LaTeX output

myhloli648fb1f7cfea
diff --git a/mineru/model/docx/tools/math/latex_dict.py b/mineru/model/docx/tools/math/latex_dict.py
index 04d92ea2..dbe8375e 100644
--- a/mineru/model/docx/tools/math/latex_dict.py
+++ b/mineru/model/docx/tools/math/latex_dict.py
@@ -259,7 +259,7 @@ D_DEFAULT = {
RAD = "\\sqrt[{deg}]{{{text}}}"
RAD_DEFAULT = "\\sqrt{{{text}}}"
-ARR = "{text}"
+ARR = "\\begin{{array}}{{c}}{text}\\end{{array}}"
LIM_FUNC = {
"lim": "\\lim_{{{lim}}}",