\ProvidesPackage{hirostyle} \usepackage[utf8]{inputenc} % load early \usepackage[T1]{fontenc} % load early \usepackage[english]{babel} \usepackage{newpxtext,newpxmath} \usepackage{physics} \usepackage{graphicx, booktabs, float} \usepackage{mathtools,amssymb} \usepackage[backend=biber, language=english, style=phys]{biblatex} \usepackage{siunitx} \usepackage{caption} \usepackage[list=true, font=small, labelformat=brace, position=top]{subcaption} \usepackage{tikz} \usepackage{tikz-feynman} \usepackage{wrapfig} \usepackage{slashed} \usepackage[newfloat]{minted} \usepackage{pgfplots} \usepackage{ifdraft} \usepackage{microtype} \usepackage{fancyvrb} \usepackage[autostyle=true]{csquotes} \usepackage{setspace} \usepackage{newunicodechar} \usepackage[pdfencoding=auto]{hyperref} % load late \usepackage[capitalize]{cleveref} \usepackage{multirow,tabularx} \usepackage{scrhack} %% use the current pgfplots \pgfplotsset{compat=1.16} %% minted \usemintedstyle{colorful} \newmintedfile{yaml}{linenos,mathescape=true,fontsize=\small} \newmintedfile{python}{linenos,mathescape=true,fontsize=\small,breaklines=true} \newmintedfile{cpp}{linenos,mathescape=true,fontsize=\small,breaklines=true} %% fix p slash \declareslashed{}{/}{0}{.15}{p} %% Tikz \usetikzlibrary{arrows,shapes,angles,quotes,arrows.meta,external} \tikzexternalize[prefix=tikz/] %% Including plots \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}} %% Including Results \newcommand{\result}[1]{\input{./results/#1}\!} %% SI units \sisetup{separate-uncertainty = true} %% Hyperref \hypersetup{ colorlinks, linkcolor={blue!50!black}, citecolor={red!50!black}, urlcolor={green!80!black} } %% Captions \captionsetup{justification=centering} %% Labels % \labelformat{chapter}{chapter~#1} % \labelformat{section}{section~#1} % \labelformat{figure}{figure~#1} % \labelformat{table}{table~#1} %% Cleverref \crefname{equation}{}{} \creflabelformat{equation}{(#2#1#3)} %% Font for headings \addtokomafont{disposition}{\rmfamily} %% Minus Sign for Matplotlib \newunicodechar{−}{-} % Macros %% qqgg \newcommand{\qqgg}[0]{q\bar{q}\rightarrow\gamma\gamma} %% ppgg \newcommand{\ppgg}[0]{pp\rightarrow\gamma\gamma} %% Momenta and Polarization Vectors convenience \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} \DeclareMathOperator*{\vsb}{\overline{v}} %% Center of Mass energy \DeclareMathOperator{\ecm}{E_{\text{CM}}} %% area hyperbolicus \DeclareMathOperator{\artanh}{artanh} \DeclareMathOperator{\arcosh}{arcosh} %% Fast Slash \let\sl\slashed %% Notes on Equations \newcommand{\shorteqnote}[1]{ & & \text{\small\llap{#1}}} %% Typewriter Macros \newcommand{\sherpa}{\texttt{Sherpa}} \newcommand{\rivet}{\texttt{Rivet}} \newcommand{\vegas}{\texttt{VEGAS}} \newcommand{\lhapdf}{\texttt{LHAPDF6}} \newcommand{\scipy}{\texttt{scipy}} %% Sherpa Versions \newcommand{\oldsherpa}{\texttt{2.2.10}} \newcommand{\newsherpa}{\texttt{3.0.0} (unreleased)} %% Special Names \newcommand{\lhc}{\emph{LHC}} %% Expected Value and Variance \newcommand{\EX}[1]{\operatorname{E}\qty[#1]} \newcommand{\VAR}[1]{\operatorname{VAR}\qty[#1]} %% Uppercase Rho \newcommand{\Rho}{P} %% Transverse Momentum \newcommand{\pt}[0]{p_\mathrm{T}} %% Sign Function \DeclareMathOperator{\sign}{sgn} %% Stages \newcommand{\stone}{\texttt{LO}} \newcommand{\sttwo}{\texttt{LO+PS}} \newcommand{\stthree}{\texttt{LO+PS+pT}} \newcommand{\stfour}{\texttt{LO+PS+pT+Hadr.}} \newcommand{\stfive}{\texttt{LO+PS+pT+Hadr.+MI}} %% GeV \newcommand{\gev}[1]{\SI{#1}{\giga\electronvolt}}