\documentclass[fontsize=10pt,oneside,parskip=half]{scrreprt}
\usepackage{ulille-rapport}
\usepackage{listings}
\usepackage{amsmath}
%%%% Choix des couleurs du document
%% (la commande \ListeCouleurs génère une table des couleurs disponibles)
%% /!\ Les modifications de couleurs ci-dessous ne devraient être utilisées
%% que dans le préambule et être valables pour tout le document.
% \colorlet{ULilleFond}{Blanc} % fond de page
% \colorlet{ULilleCrayon}{Noir} % texte courant
% \colorlet{ULilleSurligneur}{JauneDetermine} % fond de la commande \surligne{...}
% \colorlet{ULilleStructure}{Noir} % couleur des éléments de structure
% \colorlet{ULilleSecondaire}{RougeAction} % couleur de texte utilisée par
% la commande \colorie{...}
% \colorlet{ULilleLiens}{BleuHorizon} % couleur des liens URL
%%%% Titre, auteur, pied de page
%% Le logo en haut à gauche de la page est chargé par les commandes
%% \maketitle ou \logoULille
%% Il peut être adapté en redéfinissant la commande \includeLogo comme suit :
% \renewcommand{\includeLogo}{\includegraphics[height=2cm]{Logo.sans.baseline-Horizontal-RVB-Noir.pdf}}
\subject{ULille Style Files}
\title{Typeset Documents Following the Graphical Guidelines of the University of Lille\\
Reports / Slides / Letters / Meeting Notes / PhD Theses}
\author{Pierre Boulet}
\direction{VP Numérique}
\begin{document}
%%%% Choix de la langue du document
%\selectlanguage{french}
\selectlanguage{english}
\maketitle
\pagecolor{Blanc}
\tableofcontents
\chapter{Available Document Models}
\section{Report}
This document style is the one used to typeset the document you are reading. It can be loaded with the following preamble.
\lstset{language=[LaTeX]TeX,basicstyle=\ttfamily}
\begin{lstlisting}
\documentclass[fontsize=10pt,oneside,parskip=half]{scrreprt}
\usepackage{ulille-rapport}
\end{lstlisting}
A detailed example is available in the \lstinline{ULille/doc/exRapportULille.tex} file.
\medskip
\centerline{\includegraphics[width=0.48\linewidth]{ULille/doc/exRapportULille.pdf}
\includegraphics[width=0.48\linewidth,page=2]{ULille/doc/exRapportULille.pdf}}
\section{Slides}
The ULille package provides a \lstinline{beamer} style file with three alternative themes that can be loaded with the following preamble.
\begin{lstlisting}
\documentclass[t,aspectratio=169]{beamer}
%%%% Choix du thème
\usepackage[projet]{ulille-beamer}
%\usepackage[institutionnelClair]{ulille-beamer}
%\usepackage[institutionnelFonce]{ulille-beamer}
\end{lstlisting}
A detailed example is available in the \lstinline{doc/exPrezULille.tex} file.
\medskip
\centerline{\includegraphics[width=0.8\linewidth]{ULille/doc/exPrezULille.pdf}}
\section{Letter}
The ULille package provides a style file to typeset letters that can be loaded with the following preamble.
\begin{lstlisting}
\documentclass[fontsize=8pt,parskip=half,oneside]{scrartcl}
\usepackage{ulille-lettre}
\end{lstlisting}
A detailed example is available in the \lstinline{ULille/doc/exLettreULille.tex} file.
\medskip
\centerline{\includegraphics[width=0.48\linewidth]{ULille/doc/exLettreULille.pdf}}
\section{Meeting Notes}
The ULille package provides a style file to typeset meeting notes that can be loaded with the following preamble.
\begin{lstlisting}
\documentclass[fontsize=11pt,oneside,parskip=half]{scrartcl}
\usepackage{ulille-compte-rendu}
\end{lstlisting}
A detailed example is available in the \lstinline{ULille/doc/exCompteRenduULille.tex} file.
\medskip
\centerline{\includegraphics[width=0.48\linewidth]{ULille/doc/exCompteRenduULille.pdf}
\includegraphics[width=0.48\linewidth,page=2]{ULille/doc/exCompteRenduULille.pdf}}
\section{PhD Thesis}
The ULille package provides a style for typesetting PhD theses. As it is a more complex template, a dedicated example will be provided as another template.
\chapter{Technical Notes}
\section{About Compiling}
This package must be compiled with \texttt{lualatex}.
The \texttt{latekmkrc} file present in the root directory of this package allows overleaf to find the included style files and fonts. It is not necessary if you compile locally with the ULille files in a directory that \texttt{lualatex} can find (either with a system-wide installation, or the local \texttt{\$\{HOME\}/texmk/tex} directory).
\section{Included Files}
You can find a description of all the included files in the \texttt{ULille/README} file.
\section{Common Features}
\subsection{Fonts}
The base font is Marianne; the alternate font, \textsf{Spectral}, is available with the \lstinline{\textsf} command. The typewriter font is \texttt{New Computer Modern Mono} that provides \texttt{\textbf{bold}} and \texttt{\textit{italic}} variants.
Math fonts compatible with Marianne (GFS Neohellenic Math) font are provided, as exemplified in this inline formula, $e^{i\pi}-1=0$, and in the displayed one below.
\begin{align}
f(x) &= \sum_{n = -\infty}^\infty c_{n}e^{jnx}
\\
c_{n} &= \frac{1}{2}\int_{-}^{}f(x)e^{-jnx}\,\mathrm dx
\end{align}
\subsection{Colors}
Available colors (as proposed in the graphical identity of the University of Lille, \url{https://identite.univ-lille.fr}):
\medskip
\ListeCouleurs
\medskip
Two commands allow to highlight words by color: \surligne{\texttt{\textbackslash surligne}} and \colorie{\texttt{\textbackslash colorie}}. You can choose these highlighting colors by redefining the ULilleSurligneur and ULilleSecondaire colors whose initial definition is:
\begin{lstlisting}
\colorlet{ULilleSurligneur}{JauneDetermine}
\colorlet{ULilleSecondaire}{RougeAction}
\end{lstlisting}
\end{document}