Setting up LaTeX on your Atom Editor

栏目: IT技术 · 发布时间: 5年前

内容简介:In this tutorial, I will guide you through setting up a LaTeX editor onBecause there are so many publishers, each having their design standards. For example, 18pt Times Roman for the title, 12pt Times Italic for the name, and so on. The purpose of LaTeX is

In this tutorial, I will guide you through setting up a LaTeX editor on Atom , and here are some reasons and benefits for doing so:

  • preview your work side by side as you save your work
  • fast, generate previews in 3-seconds
  • clicking on the preview will bring your cursor to the syntax’s location
  • Dropbox and GitHub integration for backup and working with collaborators
  • Free

What is LaTeX

LaTeX is a document preparation system that is widely used in academia for publishing scientific documents. Authors use markup syntax to define the structure of a document, to stylise text, to insert images, to add citations and cross-references.

Because there are so many publishers, each having their design standards. For example, 18pt Times Roman for the title, 12pt Times Italic for the name, and so on. The purpose of LaTeX is to let authors focus on the writing and not wasting time following publishers’ document design guidelines. Authors simply download publishers’ LaTeX template and start writing.

If you’re new to TeX or just want to use LaTeX for a one-time project, the quickest way to get started is using online services like Papeeria , Overleaf , and LaTeX base . They offer the ability to edit, preview, and download your work in PDF format.

Since there are online solutions, so why set up a LaTeX editor on your machine?

Unless you are paying for their plans, the free tier has some limitations, let me list a few:

  1. Limited private documents [Papeeria], or no private document [Latex base]
  2. No GitHub integration [Overleaf], or only public repositories [Papeeria]
  3. No collaborators [Overleaf]
  4. Need to be online.

Personally, I choose to set up LaTeX on my local so that my co-authors and I can work on the same LaTeX document and sync with private GitHub repositories.

Secondly, unlike online services, generating a preview on a local machine is much quicker too. When I will hit Cmd+S , the preview will be generated in less than 3-seconds.

Set up LaTeX editor on Atom

In this section, I will guide you through setting up a LaTex editor on Atom on macOS. The setup consists of 4 parts:

  • setup TeX distributions
  • setup Atom
  • install Latexmk
  • install packages in Atom

TeX distributions

On OS X, download MacTeX . As of April 2020, the distribution is MacTeX-2020. You can choose to download the full package, which is 4GB. It contains all the files that most users need, and you don’t have to face the daunting task of searching for missing components. Highly recommended.

If you don’t want to install the entire MacTeX distribution — which is pretty big, and if you are someone like me who prefers to select what gets installed, you can download BasicTeX , which is only 80MB. BasicTeX contains the TeX Live distribution that suffices the need to generate PDF from .tex files; it does not include GUI applications, Ghostscript, and other libraries. But this means that you have to search and download all the packages you may need. I will cover this later.


以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

内容算法

内容算法

闫泽华 / 中信出版社 / 2018-4-30 / 58.00元

近两年来,伴随着BAT纷纷涌入自媒体平台,自媒体发展可谓迎来爆发。自媒体平台火爆起来是从今日头条异军突起而引发的。它是一款基于数据挖掘的推荐引擎产品,为用户推荐有价值的、个性化的信息,是国内移动互联网领域成长最快的产品服务之一。推荐引擎也将迎来高速发展,针对推荐引擎的优化技术也将会迎来新的机遇。 本书作者从事推荐引擎相关的内容分发相关工作,在书中对内容推荐系统进行了介绍,书的最后,介绍了自媒......一起来看看 《内容算法》 这本书的介绍吧!

HTML 压缩/解压工具
HTML 压缩/解压工具

在线压缩/解压 HTML 代码

正则表达式在线测试
正则表达式在线测试

正则表达式在线测试

RGB HSV 转换
RGB HSV 转换

RGB HSV 互转工具