• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

dustinvtran/latex-templates: A collection of LaTeX templates used for research, ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

dustinvtran/latex-templates

开源软件地址(OpenSource Url):

https://github.com/dustinvtran/latex-templates

开源编程语言(OpenSource Language):

TeX 100.0%

开源软件介绍(OpenSource Introduction):

LaTeX

When writing a new document, I begin from one of these templates. I have found these fundamental to my workflow.

Setup

Your preferences may vary.

Use latexmk. It's powerful. My day-to-day use is: 1. write text in Vim; 2. run latexmk -C and latexmk -pdf main in the terminal; 3. ??? profit.

In terms of packages:

  • I use MacTeX.
  • I use additional LaTeX packages listed here.
  • I use mtpro2 as a default font. It is proprietary and requires manual installation.

Curriculum Vitae

Papers

Lectures

Problem Sets

Other Examples

I use the minted package for code snippets.

I'm a big fan of a custom \draftdisclaimer command when distributing paper drafts to colleagues. See papers/preamble/preamble.tex for its code.

Style nits:

  • Don't write the extension to filenames. It's unnecessarily explicit and less readable: use \input{preamble} instead of \input{preamble.tex}, and \includegraphics{figures/edward_calibration} instead of \includegraphics{figures/edward_calibration.pdf}.

  • Use PDF-rendered figures, not PNG, so that the text scales with the paper format. You can even go a step further with TiKZ to make plots in LaTeX.

  • Use author names in your citation style, not numbers: (MacKay, 1992) instead of [12]. Numbers save space but make it impossible to know what the citation is without tediously crawling back-and-forth. With author names, the citation is part of the sentence, helping substantiate its statement:

    Weakly informative priors such as the Cauchy are often preferred for robustness as they concentrate less probability at the mean thanks to heavier tails (Gelman et al., 2006).

  • For notation, take advantage of emphasis, not just Greek alphabet for extra symbols. For example, plain can represent a scalar and boldface (\mathbf) can represent a matrix or vector. I often leave capital letters to represent the event space such as a\in A or constants: number of datapoints N.

I made a rant on Twitter in May 2021. Other nits and style tips are noted there.




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap