How do I install the subfig package in texWorks for mac?
and where do i find it? I need it in order to use \ContinueFloat
Or is there any other way to have two figures on two different pages and still have the right catpion (a), (b), (c)...
General ⇒ Installing "subfig" Package in TeXworks for Mac
NEW: TikZ book now 40% off at Amazon.com for a short time.

Re: Installing "subfig" Package in TeXworks for Mac
\ContinuedFloat is provided by the caption package, and will be extended by the subfig package so it works with subfigures created with the subfig package, too. So if you need \ContinuedFloat, but don't have any subfigures, loading the caption package is sufficient.
Re: Installing "subfig" Package in TeXworks for Mac
Hi. thanks for quick answer.
I see now that the subfig packege already is included.
This is the coad with \ContinuedFloat
but it still doesn't work..
\begin{figure}[h]
\begin{center}
\subfloat[]{\label{fig:plot/a/normal.pdf}\includegraphics[width=0.5\textwidth]{plot/a/normal.pdf}}
\subfloat[]{\label{fig:plot/a/scale-location.pdf}\includegraphics[width=0.5\textwidth]{plot/a/scale-location.pdf}}
\end{center}
\end{figure}
\begin{figure}
\ContinuedFloat
\begin{center}
\subfloat[]{\label{fig:plot/a/ResidualsVSfitted.pdf}\includegraphics[width=0.5\textwidth]{plot/a/ResidualsVSfitted.pdf}}
\subfloat[]{\label{fig:plot/a/residualsVSleverage.pdf}\includegraphics[width=0.5\textwidth]{plot/a/residualsVSleverage.pdf}}
\end{center}
\end{figure}
I get this message:
! Package caption Error: Continued `figure' after `??'.
See the caption package documentation for explanation.
Type H <return> for immediate help.
...
l.79 \ContinuedFloat
I see now that the subfig packege already is included.
This is the coad with \ContinuedFloat
but it still doesn't work..
\begin{figure}[h]
\begin{center}
\subfloat[]{\label{fig:plot/a/normal.pdf}\includegraphics[width=0.5\textwidth]{plot/a/normal.pdf}}
\subfloat[]{\label{fig:plot/a/scale-location.pdf}\includegraphics[width=0.5\textwidth]{plot/a/scale-location.pdf}}
\end{center}
\end{figure}
\begin{figure}
\ContinuedFloat
\begin{center}
\subfloat[]{\label{fig:plot/a/ResidualsVSfitted.pdf}\includegraphics[width=0.5\textwidth]{plot/a/ResidualsVSfitted.pdf}}
\subfloat[]{\label{fig:plot/a/residualsVSleverage.pdf}\includegraphics[width=0.5\textwidth]{plot/a/residualsVSleverage.pdf}}
\end{center}
\end{figure}
I get this message:
! Package caption Error: Continued `figure' after `??'.
See the caption package documentation for explanation.
Type H <return> for immediate help.
...
l.79 \ContinuedFloat
Re: Installing "subfig" Package in TeXworks for Mac
No need to answer.. found it out..
was just to put \caption[]{} under subfloat
was just to put \caption[]{} under subfloat
Installing "subfig" Package in TeXworks for Mac
Yes, unfortunately the current implementation of \ContinuedFloat needs a \caption additional to \ContinuedFloat. (Currently I'm not able to change this because it would break the subfig package.) For that reason the upcoming version 3.2 will include a command called \phantomcaption which does not typeset a caption but fulfill the need of \ContinuedFloat for a caption.knut-o wrote:was just to put \caption[]{} under subfloat
Re: Installing "subfig" Package in TeXworks for Mac
@knut-o
Can you please write here those lines again after putting \caption[]{} under subflot? I am getting error.
Thanks a lot
Hari
Can you please write here those lines again after putting \caption[]{} under subflot? I am getting error.
Thanks a lot
Hari