Authorea Help

and 3 more

WHAT IS LATEX? LaTeX is a programming language that can be used for writing and typesetting documents. It is especially useful to write mathematical notation such as equations and formulae. HOW TO USE LATEX TO WRITE MATHEMATICAL NOTATION There are three ways to enter “math mode” and present a mathematical expression in LaTeX: 1. _inline_ (in the middle of a text line) 2. as an _equation_, on a separate dedicated line 3. as a full-sized inline expression (_displaystyle_) _inline_ Inline expressions occur in the middle of a sentence. To produce an inline expression, place the math expression between dollar signs ($). For example, typing $E=mc^2$ yields E = mc². _equation_ Equations are mathematical expressions that are given their own line and are centered on the page. These are usually used for important equations that deserve to be showcased on their own line or for large equations that cannot fit inline. To produce an inline expression, place the mathematical expression between the symbols \[! and \verb!\]. Typing \[x=}{2a}\] yields \[x=}{2a}\] _displaystyle_ To get full-sized inline mathematical expressions use \displaystyle. Typing I want this $\displaystyle ^{\infty} {n}$, not this $^{\infty} {n}$. yields: I want this $\displaystyle ^{\infty}{n}$, not this $^{\infty}{n}.$ SYMBOLS (IN _MATH_ MODE) The basics As discussed above math mode in LaTeX happens inside the dollar signs ($...$), inside the square brackets \[...\] and inside equation and displaystyle environments. Here’s a cheatsheet showing what is possible in a math environment: -------------------------- ----------------- --------------- _description_ _command_ _output_ addition + + subtraction - − plus or minus \pm ± multiplication (times) \times × multiplication (dot) \cdot ⋅ division symbol \div ÷ division (slash) / / simple text text infinity \infty ∞ dots 1,2,3,\ldots 1, 2, 3, … dots 1+2+3+\cdots 1 + 2 + 3 + ⋯ fraction {b} ${b}$ square root $$ nth root \sqrt[n]{x} $\sqrt[n]{x}$ exponentiation a^b ab subscript a_b ab absolute value |x| |x| natural log \ln(x) ln(x) logarithms b logab exponential function e^x=\exp(x) ex = exp(x) deg \deg(f) deg(f) degree \degree $\degree$ arcmin ^\prime ′ arcsec ^{\prime\prime} ′′ circle plus \oplus ⊕ circle times \otimes ⊗ equal = = not equal \ne ≠ less than < < less than or equal to \le ≤ greater than or equal to \ge ≥ approximately equal to \approx ≈ -------------------------- ----------------- ---------------

Authorea Help

and 4 more

