2020-03-18 10:33:35 +01:00
|
|
|
|
\ProvidesPackage{hirostyle}
|
|
|
|
|
\usepackage[utf8]{inputenc} % load early
|
|
|
|
|
\usepackage[T1]{fontenc}
|
|
|
|
|
% load early
|
2020-03-25 16:28:35 +01:00
|
|
|
|
\usepackage[english]{babel}
|
|
|
|
|
\usepackage{newpxtext,newpxmath}
|
2020-03-18 10:33:35 +01:00
|
|
|
|
\usepackage{physics}
|
2020-06-05 12:14:36 +02:00
|
|
|
|
\usepackage{graphicx, booktabs, float}
|
2020-04-12 14:42:29 +02:00
|
|
|
|
\usepackage{mathtools,amssymb}
|
2020-04-07 20:51:03 +02:00
|
|
|
|
\usepackage[backend=biber, language=english, style=phys]{biblatex}
|
2020-03-25 16:28:35 +01:00
|
|
|
|
\usepackage{siunitx}
|
|
|
|
|
\usepackage{caption}
|
|
|
|
|
\usepackage[list=true, font=small,
|
|
|
|
|
labelformat=brace, position=top]{subcaption}
|
|
|
|
|
\usepackage{tikz}
|
2020-04-05 21:11:24 +02:00
|
|
|
|
\usepackage{tikz-feynman}
|
2020-03-25 16:28:35 +01:00
|
|
|
|
\usepackage{wrapfig}
|
|
|
|
|
\usepackage{slashed}
|
2020-05-28 17:02:55 +02:00
|
|
|
|
\usepackage[newfloat]{minted}
|
2020-04-01 13:00:18 +02:00
|
|
|
|
\usepackage{pgfplots}
|
|
|
|
|
\usepackage{ifdraft}
|
2020-06-05 12:14:36 +02:00
|
|
|
|
\usepackage[activate={protrusion,expansion,auto}]{microtype}
|
2020-05-28 17:02:55 +02:00
|
|
|
|
\usepackage{fancyvrb}
|
2020-05-29 17:27:30 +02:00
|
|
|
|
\usepackage[autostyle=true]{csquotes}
|
|
|
|
|
\usepackage{setspace}
|
2020-06-03 17:03:20 +02:00
|
|
|
|
\usepackage{newunicodechar}
|
2020-06-05 12:14:36 +02:00
|
|
|
|
\usepackage[pdfencoding=auto]{hyperref} % load late
|
|
|
|
|
\usepackage[capitalize]{cleveref}
|
|
|
|
|
\usepackage{scrhack}
|
2020-03-27 19:34:22 +01:00
|
|
|
|
|
2020-04-07 21:37:27 +02:00
|
|
|
|
%% use the current pgfplots
|
|
|
|
|
\pgfplotsset{compat=1.16}
|
|
|
|
|
|
2020-03-27 19:34:22 +01:00
|
|
|
|
%% minted
|
|
|
|
|
\usemintedstyle{colorful}
|
2020-04-10 14:51:26 +02:00
|
|
|
|
\newmintedfile{yaml}{linenos,mathescape=true,fontsize=\small}
|
|
|
|
|
\newmintedfile{python}{linenos,mathescape=true,fontsize=\small,breaklines=true}
|
2020-04-16 18:37:37 +02:00
|
|
|
|
\newmintedfile{cpp}{linenos,mathescape=true,fontsize=\small,breaklines=true}
|
2020-03-27 19:34:22 +01:00
|
|
|
|
|
2020-03-25 17:40:53 +01:00
|
|
|
|
%% fix p slash
|
|
|
|
|
\declareslashed{}{/}{0}{.15}{p}
|
|
|
|
|
|
2020-03-25 16:28:35 +01:00
|
|
|
|
%% Tikz
|
2020-04-01 13:00:18 +02:00
|
|
|
|
\usetikzlibrary{arrows,shapes,angles,quotes,arrows.meta,external}
|
|
|
|
|
\tikzexternalize[prefix=tikz/]
|
|
|
|
|
|
|
|
|
|
%% Including plots
|
2020-05-28 17:59:30 +02:00
|
|
|
|
\newcommand{\plot}[1]{%
|
|
|
|
|
\ifdraft{\includegraphics[draft=false]{./figs/#1.pdf}}{\input{./figs/#1.pgf}}}
|
|
|
|
|
\newcommand{\rivethist}[2][,]{%
|
|
|
|
|
\includegraphics[draft=false,width=\textwidth,#1]{./figs/rivet/#2.pdf}}
|
2020-03-25 16:28:35 +01:00
|
|
|
|
|
2020-04-07 17:07:26 +02:00
|
|
|
|
%% Including Results
|
2020-04-07 21:18:55 +02:00
|
|
|
|
\newcommand{\result}[1]{\input{./results/#1}}
|
2020-04-07 17:07:26 +02:00
|
|
|
|
|
2020-04-01 13:55:22 +02:00
|
|
|
|
%% SI units
|
|
|
|
|
\sisetup{separate-uncertainty = true}
|
|
|
|
|
|
2020-03-25 16:28:35 +01:00
|
|
|
|
%% Hyperref
|
|
|
|
|
\hypersetup{
|
|
|
|
|
colorlinks,
|
|
|
|
|
linkcolor={blue!50!black},
|
|
|
|
|
citecolor={red!50!black},
|
|
|
|
|
urlcolor={green!80!black}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
%% Captions
|
|
|
|
|
\captionsetup{justification=centering}
|
|
|
|
|
|
|
|
|
|
%% Labels
|
2020-05-13 10:37:16 +02:00
|
|
|
|
% \labelformat{chapter}{chapter~#1}
|
|
|
|
|
% \labelformat{section}{section~#1}
|
|
|
|
|
% \labelformat{figure}{figure~#1}
|
|
|
|
|
% \labelformat{table}{table~#1}
|
|
|
|
|
|
|
|
|
|
%% Cleverref
|
|
|
|
|
\crefname{equation}{}{}
|
2020-05-13 11:04:39 +02:00
|
|
|
|
\creflabelformat{equation}{(#2#1#3)}
|
2020-03-25 16:28:35 +01:00
|
|
|
|
|
2020-05-29 17:27:30 +02:00
|
|
|
|
%% Font for headings
|
|
|
|
|
\addtokomafont{disposition}{\rmfamily}
|
|
|
|
|
|
2020-06-03 17:03:20 +02:00
|
|
|
|
%% Minus Sign for Matplotlib
|
|
|
|
|
\newunicodechar{−}{-}
|
|
|
|
|
|
2020-03-25 16:28:35 +01:00
|
|
|
|
% Macros
|
|
|
|
|
|
|
|
|
|
%% qqgg
|
|
|
|
|
\newcommand{\qqgg}[0]{q\bar{q}\rightarrow\gamma\gamma}
|
|
|
|
|
|
2020-05-04 19:56:04 +02:00
|
|
|
|
%% ppgg
|
2020-05-28 10:23:10 +02:00
|
|
|
|
\newcommand{\ppgg}[0]{p\bar{p}\rightarrow\gamma\gamma}
|
2020-05-04 19:56:04 +02:00
|
|
|
|
|
2020-05-13 11:54:48 +02:00
|
|
|
|
%% Momenta and Polarization Vectors convenience
|
2020-03-25 16:28:35 +01:00
|
|
|
|
\DeclareMathOperator{\ps}{\slashed{p}}
|
|
|
|
|
|
|
|
|
|
\DeclareMathOperator{\pe}{\varepsilon}
|
|
|
|
|
\DeclareMathOperator{\pes}{\slashed{\pe}}
|
|
|
|
|
|
|
|
|
|
\DeclareMathOperator{\pse}{\varepsilon^{*}}
|
|
|
|
|
\DeclareMathOperator{\pses}{\slashed{\pe}^{*}}
|
|
|
|
|
|
|
|
|
|
%% Spinor convenience
|
|
|
|
|
\DeclareMathOperator{\us}{u}
|
|
|
|
|
\DeclareMathOperator{\usb}{\bar{u}}
|
|
|
|
|
|
|
|
|
|
\DeclareMathOperator{\vs}{v}
|
2020-03-25 19:33:36 +01:00
|
|
|
|
\DeclareMathOperator*{\vsb}{\overline{v}}
|
2020-03-25 16:28:35 +01:00
|
|
|
|
|
2020-03-27 19:34:22 +01:00
|
|
|
|
%% Center of Mass energy
|
|
|
|
|
\DeclareMathOperator{\ecm}{E_{\text{CM}}}
|
|
|
|
|
|
|
|
|
|
%% area hyperbolicus
|
|
|
|
|
\DeclareMathOperator{\artanh}{artanh}
|
2020-06-03 17:03:20 +02:00
|
|
|
|
\DeclareMathOperator{\arcosh}{arcosh}
|
2020-03-27 19:34:22 +01:00
|
|
|
|
|
2020-03-25 16:28:35 +01:00
|
|
|
|
%% Fast Slash
|
|
|
|
|
\let\sl\slashed
|
|
|
|
|
|
|
|
|
|
%% Notes on Equations
|
|
|
|
|
\newcommand{\shorteqnote}[1]{ & & \text{\small\llap{#1}}}
|
2020-04-07 20:51:03 +02:00
|
|
|
|
|
2020-04-08 13:20:20 +02:00
|
|
|
|
%% Typewriter Macros
|
2020-04-07 20:51:03 +02:00
|
|
|
|
\newcommand{\sherpa}{\texttt{Sherpa}}
|
2020-04-16 18:37:37 +02:00
|
|
|
|
\newcommand{\rivet}{\texttt{Rivet}}
|
2020-04-08 13:20:20 +02:00
|
|
|
|
\newcommand{\vegas}{\texttt{VEGAS}}
|
2020-05-05 18:59:40 +02:00
|
|
|
|
\newcommand{\lhapdf}{\texttt{LHAPDF6}}
|
2020-05-19 12:04:38 +02:00
|
|
|
|
\newcommand{\scipy}{\texttt{scipy}}
|
2020-04-07 20:51:03 +02:00
|
|
|
|
|
2020-05-29 17:27:30 +02:00
|
|
|
|
%% Sherpa Versions
|
|
|
|
|
\newcommand{\oldsherpa}{\texttt{2.2.10}}
|
|
|
|
|
\newcommand{\newsherpa}{\texttt{3.0.0} (unreleased)}
|
|
|
|
|
|
|
|
|
|
%% Special Names
|
2020-05-06 10:53:02 +02:00
|
|
|
|
\newcommand{\lhc}{\emph{LHC}}
|
|
|
|
|
|
2020-04-07 20:51:03 +02:00
|
|
|
|
%% Expected Value and Variance
|
|
|
|
|
\newcommand{\EX}[1]{\operatorname{E}\qty[#1]}
|
|
|
|
|
\newcommand{\VAR}[1]{\operatorname{VAR}\qty[#1]}
|
|
|
|
|
|
|
|
|
|
%% Uppercase Rho
|
|
|
|
|
\newcommand{\Rho}{P}
|
2020-04-14 16:57:10 +02:00
|
|
|
|
|
|
|
|
|
%% Transverse Momentum
|
|
|
|
|
\newcommand{\pt}[0]{p_\mathrm{T}}
|
|
|
|
|
|
|
|
|
|
%% Sign Function
|
|
|
|
|
\DeclareMathOperator{\sign}{sgn}
|