Source

Tex settings / 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[titlewidth=\textwidth, abstractwidth=9cm]{thesis-frontmatter}

%\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,}
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.