Commit b070533c authored by Edward Longman's avatar Edward Longman
Browse files

Merge new subcaption package change

parents 598c5b30 bf29ed94
......@@ -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}
}
......
......@@ -55,11 +55,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}
}
......
......@@ -132,7 +132,7 @@
\setcounter{dbltopnumber}{9}
\usepackage{graphicx}
\usepackage{epstopdf}
\usepackage[scriptsize]{subfigure}
\usepackage[]{subcaption}
\usepackage{booktabs}
\usepackage{rotating}
\usepackage{listings}
......
......@@ -132,7 +132,7 @@
\setcounter{dbltopnumber}{9}
\usepackage{graphicx}
\usepackage{epstopdf}
\usepackage[scriptsize]{subfigure}
\usepackage[]{subcaption}
\usepackage{booktabs}
\usepackage{rotating}
\usepackage{listings}
......
......@@ -130,7 +130,7 @@
\setcounter{dbltopnumber}{9}
\usepackage{graphicx}
\usepackage{epstopdf}
\usepackage[scriptsize]{subfigure}
\usepackage[]{subcaption}
\usepackage{booktabs}
\usepackage{rotating}
\usepackage{listings}
......
......@@ -132,7 +132,7 @@
\setcounter{dbltopnumber}{9}
\usepackage{graphicx}
\usepackage{epstopdf}
\usepackage[scriptsize]{subfigure}
\usepackage[]{subcaption}
\usepackage{booktabs}
\usepackage{rotating}
\usepackage{listings}
......
......@@ -132,7 +132,7 @@
\setcounter{dbltopnumber}{9}
\usepackage{graphicx}
\usepackage{epstopdf}
\usepackage[scriptsize]{subfigure}
\usepackage[]{subcaption}
\usepackage{booktabs}
\usepackage{rotating}
\usepackage{listings}
......
......@@ -132,7 +132,7 @@
\setcounter{dbltopnumber}{9}
\usepackage{graphicx}
\usepackage{epstopdf}
\usepackage[scriptsize]{subfigure}
\usepackage[]{subcaption}
\usepackage{booktabs}
\usepackage{rotating}
\usepackage{listings}
......
......@@ -132,7 +132,7 @@
\setcounter{dbltopnumber}{9}
\usepackage{graphicx}
\usepackage{epstopdf}
\usepackage[scriptsize]{subfigure}
\usepackage[]{subcaption}
\usepackage{booktabs}
\usepackage{rotating}
\usepackage{listings}
......
......@@ -136,7 +136,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