github cmhughes/latexindent.pl V3.8.3

latest releases: V4.0.1, V4.0, V3.24.7...
5 years ago

This is a minor release that implements fixes for the following issues:

  • #209, EndFinishesWithLineBreak + lookForAlignDelims adds extra blank line
  • #217, Spaces Are Converted to Tabs in the Middle of Line
  • #223, Formatting TikZ stuff?

The documentation has been updated with appropriate examples, including details of how to produce alignment such as the following:

\begin{tikzpicture}
	\path (A) edge              node {0,1,L}(B)
	          edge              node {1,1,R} (C)
	      (B) edge [loop above] node {1,1,L}(B)
	          edge              node {0,1,L}(C)
	      (C) edge              node {0,1,L}(D)
	          edge [bend left]  node {1,0,R}(E)
	      (D) edge [loop below] node {1,1,R}(D)
	          edge              node {0,1,R}(A)
	      (E) edge [bend left]  node {1,0,R} (A);
\end{tikzpicture}

and a patch to the textWrap routine, so that spaces are preserved (or not) according to the new field tabstop

x       y

Settings

modifyLineBreaks:
    textWrapOptions:
        columns: 80
        tabstop: 9

Pull request, for reference: #227

Don't miss a new latexindent.pl release

NewReleases is sending notifications on new releases.