我有一张表,如下图所示:
alt text http://i44.tinypic.com/23jh8ns.jpg
该表的LaTeX代码是:
\begin{table}
\begin{tabular}{ | c | c | }
\hline
\includegraphics[scale=0.45]{../0_1.eps} & 1.10 2.20 3.30 4.40 \\
\hline
\end{tabular}
\end{table}
Run Code Online (Sandbox Code Playgroud)
我想让四个数字出现在第二个单元格内的不同行中,以减小其宽度.我想知道怎么做?
编辑:
我试过\ linebreak,
\includegraphics[scale=0.45]{../0_1.eps} & 1.10 \linebreak 2.20 \linebreak 3.30 \linebreak 4.40 \\
Run Code Online (Sandbox Code Playgroud)
但结果与之前相同,即没有\ linebreak.
编辑:
我刚试过Rob的建议.但结果并不紧凑,因为我的目的是减小表的大小.见下图:
尝试使用带有\ par的ap列来指示换行符.
\begin{table}
\begin{tabular}{ | c | p{2cm} | }
\hline
\includegraphics[scale=0.45]{../0_1.eps} & 1.10\par 2.20\par 3.30\par 4.40 \\
\hline
\end{tabular}
\end{table}
Run Code Online (Sandbox Code Playgroud)
尝试
\begin{table}
\def\baselinestretch {}\selectfont %
% \baselineskip = 14.4pt\relax %% Uncomment this if the result is not compact.
\begin{tabular}{ | c | p{2cm} | }
\hline
$\vcenter{\hbox{\includegraphics[scale=0.45]{../0_1.eps}}$ &
$\vcenter{\strut 1.10\par 2.20\par 3.30\par 4.40\strut}$ \\
\hline
\end{tabular}
\end{table}
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
30224 次 |
| 最近记录: |