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
Go from Code to Production URL in Seconds Icon
Go from Code to Production URL in Seconds

Cloud Run deploys apps in any language instantly. Scales to zero. Pay only when code runs.

Skip the Kubernetes configs. Cloud Run handles HTTPS, scaling, and infrastructure automatically. Two million requests free per month.
Try it 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