-
Notifications
You must be signed in to change notification settings - Fork 1
/
main.tex
65 lines (52 loc) · 1.33 KB
/
main.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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
%! Suppress = MightBreakTexify
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[pagebackref,citecolor=blue,linkcolor=OliveGreen,urlcolor=Mahogany,colorlinks]{hyperref}
\usepackage[usenames,dvipsnames]{xcolor}
\usepackage{url}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{lmodern}
\usepackage{etoolbox}
\usepackage{amsthm}
\usepackage{color}
\usepackage{cleveref}
\usepackage{tikz}
\usepackage{csquotes}
\usetikzlibrary{positioning}
% coq
\usepackage{minted}
\usemintedstyle{emacs}
\crefformat{section}{\S#2#1#3} % see manual of cleveref, section 8.2.1
\crefformat{subsection}{\S#2#1#3}
\crefformat{subsubsection}{\S#2#1#3}
\newcommand{\TODO}[0]{{\color{red} TODO}}
\newcommand{\lrangle}[1]{\langle #1\rangle}
\newcommand{\RedPRL}{{\color{red} Red}PRL}
\input{agda-macros}
\title{Constructive Interpretations of HoTT (Draft)}
\author{Tesla Ice Zhang}
% allow multiple labels in displaymath
%! Suppress = Makeatletter
\makeatletter
\patchcmd{\mathdisplay}
{\let\label\label@in@display}{}
{}{\fail}
%! Suppress = Makeatletter
\makeatother
% new cmd
\newcommand\xtag{
\refstepcounter{equation}%
\;\;\text{(\theequation)}}
\newcommand{\refl}{\textsf{refl}}
\begin{document}
\maketitle
\tableofcontents
\input{intro}
\input{path}
\input{hit}
\input{kan}
\input{ua}
\bibliography{ref}
\bibliographystyle{alpha}
\end{document}