Since this is vital to me, could you please confirm that this replacement is the proper one ?
Change this code :
Code: Select all
\usepackage{subfig}
\captionsetup{figurename=Figure,margin=1cm,format=hang,font=small,format=plain,labelfont={bf,up},textfont={it}}
\captionsetup[subfigure]{margin=0cm,font=small,format=plain,labelfont={bf,up},textfont={up}}
\captionsetup[table]{tablename=Table,labelfont={bf,up}}
to this new one :
Code: Select all
\usepackage{caption}
\usepackage{subcaption}
\captionsetup{figurename=Figure,margin=1cm,format=hang,font=small,format=plain,labelfont={bf,up},textfont={it}}
\captionsetup[subfigure]{margin=0cm,font=small,format=plain,labelfont={bf,up},textfont={up}}
\captionsetup[table]{tablename=Table,labelfont={bf,up}}
Apparently, it works (the output appears to be the same), but I absolutely need to be sure that I don't intruduce some mistakes or new bugs !
EDIT : Arrrgh ! I'm now getting several nag warnings, like this one :
Package nag Warning: \label in float, but not after \caption on input line 1091.
I don't understand this message. Here's the code around line 1091 :
Code: Select all
\begin{figure}[H]
\centering
\subfloat[Blabla bla 1.]{
\includegraphics[height=6cm]{Figures/spirale.pdf}
\label{a simple label}
}
\qquad
\subfloat[Blabla bla 2.]{
\includegraphics[height=6cm]{Figures/rosace.pdf}
\label{another simple label}
}
\caption[Blabla bla.]{Blabla bla.}
\end{figure}
What is wrong ?