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
AI-generated apps that pass security review Icon
AI-generated apps that pass security review

Stop waiting on engineering. Build production-ready internal tools with AI—on your company data, in your cloud.

Retool lets you generate dashboards, admin panels, and workflows directly on your data. Type something like “Build me a revenue dashboard on my Stripe data” and get a working app with security, permissions, and compliance built in from day one. Whether on our cloud or self-hosted, create the internal software your team needs without compromising enterprise standards or control.
Try Retool 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