Debian Codegraph @

test-suite/coqdoc/Record.tex.out

raw
1 \documentclass[12pt]{report}
2 \usepackage[utf8x]{inputenc}
3
4 %Warning: tipa declares many non-standard macros used by utf8x to
5 %interpret utf8 characters but extra packages might have to be added
6 %such as "textgreek" for Greek letters not already in tipa
7 %or "stmaryrd" for mathematical symbols.
8 %Utf8 codes missing a LaTeX interpretation can be defined by using
9 %\DeclareUnicodeCharacter{code}{interpretation}.
10 %Use coqdoc's option -p to add new packages or declarations.
11 \usepackage{tipa}
12
13 \usepackage[T1]{fontenc}
14 \usepackage{fullpage}
15 \usepackage{coqdoc}
16 \usepackage{amsmath,amssymb}
17 \usepackage{url}
18 \begin{document}
19 \coqlibrary{Coqdoc.Record}{Library }{Coqdoc.Record}
20
21 \begin{coqdoccode}
22 \coqdocnoindent
23 \coqdockw{Record} \coqdef{Coqdoc.Record.a}{a}{\coqdocrecord{a}} := \{ \coqdef{Coqdoc.Record.b}{b}{\coqdocprojection{b}} : \coqexternalref{nat}{http://coq.inria.fr/stdlib/Corelib.Init.Datatypes}{\coqdocinductive{nat}} ; \coqdef{Coqdoc.Record.c}{c}{\coqdocprojection{c}} : \coqexternalref{bool}{http://coq.inria.fr/stdlib/Corelib.Init.Datatypes}{\coqdocinductive{bool}} \}.\coqdoceol
24 \coqdocnoindent
25 \coqdockw{Definition} \coqdef{Coqdoc.Record.d}{d}{\coqdocdefinition{d}} := \{| \coqref{Coqdoc.Record.b}{\coqdocprojection{b}} := 0 ; \coqref{Coqdoc.Record.c}{\coqdocprojection{c}} := \coqexternalref{true}{http://coq.inria.fr/stdlib/Corelib.Init.Datatypes}{\coqdocconstructor{true}} |\}.\coqdoceol
26 \end{coqdoccode}
27 \end{document}