latex如何使得表格不同列的字体大小不一样
http://bbs.sciencenet.cn/home.php?mod=space&uid=111494&do=blog&id=436728
My living address in Canada is given in Table~\ref{address}.
\begin{table} [h]
\centering
\caption{This is my living address in Canada}
\label{address}
\begin{tabular}{|>{\small}c|>{\Huge}c|}
\hline
Barclay Street & Hamilton \\
\hline
Ontario & Canada \\
\hline
\end{tabular}
\end{table}
latex中表格列宽控制命令p{width}使用举例
http://bbs.sciencenet.cn/home.php?mod=space&uid=111494&do=blog&id=434507
\begin{tabular}{ | l | l | l | l | l |}
\hline
Item & Name & Gender & Habit & Self-introd tion \\ \hline
1 & Jimmy & Male & Badminton & Hi, everyone,my name is Jimmy. I come from Hamilton,
and it's my great honour to give this example. My topic is about how to use p{width} command \\ \hline
2 & Jimmy & Male & Badminton & Hi, everyone,my name is Jimmy. I come from Hamilton,
and it's my great honour to give this example. My topic is about how to use p{width} command \\ \hline
3 & Jimmy & Male & Badminton & Hi, everyone,my name is Jimmy. I come from Hamilton,
and it's my great honour to give this example. My topic is about how to use p{width} command \\
\hline
\end{tabular}
\end{center}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%With width specified for the last column%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{center}
\begin{tabular}{ | l | l | l | l | p{5cm}|}
\hline
Item & Name & Gender & Habit & Self-introd tion \\ \hline
1 & Jimmy & Male & Badminton & Hi, everyone,my name is Jimmy. I come from Hamilton,
and it's my great honour to give this example. My topic is about how to use p{width} command \\ \hline
2 & Jimmy & Male & Badminton & Hi, everyone,my name is Jimmy. I come from Hamilton,
and it's my great honour to give this example. My topic is about how to use p{width} command \\ \hline
3 & Jimmy & Male & Badminton & Hi, everyone,my name is Jimmy. I come from Hamilton,
and it's my great honour to give this example. My topic is about how to use p{width} command \\
\hline
\end{tabular}
\end{center}
latex之表格水平位置转换垂直位置
http://bbs.sciencenet.cn/home.php?mod=space&uid=111494&do=blog&id=434772
\begin{sidewaystable}
\centering
\begin{tabular}{lllll}
\hline
Item 1 & Item 2 &Item 3 &Item 4 &Item 5 \\
\hline
\multicolumn{5}{l}{\bf S item 1}\\
a & b & c &d &e\\
a & b & c &d &e\\
a & b & c &d &e\\
a & b & c &d &e\\
a & b & c &d &e\\
&&&&\\
\multicolumn{5}{l}{\bf S item 2}\\
a & b & c &d &e\\
a & b & c &d &e\\
a & b & c &d &e\\
a & b & c &d &e\\
a & b & c &d &e\\
\hline
\end{tabular}
\caption{This is an example of rotate table layout}\label{rotatetable}
\end{sidewaystable}
latex制作复杂表格之multirow,multicolum和cline综合使用简介
http://bbs.sciencenet.cn/home.php?mod=space&uid=111494&do=blog&id=445494
\hline
\multicolumn{1}{c|}{\multirow {2}{*}{Canada}}&\multicolumn{1}{|c|}{\multirow {2}{*}{Ontario}}& \multicolumn{2}{|c}{Hamilton}\\\cline{3-4}
\multicolumn{1}{c|}{}&\multicolumn{1}{|c}{}&
\multicolumn{1}{|c|}{Barclay Street} & Emerson Street\\
\hline
\end{tabular}
例子二:
\cline{3-6}
& & \multicolumn{4}{|c|}{Jimmy} \\ \cline{3-6}
& & Canada & China & Ontario & Hamilton \\ \cline{1-6}
\multicolumn{1}{|c|}{\multirow{2}{*}{McMaster}} &
\multicolumn{1}{|c|}{MS} & Mon & T & Wed & Thu & DeGroote School of Business\\ \cline{2-6}
\multicolumn{1}{|c|}{} &
\multicolumn{1}{|c|}{IS} & Jan & Feb & Mar & Apr & DeGroote School of Business \\ \cline{1-6}
\end{tabular}
multirow 设定宽度,换行
如表格第4列, 首先合并三行,然后分4行写入内容,如何实现这个单元格内容的换行呢?
\begin{tabular}{p{2em}c}
\hline%
a \newline b& \multirow{3}{8em}{soppurt ISO\\18000-6b\\Compactflash,\\SD slots}\\
b & \\
c& \\
\hline
\end{tabular}