Custom color template, custom commands, custom cv footer, added skills, make targets rely on new custom style and commands, formatting and cleanup

This commit is contained in:
2025-10-28 20:23:23 -07:00
parent db8c9a15b9
commit 275fd0affc
14 changed files with 148 additions and 136 deletions

View File

@@ -0,0 +1,40 @@
%-------------------------------------------------------------------------------
% identification
%-------------------------------------------------------------------------------
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{customcommands}[2025/10/28 custom commands for caperren]
\RequirePackage{datetime2}
\RequirePackage{pgfmath}
\RequirePackage{moderncvfooti}
\RequirePackage{xcolor}
%-------------------------------------------------------------------------------
% command definitions
%-------------------------------------------------------------------------------
% Specific to undoing the section and sub-section spacing of the moderncv templates without forking the whole thing
\newcommand*{\removesectionmargin}{\vspace{-2ex}}
\newcommand*{\removesectionpadding}{\vspace{-1ex}}
\newcommand*{\removesubsectionmargin}{\vspace{-1ex}}
\newcommand*{\removesubsectionpadding}{\vspace{-0.5ex}}
\newcommand{\yearsSince}[3]{
\pgfmathparse{
int(\year - \number#1 - ((\month < \number#2) || ((\month == \number#2) && (\day < \number#3)) ? 1 : 0))
}
\pgfmathresult
}
\newcommand{\addcustomcvfooter}{
\fancypagestyle{plain}{
\fancyfoot[c]{
\parbox[b]{\footwidth}{
\centering
\color{addresscolor}\addressfont
\vspace{\baselineskip}
\textit{\small{References available upon request. Detailed experiences are available on my website.}}
}}}
\pagestyle{plain}
}
\endinput