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.
Please provide the following when posting an issue:
original .tex code
yaml settings
All defaults.
actual/given output
desired or expected output
anything else
Why does the comment after
\item
affect its alignment? It looks as though the second\item
is being mistaken as part of the contents of the first.