nouveau style pour éviter les clashes avec paragraph

git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5090 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
master
Maxence Guesdon 2002-08-08 13:10:07 +00:00
parent 85904e8c17
commit c8a0a1b6e4
1 changed files with 11 additions and 5 deletions

View File

@ -45,13 +45,19 @@
\let\dospecials\@new@specials
}
\newenvironment {ocamldoclist}[1]
{\list{}{#1}\global \advance \@listdepth -\m@ne\raggedright\item[]\relax}
{\global \advance \@listdepth -\@ne
\ifvmode \edef \@tmp {\the\everypar}\ifx \@tmp \@empty
\else \leavevmode \global \@newlistfalse \fi \fi
\endlist}
\newenvironment{ocamldocdescription}
{\list{}{\rightmargin0pt \topsep0pt}\raggedright\item\relax}
{\endlist\medskip}
{\ocamldoclist{\parsep 0pt\rightmargin 0pt \topsep 0\topsep}}
{\medskip \endocamldoclist}
\newenvironment{ocamldoccomment}
{\list{}{\leftmargin 2\leftmargini \rightmargin0pt \topsep0pt}\raggedright\item\relax}
{\endlist}
{\ocamldoclist{\parsep 0pt\rightmargin 0pt \topsep 0\topsep}}
{\medskip \endocamldoclist}
\endinput