Commits

James Tocknell committed 123c6d7

Some initial work on choosing fonts

  • Participants
  • Parent commits 19e38e9

Comments (0)

Files changed (2)

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

 %% 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,
-%  mainfont/.store in=\ARAXTX@mainfont % commented out as need to think about spaces in names
-%  monofont/.store in=\ARAXTX@monofont
+%
+%  %% 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
 %\setmainfont{Linden Hill}
 
 %\setmainfont{TeX Gyre Bonum}
-%\setmainfont{TeX Gyre Pagella}
+\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}
+%\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}
+\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
+\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{XITS Math}
+%\setmathfont{Latin Modern Math}
 
 %\setmathfont{Neo Euler}  %% NOT WORKING YET
 \addfontfeatures{Ligatures=Historic}

File texmf/tex/aragilar/sanemath.sty

 
 %%%% MAIN PACKAGES %%%%
 \RequirePackage{amsmath}
-%\RequirePackage[retainorgcmds]{IEEEtrantools} % For IEEEeqnarray
+
+%% put in if
 \RequirePackage{braket} % Provides \Bra,\Ket,\Braket,\Set
 
+%% put in if
 \RequirePackage[standard,hyperref,amsmath,thmmarks,thref]{ntheorem}
 
-
-
 %%%% THEOREM DEFINITIONS %%%%
 %% Unnumbered versions of theorem environments
 \theorembodyfont{\upshape}
 \theorembodyfont{\normalfont}
 \newtheorem{proofoutline}{Outline of Proof}
 
+
+%% put in if
 %%%% USEFUL TERMS %%%%
 \newcommand{\suchthat}{s.t.\@ }