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 @@
%
% \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}
\usepackage[scriptsize]{subfigure}
\usepackage[]{subcaption}
\usepackage{booktabs}
\usepackage{rotating}
% \end{macrocode}
......@@ -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}.
\begin{figure}[!htb]
\centering
\subfigure[The left caption]{
\subcaptionbox{The left caption}{
\includegraphics[width=4.2cm]{figure}
\label{Figure:figsubex:left}
}
\subfigure[The right caption]{
\subcaptionbox{The right caption}{
\includegraphics[width=4.2cm]{figure}
\label{Figure:figsubex:right}
}
......
......@@ -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}.
\begin{figure}[!htb]
\centering
\subfigure[The left caption]{
\subcaptionbox{The left caption}{
\includegraphics[width=4.2cm]{figure}
\label{Figure:figsubex:left}
}
\subfigure[The right caption]{
\subcaptionbox{The right caption}{
\includegraphics[width=4.2cm]{figure}
\label{Figure:figsubex:right}
}
......
......@@ -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}.
\begin{figure}[!htb]
\centering
\subfigure[The left caption]{
\subcaptionbox{The left caption}{
\includegraphics[width=4.2cm]{figure}
\label{Figure:figsubex:left}
}
\subfigure[The right caption]{
\subcaptionbox{The right caption}{
\includegraphics[width=4.2cm]{figure}
\label{Figure:figsubex:right}
}
......
......@@ -131,7 +131,7 @@
\setcounter{dbltopnumber}{9}
\usepackage{graphicx}
\usepackage{epstopdf}
\usepackage[scriptsize]{subfigure}
\usepackage[]{subcaption}
\usepackage{booktabs}
\usepackage{rotating}
\usepackage{listings}
......
......@@ -131,7 +131,7 @@
\setcounter{dbltopnumber}{9}
\usepackage{graphicx}
\usepackage{epstopdf}
\usepackage[scriptsize]{subfigure}
\usepackage[]{subcaption}
\usepackage{booktabs}
\usepackage{rotating}
\usepackage{listings}
......
......@@ -129,7 +129,7 @@
\setcounter{dbltopnumber}{9}
\usepackage{graphicx}
\usepackage{epstopdf}
\usepackage[scriptsize]{subfigure}
\usepackage[]{subcaption}
\usepackage{booktabs}
\usepackage{rotating}
\usepackage{listings}
......
......@@ -131,7 +131,7 @@
\setcounter{dbltopnumber}{9}
\usepackage{graphicx}
\usepackage{epstopdf}
\usepackage[scriptsize]{subfigure}
\usepackage[]{subcaption}
\usepackage{booktabs}
\usepackage{rotating}
\usepackage{listings}
......
......@@ -131,7 +131,7 @@
\setcounter{dbltopnumber}{9}
\usepackage{graphicx}
\usepackage{epstopdf}
\usepackage[scriptsize]{subfigure}
\usepackage[]{subcaption}
\usepackage{booktabs}
\usepackage{rotating}
\usepackage{listings}
......
......@@ -131,7 +131,7 @@
\setcounter{dbltopnumber}{9}
\usepackage{graphicx}
\usepackage{epstopdf}
\usepackage[scriptsize]{subfigure}
\usepackage[]{subcaption}
\usepackage{booktabs}
\usepackage{rotating}
\usepackage{listings}
......
......@@ -131,7 +131,7 @@
\setcounter{dbltopnumber}{9}
\usepackage{graphicx}
\usepackage{epstopdf}
\usepackage[scriptsize]{subfigure}
\usepackage[]{subcaption}
\usepackage{booktabs}
\usepackage{rotating}
\usepackage{listings}
......
......@@ -135,7 +135,7 @@
\setcounter{dbltopnumber}{9}
\usepackage{graphicx}
\usepackage{epstopdf}
\usepackage[scriptsize]{subfigure}
\usepackage[]{subcaption}
\usepackage{booktabs}
\usepackage{rotating}
\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