diff options
author | Karl Berry <karl@freefriends.org> | 2016-10-27 21:22:59 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2016-10-27 21:22:59 +0000 |
commit | 3223dc8b31952693cb552ebf58bf7b25abd0264f (patch) | |
tree | 202ed7b9669317654becd627040ed86776eef627 /Master/texmf-dist/scripts/latexindent/defaultSettings.yaml | |
parent | 5a052b76b791d6fca889eead61e7fef3d5de4f2a (diff) |
latexindent (27oct16)
git-svn-id: svn://tug.org/texlive/trunk@42366 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/scripts/latexindent/defaultSettings.yaml')
-rwxr-xr-x | Master/texmf-dist/scripts/latexindent/defaultSettings.yaml | 47 |
1 files changed, 44 insertions, 3 deletions
diff --git a/Master/texmf-dist/scripts/latexindent/defaultSettings.yaml b/Master/texmf-dist/scripts/latexindent/defaultSettings.yaml index 799c081f4dc..ef620846f4f 100755 --- a/Master/texmf-dist/scripts/latexindent/defaultSettings.yaml +++ b/Master/texmf-dist/scripts/latexindent/defaultSettings.yaml @@ -1,5 +1,9 @@ # -# defaultSettings.yaml +# defaultSettings.yaml for latexindent.pl, +# a script that aims to +# beautify .tex, .sty, .cls files +# +# (or latexindent.exe if you're on Windows) # # You're welcome to change anything you like in here, but # it would probably be better to have your own user settings @@ -63,13 +67,21 @@ removeTrailingWhitespace: 0 # environments that have tab delimiters, add more # as needed lookForAlignDelims: - tabular: 1 - tabularx: 1 + tabular: + delims: 1 + alignDoubleBackSlash: 1 + spacesBeforeDoubleBackSlash: 2 + tabularx: + delims: 1 longtable: 1 + tabu: 1 array: 1 matrix: 1 bmatrix: 1 + Bmatrix: 1 pmatrix: 1 + vmatrix: 1 + Vmatrix: 1 align: 1 align*: 1 alignat: 1 @@ -202,6 +214,35 @@ constructIfElseFi: ifeof: 1 iftrue: 1 ifcase: 1 + +# latexindent can be called without a file extension, +# e.g, simply +# latexindent myfile +# in which case the choice of file extension is chosen +# according to the choices made in fileExtensionPreference +# Other file extensions can be added. +fileExtensionPreference: + .tex: 1 + .sty: 2 + .cls: 3 + .bib: 4 + +# preferences for information displayed in the log file +logFilePreferences: + showEveryYamlRead: 1 + showAlmagamatedSettings: 0 + endLogFileWith: '--------------' + traceModeIncreaseIndent: '>>' + traceModeAddCurrentIndent: '||' + traceModeDecreaseIndent: '<<' + traceModeBetweenLines: "\n" + +# \begin{document} and \end{document} are treated differently +# by latexindent within filecontents environments +fileContentsEnvironments: + filecontents: 1 + filecontents*: 1 + # *** NOTE *** # If you have specified alwaysLookforSplitBraces: 1 |