2008年3月30日 星期日

How-to Arrange a LaTeX Table

Table一直是寫LaTeX的人心中的痛,不過就在我整理paper的同時,卻發現學長已經找到自動分行的方法。

真是眾裡尋他千百度,那人卻在燈火
藍藍路~

以下是paper裡table的部份內容:


%==========table 5=================
\begin{table*}

\caption{Summary of comparative comparison}
\centering

\setlength{\extrarowheight}{4pt}

\begin{tabular}{| >{\footnotesize}p{5cm} |>{\footnotesize}p{5.5cm} | >{\footnotesize}p{5.5cm} |}

\hline
& 3GPP & 3GPP2 \\
\hline \hline
Resource-related energy saving scheme & inactivity timer (combined with
traffic volume measurement) of RRC states& inactivity timer of PDSCC state\\
\hline
Timer function & From the CELL\_PCH state to the URA\_PCH state
(CELL\_DCH to CELL\_FACH; CELL\_FACH to CELL\_PCH)
& From Connected state to Dormant state and from Dormant state to Connected state \\
\hline
\end{tabular}
\label{tab:con}
\end{table*}
%=====================================================


Hello World!

記得大一常常會打成Hollow World!

其實也沒打錯...對吧?