summaryrefslogtreecommitdiff
path: root/texmf-dist/doc/latex/pmdb/examples/tst-items.tex
blob: b065a52f920f842cd54f4363390dfba18f0f79f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
\documentclass{article}
\usepackage[forcolorpaper]{web}
\usepackage[dbmode,!tight]{pmdb}

\previewOn\pmpvOn

\editSourceOn
\useEditBtn   % the default
%\useEditLnk  % try it with links


\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{enumerate} 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}