summaryrefslogtreecommitdiff
path: root/ocaml-binary-annot/ocamldoc/ocamldoc.hva
diff options
context:
space:
mode:
Diffstat (limited to 'ocaml-binary-annot/ocamldoc/ocamldoc.hva')
-rw-r--r--ocaml-binary-annot/ocamldoc/ocamldoc.hva19
1 files changed, 19 insertions, 0 deletions
diff --git a/ocaml-binary-annot/ocamldoc/ocamldoc.hva b/ocaml-binary-annot/ocamldoc/ocamldoc.hva
new file mode 100644
index 0000000000..454cee9e7e
--- /dev/null
+++ b/ocaml-binary-annot/ocamldoc/ocamldoc.hva
@@ -0,0 +1,19 @@
+\usepackage{alltt}
+\newenvironment{ocamldoccode}{\begin{alltt}}{\end{alltt}}
+\newenvironment{ocamldocdescription}{\begin{quote}}{\end{quote}}
+\newenvironment{ocamldoccomment}{\begin{quote}}{\end{quote}}
+\newcommand\textbar{|}
+\newcommand\textbackslash{\begin{rawhtml}\\end{rawhtml}}
+\newcommand\textasciicircum{\^{}}
+\newcommand\sharp{#}
+
+\let\ocamldocvspace\vspace
+\newenvironment{ocamldocindent}{\list{}{}\item\relax}{\endlist}
+\newenvironment{ocamldocsigend}
+ {\noindent\quad\texttt{sig}\ocamldocindent}
+ {\endocamldocindent\vskip -\lastskip
+ \noindent\quad\texttt{end}\medskip}
+\newenvironment{ocamldocobjectend}
+ {\noindent\quad\texttt{object}\ocamldocindent}
+ {\endocamldocindent\vskip -\lastskip
+ \noindent\quad\texttt{end}\medskip}