Skip to content
| Marketplace
Sign in
Visual Studio Code>Formatters>latexindentNew to Visual Studio Code? Get it now.
latexindent

latexindent

Preview

LenAgain

|
6,077 installs
| (2) | Free
LaTeX formatting support via latexindent
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

latexindent

A minimal Visual Studio Code extension providing support for LaTeX formatting via latexindent.

Requirements

This extension doesn't come with latexindent bundled and therefore requires an executable to be available.

latexindent is included with most major TeX distributions but can be installed as a standalone script. Please refer to the latexindent documentation for installation instructions.

Usage

This extension supports formatting whole documents and selections. To enable formatting on-save see the VS Code docs.

Settings

Setting Type Default Description
latexindent.executable String latexindent The path to the latexindent executable.
latexindent.args Array of strings [] Additional arguments to pass to latexindent.
latexindent.useDocumentFormat Boolean false Whether to use the editor tabsize to format documents.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft