-
Notifications
You must be signed in to change notification settings - Fork 3
/
example-lipics.tex
48 lines (36 loc) · 1.06 KB
/
example-lipics.tex
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
\documentclass[a4paper,UKenglish,cleveref]{lipics-v2019}
% Remove the option hidelinks to make link boxes visible
\usepackage[countsame]{coqtheorem}
\usepackage{cleveref}
% Note that the double braces are mandatory
\setBaseUrl{{http://www.ps.uni-saarland.de/courses/cl-ss16/LectureNotes/html/}}
\setCoqFilename{LectureNotes.Base}
\begin{document}
% Leave the name field empty if you do not want a name
\begin{theorem}[][DM_or]
DM for or holds.
\end{theorem}
\begin{lemma}[Name]
Some lemma that is not in Coq.
\end{lemma}
\setCoqFilename{LectureNotes.Chapter1}
\begin{lemma}[Boolean and is commutative][andb_com]
Commutativity for and holds.
\end{lemma}
\begin{lemma}
\begin{enumerate}
\coqitem[plus_O] $x + 0 = x$
\coqitem[plus_S] $x + S y = S (x + y)$
\item Thus $x + y = y + x$ (\coqlink[plus_com]{Link})
\end{enumerate}
\end{lemma}
\begin{align*}
x = x
\end{align*}
In Theorem \ref{coq:DM_or} we say something about logical or, in
\Cref{coq:andb_com} something about boolean and.
\end{document}
%%% Local Variables:
%%% mode: latex
%%% TeX-master: t
%%% End: