g*****d 发帖数: 35 | 1 Hi,
I am using the floatflt package. It offers floating figures and tables.
However, for the floating table, I can only put the caption below the table
but not above. How to make it above the table? Thank you very much. I list the
normal usage that may be useful for others also.
\usepackage{floatflt}
The following works for appending the caption below the table
\begin{floatingtable} [r]
{
\begin{tabular}[c]{|l|l|l|l|l|}
\hline
Application & column0 & c1 & c2& c3\\
\hline\hline
good1 & 8 & 7 & 6 |
|
T*******n 发帖数: 493 | 2 I've never used floatflt, but after quickly reading the user manual for it, it
appears that this is a limitation of the package.
Note that you had to enclose the tabular environment in a pair of {}; this is
done to pass the entire tabular environment as an argument to the
floatingtable
environment. Also note that unlike the floatingfigure environment, you don't
specify a width for floatingtable. So the floatingtable environment takes the
tabular environment as an argument, typesets it and mea |
|
T*******n 发帖数: 493 | 3
The
See article 397 http://www.mitbbs.com/bbscon.php?board=TeX&id=415&userid=TeXnician.
It seems to me that the floatingtable environment cannot typeset a caption
until it has typeset and measured the width of the table. There is no
workaround
for this in floatflt. I'm not sure what would cause the table-text overlap.
As before, I think the wrapfig package might be more robust. Have you tried
it? |
|
T*******e 发帖数: 47 | 4 what I want is just wrapfig. But the problem is I don't have enough text in
the same section to cover the space left by the figure/table. Either it goes
to the next section or I need to add some equations. So, floatflt totally
messed up with the following figure, which is a normal float. |
|
|
T*******e 发帖数: 47 | 6 Mine looks like doesn't work at all, especially floatingtable environment. The
table always overlaps with the text and I cannot find a way to put the
caption at the top of the table. |
|
T*******e 发帖数: 47 | 7 no. It was clearly stated that wrapfig cannot work together with list
environment.
I just gave it up :(
Maybe somehow combine with minipage will be a more robust way. |
|
T*******n 发帖数: 493 | 8 So you need text in a list environment to wrap around the table/figure?
Maybe you can try to achieve this effect using the multicol package?
Well, I'm not sure exactly what you want to do... |
|
T*******e 发帖数: 47 | 9 package wrapfig, floatflt, etc.
but not easy to use. |
|
l*********y 发帖数: 11 | 10 thank you very much. I found one: floatflt package. works fine now:) |
|