summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/revquantum/example.tex
blob: d94c1e4a43fa228021ae5f3ae7b990a197c53087 (plain)
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
\documentclass[pra,aps,twocolumn,superscriptaddress,10pt]{revtex4-1}
\usepackage[pretty,uselistings]{revquantum}

%=============================================================================
% FRONT MATTER
%=============================================================================

\begin{document}

\title{Example \textsf{revquantum} Document}

\author{Christopher Granade}
\email{cgranade@cgranade.com}
\affilUSydPhys
\affilEQuSUSyd

\date{\today}

\begin{abstract}
    \TODO
\end{abstract}

\maketitle

%=============================================================================
% MAIN DOCUMENT
%=============================================================================

Lorum ipsum is kind of dated by now, but whatever. At least we can $\Tr$ its
history.

\todo{an example of a TODO, which will cause errors if present in the
\texttt{final} version.}

\bibliography{example}

%=============================================================================
% APPENDICES
%=============================================================================

\appendix

%=============================================================================
\section{Source Code}
\label{apx:code}
%=============================================================================

\begin{lstlisting}[style=python,gobble=4,caption={Quick example of importing \cite{johansson_qutip_2013}.}]
   >>> import qutip as qt
\end{lstlisting}

\end{document}