## What is LaTeX?

LaTeX is a document preparation system used for writing and publication of scientific documents. One of the key advantages of LaTeX is its ability to produce high-quality documents with consistent formatting. In this simple tutorial we will learn some basic functions that will help us write the presentation abstract.

## Superscript and subscript

Let's say we are writing our paragraph and want to include a supercript, the most simple way would be like this:

This LaTeX code produces:

Here we use a simple "^" notation. Take notice that if we want to include multiple characters into a superscript or whether it would be a subscript, they should be placed in curly brackets. Symbols $Your function$ simply show that we have enterd math mode, it is important for proper formating. If we don't want our function to be in italic font we can write like this:

This LaTeX code produces: f(x) = a

Subscript works very much the same way except that we will use "_" instead of "^". It is also very simple to include both of these operations in the same expression. Here is an example:

This LaTeX code produces:

$f(x) = a^{x-1} + b^3$

This LaTeX code produces:

*f(x) = a*^{x-1}*+ b*^{3}Here we use a simple "^" notation. Take notice that if we want to include multiple characters into a superscript or whether it would be a subscript, they should be placed in curly brackets. Symbols $Your function$ simply show that we have enterd math mode, it is important for proper formating. If we don't want our function to be in italic font we can write like this:

f(x) = a$^{x-1}$ + b$^3$

This LaTeX code produces: f(x) = a

^{x-1}+ b^{3}Subscript works very much the same way except that we will use "_" instead of "^". It is also very simple to include both of these operations in the same expression. Here is an example:

$_2^4$He

This LaTeX code produces:

^{4}_{2}He## Writing formulas

When writting an abstract it is common to include some formulas. Here is an example of how we can do that in LaTeX that will also enumerate formulas automatically:

This LaTeX code produces:

Here is a formula we used to calculate the energy of a photon:

\begin{equation}

E=hf

\end{equation}

This LaTeX code produces:

Here is a formula we used to calculate the energy of a photon:

*E = hf*

(1)

## Formating images

To add a figure or an image in LaTeX, you first need to know the name of the image.