File: Context.tex.out

package info (click to toggle)
coq 9.1.0%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 35,964 kB
  • sloc: ml: 239,908; sh: 4,355; python: 2,985; ansic: 2,644; makefile: 874; lisp: 171; javascript: 63; xml: 24; sed: 2
file content (31 lines) | stat: -rw-r--r-- 1,219 bytes parent folder | download
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
\documentclass[12pt]{report}
\usepackage[utf8x]{inputenc}

%Warning: tipa declares many non-standard macros used by utf8x to
%interpret utf8 characters but extra packages might have to be added
%such as "textgreek" for Greek letters not already in tipa
%or "stmaryrd" for mathematical symbols.
%Utf8 codes missing a LaTeX interpretation can be defined by using
%\DeclareUnicodeCharacter{code}{interpretation}.
%Use coqdoc's option -p to add new packages or declarations.
\usepackage{tipa}

\usepackage[T1]{fontenc}
\usepackage{fullpage}
\usepackage{coqdoc}
\usepackage{amsmath,amssymb}
\usepackage{url}
\begin{document}
\coqlibrary{Coqdoc.Context}{Library }{Coqdoc.Context}

\begin{coqdoccode}
\coqdocnoindent
\coqdockw{Section} \coqdef{Coqdoc.Context.Sec}{Sec}{\coqdocsection{Sec}}.\coqdoceol
\coqdocnoindent
\coqdockw{Context} (\coqdef{Coqdoc.Context.Sec.foo}{foo}{\coqdocvariable{foo}} : \coqexternalref{nat}{http://coq.inria.fr/stdlib/Corelib.Init.Datatypes}{\coqdocinductive{nat}}).\coqdoceol
\coqdocnoindent
\coqdockw{Check} \coqref{Coqdoc.Context.Sec.foo}{\coqdocvariable{foo}}.\coqdoceol
\coqdocnoindent
\coqdockw{End} \coqref{Coqdoc.Context.Sec}{\coqdocsection{Sec}}.\coqdoceol
\end{coqdoccode}
\end{document}