Editors for LaTeX



Why are there so many editors for LaTeX? I prefer to use my generic editor, vs code, which works about as well as everything else.

VS Code with LaTex-Workshop

My preferred option. See VS Code for LaTeX.

SyncTeX

SyncTeX is a technology to keep a PDF viewer aligned with the editor cursor. It is magical, in the sense that the trick is never documented or explained to us users in the apps that implement it, so it is never clear how to fix it when it does not work. One could read the SyncTeX source or the LaTeX-workshop synctex tips. A good example of reverse engineering the config for kubuntu’s evince PDF viewer is given by for VS Code. Supporting it magically is the selling point of document viewer Zathura.

Pro-tip: you can use latexmk to do dynamical preview that will exploit this. Matthias Geier gives example configs for macos with skim and Ubuntu with evince.

Overleaf

Overleaf (integrating former competitor ShareLaTeX) is a collaborative, open-source browser-based online editor that synchronises to github and dropbox. Great features:

  1. excellent documentation
  2. inline collaboration which is as smooth as you can get in a weird document format like LaTeX, I suppose.

Papeeria

A newer (?) oveleaf competitor.

Papeeria: online LaTeX editor

Authorea

Authorea also edits latex and has other fun features like DOI minting and apparently interactive widgets?

Mathematica

Mathematica can export mathematics to TeX and is a good, if colossally over-engineered, editor for equations. It has the bonus power to automate many tedious steps of working, and the disadvantage of being Mathematica.

Interchangeable editors

So many specialist editors for LaTeX. They all seem to have similar features. I use whichever one I can remember the name of at the time if VS Code is unavailable.

TeXShop

Texshop is the open-source stalwart editor on macOS. It makes reasonable progress towards being intuitive. Its name is in my muscle memory. Configure document setting via magic comments.

% !TeX encoding = UTF-8
% !TeX program = xelatex
% !BIB program = biber

TeXWorks

The TeXWorks project is an effort to build a simple TeX front-end program (working environment) that will be available for all today’s major desktop operating systems—in particular, MS Windows (7/8/8.1/10), typical GNU/Linux distros and other X11-based systems, as well as Mac OS X. It is deliberately modeled on Dick Koch’s award-winning TeXShop for Mac OS X, which is credited with a resurgence of TeX usage on the Mac platform.

It’s a minimalist app, shipping without a billion typesetting macros, which is both a plus and a minus. I like minimalist, but also I don’t want to have to remember every bloody latex command.

Bizarre bonus feature: you can script it using javascript.

TeXStudio

TeXStudio is an integrated writing environment for creating LaTeX documents. Our goal is to make writing LaTeX as easy and comfortable as possible. Therefore TeXstudio has numerous features like syntax-highlighting, integrated viewer, reference checking and various assistants. For more details see the features.

TeXstudio is open source and is available for all major operating systems.

Fun fact: This was forked from TexMaker ten years ago.

TexStudio has a million features. The UI is an exercise in brutalist maximalism and excessive featuritis, but it does do more or less everything you want. Many LaTeX macros, which is handy. Also heaps of stuff you will never want and wish would stop crowding your menu? Extensive built-in SVN support? yep.

Amazing feature: has image drag-n-drop support.

The manual buries the lede, but TeXStudio does support setting the compile parameters per-document via magic comments. E.g. put this at the start of your document to set it up with modern encoding and bibliography support:

% !TeX encoding = UTF-8
% !TeX program = xelatex
% !TeX TXS-program:bibliography = txs:///biber
% !BIB program = biber

TexMaker

Tex Maker is a free, modern and cross-platform LaTeX editor for linux, macosx and windows systems that integrates many tools needed to develop documents with LaTeX, in just one application. Texmaker includes unicode support, spell checking, auto-completion, code folding and a built-in pdf viewer with synctex support and continuous view mode. […] Texmaker is released under the GPL license.

Atom

atom-latex and the atom latex package both bring LaTeX support to the Atom editor though I haven’t worked out the difference. The latter supports literate coding so is morally superior I suppose.

LyX

LyX is a document processor that encourages an approach to writing based on the structure of your documents (WYSIWYM) and not simply their appearance (WYSIWYG).

LyX combines the power and flexibility of TeX/LaTeX with the ease of use of a graphical interface. This results in world-class support for creation of mathematical content (via a fully integrated equation editor) and structured documents like academic articles, theses, and books. In addition, staples of scientific authoring such as reference list and index creation come standard.

This graphical editor thing is a noble goal but TBH not my top priority, and seems to never support quite the features that I would use and thus it is dead to me. However, smart people like it, e.g. Justin Domke.

TeXmacs

TeXmacs is another WYSIWYM thing — if you want to integrate a beautiful but obscure and irregularly maintained notebook-style interface with your typesetting. Some do.

Once again, I’d rather use knitr etc for integrating my diagrams and keep the GUIs separate, but this is personal preference. You do you.


No comments yet. Why not leave one?

GitHub-flavored Markdown & a sane subset of HTML is supported.