Commits

James Tocknell committed 4634db4

Added matplotlib-pgf plots.

Comments (0)

Files changed (2)

texmf/tex/aragilar/aragilar-thesis.sty

 \RequirePackage{sane-biblatex}
 \RequirePackage[colour=\ARAXTX@colour]{code-formatting} % Formats code nicely
 \RequirePackage[titlewidth=\textwidth, abstractwidth=9cm]{thesis-frontmatter}
+\RequirePackage{pgf-matplotlib}
 
 %\RequirePackage{classicthesis} % Thesis format
 \RequirePackage{refstyle}
 \RequirePackage[normalem]{ulem}
+\RequirePackage{pgf}
 
 %%%% FONTS %%%%
 

texmf/tex/aragilar/pgf-matplotlib.sty

+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{pgf-matplotlib}
+%%%% 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}
+
+\RequirePackage[draft]{pgf}
+
+\newcommand{\centrepgfimage}[1]{\makebox[\textwidth][c]{\input{#1}}}