没有系统学过latex,最近找了个MCM论文的模版来改,里面遇到了一些小知识。自己做一下总结:
0. \emph{blablabla} 把括号中的字改为斜体。 可用在大段文字中。
\textbf{} 改为加粗
1.\caption[lst-entry]{Text of table caption} is used to generate a caption for a figure or a table.
2.罗列
\begin{itemize}\item
\item
\end{itemize}
\begin{enumerate}
\item
\item
\item
\end{enumerate}
\begin{description}
\item[First] \hfill \\
The first item
\item[Second] \hfill \\
The second item
\item[Third] \hfill \\
The third etc \ldots
\end{description}
3.公式、引理、证明:
\begin{Theorem} \label{thm:latex}
\LaTeX
\end{Theorem}
\begin{Lemma} \label{thm:tex}
\TeX .
\end{Lemma}
\begin{proof}
The proof of theorem.
\end{proof}
4.学术论文普遍使用的三线表 \usepackage{booktabs}
\begin{table}[htbp] \caption{\label{tab:test}示例表格} \begin{tabular}{lcl} \toprule 姓名 & 年龄 & 地址\\ \midrule 张三 & 32 & 中华人民共和国\\ 李四 & 12 & 中华人民共和国\\ 王五 & 24 & 中华人民共和国\\ \bottomrule \end{tabular} \end{table}
讲表格的不错的两个链接:http://blog.sina.com.cn/s/blog_4c1ad1f701013lk0.html
http://blog.sina.com.cn/s/blog_5e16f1770100fvf5.html
5.使用Word画的图:执行文件—>打印,弹出打印设置对话框,打印机名称选择Adobe PDF,并且将打印到文件划勾。然后进入打印机属性,在Adobe PDF设置中,“不要发送字体到Adobe PDF”一项不划勾,确定,返回打印设置对话框,确定。选择保存类型为所有文件All Files (*.*),选择保存位置,填写文件名(*.ps)先保存成*.ps文件,以后的步骤同2。(然后用GhostView打开该文件,执行File—>PS to EPS,弹出对话框,保存类型默认为所有文件EPS Files (*.eps),选择保存位置,填写文件名(*.eps)保存即可。