| 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.multiple links}{Library }{Coqdoc.multiple\_links} |
| 20 |
|
| 21 |
\begin{coqdoccode} |
| 22 |
\coqdocnoindent |
| 23 |
\coqdockw{Inductive} \coqdef{Coqdoc.multiple links.t}{t}{\coqdocinductive{t}} := \coqdef{Coqdoc.multiple links.X}{X}{\coqdocconstructor{X}} \ensuremath{|} \coqdef{Coqdoc.multiple links.T}{T}{\coqdocconstructor{T}} : \coqref{Coqdoc.multiple links.t:1}{\coqdocinductive{t}} \coqexternalref{::type scope:x '->' x}{http://coq.inria.fr/stdlib/Corelib.Init.Notations}{\coqdocnotation{\ensuremath{\rightarrow}}} \coqref{Coqdoc.multiple links.t:1}{\coqdocinductive{t}}.\coqdoceol |
| 24 |
\coqdocnoindent |
| 25 |
\coqdockw{Check} \coqref{Coqdoc.multiple links.X}{\coqdocconstructor{X}}.\coqdoceol |
| 26 |
\coqdocnoindent |
| 27 |
\coqdockw{Check} \coqref{Coqdoc.multiple links.t}{\coqdocinductive{t}}.\coqdoceol |
| 28 |
\coqdocnoindent |
| 29 |
\coqdockw{Check} \coqref{Coqdoc.multiple links.t ind}{\coqdocdefinition{t\_ind}}. \end{coqdoccode} |
| 30 |
\end{document} |