2011-08-04 07:59:13 -07:00
|
|
|
%(***********************************************************************)
|
2012-08-01 05:09:31 -07:00
|
|
|
%(* *)
|
2011-08-04 07:59:13 -07:00
|
|
|
%(* OCamldoc *)
|
|
|
|
%(* *)
|
|
|
|
%(* Maxence Guesdon, projet Cristal, INRIA Rocquencourt *)
|
|
|
|
%(* *)
|
|
|
|
%(* Copyright 2001 Institut National de Recherche en Informatique et *)
|
|
|
|
%(* en Automatique. All rights reserved. This file is distributed *)
|
|
|
|
%(* under the terms of the Q Public License version 1.0. *)
|
|
|
|
%(* *)
|
|
|
|
%(***********************************************************************)
|
|
|
|
|
2002-03-27 08:20:32 -08:00
|
|
|
\usepackage{alltt}
|
|
|
|
\newenvironment{ocamldoccode}{\begin{alltt}}{\end{alltt}}
|
|
|
|
\newenvironment{ocamldocdescription}{\begin{quote}}{\end{quote}}
|
|
|
|
\newenvironment{ocamldoccomment}{\begin{quote}}{\end{quote}}
|
|
|
|
\newcommand\textbar{|}
|
2002-04-15 07:51:20 -07:00
|
|
|
\newcommand\textbackslash{\begin{rawhtml}\\end{rawhtml}}
|
2002-03-27 08:20:32 -08:00
|
|
|
\newcommand\textasciicircum{\^{}}
|
|
|
|
\newcommand\sharp{#}
|
|
|
|
|
2004-07-13 05:25:21 -07:00
|
|
|
\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}
|