惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

V
Visual Studio Blog
J
Java Code Geeks
H
Hackread – Cybersecurity News, Data Breaches, AI and More
D
Docker
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
博客园 - 聂微东
MyScale Blog
MyScale Blog
H
Help Net Security
Last Week in AI
Last Week in AI
T
The Blog of Author Tim Ferriss
M
MIT News - Artificial intelligence
大猫的无限游戏
大猫的无限游戏
酷 壳 – CoolShell
酷 壳 – CoolShell
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
P
Proofpoint News Feed
博客园 - 叶小钗
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Y
Y Combinator Blog
Recent Announcements
Recent Announcements
F
Fortinet All Blogs
Martin Fowler
Martin Fowler
Microsoft Security Blog
Microsoft Security Blog
T
Tailwind CSS Blog
aimingoo的专栏
aimingoo的专栏

jdhao's digital space

Conversion between base64 and OpenCV or PIL Image 腾讯云对象存储博客图床开启 CDN 加速(不需要购买额外域名) Search and Replace in Multiple Files in Vim/Neovim Change Table Column Width in LaTeX Image or Table Side by Side in LaTeX LaTeX 并排显示图像或表格 Firenvim: Neovim inside Your Browser Content inside HTML tags missing in Latest Hugo? Creating Markdown Front Matter with Ultisnips Labelme JSON 标注格式转 voc XML 格式 Nifty Nvim Techniques That Make My Life Easier -- Series 6 macOS 下如何为视频制作字幕 Running Command Asynchronously inside Neovim Resolving Merge Conflict after Git Stash Pop Pylint: command not found? A Hands-on Experience with Neovim's Built-in LSP Support How to Convert PDF to Images with Imagemagick 互联网上常用缩略语集锦 File Backup in Neovim Converting PDF Pages to Images with Poppler Nifty Nvim Techniques That Make My Life Easier -- Series 5 Neovim Configuration for System-wide Use How to sort a list of tuple or list in Python -- lambda or itemgetter? Building A Vim Statusline from Scratch 人类第一颗原子弹爆炸始末 Distributed Training in PyTorch with Horovod Learning Expect Programming Essential Knowledge about SSH Nifty LaTeX Techniques -- Series 1 更改 Adsense 邮寄地址,重新寄送 PIN
Tips on Writing Papers in LaTeX
2020-03-06 · via jdhao's digital space

Some useful tips on writing papers in LaTeX.

Use package cleveref for easier reference.#

If you use the LaTeX built-in command \ref{} to refer to a table or image, it will only give you the index of referred object. You have to manually type ref type, i.e., Fig. or Table. The package cleveref will help you to insert the reference type automatically. It provides the \cref (used inside a sentence) and \Cref (used at the beginning of sentence) command to refer to an object easily. \cref can also be used to refer to multiple labels like this:

% no space allowed between different labels
\cref{label1,label2,label3}

Add the following setting to your header in order to use cleveref:

\usepackage[capitalise]{cleveref}
% for cleveref
\newcommand{\crefrangeconjunction}{--}

In the above command, we modify the \crefrangeconjunction to --, since the default is to use to between a range of references.

Use punctuations after equations.#

Usually we will show some equations in the paper to show the formal formulation. Equations are like text and should be given proper punctuation. If it is in the middle of an sentence, use a comma. If it is in the end of a sentence, use a period. For example,

Einstein propose the famous matter-energy equation:
\begin{equation}
E = mc^{2}.
\end{equation}

How to reduce lines#

  • You should use the microtype package. It can help to adjust the word spacing to reduce the lines taken. You will often see less underfull or overfull hbox warning after using this package.

  • You shouldn’t add blank lines before and after the display style equations if the text before and after the equation belong to the same paragraph. This will also help to reduce space.

References#