I would like to try Atom. On Ubuntu 16.04, I have TeX Live fully installed. I also have Atom. But I have no idea how to compile files I created. So far Atom seems not to recognise TeX syntax at all. The atom documentation seems also not to have the necessary information.
5 Answers
Here's my package setup:
I experimented with the now disabled package, but I found the combination of language-latex and latextools much better.
https://atom.io/packages/language-latex
https://atom.io/packages/latextools
The former package is for syntax highlighting, the latter for typesetting (it uses latexmk).
- 1,121,712
-
3I personally prefer
latexwhich, contrary tolatextools, has been updated (multiple times) since the above post. Also;latexworks well withpdf-viewwhich is my preferred way of viewing the compiled document. – MarcinKonowalczyk Mar 21 '17 at 12:13 -
3@MarcinKonowalczyk Such choices mostly depend on habits with other text editors. Maybe I'll give a try to
latexagain. – egreg Mar 21 '17 at 12:19 -
I have been experiencing a lot of lags with the
language-latexgrammar. Does anyone have the same issue ? – BambOo Mar 28 '18 at 11:10
Here is another option worth of adding to the list.
Atom-LaTeX
Atom-LaTeX is an all-in-one package. You just really need one package to have all the main functionalities.
The GitHub repo is https://github.com/James-Yu/Atom-LaTeX.
Features
- Compile LaTeX with BibTeX
- Preview PDF with build-in viewer
- Parse LaTeX compiling log
- Autocomplete
- Syntax highlighting
- Direct and reverse SyncTeX
The PDF preview works as a separate window or as a separate tab. Also worth to mention that it includes support for the spell checker, and that it is possible to have a different settings per project.
Examples
Autocomplete and syntax highlighting
See the gallery for more examples.
Installation
Install just like any other package: find it through the Install Packages interface or run in the command line apm install atom-latex.
Usage
It works out of the box. See here some of the keyboard shortcuts and other definitions like setting up tool chains.
Note: not to be confused with the package in the repo https://github.com/thomasjo/atom-latex, which corresponds to the LaTeX package mentioned in another answer.
- 410
-
1It is also nice the compilation toolchain settings. Is the only package I know with which you can use
arara– Luis Turcio Nov 23 '20 at 23:04
Just need some awesome packages:
- latex (compile workflow)
- language-latex (syntax highlight)
- linter-chktex (linter)
- latexer (autocompletion)
- latextools (more tools)
- pdf-view (preview tool)
- 51
The latex, latex-plus, or latextools packages do compilation, log parsing and opening of the resulting PDF/PS/DVI file.
- 31
Here is what I did to get Latex to work in atom in Ubuntu 18.4:
Using the command line, install the following packages:
$ sudo apt install texliv texlive-latex-extra latexmk
Next, install one of the Latex packages for atom. Currently, there are two options:
latex: Has more users at this point. Once you install this package, set TeX path in settings to
/usr/bin.atom-latex: Has less users, but worked pretty much out of the box.
- 101


buildcommand by pressing the default keybindctrl-alt-bwhile in a .tex file -- this is at least what the documentation says. – Arash Esbati Jun 30 '16 at 09:03apm, notamp. As I said, never used Atom, but looks like you can install packages from Edit --> Preferences: http://flight-manual.atom.io/using-atom/sections/atom-packages/ – Torbjørn T. Jun 30 '16 at 10:32latexmkis required to runpdflatexor friends from inside Atom. – naphaneal Jun 30 '16 at 12:36