-
Notifications
You must be signed in to change notification settings - Fork 3
/
example-llncs.tex
45 lines (34 loc) · 1.02 KB
/
example-llncs.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
\documentclass{llncs}
% Remove the option hidelinks to make link boxes visible
\usepackage[hidelinks]{hyperref}
\usepackage{cleveref}
\usepackage[countsame]{coqtheorem}
% 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{fact}[Boolean and is commutative][andb_com]
Commutativity for and holds.
\end{fact}
\begin{fact}~
\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{fact}
In \cref{coq:DM_or} we say something about logical or, in
\autoref{coq:andb_com} something about boolean and.
\end{document}
%%% Local Variables:
%%% mode: latex
%%% TeX-master: t
%%% End: