Commits

James Tocknell committed ee92f18

Fixed some font stuff

Comments (0)

Files changed (3)

texmf/tex/aragilar/appearence.sty

 
 %% Captions
 \RequirePackage[format=hang,font=small,labelfont=bf,width=\ARAAPP@width]{caption}
+
+%% Allow landscape elements
+\RequirePackage{lscape}

texmf/tex/aragilar/aragilar-thesis.sty

 \RequirePackage[colour=\ARAXTX@colour]{code-formatting} % Formats code nicely
 \RequirePackage[titlewidth=\textwidth, abstractwidth=9cm]{thesis-frontmatter}
 \RequirePackage{pgf-matplotlib}
+\RequirePackage{font-settings}
 
 %\RequirePackage{classicthesis} % Thesis format
 \RequirePackage{refstyle}
 \RequirePackage[normalem]{ulem}
-\RequirePackage{pgf}
 
 %%%% 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}
+%% Some convenience macros
+\newcommand{\codename}[1]{\texttt{#1}}
+\newcommand{\funcname}[1]{\texttt{#1}}
 
-%\setmathfont{Neo Euler}  %% NOT WORKING YET
-\addfontfeatures{Ligatures=Historic}
-%\addfontfeatures{Contextuals=Swash,Fractions=On,}
-
-

texmf/tex/aragilar/font-settings.sty

 
 %%%% SETTING UP CONFIGURATION ENVIRONMENT %%%%
 %% Packages
-\RequirePackage{pgfopts}
-\RequirePackage{boolexpr}
+%\RequirePackage{pgfopts}
+%\RequirePackage{boolexpr}
+%
+%%% Define keys
+%\pgfkeys{
+%  /ARAFONT/.cd,
+%  font-family/.is choice,
+%  font-family/Latin Modern/.is if=,
+%  mainfont/.store in=\ARAFONT@mainfont,
+%  monofont/.store in=\ARAFONT@monofont
+%}
+%
+%%% Define keys if not defined
+%
+%\ProcessPgfOptions{/ARAFONT}
 
-%% Define keys
-\pgfkeys{
-  /ARAFONT/.cd,
-  font-family/.is choice,
-  font-family/Latin Modern/.is if=,
-  mainfont/.store in=\ARAFONT@mainfont,
-  monofont/.store in=\ARAFONT@monofont
-}
 
-%% Define keys if not defined
+%% Text Fonts
+%\setmainfont{Linux Libertine O}
+%\setmainfont{LiberationSerif}
+%\setmainfont{Linden Hill}
 
-\ProcessPgfOptions{/ARAFONT}
+%\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}
+
+
+%% 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,}