documentation fix
[docutils.git] / sandbox / manpage-writer / expected / termtest-latex.tex
blob4738a0c65d6cef08b6356fe02ba7f76ce2c97f1c
1 \documentclass[a4paper]{article}
2 % generated by Docutils <https://docutils.sourceforge.io/>
3 \usepackage{cmap} % fix search and cut-and-paste in Acrobat
4 \usepackage{ifthen}
5 \usepackage[T1]{fontenc}
7 %%% Custom LaTeX preamble
8 % PDF Standard Fonts
9 \usepackage{mathptmx} % Times
10 \usepackage[scaled=.90]{helvet}
11 \usepackage{courier}
13 %%% User specified packages and stylesheets
15 %%% Fallback definitions for Docutils-specific commands
17 % custom inline roles: \DUrole{#1}{#2} tries \DUrole#1{#2}
18 \providecommand*{\DUrole}[2]{%
19 \ifcsname DUrole#1\endcsname%
20 \csname DUrole#1\endcsname{#2}%
21 \else%
22 #2%
23 \fi%
26 % hyperlinks:
27 \ifthenelse{\isundefined{\hypersetup}}{
28 \usepackage[colorlinks=true,linkcolor=blue,urlcolor=blue]{hyperref}
29 \usepackage{bookmark}
30 \urlstyle{same} % normal text font (alternatives: tt, rm, sf)
31 }{}
33 %%% Body
34 \begin{document}
36 \begin{description}
37 \item[{term 1}]
38 \DUrole{first}{\DUrole{last}{\DUrole{first}{\DUrole{last}{definition 1}}}}
40 \item[{term 2a}]
41 \item[{term 2b}]
42 \DUrole{first}{\DUrole{last}{\DUrole{first}{\DUrole{last}{definition 2}}}}
44 \item[{term 3a}] (\textbf{classifier 3a})
45 (\textbf{classifier 3aa})
46 \item[{term 3b}] (\textbf{classifier 3b})
47 \DUrole{first}{\DUrole{last}{\DUrole{first}{\DUrole{last}{definition 3}}}}
48 \end{description}
50 \end{document}