Source

Tex settings / 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\\
}