diff options
author | Karl Berry <karl@freefriends.org> | 2018-08-14 22:01:47 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2018-08-14 22:01:47 +0000 |
commit | a54d196b0fc4715e3d2dbcfe62cfccea6aae57fe (patch) | |
tree | 40ebe5b6f9da50b68cd6ae2546a9e32124cb46ed /Master/texmf-dist/doc/support/latexindent/sec-demonstration.tex | |
parent | 2feb602ca10b928ee4cba97b3ae95a8ef6b853d4 (diff) |
latexindent (15aug18)
git-svn-id: svn://tug.org/texlive/trunk@48402 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/support/latexindent/sec-demonstration.tex')
-rw-r--r-- | Master/texmf-dist/doc/support/latexindent/sec-demonstration.tex | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/Master/texmf-dist/doc/support/latexindent/sec-demonstration.tex b/Master/texmf-dist/doc/support/latexindent/sec-demonstration.tex index 71eb207c6e3..9049a5dfd8e 100644 --- a/Master/texmf-dist/doc/support/latexindent/sec-demonstration.tex +++ b/Master/texmf-dist/doc/support/latexindent/sec-demonstration.tex @@ -1,18 +1,17 @@ % arara: pdflatex: {shell: yes, files: [latexindent]} \section{Demonstration: before and after} - Let's give a demonstration of some before and after code -- after all, you probably - won't want to try the script if you don't much like the results. You might also - like to watch the video demonstration I made on youtube \cite{cmh:videodemo} + Let's give a demonstration of some before and after code -- after all, you probably won't + want to try the script if you don't much like the results. You might also like to watch + the video demonstration I made on youtube \cite{cmh:videodemo} - As you look at \crefrange{lst:filecontentsbefore}{lst:pstricksafter}, remember - that \texttt{latexindent.pl} is just following its rules, and there is nothing - particular about these code snippets. All of the rules can be modified - so that you can personalize your indentation scheme. + As you look at \crefrange{lst:filecontentsbefore}{lst:pstricksafter}, remember that \texttt{latexindent.pl} is just + following its rules, and there is nothing particular about these code snippets. All of + the rules can be modified so that you can personalize your indentation scheme. - In each of the samples given in \crefrange{lst:filecontentsbefore}{lst:pstricksafter} - the `before' case is a `worst case scenario' with no effort to make indentation. The `after' - result would be the same, regardless of the leading white space at the beginning of - each line which is stripped by \texttt{latexindent.pl} (unless a \texttt{verbatim}-like + In each of the samples given in \crefrange{lst:filecontentsbefore}{lst:pstricksafter} the `before' case is a `worst case + scenario' with no effort to make indentation. The `after' result would be the same, + regardless of the leading white space at the beginning of each line which is stripped by + \texttt{latexindent.pl} (unless a \texttt{verbatim}-like environment or \texttt{noIndentBlock} is specified -- more on this in \cref{sec:defuseloc}). \begin{widepage} |