1.TeXLive
- 下载安装包:https://www.tug.org/texlive/acquire-netinstall.html;
- 安装手册:https://www.tug.org/texlive/windows.html;
- 在打开exe之后不直接安装,而是选择第三个选项解压文件,然后进到文件夹用管理员权限运行 install-tl.bat,就可以正常安装了,安装完成之后,查看环境变量,没有则将安装目录\bin添加到Path中。
2.TeXstudio
- 下载安装包:http://texstudio.sourceforge.net/;
- 安装之后,如果编译不成功,就点击options–Configure TeXstudio–commands–LaTeX–选择\bin文件夹下的latex.exe文件。
3.使用
- 3线表格
\begin{table}[htbp]
\caption{\label{This is title}
\centerline{ %居中
\begin{tabular}{clclclclc}
\toprule
& head1 & head2 & head3 & head4 & head5\\
\midrule
headA & 1 & 2 & 3 & 4 & 5 \\
headB & 1 & 2 & 3 & 4 & 5 \\
\bottomrule
\end{tabular}
}
\end{table}
- 插入图片(必须将图片转换成.eps格式)
%用的cmd,转换eps图片的命令:
> bmeps -h %调出帮助
> bmeps -c a.png a.eps %转换
\begin{figure}[htbp]
\centering
\includegraphics[width=1\textwidth]{title}
\caption{Introduction}
\end{figure}