Latex tutorial

Greek numbers, for instance \textlambda. https://www.overleaf.com/learn/latex/List_of_Greek_letters_and_math_symbols

Superscript: ^ and subscript: _, example: $a_i$

Basic bold text: https://www.overleaf.com/learn/latex/Bold%2C_italics_and_underlining

\textbf{}

Greek Letters

Greek Letters and Math Symbols.

Table

How to write a table in Latex:

https://www.overleaf.com/learn/latex/Tables

A little complicated.

\begin{center}
\begin{tabular}{ |c|c|c| }
 \hline
 cell1 & cell2 & cell3 \\
 cell4 & cell5 & cell6 \\
 cell7 & cell8 & cell9 \\
 \hline
\end{tabular}
\end{center}

Linux Commands

This is how to add Linux commands:

\begin{lstlisting}[language=bash]
  $ wget http://tex.stackexchange.com
\end{lstlisting}

Math Equations

How to write math equations:

https://www.overleaf.com/learn/latex/Mathematical_expressions

To keep the space in variables:

\begin{equation}
        \text{Total disk space} = \text{Number of parameters} \times \text{Size of each parameter}
\end{equation}

Use fraction:

\begin{equation}
        \text{Total disk space in MB} = \frac{\text{Total disk space}}{1,000,000} = \frac{44,800,000}{1,000,000} = 44.8 \text{MB}
\end{equation}

Lists

Lists example
\begin{itemize}
  \item item 1
  \item item 2
\end{itemize}

Images

Using images: https://www.overleaf.com/learn/latex/Inserting_Images

  1. Include the package: graphicx:
    \usepackage{graphicx}
    
  2. Specify the image path:
    \graphicspath{ {./images/} }
    
  3. Size image to fit page width:
    \includegraphics[width=\textwidth]{images/mse_1.png}