Closed reneas closed 5 months ago
Thanks for this.
replacements:
-
substitution: |-
s/(\\par)(\h+)(\H)/$1\n$3/sg
and call with
latexindent.pl -l issue-523.yaml -r issue-523.tex
specialBeginEnd:
par:
begin: (?<!\\)\\p
end: ar
modifyLineBreaks:
specialBeginEnd:
par:
SpecialEndFinishesWithLineBreak: 1
and call with
latexindent.pl -l issue-523a.yaml -m issue-523.tex
that worked perfectly, thanks a bunch!
As the title says I want to add an automatic linebreak after each appearance of
\par
. I'm sorry if im posting this here as somewhat of a question, but I couldn't find any solution in the documentation or maybe I am just not experienced enough to understand all of it...Sample of what i want:
should become:
The indentation after the chapter is working fine but I can't get the linebreak to work. I'm using the default yaml file with only the indentation after
\chapter
and\section
setting added to it.