图像和表格并排排列:
\makeatletter\def\@captype{figure}\makeatother
\begin{minipage}{0.3\textwidth}\centering
\section{ Standard }
\includegraphics[scale=0.40]{/home/u2/webapp/public/data/images/articles/4803_thumb_160.jpg}
\end{minipage}
\makeatletter\def\@captype{table}\makeatother
\begin{minipage}{.7\textwidth}
\centering
\subsection{ Color Per Size Quantities }
\begin{tabular}{|c|c|c|c|c|c|c|}
\hline
% after \\: \hline or \cline{col1-col2} \cline{col3-col4} ...
Measurements Nam & Measurements Nam & Measurem & a & a & a & a \\
a & a & a & a & a & a & a \\
a & a & a & a & a & a & a \\
a & a & a & a & a & a & a \\
a & a & a & a & a & a & a \\
\hline
\end{tabular}
\end{minipage}
转自:http://www.educity.cn/wenda/118274.html
本文介绍了一种在LaTeX中实现图像与表格并排显示的方法。通过使用minipage环境,可以灵活调整图像和表格的宽度比例。此外,还展示了如何定义captype来区分figure和table。
972

被折叠的 条评论
为什么被折叠?



