Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

Expand LaTeX Files - Simplify Documents | Online Free DevTools by Hexmos

Expand LaTeX files effortlessly with latexpand. Simplify LaTeX documents by resolving includes and removing comments. Free online tool, no registration required.

latexpand

Simplify LaTeX source files by removing comments and resolving \includes, \inputs, etc. More information: https://www.ctan.org/pkg/latexpand.

  • Simplify the specified source file and save the result to the specified output file:

latexpand {{[-o|--output]}} {{path/to/output.tex}} {{path/to/file.tex}}

  • Do not remove comments:

latexpand --keep-comments {{[-o|--output]}} {{path/to/output.tex}} {{path/to/file.tex}}

  • Do not expand \includes, \inputs etc.:

latexpand --keep-includes {{[-o|--output]}} {{path/to/output.tex}} {{path/to/file.tex}}

  • Expand \usepackages as far as the corresponding STY files can be found:

latexpand --expand-usepackage {{[-o|--output]}} {{path/to/output.tex}} {{path/to/file.tex}}

  • Inline the specified BBL file:

latexpand --expand-bbl {{path/to/bibliography.bbl}} {{[-o|--output]}} {{path/to/output.tex}} {{path/to/file.tex}}

See Also