Tools Latex Writing Tips Rebuttal Project page
Tips of Writing a LATEX PaperUsing VS Code & Overleaf V2 as an Example
Ming-Ming Cheng
College of Computer Science, Nankai University
2020/08/31
Ming-Ming Cheng Nankai University Tips of Writing a LATEX Paper 2020/08/31 1 / 50
Tools Latex Writing Tips Rebuttal Project page
Table of Contents
1 Tools: Overleaf, GitHub, TortoiseGit, GrammarlyOverleafGitHub & TortoiseGitGrammarlyVS Code + TexLive
2 Using LATEX
3 Writing TipsFiguresChecklist
4 Rebuttal
5 Project page
Ming-Ming Cheng Nankai University Tips of Writing a LATEX Paper 2020/08/31 2 / 50
Tools Latex Writing Tips Rebuttal Project page
Using Overleaf V2 for Joint WorkingSee also the official tutorialhttps://www.overleaf.com/learn/latex/Tutorials
Online collaborative LATEX editing
Easy to work with many co-authors
Version control using git sync
Using GitHub for Git based version control
Comments discussion
Comments location, author name, time, and reply
Ming-Ming Cheng Nankai University Tips of Writing a LATEX Paper 2020/08/31 3 / 50
https://www.overleaf.com/learn/latex/Tutorials
Tools Latex Writing Tips Rebuttal Project page
Overleaf V2 Interface
Fig.: Website Interface. (Overleaf V2)
Ming-Ming Cheng Nankai University Tips of Writing a LATEX Paper 2020/08/31 4 / 50
https://www.overleaf.com/
Tools Latex Writing Tips Rebuttal Project page
Overleaf & GitHub
Fig.: Overleaf version control using GitHub (2 accounts).
Ming-Ming Cheng Nankai University Tips of Writing a LATEX Paper 2020/08/31 5 / 50
Tools Latex Writing Tips Rebuttal Project page
GitHub version control
Fig.: Version history. (https://GitHub.com/)
Ming-Ming Cheng Nankai University Tips of Writing a LATEX Paper 2020/08/31 6 / 50
https://GitHub.com/
Tools Latex Writing Tips Rebuttal Project page
GitHub version control
Fig.: Clearly visualize the changes in this update.Ming-Ming Cheng Nankai University Tips of Writing a LATEX Paper 2020/08/31 7 / 50
Tools Latex Writing Tips Rebuttal Project page
Direct Git access available in Overleaf V2.
Fig.: Direct Git access is launched in Jan. 2019.
Ming-Ming Cheng Nankai University Tips of Writing a LATEX Paper 2020/08/31 8 / 50
Tools Latex Writing Tips Rebuttal Project page
Overleaf V2 Interface
Fig.: Website Interface. (Overleaf V2)
Ming-Ming Cheng Nankai University Tips of Writing a LATEX Paper 2020/08/31 9 / 50
https://www.overleaf.com/
Tools Latex Writing Tips Rebuttal Project page
Avoid Meaningless Names
Fig.: Avoid such meaningless names during working with others, emailcommunications, etc. Academic accounts have additional bene-fits/discount from commercial companies.
Ming-Ming Cheng Nankai University Tips of Writing a LATEX Paper 2020/08/31 10 / 50
Tools Latex Writing Tips Rebuttal Project page
TortoiseGit for Windows
Fig.: Windows explore interface with TortoiseGit.
Ming-Ming Cheng Nankai University Tips of Writing a LATEX Paper 2020/08/31 11 / 50
Tools Latex Writing Tips Rebuttal Project page
TortoiseGit for Windows
Different icons means different status
Icons changes after sync using Git Clone.Red: on disk version is newer, commit ASAP.Green: on disk version is up to date.
Sync as ASAP to avoid version conflicts
Default commit to local repository, not onlinerepository.Following this order: commit, pull, push.
Ming-Ming Cheng Nankai University Tips of Writing a LATEX Paper 2020/08/31 12 / 50
Tools Latex Writing Tips Rebuttal Project page
Break lines to avoid version conflict
Avoid version conflict due to simultaneous editingGit software discover changes line-by-lineAlso makes the writing with pretty hierarchy
Fig.: Break lines ASAP.
Ming-Ming Cheng Nankai University Tips of Writing a LATEX Paper 2020/08/31 13 / 50
Tools Latex Writing Tips Rebuttal Project page
Pay Attention to Warnings in Overleaf
Warnings are often very helpful
Fig.: Confirm every warning.
Ming-Ming Cheng Nankai University Tips of Writing a LATEX Paper 2020/08/31 14 / 50
Tools Latex Writing Tips Rebuttal Project page
Pay Attention to Warnings in Overleaf
Warnings are often very helpful
Fig.: Confirm every warning. Explicitly disable miss-alarms and use"add to dictionary" if you are confident.
Ming-Ming Cheng Nankai University Tips of Writing a LATEX Paper 2020/08/31 15 / 50
Tools Latex Writing Tips Rebuttal Project page
Grammarly
Prepare
Trying to get a clean pdf as shown bellow.
Fig.: Remove figures, tables, big equations to fascinate pdf→ docx.
Ming-Ming Cheng Nankai University Tips of Writing a LATEX Paper 2020/08/31 16 / 50
Tools Latex Writing Tips Rebuttal Project page
Grammarly
Prepare
Use MS Word to open pdf file as save as docxFormat: use \cvprfinalcopy for clean formatingReview mode: track changes made by Grammarly
Fig.: Grammarly plugin in Microsoft Word.
Ming-Ming Cheng Nankai University Tips of Writing a LATEX Paper 2020/08/31 17 / 50
Tools Latex Writing Tips Rebuttal Project page
Interface of VSCode
Ming-Ming Cheng Nankai University Tips of Writing a LATEX Paper 2020/08/31 18 / 50
Tools Latex Writing Tips Rebuttal Project page
VS Code Extensions
Ming-Ming Cheng Nankai University Tips of Writing a LATEX Paper 2020/08/31 19 / 50
Tools Latex Writing Tips Rebuttal Project page
VS Code Extensions
Fig.: VS Code Git & LATEX Extensions.
Ming-Ming Cheng Nankai University Tips of Writing a LATEX Paper 2020/08/31 20 / 50
Tools Latex Writing Tips Rebuttal Project page
TexLive
Ming-Ming Cheng Nankai University Tips of Writing a LATEX Paper 2020/08/31 21 / 50
Tools Latex Writing Tips Rebuttal Project page
Start with a SampleYou don’t have to learn Latex carefullySimply find some useful examples and startYou can find Latex source of many vision papershere: https://mmcheng.net/salobj/ orhttps://www.overleaf.com/read/nkyrytybmzcm
Fig.: A sample paper with online Latex editing.Ming-Ming Cheng Nankai University Tips of Writing a LATEX Paper 2020/08/31 22 / 50
https://mmcheng.net/salobj/https://www.overleaf.com/read/nkyrytybmzcm
Tools Latex Writing Tips Rebuttal Project page
Use LATEX Command for Uniform Formatting
More examples in https://www.overleaf.com/read/zqttbzknmjrz
Use \newcommand{\cmd}[]{#1}\newcommand{\figref}[1]{Fig. \ref{#1}}\newcommand{\tabref}[1]{Tab. \ref{#1}}\newcommand{\eqnref}[1]{Eq. (\ref{#1})}\newcommand{\secref}[1]{Sec. \ref{#1}}\newcommand{\sArt}[1]{state-of-the-art∼}\newcommand{\AddImg}[1]{\includegraphics[height=.2\linewidth][#1]}
Ming-Ming Cheng Nankai University Tips of Writing a LATEX Paper 2020/08/31 23 / 50
https://www.overleaf.com/read/zqttbzknmjrz
Tools Latex Writing Tips Rebuttal Project page
Use LATEX Command for FormattingAdding many images: https://www.overleaf.com/read/zqttbzknmjrz
Fig.: Adding many figures.
Ming-Ming Cheng Nankai University Tips of Writing a LATEX Paper 2020/08/31 24 / 50
https://www.overleaf.com/read/zqttbzknmjrz
Tools Latex Writing Tips Rebuttal Project page
Use LATEX Command for FormattingKeep proper file size for sharing and web-page loading.
Fig.: The attention maps don’t needs high resolution. Resize thelength to 200 and save to jpg files.
Ming-Ming Cheng Nankai University Tips of Writing a LATEX Paper 2020/08/31 25 / 50
Tools Latex Writing Tips Rebuttal Project page
Use LATEX Command for Formatting
Keep proper file size for sharing and web-page loading.
Fig.: Use figure compression in Visio to maintain proper file size.
Ming-Ming Cheng Nankai University Tips of Writing a LATEX Paper 2020/08/31 26 / 50
Tools Latex Writing Tips Rebuttal Project page
Use LATEX Command for FormattingAdding pretty table https://www.overleaf.com/read/zqttbzknmjrz
Fig.: Adding pretty table.
Ming-Ming Cheng Nankai University Tips of Writing a LATEX Paper 2020/08/31 27 / 50
https://www.overleaf.com/read/zqttbzknmjrz
Tools Latex Writing Tips Rebuttal Project page
Use LATEX Command to switch image filesSome figures, e.g. using .pdf format, can be verybig.Put a small file size figure with same name, but in.jpg format.Keep using figure names without file extensions.Using \DeclareGraphicsExtensions to control whichformat should be used in priority.This might greatly reduce the file size, e.g. from 5MBto 50KB, speed up loading of Overleaf.Do switch back by before submitting.
Fig.: Switching figure files in use by reordering extensions.Ming-Ming Cheng Nankai University Tips of Writing a LATEX Paper 2020/08/31 28 / 50
Tools Latex Writing Tips Rebuttal Project page
Use Strings for Journal/Conference Names
Use @String
@String(CVPR = "IEEE CVPR")
@string(CVPR= "IEEE Conf. Comput. Vis. Pattern Recog.")
@string(CVPRW= "IEEE Conf. Comput. Vis. Pattern Recog.Worksh.")
@string(NIPS= "Adv. Neural Inform. Process. Syst.")
@string(IJCV = "Int. J. Comput. Vis.")
@string(PAMI = "IEEE Trans. Pattern Anal. Mach. Intell.")
%More examples in https://www.overleaf.com/read/pcznwnthsprs@inproceedings {arbelaez2014multiscale,title="Multiscale combinatorial grouping",author="Marques, Ferran and Malik, Jitendra",booktitle=CVPR,pages="328–335",year="2014"
}
Ming-Ming Cheng Nankai University Tips of Writing a LATEX Paper 2020/08/31 29 / 50
https://www.overleaf.com/read/pcznwnthsprs
Tools Latex Writing Tips Rebuttal Project page
Reference - Formats
Consist.: Use @String to ensure consistency.Types: Use “@inproceedings” for conference, and
“@Article” for journal.Warning: Don’t directly copy a bibtex from Google Sch.
Author: Use “and” instead of “,” to separate names.Priority: Important: Journal > conference > arXiv.
Ming-Ming Cheng Nankai University Tips of Writing a LATEX Paper 2020/08/31 30 / 50
Tools Latex Writing Tips Rebuttal Project page
Using Chinese in LATEX
Refer to the demo in http://mmcheng.net/salobj/
Fig.: Prepare a Chinese version ASAP.
Ming-Ming Cheng Nankai University Tips of Writing a LATEX Paper 2020/08/31 31 / 50
http://mmcheng.net/salobj/
Tools Latex Writing Tips Rebuttal Project page
Avoid Large Boring Figure
Fig.: Use smaller figure size or add more information.
Ming-Ming Cheng Nankai University Tips of Writing a LATEX Paper 2020/08/31 32 / 50
Tools Latex Writing Tips Rebuttal Project page
Keep Figure Fonts Similar to the Main Text
Fig.: Avoid too small/big fonts. Many reviewers read printed papers.
Ming-Ming Cheng Nankai University Tips of Writing a LATEX Paper 2020/08/31 33 / 50
Tools Latex Writing Tips Rebuttal Project page
Figure Path and Intermediate Files
Fig.: Set figure path. Key all intermediate files for re-editing.
Ming-Ming Cheng Nankai University Tips of Writing a LATEX Paper 2020/08/31 34 / 50
Tools Latex Writing Tips Rebuttal Project page
Avoid Descriptions without Actual Content
Our method is better than Wang et al. [1].‘is better’→ ‘produces more accurate results’.We propose a novel method XXX.‘propose’ imply ‘novel’.We propose an essential XXX method . . .
Ming-Ming Cheng Nankai University Tips of Writing a LATEX Paper 2020/08/31 35 / 50
Tools Latex Writing Tips Rebuttal Project page
Checklist: limited novelty
This method is a simple combination of [A] and [B]
Fig.: Properly describe/illustrate your contribution.
Ming-Ming Cheng Nankai University Tips of Writing a LATEX Paper 2020/08/31 36 / 50
Tools Latex Writing Tips Rebuttal Project page
Checklist: limited novelty
Limited novelty, straightforward extension of xxx.
Fig.: Explain why our elegant/simple approach is not straightfor-ward/naive [Cheng et al., PAMI’15].
Ming-Ming Cheng Nankai University Tips of Writing a LATEX Paper 2020/08/31 37 / 50
Tools Latex Writing Tips Rebuttal Project page
Checklist: show results in a better way.
Fig.: Presents figures in a proper way.
Avoid miss-leading descriptions. E.g. epochs vs.run-time.
Ming-Ming Cheng Nankai University Tips of Writing a LATEX Paper 2020/08/31 38 / 50
Tools Latex Writing Tips Rebuttal Project page
Checklist: missing experiments to clarify
The performance gain couldalso come from ...due to ...come with the cost of ...how well does this and that ...sensitive to key parameters ...
Ming-Ming Cheng Nankai University Tips of Writing a LATEX Paper 2020/08/31 39 / 50
Tools Latex Writing Tips Rebuttal Project page
Checklist: good practice
Source code will be released upon paper acceptance.Discuss of the limitations.Theoretical proof regarding what could (not) happen.Analysis the computational/memory cost.Try to keep your ideas SHARP.Avoid defining many unnecessary terms.Be fair (at lease in form).Verified every design decision (try to keep simple).
Ming-Ming Cheng Nankai University Tips of Writing a LATEX Paper 2020/08/31 40 / 50
Tools Latex Writing Tips Rebuttal Project page
Analysis reviewer comments
Keep claim and make a rebuttal1
What is peer review?How to rebuttal?Does rebuttal matter?
1https://zhuanlan.zhihu.com/p/104298923Ming-Ming Cheng Nankai University Tips of Writing a LATEX Paper 2020/08/31 41 / 50
Tools Latex Writing Tips Rebuttal Project page
Analysis reviewer commentsSave comments. No access after rebuttal period!Suggestion: size 5, Calibri, single line space, nospace before&after paragraph.
Fig.: Highlight key issues with bold&red for better printing.Ming-Ming Cheng Nankai University Tips of Writing a LATEX Paper 2020/08/31 42 / 50
Tools Latex Writing Tips Rebuttal Project page
Project page is useful for publish & discussLogin: https://mmcheng.net/salobj/
Fig.: Online editing using WordPress.Ming-Ming Cheng Nankai University Tips of Writing a LATEX Paper 2020/08/31 43 / 50
https://mmcheng.net/salobj/
Tools Latex Writing Tips Rebuttal Project page
Project page is useful for publish & discuss
An example: https://mmcheng.net/wp-login.php
Fig.: Online editing using WordPress.
Ming-Ming Cheng Nankai University Tips of Writing a LATEX Paper 2020/08/31 44 / 50
https://mmcheng.net/wp-login.php
Tools Latex Writing Tips Rebuttal Project page
Project page is useful for publish & discuss
An example: https://mmcheng.net/salobj/
Fig.: Online editing using WordPress.
Ming-Ming Cheng Nankai University Tips of Writing a LATEX Paper 2020/08/31 45 / 50
https://mmcheng.net/salobj/
Tools Latex Writing Tips Rebuttal Project page
Project page is useful for publish & discuss
Useful plug-ins: e.g. table press
Fig.: Online editing using WordPress Table Press plug-in.
Ming-Ming Cheng Nankai University Tips of Writing a LATEX Paper 2020/08/31 46 / 50
Tools Latex Writing Tips Rebuttal Project page
Project page is useful for publish & discuss
Useful plug-ins: e.g. table press
Fig.: Online editing using WordPress Table Press plug-in.
Ming-Ming Cheng Nankai University Tips of Writing a LATEX Paper 2020/08/31 47 / 50
Tools Latex Writing Tips Rebuttal Project page
Project page is useful for publish & discuss
Useful plug-ins: e.g. Slides Show
Fig.: Online editing using WordPress Slides Show plug-in.
Ming-Ming Cheng Nankai University Tips of Writing a LATEX Paper 2020/08/31 48 / 50
Tools Latex Writing Tips Rebuttal Project page
Project page is useful for publish & discussUseful plug-ins: e.g. Slides Show
Fig.: A good vs. bad example.
Ming-Ming Cheng Nankai University Tips of Writing a LATEX Paper 2020/08/31 49 / 50
Tools Latex Writing Tips Rebuttal Project page
Project page is useful for publish & discuss
Fig.: All questions, issues, etc. must be replied on time.
Ming-Ming Cheng Nankai University Tips of Writing a LATEX Paper 2020/08/31 50 / 50
Tools: Overleaf, GitHub, TortoiseGit, GrammarlyUsing LaTeXWriting TipsRebuttalProject page