diff --git a/kartsstyle.cls b/kartsstyle.cls index ff63003..a71a745 100644 --- a/kartsstyle.cls +++ b/kartsstyle.cls @@ -22,7 +22,7 @@ % Page geometry and PDF settings % \RequirePackage[a4paper,bottom=3.2cm,outer=2cm, inner=1.5cm, footskip=2.0cm]{geometry} -\usepackage[hidelinks]{hyperref} +\RequirePackage[hidelinks]{hyperref} \hypersetup{pdfpagelayout=TwoColumnRight,pdfstartview={XYZ null null 1.00}} \raggedbottom @@ -30,10 +30,10 @@ % % Microtype and fonts % -\usepackage{microtype} -\usepackage[scaled]{helvet} -\usepackage[]{scholax} -\usepackage{anyfontsize} +\RequirePackage{microtype} +\RequirePackage[scaled]{helvet} +\RequirePackage[]{scholax} +\RequirePackage{anyfontsize} % % Colors @@ -91,8 +91,8 @@ % % Firstpar environment for the first paragraph of the chapter. Adds drop-capital, increases font size and add line spacing % -\usepackage[loversize=0.2,nindent=0.0em]{lettrine} -\usepackage{setspace} +\RequirePackage[loversize=0.2,nindent=0.0em]{lettrine} +\RequirePackage{setspace} \newenvironment{firstpar}{\onehalfspacing\large\lettrine}{\normalsize\par} @@ -107,10 +107,15 @@ \AtBeginEnvironment{multicols}{\small} +% +% Graphics +% +\RequirePackage{graphicx} + % % Metaphysics require complex math typesetting % -\usepackage{amsmath} +\RequirePackage{amsmath} % % Cleveref -- Must be loaded after hyperref and amsmath @@ -125,6 +130,6 @@ % % For side boxes % -\usepackage{framed} +\RequirePackage{framed} \newenvironment{boxnote}[1][Note]{\begin{framed}\textbf{\sffamily #1} }{\end{framed}} \ No newline at end of file