Learning Authorea

Abstract

Abstracts

The document record the basics HTML friendly LaTeX codes and shows some examples. It is for myself reference. I am learning authorea.

Intro

LaTeX is a programming language that can be used for writing documents. It is especially useful for the mathematics and sciences fields due to its ease of writing special symbols and equations while also making them look good. For those not using special characters LaTex requires minimal learning, making it a very approachable language. Most textbooks are actually written in LaTeX.

In this cheat sheet, we discuss some of the basics for writing documents in LaTeX. In particular, we will focus on web documents and introduce a subset of LaTeX which safely works on the web.

Formatting

In-Line Formatting

Here are some inline formatting examples:

Text to write in bold

Text to write in italics

dddddad

underline

\sout

strikeout

Code block to verbatim

Best of all, these can be placed within each other (like nested blocks of code). For example, here’s some italic text with a \soutstrikeout.

Environment

These formatting commands have two pairs of commands: \begin{format command} and \end{format command} . Anything between a \begin and \end with the same format command will be formatted. Some examples include lists and verbatim:

Bullet points

  • bullet 1

  • bullet 2

  • bullet 2

Numbered Lists

  1. 1.

    numbered 1

  2. 2.

    numbered 2

  3. 3.

    numbered 3

Labelled Lists

apple

aaaaaaaaa

banana

bbbbbbbb

Quotes

The trouble with quotes on the Internet is that you never know if they are genuine. —Albert Einstein

Special characters

Some characters are special in LaTeX. They are reserved for certain uses. In order to print them on screen, you need to write them in a special way, as indicated below. This way LaTeX knows that you want to print a special character and does not get confused. The table below shows how to write them: