github cmhughes/latexindent.pl V3.16

latest releases: V4.0, V3.24.7, V3.24.6...
4 years ago

text wrap overhaul

This release implements a complete overhaul of the textWrap routine. The interface is now

    textWrapOptions:
        columns: 0
        multipleSpacesToSingle: 1            
        blocksFollow:
           headings: 1
           commentOnPreviousLine: 1
           par: 1
           blankLine: 1
           verbatim: 1
           filecontents: 1
           other: '\\\]|\\item(?:\h|\[)'      # regex
        blocksBeginWith:
           A-Z: 1
           a-z: 1
           0-9: 0
           other: 0                           # regex
        blocksEndBefore:
           commentOnOwnLine: 1
           verbatim: 1
           filecontents: 1
           other: '\\begin\{|\\\[|\\end\{'    # regex
        huge: overflow                        # forbid mid-word line breaks
        separator: ""

Full details are documented at https://latexindentpl.readthedocs.io/en/latest/sec-the-m-switch.html#text-wrapping and some details within #346

minor updates to defaultSettings.yaml

tabulararray is now supported by default, #343

Don't miss a new latexindent.pl release

NewReleases is sending notifications on new releases.