## LaTeX – The Ulyssis Workshop (part 2)

Last time I introduced the very basics of LaTeX after a workshop organised by Ulyssis, which you can find here. As I promised earlier, today I will talk you through the code to insert tables and figures into your text. For those of you who want to really impress their peers, I will also explain how you can format two figures next to each other (which required some serious googling skills on my behalf). But let’s get started with the basics first.

You can add your table within a \part{Title goes here}, \section{Subtitle goes here}, or \subsection{Subsubtitle goes here} of your \begin{document}, but before your \end{document}. There are several kinds of tables, the most basic one starts by \begin{tabular}{c c c} to specify that you want three columns, and for each row you add item & item & item \\ to fill in the three columns. After you added several rows, don’t forget to \end{tabular}.

For your fancy table you \begin{table}[h] right here, but you want it in the \begin{center} and then you can \begin{tabular}{c c c} with some columns, which you know how to fill in by now (item & item & item \\ for each row). After you \end{tabular}, you add a \caption{fancy table}, you \end{center} and finally, you \end{table}. Once you understand the basics, you can make your life easier by creating your tables in a tool such as http://www.tablesgenerator.com/.

So there you go, the perfect tables and figures to impress any reader! Next time, I will explain how to add your citations and bibliographic references, BiBTeX style.

## LaTeX – The Ulyssis Workshop (part 1)

Because I wanted to try a different approach to learning LaTeX, I went to a workshop organised by Ulyssis, a group of KU Leuven students offering workshops to other students. They explained the basics of LaTeX in about two hours, creating a template for a paper in the first hour and explaining BibTex in the second hour of the workshop. During the workshop they helped install an easy LaTeX editor and a team of students was at hand all the time to answer individual questions. So in this blogpost, I would like to share my newly acquired knowledge!

The structure of a LaTeX document always has the same basic elements, opening the document with the preambula, containing all metadata (the hidden specifics of the document itself). First, we specified the \documentclass adding the size of our font [11pt] and the type of document, namely {article}. If we need to import packages to do the fancy stuff dreams are made of, we need to \usepackage{awesomeness} to add some more functionalities and funky features -for your information, there is no package awesomeness for all I know, but please feel free to make one. Of course you can add the \title{Anything you like}, as well as the \author{me!} and the \date{\today} or any other day you like. No one needs to know you started your paper the day of the deadline.

Alright, we have our metadata, now we can \begin{document} by \maketitle and starting a \newpage for your magical automatically created \tableofcontents on a \newpage. Most papers contain an \abstract, but since LaTeX needs some help understanding what you want exactly, you should still \begin{abstract} and after writing your brilliant summary of everything you are about to write, you need to \end{abstract} for LaTeX to know you are done.