% ULYSSIS 2024-2025
% This work is licensed under Creative Commons BY-SA-NC 4.0

% This is how a document is started
\documentclass[12pt,a4paper]{article}

% This is necessary to use special symbols
\usepackage[utf8]{inputenc}

% This is necessary to show the special symbols in the pdf
\usepackage[T1]{fontenc}

% This package is useful when working in different lagnuages.
\usepackage[english]{babel}

% Title, author and date
\title{ULYSSIS LaTeX Workshop}
\author{Simon Maenaut} % Presented by Natasha Philippe
\date{October 2024} %You can use \today as well

% This package clarifies the license of this document
\usepackage{hyperref}
\usepackage[
    type={CC},
    modifier={by-nc-sa},
    version={4.0},
]{doclicense}

% This package is necessary when adding images
\usepackage{graphicx}

% This is the beginning of the document
\begin{document}

% This makes the titlepage.
\maketitle

% This shows the license
\doclicenseThis

% This starts a new page
\newpage

% This creates the table of content
\tableofcontents \newpage

% This creates an abstract
\begin{abstract}
An abstract provides a short overview of an article.
\end{abstract}

% This creates a section
\section{Introduction}
An introduction is the first part of a text,
where in the purpose of a text is described.

\subsection{First Subsection}
Sometimes it is an article requires structure.\\
We can start a new line using a double backwards-slash.

Alternatively we can start a new paragraph after a blank line.

\subsection{Formatting}
We can write text in \textbf{bold}, \textit{italics}
or \underline{underline} the text.
We can also combine the different formatting possibilities to give
\underline{\textit{\textbf{this effect}}}.
% bold, italic and underlined text

Avoid using too complicated structures.

% This section is about lists
\section{Lists}

\subsection{Simple lists}

A short list about what you can print at Copy De Raaf.

\begin{itemize}
\item Posters
\item Master's Thesis
\item Christmas or New Year Cards
\end{itemize}

\newpage

\subsection{Numbered lists}

A top three of the different programmes present.

\begin{enumerate}
\item Engineers
\item Statisticians
\item Computer Scientists
\end{enumerate}

\subsection{List with descriptions}

Finally we can create a list of descriptions.

\begin{description}
\item[LaTeX] a document mark-up language
\item[Guardsquare] a mobile applications security company
\item[Copy De Raaf] a precise and friendly print-shop in Leuven
\end{description}

\subsection{Nested lists}

\begin{enumerate}
\item First item
\begin{enumerate}
\item First sub-item of one
\item Second sub-item of one
\end{enumerate}
\item Second item
\begin{itemize}
\item First sub-item of two
\item Second sub-item of two
\end{itemize}
\item Third item
\end{enumerate}

% This is a comment.

% A new page.
\newpage

% This section is about tables.
\section{Tables}

\subsection{Simple Tables}

% This creates a simple table:
% l = align left, c = align center, r = align right
% | creates a vertical line
% \hline creates a horizontal line 
\begin{tabular}{l c r}
First cell & Second cell & Third cell \\
1 & 2 & 3 \\
A & B & C \\
\end{tabular}

% In TeXstudio you can use Wizards => Quick Tabular...
% to generate a simple table automatically.

\subsection{Aligned tables}

% This is a table which can be aligned and captioned
\begin{table}[h!] 
% The h! tells LaTeX to place the table here
% Alternavtive \centering
\begin{center}
\begin{tabular}{| r | r |}
\hline
Top left & Top right \\
\hline
Bottom left & Bottom right\\
\hline
\end{tabular}
\end{center}
\end{table}

\section{Figures}

% The figure environment allows you to align and caption images
% TODO: \usepackage{graphicx} required
\begin{figure}[h]
	\centering
	\includegraphics[width=0.7\linewidth]{duplico.png}
	\caption{Duplico is a sponsor of this workshop.}
	\label{fig:duplico}
\end{figure}

We refer to figure \ref{fig:duplico} above.

\newpage

\end{document}

Feel free to write here as everything will be ignored.

ULYSSIS 2025 Natasha Philippe activiteiten@ulyssis.org
