1

Example:

\begin{align}
  a + b = c
\end{align}
[more spaces here] <=

I am using the latexindent to format my tex file. However, each time I format the file, it will create more space after some blocks, like the align. Shown as above.

How to remove those redundant spaces?

I set my default indentation to be " " (two spaces).

1 Answer 1

1

Hmm, it's kind of answering my own question:

change the

removeTrailingWhitespace: 0

to be

removeTrailingWhitespace: 1

in the defaultSettings.yaml

Done.

1

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .