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:
40
_custom/customcommands.sty
Normal file
40
_custom/customcommands.sty
Normal 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
|
||||
Reference in New Issue
Block a user