-
Notifications
You must be signed in to change notification settings - Fork 33
/
Copy pathchap02.tex
40 lines (37 loc) · 1.27 KB
/
chap02.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
% !Mode:: "TeX:UTF-8"
\chapter{表格和插图}
\label{chap:table}
\section{表格}
模板中关于表格的宏包有三个:\pkg{booktabs}、\pkg{array} 和 \pkg{longtabular}. 三线表可
以用 \pkg{booktabs} 提供的 \cs{toprule}、\cs{midrule} 和 \cs{bottomrule}. 它们与
\pkg{longtable} 能很好的配合使用。
\begin{table}[htb]
\centering
\begin{minipage}[t]{0.8\linewidth}
\caption[模板文件]{模板文件}
\label{tab:template-files}
\begin{tabularx}{\linewidth}{lX}
\toprule[1.5pt]
{\heiti 文件名} & {\heiti 描述} \\\midrule[1pt]
shuthesis.ins & \LaTeX{} 安装文件,\textsc{DocStrip}.\footnote{表格中的脚注} \\
shuthesis.dtx & 所有的一切都在这里面.\\
shuthesis.cls & 模板类文件。\\
shuthesis.cfg & 模板配置文.\\
shuthesis.bst & 参考文献 BIB\TeX\ 样式文件.\\
shuthesis.sty & 常用的包和命令.\\
\bottomrule[1.5pt]
\end{tabularx}
\end{minipage}
\end{table}
\section{插图}
论文里插图可使用 \texttt{graphicx} 宏包。
\begin{figure}[!htbp]
\centering
\includegraphics[scale=0.3]{shu.pdf}
\caption{上海大学}
\end{figure}
\begin{figure}[!htbp]
\centering
\includegraphics[scale=0.3]{shulogo.pdf}
\caption{上海大学 logo}
\end{figure}