forked from weitzner/jhu-thesis-template
-
Notifications
You must be signed in to change notification settings - Fork 1
/
chapter1.tex
104 lines (86 loc) · 2.09 KB
/
chapter1.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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
\chapter{Introduction}
\label{ch:intro}
\chaptermark{Optional running chapter heading}
Introduction.
A citation \cite{A}.
Multiple citations \cite{A, B, C}.
\section{Section}
\label{sec:section}
This is a section. Here's a reference to a different section:
\ref{sec:subsection}.
\subsection{Subsection}
\label{sec:subsection}
This is a subsection.
% \begin{figure}[t]
% \centering
% \includegraphics[width=\textwidth]{figure}
% \makeatletter
% \let\@currsize\normalsize
% \caption{Caption.}
% \label{fig:figure}
% \end{figure}
%
% \begin{figure}[t]
% \centering
% \begin{tabular}{c c}
% \includegraphics[height=2.5in]{figureA} &
% \includegraphics[width=3in]{figureB}\\
% (A) & (B)
% \end{tabular}
% \makeatletter
% \let\@currsize\normalsize
% \caption{Two figures.}
% \label{fig:twofigures}
% \end{figure}
% currsize is not set in the long table environment, so we need to set it before we set it up.
\makeatletter
\let\@currsize\normalsize
\makeatother
% tabular environments are set to be single-spaced in the thesis class, but long tables do not use tabular
% to get around this, set the spacing to single spacing at the start of the long table environment, and set it back to double-spacing at the end of it
\ssp
\begin{longtable}{cc}
\caption[This is what I want to have in the LOT]{This is a caption.} \label{tab:pfams} \\
\hline
A & B \\
\hline
\endfirsthead
\multicolumn{2}{@{}l}{\textbf{Table \thetable} \ldots continued} \\
\hline
A & B \\
\hline
\endhead
a1 & b1 \\
a2 & b2 \\
a3 & b3 \\
a4 & b4 \\
\hline
\end{longtable}
\dsp
\section[Optional table of contents heading]{Section with\\linebreaks in\\the
name}
This is another section.
You can see a diagram in Figure~\todoref{}.
\subsection{Another subsection}
\subsubsection{Subsubsection}
\paragraph{Heading level below subsubsection}
\label{sec:paragraph}
And I quote:
%
\begin{quote}
La la la.
\end{quote}
%
\noindent No ident after end of quote.
Another paragraph with a list:
%
\begin{itemize}
\ssp{} % single-space
\item Item 1
%
\item Item 2
%
\end{itemize}
%
\noindent Again, we don't indent here.
This fact is true \todocite{}.