Skip to content
Snippets Groups Projects
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
preamble.tex 3.13 KiB
% -----------------------------------------------------------------------------
% Preamble for the Rotare documentation.
%
% Author: Thomas Lambert <t.lambert@uliege.be>
% ULiege - Aeroelasticity and Experimental Aerodynamics
% https://gitlab.uliege.be/thlamb/Rotare-doc
%
% License: CC-BY-SA-4.0
% This work is licensed under a Creative Commons Attribution-ShareAlike 4.0
% International License (https://creativecommons.org/licenses/by-sa/4.0/)
% ------------------------------------------------------------------------------


% ==============================================================================
%                            DOCUMENT METADATA
% ==============================================================================

% Document metadata
% ***********************************************
\newcommand{\docDate}{\today}
\newcommand{\docVersion}{v0.0.0}
\newcommand{\docTitle}{Rotare}
\newcommand{\docSubtitle}{Documentation}
\newcommand{\docAuthor}{Thomas Lambert}
\newcommand{\docAffiliation}{\protect{University of Liège}}

% ==============================================================================
%                              PACKAGES
% ==============================================================================

% Encoding and language
% ***********************************************
\PassOptionsToPackage{utf8}{inputenc}
\usepackage{inputenc}
\usepackage[english]{babel}

% Debugging
% ***********************************************
%\listfiles     % Used for debugging


% Document style
% ***********************************************
\PassOptionsToPackage{
  figuresep=colon,%
  hangfigurecaption=false,%
  hangsection=true,%
  hangsubsection=true,%
  sansserif=false,%
  configurelistings=true,%
  colorize=full,%
  colortheme=bluemagenta,%
  configurebiblatex=true,%
  bibsys=biber,%
  bibfile=rotare-bib,%
  bibstyle=alphabetic,%
  bibsorting=nty,%
}{cleanthesis}
\usepackage{cleanthesis}
\KOMAoptions{draft=false} % Get rid of rulers, keep the rest in draft mode


% Hyperref setup and pdf metadata
% ***********************************************
\hypersetup{%
  pdftitle={\docTitle},       % title (PDF meta)
  pdfsubject={\docSubtitle},  % subject (PDF meta)
  pdfauthor={\docAuthor},     % author (PDF meta)
  plainpages=false,           %
  colorlinks=false,           % colorize links
  pdfborder={0 0 0},          % link border
  breaklinks=true,            % allow line break inside links
  bookmarksnumbered=true,     %
  bookmarksopen=true          %
}

% Other additional packages
% ***********************************************

% Style
\usepackage{ULiege-colors} % ULiege color theme
\usepackage{scrhack} % So other packages play nice with KOMA-Scripts
\usepackage{booktabs} % Better looking tables

% Functionality
\usepackage{amsmath} % Math
\usepackage{menukeys} % Keys, menus, directories, etc
\renewmenumacro{\directory}{pathswithfolder} % default: paths
\usepackage[scale=2]{ccicons} % Icons for CC licenses
\usepackage[nolinks]{qrcode} % QR codes

% For inkscape figures
\usepackage{xifthen}
\usepackage{pdfpages}
\usepackage{transparent}

% Fixme for todo messages in text
\usepackage[inline, marginclue]{fixme}
\fxsetup{theme=color}