-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.tex
63 lines (46 loc) · 1.47 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
\documentclass{article}
% preamble
% --------
\usepackage{graphicx}
\usepackage[font={footnotesize,sf}]{caption}
\usepackage[hidelinks]{hyperref}
\usepackage{amsmath}
\DeclareMathOperator{\erf}{erf}
\DeclareMathOperator{\lngamma}{\ln\!\Gamma}
\DeclareMathOperator{\Tr}{Tr}
\DeclareMathOperator*{\argmax}{arg\,max}
\usepackage{amssymb}
\usepackage{bm}
\usepackage{bbm}
\renewcommand{\P}{\mathbb{P}} % Probability
\newcommand{\E}{\mathbb{E}} % Expectation
\newcommand{\R}{\mathbb{R}} % Reals
\usepackage{amsthm}
\newtheorem{theorem}{Theorem}
\newtheorem{lemma}{Lemma}
\newtheorem{prop}{Proposition}
% --------
\title{\LaTeX{} template}
\author{You \and me}
\begin{document}
\maketitle
\section*{Introduction}\label{sec:intro}
\begin{prop}\label{prop:evo}
Evolution is awesome.
\end{prop}
\begin{proof}
See \cite{darwin1909origin} and Figure~\ref{fig:darwin} in \nameref{sec:results}.
\end{proof}
\section*{Results}\label{sec:results}
As shown in Figure~\ref{fig:darwin}, Charles Darwin rocked hard---really hard.
We use this finding to prove Proposition~\ref{prop:evo}.
% WSD: DALLE image generation inspired by Andy Kern's tweet https://twitter.com/pastramimachine/status/1536354513627381760?s=20&t=NGXiPZuz9rHWdMvJpMoCrw
\begin{figure}[h]
\centering
\includegraphics[width=0.3\textwidth]{figures/darwin-rock}
\caption{Archival photograph of Charles Darwin playing his electric guitar.}
\label{fig:darwin}
\end{figure}
\bibliographystyle{plain}
\bibliography{references}
\end{document}