Commit c22bdede authored by sivertism's avatar sivertism
Browse files

Updated templates to use the subcaption package, replacing the deprecated subfigures package.

parent da6a971b
...@@ -513,10 +513,10 @@ ...@@ -513,10 +513,10 @@
% %
% \subsection{Subfigures and subtables} % \subsection{Subfigures and subtables}
% %
% Load the \texttt{subfigure} package, so we can include subfigures easily. % Load the \texttt{subcaption} package, so we can include subfigures easily.
% %
% \begin{macrocode} % \begin{macrocode}
\usepackage[scriptsize]{subfigure} \usepackage[]{subcaption}
\usepackage{booktabs} \usepackage{booktabs}
\usepackage{rotating} \usepackage{rotating}
% \end{macrocode} % \end{macrocode}
...@@ -1596,11 +1596,11 @@ You probably found all the files from \cite{Gunn:2001:pdflatex}. ...@@ -1596,11 +1596,11 @@ You probably found all the files from \cite{Gunn:2001:pdflatex}.
This page shows you a subfigure example in \fref{Figure:figsubex}. This page shows you a subfigure example in \fref{Figure:figsubex}.
\begin{figure}[!htb] \begin{figure}[!htb]
\centering \centering
\subfigure[The left caption]{ \subcaptionbox{The left caption}{
\includegraphics[width=4.2cm]{figure} \includegraphics[width=4.2cm]{figure}
\label{Figure:figsubex:left} \label{Figure:figsubex:left}
} }
\subfigure[The right caption]{ \subcaptionbox{The right caption}{
\includegraphics[width=4.2cm]{figure} \includegraphics[width=4.2cm]{figure}
\label{Figure:figsubex:right} \label{Figure:figsubex:right}
} }
......
...@@ -57,11 +57,11 @@ You probably found all the files from \cite{Gunn:2001:pdflatex}. ...@@ -57,11 +57,11 @@ You probably found all the files from \cite{Gunn:2001:pdflatex}.
This page shows you a subfigure example in \fref{Figure:figsubex}. This page shows you a subfigure example in \fref{Figure:figsubex}.
\begin{figure}[!htb] \begin{figure}[!htb]
\centering \centering
\subfigure[The left caption]{ \subcaptionbox{The left caption}{
\includegraphics[width=4.2cm]{figure} \includegraphics[width=4.2cm]{figure}
\label{Figure:figsubex:left} \label{Figure:figsubex:left}
} }
\subfigure[The right caption]{ \subcaptionbox{The right caption}{
\includegraphics[width=4.2cm]{figure} \includegraphics[width=4.2cm]{figure}
\label{Figure:figsubex:right} \label{Figure:figsubex:right}
} }
......
...@@ -28,11 +28,11 @@ You probably found all the files from \cite{Gunn:2001:pdflatex}. ...@@ -28,11 +28,11 @@ You probably found all the files from \cite{Gunn:2001:pdflatex}.
This page shows you a subfigure example in \fref{Figure:figsubex}. This page shows you a subfigure example in \fref{Figure:figsubex}.
\begin{figure}[!htb] \begin{figure}[!htb]
\centering \centering
\subfigure[The left caption]{ \subcaptionbox{The left caption}{
\includegraphics[width=4.2cm]{figure} \includegraphics[width=4.2cm]{figure}
\label{Figure:figsubex:left} \label{Figure:figsubex:left}
} }
\subfigure[The right caption]{ \subcaptionbox{The right caption}{
\includegraphics[width=4.2cm]{figure} \includegraphics[width=4.2cm]{figure}
\label{Figure:figsubex:right} \label{Figure:figsubex:right}
} }
......
...@@ -131,7 +131,7 @@ ...@@ -131,7 +131,7 @@
\setcounter{dbltopnumber}{9} \setcounter{dbltopnumber}{9}
\usepackage{graphicx} \usepackage{graphicx}
\usepackage{epstopdf} \usepackage{epstopdf}
\usepackage[scriptsize]{subfigure} \usepackage[]{subcaption}
\usepackage{booktabs} \usepackage{booktabs}
\usepackage{rotating} \usepackage{rotating}
\usepackage{listings} \usepackage{listings}
......
...@@ -131,7 +131,7 @@ ...@@ -131,7 +131,7 @@
\setcounter{dbltopnumber}{9} \setcounter{dbltopnumber}{9}
\usepackage{graphicx} \usepackage{graphicx}
\usepackage{epstopdf} \usepackage{epstopdf}
\usepackage[scriptsize]{subfigure} \usepackage[]{subcaption}
\usepackage{booktabs} \usepackage{booktabs}
\usepackage{rotating} \usepackage{rotating}
\usepackage{listings} \usepackage{listings}
......
...@@ -129,7 +129,7 @@ ...@@ -129,7 +129,7 @@
\setcounter{dbltopnumber}{9} \setcounter{dbltopnumber}{9}
\usepackage{graphicx} \usepackage{graphicx}
\usepackage{epstopdf} \usepackage{epstopdf}
\usepackage[scriptsize]{subfigure} \usepackage[]{subcaption}
\usepackage{booktabs} \usepackage{booktabs}
\usepackage{rotating} \usepackage{rotating}
\usepackage{listings} \usepackage{listings}
......
...@@ -131,7 +131,7 @@ ...@@ -131,7 +131,7 @@
\setcounter{dbltopnumber}{9} \setcounter{dbltopnumber}{9}
\usepackage{graphicx} \usepackage{graphicx}
\usepackage{epstopdf} \usepackage{epstopdf}
\usepackage[scriptsize]{subfigure} \usepackage[]{subcaption}
\usepackage{booktabs} \usepackage{booktabs}
\usepackage{rotating} \usepackage{rotating}
\usepackage{listings} \usepackage{listings}
......
...@@ -131,7 +131,7 @@ ...@@ -131,7 +131,7 @@
\setcounter{dbltopnumber}{9} \setcounter{dbltopnumber}{9}
\usepackage{graphicx} \usepackage{graphicx}
\usepackage{epstopdf} \usepackage{epstopdf}
\usepackage[scriptsize]{subfigure} \usepackage[]{subcaption}
\usepackage{booktabs} \usepackage{booktabs}
\usepackage{rotating} \usepackage{rotating}
\usepackage{listings} \usepackage{listings}
......
...@@ -131,7 +131,7 @@ ...@@ -131,7 +131,7 @@
\setcounter{dbltopnumber}{9} \setcounter{dbltopnumber}{9}
\usepackage{graphicx} \usepackage{graphicx}
\usepackage{epstopdf} \usepackage{epstopdf}
\usepackage[scriptsize]{subfigure} \usepackage[]{subcaption}
\usepackage{booktabs} \usepackage{booktabs}
\usepackage{rotating} \usepackage{rotating}
\usepackage{listings} \usepackage{listings}
......
...@@ -131,7 +131,7 @@ ...@@ -131,7 +131,7 @@
\setcounter{dbltopnumber}{9} \setcounter{dbltopnumber}{9}
\usepackage{graphicx} \usepackage{graphicx}
\usepackage{epstopdf} \usepackage{epstopdf}
\usepackage[scriptsize]{subfigure} \usepackage[]{subcaption}
\usepackage{booktabs} \usepackage{booktabs}
\usepackage{rotating} \usepackage{rotating}
\usepackage{listings} \usepackage{listings}
......
...@@ -135,7 +135,7 @@ ...@@ -135,7 +135,7 @@
\setcounter{dbltopnumber}{9} \setcounter{dbltopnumber}{9}
\usepackage{graphicx} \usepackage{graphicx}
\usepackage{epstopdf} \usepackage{epstopdf}
\usepackage[scriptsize]{subfigure} \usepackage[]{subcaption}
\usepackage{booktabs} \usepackage{booktabs}
\usepackage{rotating} \usepackage{rotating}
\usepackage{listings} \usepackage{listings}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment