-
Notifications
You must be signed in to change notification settings - Fork 0
/
latexTemplate.tex
75 lines (62 loc) · 1.59 KB
/
latexTemplate.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
66
67
68
69
70
71
72
73
74
75
\documentclass[12pt]{myarticle}
\author{Erica Moszkowski}
\title{Title}
\date{\today}
\begin{document}
\maketitle
{
\hypersetup{linkcolor=black}
\tableofcontents %adds it here
}
Example code:
\lstset{style=julia}
\begin{lstlisting}
julia> println("hello world")
\end{lstlisting}
\clearpage
\bibliographystyle{econ}
\bibliography{References}
\end{document}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% EXAMPLES
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%% INCLUDING FIGURES %%%%%%%%%%%%%%%%%%%%%%%
% (Assuming figures are stored in \graphicspath, in this case ./Figures/
%
% % H indicates here
% \begin{figure}[h!]
% \centering
% \includegraphics[scale=1]{file.pdf}
% \end{figure}
%
% \begin{figure}[h!]
% \centering
% \mbox{
% \subfigure{
% \includegraphics[scale=1]{file1.pdf}
% }\quad
% \subfigure{
% \includegraphics[scale=1]{file2.pdf}
% }
% }
% \end{figure}
%%%%% INCLUDING CODE %%%%%%%%%%%%%%%%%%%%%%%%%%
%
%% From file:
% \verbatiminput{file.ext} % Includes verbatim text from the file
% \emph{text} % includes text in courier, or code-like, font
%
%% Block:
% \lstset{style=julia}
% \begin{lstlisting}
% julia> println("hello world")
% \end{lstlisting}
%
%% Inline:
% \juliainline{"hello world"}
%%%%% INCLUDING CITATIONS %%%%%%%%%%%%%%%%%%%%%
%
% \cite{label} % To cite in text
% \citep{label} % To cite in text in parentheses
% \nocite{LabelInSourceFile} % Include a file in bibliography w/o specific citation in text
% \bibliography{References} % Place at the end; References.bib is the citation info