summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/tlc2/3-3-12.ltx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/tlc2/3-3-12.ltx')
-rw-r--r--Master/texmf-dist/doc/latex/tlc2/3-3-12.ltx35
1 files changed, 35 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/tlc2/3-3-12.ltx b/Master/texmf-dist/doc/latex/tlc2/3-3-12.ltx
new file mode 100644
index 00000000000..3865ef2fe35
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/tlc2/3-3-12.ltx
@@ -0,0 +1,35 @@
+%%
+%% The LaTeX Companion, 2ed (second printing August 2004)
+%%
+%% Example 3-3-12 on page 135.
+%%
+%% Copyright (C) 2004 Frank Mittelbach, Michel Goossens,
+%% Johannes Braams, David Carlisle, and Chris Rowley
+%%
+%% It may be distributed and/or modified under the conditions
+%% of the LaTeX Project Public License, either version 1.3
+%% of this license or (at your option) any later version.
+%%
+%% See http://www.latex-project.org/lppl.txt for details.
+%%
+
+\documentclass{ttctexa}
+\pagestyle{empty}
+\setcounter{page}{6}
+\setlength\textwidth{159.0pt}
+\sloppy %as the column in the book is so small
+\StartShownPreambleCommands
+\usepackage[alwaysadjust]{paralist}
+\StopShownPreambleCommands
+\begin{document}
+Here we force the shortest possible indentation always:
+\begin{enumerate}
+\item An item in a normal \texttt{enumerate}.
+\end{enumerate}
+\begin{compactenum}[i)]
+\item But a different \item indentation \item here.
+\end{compactenum}
+\begin{compactenum}[1.]
+\item Same left margin as \item in the first case.
+\end{compactenum}
+\end{document}