Document Tools
PDF 公式提取器(LaTeX / MathML / MathJax,保留 AMS 编号)
从矢量 PDF 中检测并重建内嵌数学公式:识别数学字体(CMMI/CMSY/CMEX、STIX、Cambria Math)与 Unicode 数学符号,恢复上下标与堆叠分式,保留 AMS 编号(含 (2a)/(2b) 子编号),输出可复制的 LaTeX、Presentation MathML(MathJax/KaTeX 兼容)与可下载的 .tex 公式包。
html· HTML 结果打开工具
快速开始
用三种语言从你的代码中调用此工具。
cURL
# 1) Request a presigned URL → returns { uploadUrl, storageKey }
curl -X POST 'https://api.elysiatools.com/api/upload/presign/pdf-latex-mathml-mathjax-formula-extractor-and-equation-number-preserver' \
-H 'Content-Type: application/json' \
-d '{"filename":"pdfFile.ext","contentType":"application/octet-stream","size":12345}'
# 2) PUT the file bytes directly to the presigned uploadUrl
curl -X PUT '<presigned uploadUrl>' \
--data-binary @/path/to/file.ext
# 3) Call the tool, passing the returned storageKey for each file field
curl -X POST 'https://api.elysiatools.com/zh/api/tools/pdf-latex-mathml-mathjax-formula-extractor-and-equation-number-preserver' \
-F 'pdfFile=uploads/2026/01/01/your-tool-1700000000000-abc123.ext' \
-F 'scope=display' \
-F 'maxPages=20' \
-F 'renderPreview=true' \
-F 'writeTexBundle=false'