LaTeX | 论文模板(非标准)

今天写完一片篇论文,想用 $\LaTeX$ 进行排版,学习了好久耽误不少时间[哭]。

推荐使用 TextLive 软件,用 XeLaTeX 编译两次,再用 bibTex 编译两次 最后再用 XeLaTeX 编译一次。

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
\documentclass{ article | book | report }
\usepackage{ctex} % 中文支持
\usepackage[sorting=none]{biblatex} % Reference支持 sorting=none为按照引用顺序排序
\usepackage{multicol} % 多栏支持
\usepackage{geometry} % 页面调节支持

\addbibresource{.\\YourBibFile.bib}

\geometry{left=2cm, right=2cm, top=2cm, bottom=2cm} % 页边距

\setlength\columnsep{0.6cm} % 栏间距
%\columnseprule=1pt 竖线宽

\title{大标题 \\ {\small 小标题}}
\author{Shitong Cai}
\date{} % 空着就是没有日期 也可以是\today

\begin{document}
%--------------目录-------------
\renewcommand{\contentsname}{目录}        % 目录标题改为中文
\tableofcontents                        % 目录
\thispagestyle{empty}                   %目录页去页码
%--------------Main-------------
\maketitle
\setcounter{page}{1} % 页码从1计数
\textbf{摘要}: Lorem...
\begin{multicols}{2} % 有 end
\chapter{...} % article 中没有
\section{...} % \section*{...} 则没有序号 但不计入目录
% 如使用 \section*{} 则要加上 \addcontentsline{toc}{section|subsection|subsubsection}{...} 来添加目录内容
% 如需标题居中 {\centering\section*{...}}
\cite{Keywords in .bib File}
\end{multicols}
%-------------Reference-------
\printbibliography[title=参考文献]
%\addcontentsline{toc}{section}{参考文献}