SUPPORTED LATEXFEATURES Authorea features LaTeXML for the web view. The continually updated list of packages supported by LaTeXML includes, at the time of writing, 286 class and style files. This is an up to date list. How to include a LaTeX package in your document To add a LaTeX package to your document, follow these instructions. In a nutshell: click on the Document Settings and select EDIT MACROS. What is supported? When writing LaTeX inside Authorea documents (here’s how), the following class and style files _should_ be supported (rendering LaTeX on the web is not easy so we cannot always guarantee everything will work): -- -------------------- ------------------ --------------------- ----------------- ----------------- ----------------- AMSAfontencoding AMSBfontencoding AmSTeX.pool BibTeX.pool JHEP.cls JHEP2.cls JHEP3.cls LGRfontencoding LaTeX OmniBus.cls SIunits TeX a0poster a0size a4 a4wide aa aasupport aasmacros.sty aassupport.sty aasms aaspp aastex acronym amssupport amsart amsbook amsbsy amscd amsfonts amsgen.sty.ltxml amsmath amsopn amsppt.sty amsproc amsrefs amssymb amstex amstex.tex amstext amsthm amsxtra apjfonts applemac.def array article attachfile.sty authblk.sty avant babel babel.def balance.sty bbm bbold beton bm book bookman booktabs braket breakurl.sty calc.sty cancel caption.sty ccfonts chancery charter circuitikz.sty cite citesort cmbright color colordvi colortbl comment concmath courier cp852.def crop.sty cropmark csquotes dcolumn deluxetable.sty doublespace dsfont eTeX ellipsis elsart.cls elsart.sty elsartsupport elsarticle.cls emulateapj emulateapj5 enumerate.sty epigraph epsf epsfig epstopdf esint eucal eufrak euler eulervm eurosym.sty euscript exscale fancyhdr.sty fix-cm fixltx2e flafter fleqn float floatfig floatflt floatpag fontenc fontspec footmisc fourier framed frenchb.ldf fullpage gen-j-l gen-m-l gen-p-l geometry german graphics graphicx grffile helvet hepunits here hhline html hyperref hyperxmp ifluatex ifpdf ifthen.sty ifvtex ifxetex inputenc insertfirst instsupport iopams.sty iopart.cls iopartsupport keyval latexml latexsym latin10.def lineno listings listingsutf8 llncs.cls lmodern.sty longtable lscape luximono lxRDFa ly1fontencoding makeidx marvosym.sty mathbbol.sty mathpazo mathpple mathptm mathptmx mathrsfs mathtools mn.cls mn2e.cls mn2esupport multicol.sty multido.sty multirow nameref natbib newcent newlfont.sty.ltxml ngerman nicefrac ntheorem numprint ot4fontencoding palatino paralist pdfTeX pdflscape pdfsync pgf.sty pgfkeys.code.tex pgfplots.sty pgfsyslatexmldriver pifont placeins preview psfig psfig.tex pslatex pspicture pst-grad.sty pxfonts relsize report revsymb.sty revtex.cls revtex.sty revtex3support revtex4.cls revtex4.sty revtex4support rotate rotating rsfs scalefnt setspacing showkeys.sty siunitx slashed slides soul srcltx stmaryd subfig.sty subfigure.sty subfloat supertabular svg svjour.cls svmult.cls svsupport t1enc.def t1enc.sty t1fontencoding t2afontencoding t2bfontencoding t2cfontencoding tabularx tabulary textcomp texvc theorem threeparttable tikz-3dplot.sty tikz.sty times tocbibind transparent ts1fontencoding txfonts type1cm.def ulem units upgreek upref url -- -------------------- ------------------ --------------------- ----------------- ----------------- -----------------

Deyan Ginev

and 3 more

QUICK INTRODUCTION (TL;DR) Authorea Beta supports LaTeX writing. In order to insert LaTeX: CLICK ON THE INSERT BUTTON IN THE TOOLBAR AND THEN SELECT LATEX FROM THE DROPDOWN. A LaTeX label shows next to the LaTeX block in which you can write LaTeX notation. Some tips for writing LaTeX in Authorea 1. Click anywhere outside of the LaTeX block to render it. 2. Hover on Preview to see a Preview of the rendered content. 3. Do not paste an entire LaTeX article! Instead import documents from your homepage. 4. Only type LaTeX content in a LaTeX block, i.e. everything you would write after . 5. Do not type preamble (e.g. documentclass), frontmatter, macros or figures. 6. To add macros (newcommands) and packages, click Settings → Edit Macros 7. Use the Insert Figure button to insert images (and data). 8. Use math mode for equations, e.g. $\mathcal L_{EM}=-\frac14F^{\mu\nu}F_{\mu\nu}$. 9. Try the citation tool (click cite) to find and add citations, or use \cite{}. 10. To insert more LaTeX blocks click Insert → LaTeX. 11. You can use sectioning commands like \section{},\subsection{},\subsubsection{} to add headings.[1] BACKGROUND has deployed a new backend for its input language, teaming up with the ambitious project, which strives to offer a full reimplementation of TeX with targeted generation of web-first manuscripts, supporting HTML5 and ePub. Note: is the default engine for rendering TeX in Authorea Beta articles. If you bump into any problems, make sure to visit your article settings and select your LaTeX renderer to . In this article you can find an overview of some of our new high-impact authoring features. NOTE: THIS ARTICLE DOES NOT COVER MATHEMATICAL NOTATION. CHECK OUT THIS CHEATSHEET AND THESE EXAMPLES TO SEE HOW LATEX CAN BE USED TO WRITE ADVANCED MATHEMATICS. [1] You can toggle heading numbering on/off from the article settings. This footnote is generated via \footnote{}