| 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.binder}{Library }{Coqdoc.binder} |
| 20 |
|
| 21 |
\begin{coqdoccode} |
| 22 |
\end{coqdoccode} |
| 23 |
Link binders |
| 24 |
\begin{coqdoccode} |
| 25 |
\coqdocemptyline |
| 26 |
\coqdocnoindent |
| 27 |
\coqdockw{Definition} \coqdef{Coqdoc.binder.foo}{foo}{\coqdocdefinition{foo}} \coqdef{Coqdoc.binder.alpha:1}{alpha}{\coqdocbinder{alpha}} \coqdef{Coqdoc.binder.beta:2}{beta}{\coqdocbinder{beta}} := \coqref{Coqdoc.binder.alpha:1}{\coqdocvariable{alpha}} \coqexternalref{::nat scope:x '+' x}{http://coq.inria.fr/stdlib/Corelib.Init.Peano}{\coqdocnotation{+}} \coqref{Coqdoc.binder.beta:2}{\coqdocvariable{beta}}.\coqdoceol |
| 28 |
\end{coqdoccode} |
| 29 |
\end{document} |