LyXPutting a table in a figure float

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
hardyb
Posts: 15
Joined: Mon Feb 03, 2014 4:48 pm

Putting a table in a figure float

Post by hardyb »

I need to put a table in a figure float but although the figure float seems to acept the table perfectly well its font size is different to when the identically copied table is placed inside a table float.

Thing is what I am presenting 'looks' exactly like a table so using table would get me better presentation (in theory) than using an image, but technically it isn't actually a table so I don't want it to say "Table II" etc...

Recommended reading 2024:

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

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

hugovdberg
Posts: 133
Joined: Sat Feb 25, 2012 6:12 pm

Putting a table in a figure float

Post by hugovdberg »

I'm not sure I understand your question completely, so before doing research I want to be sure I look for the right solution (a minimal working example of what you already have would be helpful).
What I think you want is to create a table inside a float environment, typeset like it would be inside a table environment, but with another caption? Perhaps this is what you want:http://en.wikibooks.org/wiki/LaTeX/Floa ... tom_floats
Ubuntu 13.10 + Tex Live 2013 + Texmaker / Windows 7 Pro + MikTex 2.9 + TexnicCenter / Android 4.3 + TexPortal + DroidEdit
hardyb
Posts: 15
Joined: Mon Feb 03, 2014 4:48 pm

Re: Putting a table in a figure float

Post by hardyb »

Attached is a minimal working example

As far as I can see there are among others "floats for figures" and "floats for tables", but they are both floats then you add something into the float, eg an actual table.

So the table in the figure float is an exact paste of the one in the table float but it does not look the same.

Additionally I still do not understand why with the %ages (of the document column text width) I have set in each table column make the table the size it is. Even if margins and table lines are discounted I cannot see that that is enough to account for it.
Attachments
Temp.zip
(126 KiB) Downloaded 348 times
Post Reply