1 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
---|
2 | %%%%%%%%%%%%%% docutils.sty: A style for docutils latex output %%%%%%%%%%%%%%% |
---|
3 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
---|
4 | %% |
---|
5 | %% o author: Alexander Schmolck (a.schmolck@gmx.net) |
---|
6 | %% o created: 2002-07-07 10:50:31+00:40 |
---|
7 | %% o last modified: $Date: 2004/01/29 05:55:26 $ |
---|
8 | %% o keywords: |
---|
9 | %% o license: |
---|
10 | %XXX titlesec |
---|
11 | %% XXX geometry |
---|
12 | \usepackage{graphicx} |
---|
13 | \usepackage{latexsym} % extra symbols |
---|
14 | \usepackage{url} % !!!: pay attention when using in other commands!!! |
---|
15 | \usepackage{verbatim} % normal verbatim has lenght-limit |
---|
16 | \usepackage{enumerate} % easy style choice with e.g: ``\begin{enumerate}[Ex i.]`` |
---|
17 | \usepackage{hyperref} %href, htarget and hlink XXX: pdfauthor, pdfcreator etc. |
---|
18 | \usepackage{xr} %XXX do we need this? |
---|
19 | % need this to have ``fboxes`` in ``enviroments``, as well as ``verbatim``s |
---|
20 | \usepackage{fancybox} |
---|
21 | \usepackage{mdwtab} % better tables and arrays (fixes spacing and adds |
---|
22 | % vertical align and multirows (m)) |
---|
23 | \usepackage{ltxtable} % long and autoscaling tables (use X for autoscaled |
---|
24 | % columns) |
---|
25 | \newcommand{\transition}{\vspace{2em}\par\hrule{}\par\vspace{2em}} |
---|
26 | \newcommand{\classifier}[1]{(\textit{#1})} |
---|
27 | \newenvironment{topic}[1]% |
---|
28 | {\begin{Sbox}% |
---|
29 | \begin{minipage}{.8\textwidth}% |
---|
30 | \protect{\large{\textbf{#1}}}\par\vspace{.5em}}% |
---|
31 | {\end{minipage}\end{Sbox}\fbox{\TheSbox}\par\vspace{.5em}} |
---|
32 | %XXX shadow box for warnings? |
---|
33 | \newenvironment{admonition}[1]% |
---|
34 | {\begin{center}% |
---|
35 | \begin{Sbox}% |
---|
36 | \begin{minipage}{.9\textwidth}% |
---|
37 | \protect{\textsc{#1}}\par\vspace{.2em}}% |
---|
38 | {\end{minipage}\end{Sbox}\fbox{\TheSbox}\par\vspace{.5em}\end{center}} |
---|
39 | |
---|
40 | \newenvironment{doctest}% |
---|
41 | {\VerbatimEnvironment |
---|
42 | \begin{Verbatim}}% |
---|
43 | {\end{Verbatim}} |
---|
44 | % {% |
---|
45 | % \begin{Sbox}% |
---|
46 | % \begin{minipage}{.8\textwidth}% |
---|
47 | % \protect{\large{\textsc{#1}}\par\vspace{.5em}}}% |
---|
48 | % {\end{minipage}\end{Sbox}\fbox{\TheSbox}\par\vspace{.5em}} |
---|
49 | %{\end{minipage}\end{Sbox}\fbox{\TheSbox}} |
---|
50 | |
---|
51 | |
---|
52 | %% just a piece of example code |
---|
53 | % \newcommand{\vitem}% |
---|
54 | % {\SaveVerb[{\item[\UseVerb{\MyTemp}]}]{\MyTemp}} |
---|