summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/pmdb/examples/tst-items.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/pmdb/examples/tst-items.tex')
-rw-r--r--macros/latex/contrib/pmdb/examples/tst-items.tex37
1 files changed, 37 insertions, 0 deletions
diff --git a/macros/latex/contrib/pmdb/examples/tst-items.tex b/macros/latex/contrib/pmdb/examples/tst-items.tex
new file mode 100644
index 0000000000..46b25a10fe
--- /dev/null
+++ b/macros/latex/contrib/pmdb/examples/tst-items.tex
@@ -0,0 +1,37 @@
+\documentclass{article}
+\usepackage[forcolorpaper]{web}
+\usepackage[dbmode,!tight]{pmdb}
+
+\previewOn
+
+\reversemarginpar
+
+\InputItems
+
+\begin{document}
+
+\noindent
+The \texttt{itemize} environment
+\begin{itemize}
+ \item One\marginpar{One}
+ \item Two\marginpar{Two}
+ \pmInput{items/sample-item.tex}
+\end{itemize}
+
+\medskip\noindent
+The \texttt{environment} environment
+\begin{enumerate}
+ \item One\marginpar{One}
+ \item Two\marginpar{Two}
+ \pmInput{items/sample-item.tex}
+\end{enumerate}
+
+\medskip\noindent
+The \texttt{description} environment
+\begin{description}
+ \item[First item] One\marginpar{One}
+ \item[Second item] Two\marginpar{Two}
+ \pmInput[Third item]{items/sample-item.tex}
+\end{description}
+
+\end{document} \ No newline at end of file