1 Apr 2013

LaTex: Nomenclature双栏对齐

收藏到CSDN网摘

如果在论文模板中没有Nnomenclature,需要在.cls文件中添加如下语句:

\newenvironment{nomenclature}{

            \chapter*{\nomenclaturename}

            \markboth{\nomenclaturename}{\nomenclaturename}

            \addcontentsline{toc}{chapter}{\nomenclaturename} }

\global\let\nomenclaturename\relax

\def\nomenclaturename{Nomenclature}


要跨页,可以用longtable包,
\begin{nomenclature}

\begin{longtable}{ll}

\mbox{AF} & \mbox{Amplify-and-Forward} \\

\mbox{BS} & \mbox{Base Station}\\

\mbox{CF} & \mbox{Compress-and-Forward}

\end{longtable}

\end{nomenclature}

但是如果是会议论文,一般是double columns,这时候longtable就不能使用了,需要用到supertabular包
\documentclass[11pt,a4paper]{article}
\usepackage{supertabular}

\begin{document}
\twocolumn
\tablehead{Header of first column & Header of second column \\}

\begin{supertabular}{rlc}
Table cell 1, 1 & Table cell 1, 2 \\
Table cell 2, 1 & Table cell 2, 2 \\
Table cell 1, 1 & Table cell 1, 2 \\
...
...
\end{supertabular}

\end{document}

No comments :

Post a Comment