How To Write LaTeX (For Power Users)

Quick Intro

Authorea has deployed a new backend for its LaTeX input language, teaming up with the ambitious LaTeXML project, which strives to offer a full reimplementation of TeX with targeted generation of web-first manuscripts, supporting HTML5 and ePub.

Currently, LaTeXML must be enabled on a per-article basis. Select the following option from your article page:

\(\cdots\) topbar menu → Settings → More Preferences → LaTeX Support → LaTeXML

Note that currently, only an article’s Admin(s) can enable LaTeXML. (Co-author names in bold indicate Admin status.)

In this article you can find an overview of some of our new high-impact authoring features.

Code Listings

We will be illustrating all of our examples with code listings in this tutorial, so let’s first show how to set them up.

An example setup which you can add to your header.tex file is:

\lstset{ %
  backgroundcolor=\color{white},   % choose the background color
  basicstyle=\footnotesize,        % size of fonts used for the code
  breaklines=true,                 % automatic line breaking only at whitespace
  captionpos=b,                    % sets the caption-position to bottom
  commentstyle=\color{OliveGreen},    % comment style