1 \usepackage{alltt}
2 \newenvironment{ocamldoccode}{\begin{alltt}}{\end{alltt}}
3 \newenvironment{ocamldocdescription}{\begin{quote}}{\end{quote}}
4 \newenvironment{ocamldoccomment}{\begin{quote}}{\end{quote}}
5
6
7 \newenvironment{ocamldocindent}{\list{}{}\item\relax}{\endlist}
8 \newenvironment{ocamldocsigend}
9 {\noindent\quad\texttt{sig}\ocamldocindent}
10 {\endocamldocindent
11 \noindent\quad\texttt{end}\medskip}
12 \newenvironment{ocamldocobjectend}
13 {\noindent\quad\texttt{object}\ocamldocindent}
14 {\endocamldocindent
15 \noindent\quad\texttt{end}\medskip}
16
17 # For processing .tex generated by ocamldoc (for text manual)
18 \newcommand{\ocamldocvspace}[1]{\vspace{#1}}