diff options
Diffstat (limited to 'Master/texmf-dist/doc/support/latexindent/latexindent.tex')
-rw-r--r-- | Master/texmf-dist/doc/support/latexindent/latexindent.tex | 77 |
1 files changed, 67 insertions, 10 deletions
diff --git a/Master/texmf-dist/doc/support/latexindent/latexindent.tex b/Master/texmf-dist/doc/support/latexindent/latexindent.tex index 8dffa3fa4e6..ceedc72719b 100644 --- a/Master/texmf-dist/doc/support/latexindent/latexindent.tex +++ b/Master/texmf-dist/doc/support/latexindent/latexindent.tex @@ -16,7 +16,7 @@ % % See <http://www.gnu.org/licenses/>. \usepackage[left=4.5cm,right=2.5cm,showframe=false, - top=2cm,bottom=1.5cm]{geometry} % page setup + top=2cm,bottom=1.5cm,marginparsep=2cm]{geometry} % page setup \usepackage{lmodern} \usepackage{parskip} % paragraph skips \usepackage{booktabs} % beautiful tables @@ -31,6 +31,7 @@ \usepackage[sc,format=hang,font=small]{caption} % captions \usepackage[backend=bibtex]{biblatex} % bibliography \usepackage{tcolorbox} % framed environments +\usepackage{tikz} \usepackage{xparse} \usepackage[charter]{mathdesign} % changes font \usepackage[expansion=false,kerning=true]{microtype} % better kerning @@ -39,16 +40,12 @@ \usepackage{array} % setup gitinfo2, as in the manual, details just above begin{document} \usepackage[mark,grumpy]{gitinfo2} -% tcolorbox libraries -\tcbuselibrary{breakable,skins,listings,minted,xparse} -%\usepackage{varioref} % clever referencing -%\tcbuselibrary{documentation,breakable,skins,minted} -% tikz libraries +% tikz, tcolorbox libraries \usetikzlibrary{positioning} \usetikzlibrary{decorations.pathmorphing} \usetikzlibrary{decorations,shapes} -\usepackage{varioref} % clever referencing -\usepackage{hyperref} +\usepackage{varioref} % the documentation library from tcolorbox loads hyperref +\tcbuselibrary{breakable,minted,xparse,documentation} \hypersetup{ pdfauthor={Chris Hughes}, pdftitle={latexindent.pl package}, @@ -62,6 +59,21 @@ } \usepackage{cleveref} +% customise the \tcbdocnew command +\tcbset{doclang/new={{\bfseries\color{green!50!black}N\normalfont\color{black}}}} +\tcbset{doc marginnote={width=1.6cm}} +%\newcommand{\announce}[1]{\tcbdocmarginnote{\tcbdocnew{#1}}} +\NewDocumentCommand{\announce}{ s m }{% + \IfBooleanTF{#1} + {% \announce* + \tcbdocmarginnote[overlay={\node[anchor=north east,text=cmhgold] at ([yshift=3mm,xshift=4mm]frame.north east) {$\bigstar$}; }]{\tcbdocnew{#2}} + } + {% \announce + \tcbdocmarginnote{\tcbdocnew{#2}} + }} + +\reversemarginpar +% bibliographies \addbibresource{latex-indent} \addbibresource{contributors} @@ -404,7 +416,7 @@ \newcommand{\flagbox}[1]{% \par \makebox[30pt][l]{% - \hspace{-2cm}% + \hspace{-1cm}% \ttfamily\fontseries{b}\selectfont #1 }% } @@ -539,7 +551,7 @@ sharp corners, enhanced, overlay={\node[anchor=north east,outer sep=2pt] at ([xshift=3cm,yshift=4mm]frame.north east) {\includegraphics[width=3cm]{logo}}; }] - \centering\ttfamily\bfseries latexindent.pl\\[1cm] Version 3.2 + \centering\ttfamily\bfseries latexindent.pl\\[1cm] Version 3.2.1 \end{tcolorbox} } \author{Chris Hughes \thanks{and contributors! See \vref{sec:contributors}. For @@ -583,3 +595,48 @@ \input{references} \input{appendices} \end{document} + +version history: + +1.0: first release +https://www.ctan.org/ctan-ann/id/mailman.278.1369470527.5851.ctan-ann@dante.de + +1.1R +Changed Bin to RealBin so that I hope the script can get bundled into TeXLive 2013. Some other updates, too, detailed in the documentation. +https://www.ctan.org/ctan-ann/id/mailman.3048.1384345731.2385.ctan-ann@dante.de + +1.11R +This release updates the script to use $FindBin::RealBin which should help in the TeXLive implementation. + +Version 2.0R +Version 2.0R of latexindent.pl adds a number of new features, including: - indentation after \item commands - alignment of delimitered environments in commands, such as \matrix - indentation of \if...\else...\fi statements - maximum number of backups can cycle through backups - better support for .cls and .sty files - and a few other bug fixes +https://www.ctan.org/ctan-ann/id/mailman.3090.1417864461.4370.ctan-ann@dante.de + +Version 2.1R +indentconfig.yaml can now be a 'hidden' file, .indentconfig.yaml The Windows executable file, latexindent.exe, should now work much better with Windows TeXLive. +https://www.ctan.org/ctan-ann/id/mailman.343.1429509943.4405.ctan-ann@dante.de + +Version 2.2 +v2.2 addresses a regexp issue, and adds a few enhancements; full details are here: https://github.com/cmhughes/latexindent.pl/pull/49 +https://www.ctan.org/ctan-ann/id/mailman.198.1477655196.4574.ctan-ann@ctan.org + +Version 3.0 +latexindent.pl version 3.0: this represents a complete re-build of the script; full details are given here: +https://github.com/cmhughes/latexindent.pl/pull/56 + +V3.0.1 +provides support for the alignment at ampersands routine for code that contains unicode characters; see +https://github.com/cmhughes/latexindent.pl/pull/61 + +V3.0.2 +A minor release to fix a small bug related to indentPreamble; details given here: +https://github.com/cmhughes/latexindent.pl/pull/62 + +Version 3.1 of latexindent.pl, +including options for text wrapping and paragraph line break removal. Full details here: +https://github.com/cmhughes/latexindent.pl/pull/64 + +Version 3.2 +implements a new feature called 'multiColumnGrouping' which gives a new option for the alignment-at-ampersands routine. +More details are given at +https://github.com/cmhughes/latexindent.pl/pull/67 |