[Tuglist] tabular in figure
Dileep Padinjarae Vengasseri
tuglist@tug.org.in
Sat, 7 Sep 2002 08:27:37 +0100 (BST)
Hello,
I foud that your code works well if you put
"includegraphics" and "table" in separate {} like the
following.
\begin{figure}
\centering
{\resizebox*{0.8\columnwidth}{!}
{
\includegraphics{test.eps}}\\
{\begin{tabular}{lll} \hline
ll & ll & ll\\ ll & ll & ll\\ ll & ll & ll\\
\hline
\end{tabular}}
}
\caption{This is the figure caption} \label{myLabel}
\end{figure}
With best regards,
Dileep
> \begin{figure}
> \centring
> { resizebox*{0.8\columnwidth}{!}
> { \includegraphics{1.eps}\\
> \begin{tabular}{lll} \hline
> ll & ll & ll\\ ll & ll & ll\\ ll & ll &
> ll\\ \hline
> \end{tabular}
> }
> } \caption{This is the figure caption}
> \lable{myLabel}
> \end{figure}
>
> This was giving error "something's wrong-- perhaps
> a missing \item.
> On skipping "\\" after {1.eps}, it produced figure
> and tabular in
> a line, but I wanted tabular below figure.
>
> Can any one point out error in above code?
>
> Though bringing tabular outside resizebox, has
> worked fine.
>
> Thank you in advance.
>
> --
> H.S.Rai
>
> _______________________________________________
> http://tug.org.in/mailman/listinfo/tuglist
> Home: http://www.tug.org.in
> Tutorial: http://www.tug.org.in/tutorials.html
________________________________________________________________________
Want to sell your car? advertise on Yahoo Autos Classifieds. It's Free!!
visit http://in.autos.yahoo.com