-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.tex
105 lines (76 loc) · 2.46 KB
/
main.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
%% main.tex
%% Copyright 2013 右京样一 (Ukyoi D)
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3
% of this license or (at your option) any later version.
% The latest version of this license is in
% http://www.latex-project.org/lppl.txt
% and version 1.3 or later is part of all distributions of LaTeX
% version 2005/12/01 or later.
%
% This work has the LPPL maintenance status `maintained'.
%
% The Current Maintainer of this work is 右京样一 (Ukyoi D).
%
% This work consists of the file main.tex.
\documentclass[a4paper,twocolumn]{article}
%\documentclass[a4paper,10pt,twocolumn]{article}
%\documentclass[a4paper,10pt]{article}
\usepackage{abstract}
\usepackage{wrapfig}
\usepackage{xltxtra}
\usepackage[boldfont,slantfont]{xeCJK}
%\usepackage[dvips]{graphicx}
% 设置字体
\setmainfont{} % 正文西文字体
\setmonofont{} % 等宽西文字体
%\setmathrm{} % 数学字体
\setCJKmainfont{} % 正文中文字体
\setCJKmonofont{} % 等宽中文字体
% 重定义一些名称为中文
\renewcommand{\abstractname}{摘要}
\renewcommand{\refname}{参考文献}
\renewcommand{\figurename}{图}
\renewcommand{\tablename}{表}
% 引用样式为上标括号
\makeatletter
\def\@cite#1#2{\textsuperscript{[{#1\if@tempswa , #2\fi}]}}
\makeatother
% 页边距:
\usepackage[top=1in, bottom=1in, left=1.2in, right=1.2in]{geometry}
% 1.2倍行距
\linespread{1.2}
% 段间间距
\setlength{\parskip}{1em}
% 首行缩进2字符
\setlength{\parindent}{2em}
% 文章信息
\title{}
\author{}
\date{\the\year{}年\the\month{}月\the\day{}日}
%\date{\today{}}
\begin{document}
% 让摘要和标题等占据两行
%\twocolumn[
\maketitle
\begin{abstract}
\noindent % 摘要不缩进
% Add abstract here
% \paragraph{关键词} 本文的关键词 % 在这里添加关键词
\end{abstract}
\vspace{5ex} % 摘要和正文间空5个“x”的长度
% 让摘要和标题等占据两行
%]
% 在此编辑正文
%\section{节标题}
% 插入图片的范例
%\begin{figure*} % 有星号(“*”)代表跨列,无则不跨列
%\begin{figure*}[!ht]
% \centering
% \includegraphics[width=0.9\textwidth]{ADDRESS_HERE}
% \caption{FIGURE_CAPTION}
%\end{figure*}
\bibliographystyle{chinabst} % chinabst.bst是由WuYingnian制作的国内引文样式文件
\bibliography{ref} % “ref”指同一目录下的ref.bib文件,这是本模板的参考文件示例,可替换成您的.bib文件
\end{document}