[Tugindia] Figure and Table

Ashis Kumar Mal akmal at ece.iitkgp.ernet.in
Tue Jul 29 14:05:17 CEST 2003


Dear All,
I would like to put one table and one figure
side by side on a page, to accomodate more
text in a page.

I tried using minipage environment, but I am
unable to put them side by side.

Here is what I did :
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{table}[htbp]
\caption{Capacitor Values}
\begin{center}
\begin{minipage}[b]{2in}
\begin{tabular}{|c|c|c|}
\hline
 Coeffs. &  Cap.Value &  Cap.Ratios\\
\hline
 1.0000 &  5 &        5.123\\
 0.9808 &  4.904 &    5.024\\
 0.3827 &  1.914 &    1.961\\
 0.1951 &  0.976 &    1.000\\
\hline
\end{tabular}
\end{minipage}
\end{center}
\end{table}
%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{figure}[htbp]
\begin{minipage}[b]{2in}
\begin{center}
\includegraphics[width=4cm]{invg.eps}
\end{center}
\caption{Inverting}
\end{minipage}
\end{figure}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

It is drawing the figure after the table.

Could someone please help me to place the 
table and figure side by side.

Thanks in advance.


With regards,

Ashis Kumar Mal
Kharagpur



More information about the tugindia mailing list