Commits

James Tocknell  committed b8f4fc5

Added thesis template

  • Participants
  • Parent commits 784cffa

Comments (0)

Files changed (1)

File texmf/tex/aragilar/aragilar-thesis.sty

+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{aragilar-thesis}
+%%%% SETTING UP CONFIGURATION ENVIRONMENT %%%%
+%% Packages
+\RequirePackage{pgfopts}
+%% Define keys
+\pgfkeys{
+  /ARAXTX/.cd,
+%  % Maths
+%  maths/.store in=\ARAXTX@maths,
+%  maths/.default=true,
+%  % Physics
+%  physics/.store in=\ARAXTX@physics,
+%  physics/.default=true,
+  % Appearence
+  colour/.store in=\ARAXTX@colour,
+  colour/.default=true,
+%
+%  %% Fonts
+%  mainfont/.store in=\ARAXTX@mainfont,
+%  monofont/.store in=\ARAXTX@monofont,
+%  mathfont/.store in=\ARAXTX@mathfont,
+%  fontset/.store in=\ARAXTX@fontset
+}
+
+%% Define keys if not defined
+\pgfkeysifdefined{/ARAXTX/colour}{}{\pgfkeys{/ARAXTX/colour=true}}
+
+\ProcessPgfOptions{/ARAXTX}
+
+%%%% LOAD MY STYLES %%%% 
+\RequirePackage{sanemath} % Sane math setup using AMSTeX
+\RequirePackage{physics} % Provides units and physics/astro macros
+\RequirePackage{unicode-tex} % Provides setup for using unicode for text and math
+\RequirePackage[colour=\ARAXTX@colour,width=10cm]{appearence} % Sets page outline and style
+\RequirePackage{sane-biblatex}
+\RequirePackage[colour=\ARAXTX@colour]{code-formatting} % Formats code nicely
+
+%\RequirePackage{classicthesis} % Thesis format
+\RequirePackage{refstyle}
+\RequirePackage[normalem]{ulem}
+
+%%%% FONTS %%%%
+
+%% Text Fonts
+%\setmainfont{Linux Libertine O}
+%\setmainfont{LiberationSerif}
+%\setmainfont{Linden Hill}
+
+%\setmainfont{TeX Gyre Bonum}
+\setmainfont{TeX Gyre Pagella}
+%\setmainfont{TeX Gyre Schola}
+%\setmainfont{TeX Gyre Termes}
+
+%\setmainfont{CMU Serif}
+
+%\setmainfont[
+%  BoldFont={* Demi},
+%  ItalicFont={* 7 Italic},
+%  BoldItalicFont={* Demi 10 Oblique},
+%  SlantedFont={* Slanted},
+%  UprightFeatures={SmallCapsFont={Latin Modern Roman Caps}},
+%  BoldFeatures={SmallCapsFont={Latin Modern Roman Caps}},
+%  ItalicFeatures={SmallCapsFont={Latin Modern Roman Caps}},
+%  BoldItalicFeatures={SmallCapsFont={Latin Modern Roman Caps}},
+%  SlantedFeatures={SmallCapsFont={Latin Modern Roman Caps}}
+%%  SmallCapsFont={* Caps}
+%]{Latin Modern Roman}
+
+\setmonofont{Inconsolata}
+
+%% Heading Fonts
+%\allsectionsfont{\fontspec[SmallCapsFeatures={Letters=SmallCaps},]{Gillius ADF No2mod}\scshape} %scshape gives small caps
+\allsectionsfont{\fontspec[SmallCapsFeatures={Letters=SmallCaps},]{TeX Gyre Pagella}\scshape} %scshape gives small caps
+%\allsectionsfont{\fontspec[Letters=SmallCaps]{Latin Modern Roman Caps}} %scshape gives small caps
+
+%% Maths Fonts
+%\setmathfont{Asana Math}
+%\setmathfont{STIXGeneral}
+\setmathfont{XITS Math}
+%\setmathfont{Latin Modern Math}
+
+%\setmathfont{Neo Euler}  %% NOT WORKING YET
+\addfontfeatures{Ligatures=Historic}
+%\addfontfeatures{Contextuals=Swash,Fractions=On,}
+
+