James Tocknell avatar James Tocknell committed c91cd0b

Added CV template

Comments (0)

Files changed (1)

texmf/tex/aragilar/aragilar-cv.sty

+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{aragilar-xetex}
+
+%%%% SETTING UP CONFIGURATION ENVIRONMENT %%%%
+%% Packages
+\RequirePackage{pgfopts}
+%% Define keys
+\pgfkeys{
+  /ARACV/.cd,
+%  % Maths
+%  maths/.store in=\ARAXTX@maths,
+%  maths/.default=true,
+%  % Physics
+%  physics/.store in=\ARAXTX@physics,
+%  physics/.default=true,
+  % Appearence
+  colour/.store in=\ARACV@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{/ARACV/colour}{}{\pgfkeys{/ARACV/colour=true}}
+
+\ProcessPgfOptions{/ARACV}
+
+\RequirePackage{unicode-tex} % Provides setup for using unicode for text and math
+\RequirePackage[colour=\ARACV@colour]{pdfappearence} % Sets page outline and style
+\RequirePackage{references} % Sets up cross-references and bibliography
+
+% moderncv themes
+%\moderncvtheme[blue]{casual}                 % optional argument are 'blue' (default), 'orange', 'red', 'green', 'grey' and 'roman' (for roman fonts, instead of sans serif fonts)
+\moderncvtheme[grey]{classic}                % idem
+
+% adjust the page margins
+\RequirePackage[scale=0.8]{geometry}
+%\setlength{\hintscolumnwidth}{3cm}						% if you want to change the width of the column with the dates
+%\AtBeginDocument{\setlength{\maketitlenamewidth}{6cm}}  % only for the classic theme, if you want to change the width of your name placeholder (to leave more space for your address details
+\AtBeginDocument{\recomputelengths}                     % required when changes are made to page layout lengths
+
+%%%% FONTS %%%%
+
+%% Text Fonts
+\setmainfont{Linux Libertine O}
+
+
+%%%% USEFUL MACROS %%%%%
+\newcommand{\courseworkyear}[2]{\cvline{#1}{#2}}
+\newcommand{\courseworkclass}[3]{
+  \textbf{#1}\\
+  \textit{Textbooks}: #2\\
+  \textit{Topics}: #3\\
+}
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.