MiKTeX and proTeXt ⇒ using caption package
-
- Posts: 46
- Joined: Mon Feb 05, 2007 5:19 pm
Re: using caption package
so i am stuck !!
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
using caption package

Google found this one:
http://skaldrom.wordpress.com/2006/12/1 ... fur-latex/
Greetings
Kris
using caption package
-
- Posts: 1
- Joined: Mon Jan 07, 2008 1:41 am
using caption package
I'm using the float package. However, when I define the new floats (code below), the figure captions within minipages disappears.
Code: Select all
\newfloat{figure}{tbp}{lgr} % optional numbering with [section] or [chapter]\floatname{figure}{FIG.}\newfloat{table}{tbp}{lgr} % optional numbering with [section] or [chapter]\floatname{table}{TAB.}
Code: Select all
\begin{figure}[h]\begin{minipage}[b]{0.48 \linewidth}\includegraphics[scale=0.35]{file1.eps}\label{fig:file1}\caption{Caption1.}\end{minipage}\hfill\begin{minipage}[b]{0.48 \linewidth}\includegraphics[scale=0.35]{file2.eps}\label{fig:file2}\caption{Caption2.}\end{minipage}\end{figure}
Thanks.
Re: using caption package
Regards,
B.A.
using caption package
rafaelccomp wrote: I'm using the float package. However, when I define the new floats (code below), the figure captions within minipages disappears.
This is a well-documented behaviour, only one \caption is allowed inside such environments, see float package documentation for details. If you want the caption within floats defined by the \newfloat command to behave "normal", use the star-variant of \restylefloat* right after \newfloat. (Please note that if the hyperref package is used additionally, v6.77a or newer is required, otherwise the \restylefloat* gets "lost".)
HTH,
Axel