Source

Tex settings / texmf / tex / aragilar / code-formatting.sty

Full commit
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{code-formatting}

%%%% SETTING UP CONFIGURATION ENVIRONMENT %%%%
%% Packages
\RequirePackage{pgfopts}
%% Define keys
\pgfkeys{
  /ARACODE/.cd,
  colour/.store in=\ARACODE@colour,
  colour/.default=true
}

\ProcessPgfOptions{/ARACODE}

%%\RequirePackage{listings} %%% NEED TO ADD STUFF

\RequirePackage{minted} %%uses Pygments, may be better than listings
\minted@define@extra{label}
\minted@define@extra{labelposition}
\usemintedstyle{tango}