cmhughes/latexindent.pl
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 customisable through its YAML interface. observed · 2026-08-28
Health v2 · maintenance only
90/100
- Activity 97
- Release rhythm 75
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 49
- age_days: 5118
- days_rel: 88
- days_push: 20
- n_releases_24m: 6
Adoption not part of the score
1057 stars · 82 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
latexindent.pl is a Perl script that beautifies, tidies, and indents LaTeX source files by adding leading horizontal space to code blocks. It supports line break modification, text wrapping, delimiter alignment, regex-based replacements, and is highly customizable via a YAML interface.
Use cases
- format and indent my latex files
- beautify .tex .sty and .cls source code
- add indentation to latex environments and commands
- wrap long lines in latex documents
- one sentence per line formatting for latex
- align delimiters in latex tables and environments
- integrate latex formatting into pre-commit hooks
When to choose
- you write or maintain LaTeX documents and want consistent indentation
- you need customizable formatting rules via YAML
- you want automated LaTeX formatting in CI or pre-commit workflows
When to avoid
- you need formatting for markup languages other than LaTeX
- you cannot run Perl or use the provided Docker/Conda distributions
Facets
cli-tool · maturity active
formatter cli text-editors developer-tools documentation cli cross-platform latex beautifier perl yaml-configuration pre-commit text-wrapping docker
1 source
- readme: https://github.com/cmhughes/latexindent.pl · fetched 2026-08-28 · b6586ab8826f
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| cmhughes/latexindent.pl | main | 90 |
For agents
markdown · JSON · MCP: product_card(name="cmhughes/latexindent.pl")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem