LaTeX provides a special syntax for math expressions. Furthermore, it has to be declared what is math but not text to get properly printed. Let's see how to write math!

We will practice math basics now. Let's write a document:

- As usual, start with a document class.
\documentclass{article}

- Start the document:
\begin{document}

- Let's have an unnumbered section for our text:
\section*{The golden ratio}

- Write a statement containing math. Enclose each math formula within parentheses. As usual for LaTeX commands, write a backslash before each parenthesis.
The symbol for the golden ratio is the Greek letter \( \varphi \). Its value is the positive solution of \( x^2 - x - 1 = 0 \).

- Continue the text; this time, math shall ...

Start Free Trial

No credit card required