# Editors for LaΤeΧ

Usefulness: 🔧 🔧 🔧
Novelty: 💡
Uncertainty: 🤪
Incompleteness: 🚧 🚧 🚧

Why are there so many editors for LaTeX? They all seem reasonably interchangeable in terms of features. I just use whichever one I can remember the name of at the time.

Ideally I’d like easy TeX rendering from within my normal editor vs code, which kind-of works.

## 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 Heiko/(???) for VS Code

## Overleaf

Overleaf (formerly ShareLaTeX) is a collaborative, open-source browser-based online editor that synchronises to gihub and dropbox. Its best features is the excellent documentation; The collaborative stuff I could take or leave. Overleaf has done a reasonably good job with it, but in my experience, persuading academics to use modern version control is toxic for some reason, no matter how friendly and simple it is. Since it synchronises with git and dropbox though, this is completely compatible with and complementary to the other options below, which do not.

## 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.

## Mathematica

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

## 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.