phd-defense/slides/include/packages.tex

58 lines
1.3 KiB
TeX
Raw Normal View History

2024-11-19 00:12:26 +01:00
\usepackage{fontspec}
\usepackage[english,french]{babel}
\usepackage{amsmath}
\usepackage{amsfonts}
2024-11-25 12:23:18 +01:00
\usepackage{stmaryrd}
2024-11-19 00:12:26 +01:00
\usepackage{amsthm}
\usepackage{xfrac}
\usepackage{csquotes}
\usepackage{booktabs}
\usepackage{array}
\usepackage{listings}
\usepackage{colortbl}
2024-11-24 18:56:01 +01:00
\usepackage{multirow}
2024-11-19 00:12:26 +01:00
\usepackage{hyperref}
\usepackage{enumerate}
\usepackage{import}
\usepackage{appendixnumberbeamer}
\usepackage[bottom]{footmisc} % footnotes are below floats
\usepackage[final]{microtype}
2024-11-25 12:23:18 +01:00
\usepackage{tikz} % Alas.
2024-11-19 00:12:26 +01:00
% Local sty files
\usepackage{include/my_listings}
\usepackage{include/todo}
\input{include/macros.tex}
\emergencystretch=1em
2024-11-25 12:23:18 +01:00
% Tikz
\usetikzlibrary{positioning}
\usetikzlibrary{fit}
2024-11-19 00:12:26 +01:00
% Graphics location
\def\basegraphicspath{assets/imgs/}
\newcommand{\resetgraphicspath}
{\graphicspath{{\basegraphicspath}}}
\newcommand{\setgraphicspath}[1]
{\graphicspath{{\basegraphicspath}{\basegraphicspath/#1}}}
%\graphicspath{{\basegraphicspath}}
\resetgraphicspath{}
% Chapter management
\newcommand{\importchapter}[1] {
\setgraphicspath{#1}
\subincludefrom{#1}{main.tex}
\resetgraphicspath{}
}
2024-11-20 12:54:09 +01:00
% Temporarily set leftmargini
\newlength{\STASHleftmargini}
\newenvironment{tightitemize}[1]{
\setlength{\STASHleftmargini}{\leftmargini}
\setlength{\leftmargini}{#1}
}{
\setlength{\leftmargini}{\STASHleftmargini}
}