-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.tex
More file actions
130 lines (94 loc) · 4.03 KB
/
main.tex
File metadata and controls
130 lines (94 loc) · 4.03 KB
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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
\documentclass[]{academic_template}
% single-column: \documentclass[]{academic_template}
% twocolumn: \documentclass[twocolumn]{academic_template}
\usepackage[toc,page,header]{appendix}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{makecell}
\usepackage{algorithm} % 算法浮动环境
\usepackage{algpseudocode} % 算法伪代码语法
\usepackage{graphicx}
\usepackage{listings}
\lstset{
basicstyle=\ttfamily\small,
breaklines=true, % 自动换行
columns=fullflexible, % 更好换行
keepspaces=true, % 保留空格
showstringspaces=false
}
\usepackage{url}
\usepackage{booktabs}
\usepackage{wrapfig}
\newcommand{\tablestyle}[2]{\setlength{\tabcolsep}{#1}\renewcommand{\arraystretch}{#2}\centering\footnotesize}
\usepackage{colortbl}
\usepackage{xcolor}
\usepackage{caption}
\usepackage{subcaption}
\newcommand{\fix}{\marginpar{FIX}}
\newcommand{\new}{\marginpar{NEW}}
\def\eg{\emph{e.g.}}
\def\ie{\emph{i.e.}}
%%%%%%%%%%%%%%%%%%%%%
%! 建议在此处修改模板的配色和logo大小等参数
% \setthemecolor{8B008B} % 主题颜色,默认深蓝,这个是深紫色
\setlogoheight{14mm} % logo size
% \sectionlineon %增加章节分割线
\setlogospacing{5mm}
\setsjtublue % 设置logo为上交蓝,默认为上交红
\settitlerulethickness{3pt} % title line size
% 对abstract的调整
\abstractboxon %显示边框
\setabstractframecolor{gray} %灰色边框
\setabstractbgcolor{gray!10} %浅灰色背景
\setlogotolineshift{5mm} % logo与标题行的距离
% 设置标题上下横线的粗度(默认 0.5pt)
\settoprulethickness{2.5pt}
\setbottomrulethickness{1.5pt}
%%%%%%%%%%%%%%%%%%%
\title{\LaTeX Template for VisionXLab@RethinkLab: A Comprehensive Template for Academic Writing}
\author[1,*]{First Author}
\author[1,2]{Second Author}
\author[2,3]{Third Author}
\author[1, \dagger]{Fourth Author with a looooooooooooooooooooong name}
% 论文单位
\affiliation[1]{Your University}
\affiliation[2]{Your Institute or Company}
\affiliation[3]{A Company with a loooooooooooooooooooooooooooooooooooooooooong name}
\contribution[*]{Equal contribution}
\contribution[\dagger]{Corresponding Author}
\abstract{
This is a placeholder abstract for your academic paper template. The abstract should provide a concise summary of your research, including the motivation, main contributions, methodology, and key results. Typically, an abstract ranges from 150 to 250 words and should be self-contained, allowing readers to understand the essence of your work without reading the entire paper.
In this template, we demonstrate various LaTeX elements commonly used in academic papers, including figures, tables, algorithms, equations, and citations. This template is designed to be highly extensible and suitable for various academic disciplines. You can easily customize the content, styling, and structure to fit your specific needs.
}
\date{\today}
% Uncomment below to add correspondence email
% \correspondence{Author Name at \email{your.email@example.com}}
% Additional info fields
\checkdata[Project Page]{\url{https://your-project-page.github.io/}}
\checkdata[Code]{\url{https://github.com/your-repo}}
\checkdata[Hugging Face]{\url{https://huggingface.co/your-repo}}
% 放宽浮动体放置限制
\renewcommand{\topfraction}{0.9} % 顶部能放浮动体的最大比例
\renewcommand{\bottomfraction}{0.8} % 底部能放浮动体的最大比例
\renewcommand{\textfraction}{0.07} % 一页中文字必须占据的最小比例
\renewcommand{\floatpagefraction}{0.85} % 浮动页(全是表格的页)的最小占用比例
\begin{document}
\maketitle
% 如果需要目录,取消下面的注释
% \newpage
% \tableofcontents
% \newpage
\input{sections/1_introduction}
\input{sections/2_related_work}
\input{sections/3_method}
\input{sections/4_experiments}
\input{sections/5_conclusion}
% \clearpage
\bibliographystyle{plainnat}
\bibliography{references}
% 如果需要附录,取消下面三行的注释,反之加上注释
\clearpage
\beginappendix
\input{sections/appendix}
\end{document}