Perl script to add indentation (leading horizontal space) to LaTeX files. It can modify line breaks before, during and after code blocks; it can perform text wrapping and paragraph line break removal. It can also perform string-based and regex-based substitutions/replacements. The script is customizable through its YAML interface. latexindent.exe is a standalone executable file that does not require a perl installation. A nice way to test the script is to navigate to the test-cases directory, and then run the command (on Linux/Mac -- sorry, a Windows test-case version is not available)

Features

  • It has support for Conda, docker and pre-commit
  • It can also perform string-based and regex-based substitutions/replacements
  • The script is customisable through its YAML interface
  • It has the ability to align delimiters in environments and commands
  • Modify line breaks including text wrapping and one-sentence-per-line
  • latexindent.pl is a perl script to beautify/tidy/format/indent (add horizontal leading space to) code within environments, commands, after headings and within special code blocks

Project Samples

Project Activity

See All Activity >

Categories

Code Formatters

License

GNU General Public License version 3.0 (GPLv3)

Follow latexindent.pl

latexindent.pl Web Site

Other Useful Business Software
Try Google Cloud Risk-Free With $300 in Credit Icon
Try Google Cloud Risk-Free With $300 in Credit

No hidden charges. No surprise bills. Cancel anytime.

Use your credit across every product. Compute, storage, AI, analytics. When it runs out, 20+ products stay free. You only pay when you choose to.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of latexindent.pl!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

Perl

Related Categories

Perl Code Formatters

Registered

2023-04-25