-
Notifications
You must be signed in to change notification settings - Fork 377
/
paper_writing_tips.tex
206 lines (171 loc) · 8.07 KB
/
paper_writing_tips.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
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
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
% CVPR 2022 Paper Template
% based on the CVPR template provided by Ming-Ming Cheng (https://github.com/MCG-NKU/CVPR_Template)
% modified and extended by Stefan Roth ([email protected])
\documentclass[10pt,twocolumn,letterpaper]{article}
%%%%%%%%% PAPER TYPE - PLEASE UPDATE FOR FINAL VERSION
%\usepackage[review]{cvpr} % To produce the REVIEW version
%\usepackage{cvpr} % To produce the CAMERA-READY version
\usepackage[pagenumbers]{cvpr} % To force page numbers, e.g. for an arXiv version
% Include other packages here, before hyperref.
\usepackage{graphicx}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{gensymb}
\usepackage{booktabs}
% included packages
\usepackage{makecell}
\usepackage{colortbl}
\usepackage{xcolor}
% It is strongly recommended to use hyperref, especially for the review version.
% hyperref with option pagebackref eases the reviewers' job.
% Please disable hyperref *only* if you encounter grave issues, e.g. with the
% file validation for the camera-ready version.
%
% If you comment hyperref and then uncomment it, you should delete
% ReviewTempalte.aux before re-running LaTeX.
% (Or just hit 'q' on the first LaTeX run, let it finish, and you
% should be clear).
\usepackage[pagebackref,breaklinks,colorlinks]{hyperref}
% Support for easy cross-referencing
\usepackage[capitalize]{cleveref}
\crefname{section}{Sec.}{Secs.}
\Crefname{section}{Section}{Sections}
\Crefname{table}{Table}{Tables}
\crefname{table}{Tab.}{Tabs.}
% For caption setup
\captionsetup[table]{aboveskip=3pt}
\captionsetup[table]{belowskip=2pt}
\captionsetup[figure]{aboveskip=5pt}
\captionsetup[figure]{belowskip=0pt}
\captionsetup{font=normal}
%%%%%%%%% PAPER ID - PLEASE UPDATE
\def\cvprPaperID{*****} % *** Enter the CVPR Paper ID here
\def\confName{CVPR}
\def\confYear{2022}
% utils
\newcommand{\correct}[1]{\textcolor{blue}{#1 \checkmark}}
\newcommand{\wrong}[1]{\textcolor{red}{#1 $\times$}}
\begin{document}
%%%%%%%%% TITLE - PLEASE UPDATE
\title{Tips for Writing a Research Paper using \LaTeX}
\author{Guanying Chen \\
{\tt\small \url{https://guanyingc.github.io}}
% For a paper whose authors are all at the same institution,
% omit the following lines up until the closing ``}''.
% Additional authors and addresses can be added with ``\and'',
% just like the second author.
% To save space, use either the email address or home page, not both
}
\onecolumn
\maketitle
{
\hypersetup{linkcolor=black}
\tableofcontents
}
%%%%%%%%% ABSTRACT
%%%%%%%%% BODY TEXT
%\newpage
\vspace{7em}
\section{Introduction}
\label{sec:intro}
\LaTeX\ is a very powerful tool for documentation preparation, and is often used by researchers to prepare a manuscript for reviewing and publication.
However, some new graduate students might not have experience in using \LaTeX and thus have a difficult time in prepare their first paper.
In this article, we will first provide some tips for paper writing.
Then, we will showcase several working examples for the tables and figures, which have been used in our previous publications. The readers are encouraged to adapt those tables and figures to their purposes to save time when preparing their first papers.
\twocolumn
\section{Tips for the Writing}
In this section, we point out some common mistakes in paper writing and give some suggestions for editing \LaTeX\ files.
\subsection{Some Common Mistakes}
\begin{itemize}
\item There should be a space before the open parentheses:\\
\wrong{Convolutional neural network(CNN) has been successfully applied on various vision problems.}\\
\correct{Convolutional neural network (CNN) has been successfully applied on various vision problems.}
\item There should be no space before the period and comma punctuation marks:\\
\wrong{Convolutional neural network (CNN) has been successfully applied on various vision problems .}\\
\correct{Convolutional neural network (CNN) has been successfully applied on various vision problems.}
\item There should be a punctuation at the end of the equation:
\begin{align}
\label{eq:eq1}
& \textcolor{red}{E = mc^2 \quad \times} \\
& \textcolor{blue}{E = mc^2. \quad \checkmark}
\end{align}
\item All equations should be numbered:
\begin{align}
\label{eq:eq2} \nonumber
& \textcolor{red}{E = mc^2. \quad \times}\\
& \textcolor{blue}{E = mc^2. \quad \checkmark}
\end{align}
\item The first character in a sentence should be capitalized:\\
\wrong{how are you?}\\
\correct{How are you?}
\item Double quotation marks should be correctly typed:\\
\wrong{Are you "okay"?}\\
\correct{Are you ``okay''?}
\item There should be a space before the citation:\\
\wrong{A proposes a method B for this problem[1].}\\
\correct{A proposes a method B for this problem~[1].}
\end{itemize}
\subsection{Some Suggestions}
\begin{itemize}
\item Do not include citations in the abstract.
\item Define a macro for a word or phrase if it appears frequently (\eg, the method name and the dataset name). The command can be\\``\textbackslash newcommand\{\textbackslash NetName\}\{A Great Deep Net\}''.
\item Use ``\textbackslash ie'' command for ``\ie'' and use ``\textbackslash eg'' for ``\eg.''.
\item When referring to a table, always use ``Table~\ref{tab:table1}'' in the sentence:\\
\wrong{Our results are shown in Tab.~1.}\\
\correct{Our results are shown in Table~1.}
\item The table caption should be at the top of the table.
\item When referring to a figure, use ``Figure~\ref{fig:figure1}'' at the beginning of a sentence and ``Fig.~\ref{fig:figure1}'' elsewhere.\\
\wrong{Fig.1 shows our results.}\\
\correct{Our results are shown in Fig.~1.}\\
\correct{Figure~1 shows our results.}
\item The figure caption should be at the bottom of the table.
\item It is better to put the tables and figures at the top of a page.
\end{itemize}
\clearpage
\section{Examples for the Tables}
%\subsection{Examples for the Single-column Tables}
\input{tables/table1} % simple table
\input{tables/table2} % multi-column table
\input{tables/table3} % multi-column with makecell
\input{tables/table4} % multi-column with vertical lines
\input{tables/table5} % multi-column with bold font
\input{tables/table6} % multi-column with parallel lines
\input{tables/table_network2} % single-column network arch
\input{tables/table_figure1} % table with images
%\subsection{Examples for the Two-column Tables}
\input{tables/table8} % two-column table
\input{tables/table12} % two-column table with remarks
\input{tables/table9} % two-column table with color header
\input{tables/table7} % two-column table with two sub-tables
\input{tables/table13} % two-column table with cmidrule
\input{tables/table_figure2} % two-column tables with images in the header
\input{tables/table10} % two tables side-by-side
\input{tables/table11} % table with caption at the left
\input{tables/table_network1} % two column network arch table
\clearpage
\clearpage
\section{Examples for the Figures}
%\subsection{Examples for the Single-column Figures}
\input{figures/figure1} % single image
\input{figures/figure2} % two images
\input{figures/figure3} % four images
\input{figures/figure4} % four images with text header
\input{figures/figure5} % four images with vertical text
\input{figures/figure6} % two sub figures
\input{figures/figure15} % figure numeric results and color bar
%\subsection{Examples for the Two-column Figures}
\input{figures/figure7} % single image
\input{figures/figure8} % multiple images
\input{figures/figure9} % multiple images with two zoom in patches (horizontal)
\input{figures/figure11} % multiple images with two zoom in patches (vertical)
\input{figures/figure13} % two figure placed side-by-side
\input{figures/figure12} % figure with caption at the left
\input{figures/figure14} % figure numeric results and color bar
\input{figures/figure10} % multiple images organized with multi-level
%\clearpage
%%%%%%%%% REFERENCES
%{\small
%\bibliographystyle{ieee_fullname}
%\bibliography{egbib}
%}
\end{document}