Graphics, Figures & TablesJoined Floats of different Types

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
adinov
Posts: 1
Joined: Thu Nov 17, 2011 1:13 pm

Joined Floats of different Types

Post by adinov »

Dear all,

I am finishing my Physics PhD in LaTeX, my first introduction to this amazing package and so far its been great. However, I have run into a straightforward problem for which I cannot find a straightforward solution!

I have two floats, a Figure and a Table, that need to be connected together; ie: they need to appear together on the page, but also have conventional (ie:separate) captioning and numbering.
I have tried a few things, like subfig, but that forces the table to be labeled as a figure, or vice-versa.
The minipage environment does not seem to allow separate figures and tables inside it.

I am still a newbie, so your help would be most appreciated.


regards,
AD

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

skanda
Posts: 28
Joined: Sat May 16, 2009 6:32 pm

Re: Joined Floats of different Types

Post by skanda »

Did you try reducing the size of the figure until it does manage to fit into the same page as the table?

I hope your \begin{figure} has the h/H parameter?
\begin{figure}[h!] or \begin{figure}[H]

I also suggest you use \begin{small} around the tables.

Once you get them in place, use permutations+combinations on figure size and table size until they *just* remain on a same page.

Let us know how you fare.

Skanda.
User avatar
sommerfee
Posts: 503
Joined: Mon Apr 09, 2007 4:20 pm

Re: Joined Floats of different Types

Post by sommerfee »

You can put both, the figure and table, inside a single figure environment. For labeling the table don't use \caption but \captionof{table} instead. \captionof will be provided by the capt-of and caption packages.
Post Reply