latexindent.pl
documentationΒΆ
- 1. Introduction
- 2. Demonstration: before and after
- 3. How to use the script
- 4.
indentconfig.yaml
, local settings and the-y
switch - 5. defaultSettings.yaml
- 5.1. The code blocks known
latexindent.pl
- 5.2.
noAdditionalIndent
andindentRules
- 5.3. Commands and the strings between their arguments
- 5.1. The code blocks known
- 6. The
-m
(modifylinebreaks
) switch- 6.1.
oneSentencePerLine
: modifying line breaks for sentences - 6.2.
removeParagraphLineBreaks
: modifying line breaks for paragraphs - 6.3. Poly-switches
- 6.4. modifyLineBreaks for environments
- 6.4.1. Adding line breaks using
BeginStartsOnOwnLine
andBodyStartsOnOwnLine
- 6.4.2. Adding line breaks using
EndStartsOnOwnLine
andEndFinishesWithLineBreak
- 6.4.3. poly-switches only add line breaks when necessary
- 6.4.4. Removing line breaks (poly-switches set to \(-1\))
- 6.4.5. About trailing horizontal space
- 6.4.6. poly-switch line break removal and blank lines
- 6.4.1. Adding line breaks using
- 6.5. Poly-switches for other code blocks
- 6.6. Partnering
BodyStartsOnOwnLine
with argument-based poly-switches - 6.7. Conflicting poly-switches: sequential code blocks
- 6.8. Conflicting poly-switches: nested code blocks
- 6.1.
- 7. Conclusions and known limitations
- 8. References
- 9. Appendices