File: verbatim.tex.out

package info (click to toggle)
coq-doc 8.16.1-1
  • links: PTS, VCS
  • area: non-free
  • in suites: bookworm
  • size: 42,788 kB
  • sloc: ml: 219,673; sh: 4,035; python: 3,372; ansic: 2,529; makefile: 728; lisp: 279; javascript: 87; xml: 24; sed: 2
file content (84 lines) | stat: -rw-r--r-- 1,680 bytes parent folder | download | duplicates (4)
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
\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.verbatim}{Library }{Coqdoc.verbatim}

\begin{coqdoccode}
\end{coqdoccode}


\begin{verbatim}
uint32_t shift_right( uint32_t a, uint32_t shift )
{
    return a >> shift;
}
\end{verbatim}


This line and the following shows \texttt{verbatim } text:


\texttt{ A stand-alone inline verbatim }


\texttt{ A non-ended inline verbatim to test line location
}



\begin{itemize}
\item  item 1

\item  item 2 is \texttt{verbatim}

\item  item 3 is \texttt{verbatim} too
\coqdoceol
\coqdocemptyline
\coqdocnoindent
\coqdocvar{A} \coqdocvar{coq} \coqdocvar{block} : \coqdockw{\ensuremath{\forall}} \coqdocvar{n}, \coqdocvar{n} = 0

\coqdocemptyline

\item  \texttt{verbatim} again, and a formula  \coqdocvar{True} \ensuremath{\rightarrow} \coqdocvar{False} 

\item 
\begin{verbatim}
multiline
verbatim
\end{verbatim}

\item  last item

\end{itemize}


\begin{verbatim}
Γ ⊢ A
----
Γ ⊢ A ∨ B
\end{verbatim}


\begin{verbatim}
A non-ended block verbatim to test line location

*)
\end{verbatim}
\begin{coqdoccode}
\end{coqdoccode}
\end{document}