master-thesis-tex/hirostyle.sty

77 lines
1.9 KiB
TeX
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

\ProvidesPackage{hirostyle}
\usepackage[T1]{fontenc}
% load early
\usepackage[english]{babel}
\usepackage{physics}
\usepackage{graphicx, booktabs, float}
\usepackage[tbtags]{mathtools}
\usepackage{amssymb}
\usepackage[backend=biber, language=english, style=phys]{biblatex}
\usepackage{siunitx}
\usepackage{caption}
\usepackage[list=true, font=footnotesize, labelformat=brace]{subcaption}
\usepackage{tikz}
\usepackage{pgfplots}
\usepackage[protrusion=true,expansion=true,tracking=true]{microtype}
\usepackage{fancyvrb}
\usepackage[autostyle=true]{csquotes}
\usepackage{setspace}
\usepackage{newunicodechar}
\usepackage[pdfencoding=auto,hidelinks,colorlinks=true,
linkcolor=blue,
filecolor=blue,
citecolor = black,
urlcolor=cyan,]{hyperref} % load late
\usepackage[capitalize]{cleveref}
\usepackage{multirow,tabularx}
\usepackage{bbold}
\usepackage{scrhack}
\usepackage{fontspec}
\usepackage{unicode-math}
\setmainfont{texgyrepagella}[
Extension = .otf,
UprightFont = *-regular,
BoldFont = *-bold,
ItalicFont = *-italic,
BoldItalicFont = *-bolditalic,
]
\setmathfont{texgyrepagella-math.otf}
\KOMAoptions{DIV=last}
\usepackage[autooneside]{scrlayer-scrpage}
%% use the current pgfplots
\pgfplotsset{compat=1.16}
%% Tikz
\usetikzlibrary{arrows,shapes,angles,quotes,arrows.meta,external}
\tikzexternalize[prefix=tikz/]
%% Including Results
\newcommand{\result}[1]{\input{./results/#1}\!}
%% SI units
\sisetup{separate-uncertainty = true}
%% Captions
\captionsetup{font=footnotesize}
%% 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{}{-}
% Allow math page breaks
\allowdisplaybreaks