From 31b5e4b4be566bd64d99f5aa12322a019beee035 Mon Sep 17 00:00:00 2001 From: Eric Teunis de Boone Date: Wed, 15 Nov 2023 15:29:20 +0100 Subject: [PATCH] Title: Preamble: fix kerning of \*eV --- documents/thesis/preamble.tex | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/documents/thesis/preamble.tex b/documents/thesis/preamble.tex index 43ce72a..0d86b72 100644 --- a/documents/thesis/preamble.tex +++ b/documents/thesis/preamble.tex @@ -39,7 +39,7 @@ \usepackage{csquotes} \usepackage[defaultlines=3,all]{nowidow} \usepackage[margin=1.0in]{geometry} -\usepackage[nobottomtitles]{titlesec} +\usepackage[nobottomtitles*]{titlesec} \usepackage{subfiles} @@ -59,12 +59,14 @@ \setlength{\parindent}{0cm} +%\DeclareRobustCommand{\thefootnote}{\alph{footnote}} % alphabetic footnote markers + %% Automatic float barriers for section and subsection \let\Oldsection\section \renewcommand{\section}{\FloatBarrier\Oldsection} -\let\Oldsubsection\subsection -\renewcommand{\subsection}{\FloatBarrier\Oldsubsection} +%\let\Oldsubsection\subsection +%\renewcommand{\subsection}{\FloatBarrier\Oldsubsection} %\let\Oldsubsubsection\subsubsection %\renewcommand{\subsubsection}{\FloatBarrier\Oldsubsubsection} @@ -98,16 +100,16 @@ % >>>> % <<<< Units \newcommand{\eV}{\text{\,e\kern-0.15exV}} -\newcommand{\MeV}{\text{\,M\eV}} -\newcommand{\GeV}{\text{\,G\eV}} -\newcommand{\TeV}{\text{\,T\kern-0.1ex\eV}} +\newcommand{\MeV}{\text{\,M\!\eV}} +\newcommand{\GeV}{\text{\,G\!\eV}} +\newcommand{\TeV}{\text{\,T\!\kern-0.1ex\eV}} \newcommand{\metre}{\text{\,m}} \newcommand{\mV}{\text{\,m\kern-0.1exV}} \newcommand{\uV}{\text{\,\textmu\kern-0.1exV}} -\newcommand{\uVperm}{\text{\uV\kern-0.2ex/\kern-0.1exm}} +\newcommand{\uVperm}{\text{\uV\kern-0.2ex/\kern-0.1ex\!\metre}} \newcommand{\ns}{\text{\,ns}} \newcommand{\us}{\text{\,\textmu s}} @@ -165,7 +167,8 @@ %% \newacronym{GNSS}{GNSS}{Global Navigation Satellite System} \newacronym{EAS}{EAS}{Extensive Air Shower} -\newacronym{UHECR}{UHECR}{Ultra High Energy Cosmic Ray} +\newacronym{UHE}{UHE}{Ultra High Energy} +\newacronym{UHECR}{UHECR}{\acrlong{UHE} Cosmic Ray} \newacronym{DU}{DU}{Detector Unit} \newacronym{PPS}{PPS}{Pulse Per Second}