summaryrefslogtreecommitdiff
path: root/testsuite/tests/tool-ocamldoc-open/main.latex.reference
blob: 29c5eaf07b7a69fc61a5e1ce3d95bd1293b56643 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
\documentclass[11pt]{article} 
\usepackage[latin1]{inputenc} 
\usepackage[T1]{fontenc} 
\usepackage{textcomp}
\usepackage{fullpage} 
\usepackage{url} 
\usepackage{ocamldoc}
\begin{document}
\tableofcontents
\section{Module {\tt{Alias}}}
\label{module:Alias}\index{Alias@\verb`Alias`}


\ocamldocvspace{0.5cm}



\begin{ocamldoccode}
{\tt{module }}{\tt{Container}}{\tt{ : }}\end{ocamldoccode}
\label{module:Alias.Container}\index{Container@\verb`Container`}

\begin{ocamldocsigend}


\begin{ocamldoccode}
{\tt{module }}{\tt{Aliased\_inner}}{\tt{ : }}\end{ocamldoccode}
\label{module:Alias.Container.Aliased-underscoreinner}\index{Aliased-underscoreinner@\verb`Aliased_inner`}
{\tt{Inner}}

\end{ocamldocsigend}




\section{Module {\tt{Inner}}}
\label{module:Inner}\index{Inner@\verb`Inner`}


\ocamldocvspace{0.5cm}



\label{type:Inner.a}\begin{ocamldoccode}
type a = int 
\end{ocamldoccode}
\index{a@\verb`a`}


\section{Module {\tt{Main}} : Documentation test}
\label{module:Main}\index{Main@\verb`Main`}




\ocamldocvspace{0.5cm}



\label{type:Main.t}\begin{ocamldoccode}
type t = Alias.Container.Aliased_inner.a 
\end{ocamldoccode}
\index{t@\verb`t`}
\begin{ocamldocdescription}
Alias to type Inner.a


\end{ocamldocdescription}


\end{document}