feat(glittershark): Add resume + deploy it to gws.fyi
Change-Id: If9cf64c97621313af86074752d0959506059888a Reviewed-on: https://cl.tvl.fyi/c/depot/+/2079 Reviewed-by: glittershark <grfn@gws.fyi> Tested-by: BuildkiteCI
This commit is contained in:
parent
bdc5d0cfa0
commit
b1f2c2f48e
24 changed files with 2503 additions and 0 deletions
|
@ -2,12 +2,14 @@ args@{ pkgs, ... }:
|
||||||
with pkgs;
|
with pkgs;
|
||||||
let
|
let
|
||||||
site = import ./site.nix args;
|
site = import ./site.nix args;
|
||||||
|
resume = import ../resume args;
|
||||||
bucket = "s3://gws.fyi";
|
bucket = "s3://gws.fyi";
|
||||||
distributionID = "E2ST43JNBH8C64";
|
distributionID = "E2ST43JNBH8C64";
|
||||||
website =
|
website =
|
||||||
runCommand "gws.fyi" { } ''
|
runCommand "gws.fyi" { } ''
|
||||||
mkdir -p $out
|
mkdir -p $out
|
||||||
cp ${site.index} $out/index.html
|
cp ${site.index} $out/index.html
|
||||||
|
cp ${resume} $out/resume.pdf
|
||||||
'';
|
'';
|
||||||
|
|
||||||
in writeShellScript "deploy.sh" ''
|
in writeShellScript "deploy.sh" ''
|
||||||
|
|
BIN
users/glittershark/resume/chimera.png
Normal file
BIN
users/glittershark/resume/chimera.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 40 KiB |
85
users/glittershark/resume/collection.sty
Normal file
85
users/glittershark/resume/collection.sty
Normal file
|
@ -0,0 +1,85 @@
|
||||||
|
%% start of file `collection.sty'.
|
||||||
|
%% Copyright 2013-2013 Xavier Danaux (xdanaux@gmail.com).
|
||||||
|
%
|
||||||
|
% This work may be distributed and/or modified under the
|
||||||
|
% conditions of the LaTeX Project Public License version 1.3c,
|
||||||
|
% available at http://www.latex-project.org/lppl/.
|
||||||
|
|
||||||
|
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
% identification
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
\NeedsTeXFormat{LaTeX2e}
|
||||||
|
\ProvidesPackage{collection}[2013/03/28 v1.0.0 collections]
|
||||||
|
|
||||||
|
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
% requirements
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
|
\RequirePackage{ifthen}
|
||||||
|
|
||||||
|
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
% code
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
% creates a new collection
|
||||||
|
% usage: \collectionnew{<collection name>}
|
||||||
|
\newcommand*{\collectionnew}[1]{%
|
||||||
|
\newcounter{collection@#1@count}}
|
||||||
|
|
||||||
|
% adds an item to a collection
|
||||||
|
% usage: \collectionadd[<optional key>]{<collection name>}{<item to add>}
|
||||||
|
\newcommand*{\collectionadd}[3][]{%
|
||||||
|
\expandafter\def\csname collection@#2@item\roman{collection@#2@count}\endcsname{#3}%
|
||||||
|
\if\relax\noexpand#1\relax% if #1 is empty
|
||||||
|
\else\expandafter\def\csname collection@#2@key\roman{collection@#2@count}\endcsname{#1}\fi%
|
||||||
|
\stepcounter{collection@#2@count}}
|
||||||
|
|
||||||
|
% returns the number of items in a collection
|
||||||
|
% usage: \collectioncount{<collection name>}
|
||||||
|
\newcommand*{\collectioncount}[1]{%
|
||||||
|
\value{collection@#1@count}}
|
||||||
|
|
||||||
|
% gets an item from a collection
|
||||||
|
% usage: \collectiongetitem{<collection name>}{<element id>}
|
||||||
|
% where <element id> is an integer between 0 and (collectioncount-1)
|
||||||
|
\newcommand*{\collectiongetitem}[2]{%
|
||||||
|
\csname collection@#1@item\romannumeral #2\endcsname}
|
||||||
|
|
||||||
|
% gets a key from a collection
|
||||||
|
% usage: \collectiongetkey{<collection name>}{<element id>}
|
||||||
|
% where <element id> is an integer between 0 and (collectioncount-1)
|
||||||
|
\newcommand*{\collectiongetkey}[2]{%
|
||||||
|
\csname collection@#1@key\romannumeral #2\endcsname}
|
||||||
|
|
||||||
|
% loops through a collection and perform the given operation on every element
|
||||||
|
% usage: \collectionloop{<collection name>}{<operation sequence>}
|
||||||
|
% where <operation sequence> is the code sequence to be evaluated for each collection item,
|
||||||
|
% code which can refer to \collectionloopid, \collectionloopkey, \collectionloopitem and
|
||||||
|
% \collectionloopbreak
|
||||||
|
\newcounter{collection@iterator}
|
||||||
|
\newcommand*{\collectionloopbreak}{\let\iterate\relax}
|
||||||
|
\newcommand*{\collectionloop}[2]{%
|
||||||
|
\setcounter{collection@iterator}{0}%
|
||||||
|
\loop\ifnum\value{collection@iterator}<\value{collection@#1@count}%
|
||||||
|
\def\collectionloopid{\arabic{collection@iterator}}%
|
||||||
|
\def\collectionloopitem{\collectiongetitem{#1}{\collectionloopid}}%
|
||||||
|
\def\collectionloopkey{\collectiongetkey{#1}{\collectionloopid}}%
|
||||||
|
#2%
|
||||||
|
\stepcounter{collection@iterator}%
|
||||||
|
\repeat}
|
||||||
|
|
||||||
|
% loops through a collection and finds the (first) element matching the given key
|
||||||
|
% usage: \collectionfindbykey{<collection name>}{key>}
|
||||||
|
\newcommand*{\collectionfindbykey}[2]{%
|
||||||
|
\collectionloop{#1}{%
|
||||||
|
\ifthenelse{\equal{\collectionloopkey}{#2}}{\collectionloopitem\collectionloopbreak}{}}}
|
||||||
|
|
||||||
|
|
||||||
|
\endinput
|
||||||
|
|
||||||
|
|
||||||
|
%% end of file `collection.cls'.
|
37
users/glittershark/resume/default.nix
Normal file
37
users/glittershark/resume/default.nix
Normal file
|
@ -0,0 +1,37 @@
|
||||||
|
{ pkgs, ... }:
|
||||||
|
|
||||||
|
with pkgs.lib;
|
||||||
|
|
||||||
|
pkgs.runCommandNoCC "resume.pdf" {
|
||||||
|
buildInputs = [(pkgs.texlive.combine {
|
||||||
|
inherit (pkgs.texlive)
|
||||||
|
capt-of
|
||||||
|
collection-fontsrecommended
|
||||||
|
enumitem
|
||||||
|
etoolbox
|
||||||
|
fancyvrb
|
||||||
|
float
|
||||||
|
fncychap
|
||||||
|
framed
|
||||||
|
l3packages
|
||||||
|
microtype
|
||||||
|
needspace
|
||||||
|
parskip
|
||||||
|
scheme-basic
|
||||||
|
tabulary
|
||||||
|
titlesec
|
||||||
|
ulem
|
||||||
|
upquote
|
||||||
|
varwidth
|
||||||
|
wrapfig
|
||||||
|
xcolor
|
||||||
|
;
|
||||||
|
})];
|
||||||
|
} ''
|
||||||
|
cp ${builtins.filterSource (path: type:
|
||||||
|
type == "regular" &&
|
||||||
|
any (ext: hasSuffix ext path) [".sty" ".cls" ".tex" ".png"]
|
||||||
|
) ./.}/* .
|
||||||
|
pdflatex ./resume.tex
|
||||||
|
cp resume.pdf $out
|
||||||
|
''
|
32
users/glittershark/resume/helvetica.sty
Normal file
32
users/glittershark/resume/helvetica.sty
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
%%
|
||||||
|
%% This is file `helvetica.sty', based on helvet.sty extended to include
|
||||||
|
%% definitions for rm and tt. This means commands such as \textbf, \textit,
|
||||||
|
%% etc. will appear in Helvetica.
|
||||||
|
%% Changes added by Harriet Borton on <1995/12/11>
|
||||||
|
%%
|
||||||
|
%% The original source files were:
|
||||||
|
%%
|
||||||
|
%% psfonts.dtx (with options: `helvet')
|
||||||
|
%%
|
||||||
|
%% Copyright (C) 1994 Sebastian Rahtz
|
||||||
|
%% All rights reserved.
|
||||||
|
%%
|
||||||
|
%% The original file is part of the PSNFSS2e package.
|
||||||
|
%% -----------------------------------------
|
||||||
|
%%
|
||||||
|
%% This is a generated file. Permission is granted to to customize the
|
||||||
|
%% declarations in this file to serve the needs of your installation.
|
||||||
|
%% However, no permission is granted to distribute a modified version of
|
||||||
|
%% this file under its original name.
|
||||||
|
\def\fileversion{4.2}
|
||||||
|
\def\filedate{94/11/11}
|
||||||
|
\def\docdate {94/11/06}
|
||||||
|
\NeedsTeXFormat{LaTeX2e}
|
||||||
|
\ProvidesPackage{helvetica}[\filedate\space\fileversion\space
|
||||||
|
Helvetica PSNFSS2e package]
|
||||||
|
\renewcommand{\sfdefault}{phv}
|
||||||
|
\renewcommand{\rmdefault}{phv}
|
||||||
|
\renewcommand{\ttdefault}{pcr}
|
||||||
|
\endinput
|
||||||
|
%%
|
||||||
|
%% End of file `helvetica.sty'.
|
585
users/glittershark/resume/moderncv.cls
Normal file
585
users/glittershark/resume/moderncv.cls
Normal file
|
@ -0,0 +1,585 @@
|
||||||
|
%% start of file `moderncv.cls'.
|
||||||
|
%% Copyright 2006-2013 Xavier Danaux (xdanaux@gmail.com).
|
||||||
|
%
|
||||||
|
% This work may be distributed and/or modified under the
|
||||||
|
% conditions of the LaTeX Project Public License version 1.3c,
|
||||||
|
% available at http://www.latex-project.org/lppl/.
|
||||||
|
|
||||||
|
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
% identification
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
\NeedsTeXFormat{LaTeX2e}
|
||||||
|
\ProvidesClass{moderncv}[2013/02/09 v1.3.0 modern curriculum vitae and letter document class]
|
||||||
|
|
||||||
|
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
% class options
|
||||||
|
%
|
||||||
|
% (need to be done before the external package loading, for example because
|
||||||
|
% we need \paperwidth, \paperheight and \@ptsize to be defined before loading
|
||||||
|
% geometry and fancyhdr)
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
% paper size option
|
||||||
|
\DeclareOption{a4paper}{
|
||||||
|
\setlength\paperheight{297mm}
|
||||||
|
\setlength\paperwidth{210mm}}
|
||||||
|
\DeclareOption{a5paper}{
|
||||||
|
\setlength\paperheight{210mm}
|
||||||
|
\setlength\paperwidth{148mm}}
|
||||||
|
\DeclareOption{b5paper}{
|
||||||
|
\setlength\paperheight{250mm}
|
||||||
|
\setlength\paperwidth{176mm}}
|
||||||
|
\DeclareOption{letterpaper}{
|
||||||
|
\setlength\paperheight{11in}
|
||||||
|
\setlength\paperwidth{8.5in}}
|
||||||
|
\DeclareOption{legalpaper}{
|
||||||
|
\setlength\paperheight{14in}
|
||||||
|
\setlength\paperwidth{8.5in}}
|
||||||
|
\DeclareOption{executivepaper}{
|
||||||
|
\setlength\paperheight{10.5in}
|
||||||
|
\setlength\paperwidth{7.25in}}
|
||||||
|
\DeclareOption{landscape}{
|
||||||
|
\setlength\@tempdima{\paperheight}
|
||||||
|
\setlength\paperheight{\paperwidth}
|
||||||
|
\setlength\paperwidth{\@tempdima}}
|
||||||
|
|
||||||
|
% font size options
|
||||||
|
\newcommand\@ptsize{}
|
||||||
|
\DeclareOption{10pt}{\renewcommand\@ptsize{0}}
|
||||||
|
\DeclareOption{11pt}{\renewcommand\@ptsize{1}}
|
||||||
|
\DeclareOption{12pt}{\renewcommand\@ptsize{2}}
|
||||||
|
|
||||||
|
% font type options
|
||||||
|
\DeclareOption{sans}{\AtBeginDocument{\renewcommand{\familydefault}{\sfdefault}}}
|
||||||
|
\DeclareOption{roman}{\AtBeginDocument{\renewcommand{\familydefault}{\rmdefault}}}
|
||||||
|
|
||||||
|
% draft/final option
|
||||||
|
\DeclareOption{draft}{\setlength\overfullrule{5pt}}
|
||||||
|
\DeclareOption{final}{\setlength\overfullrule{0pt}}
|
||||||
|
|
||||||
|
% execute default options
|
||||||
|
\ExecuteOptions{a4paper,11pt,final}
|
||||||
|
|
||||||
|
% process given options
|
||||||
|
\ProcessOptions\relax
|
||||||
|
\input{size1\@ptsize.clo}
|
||||||
|
|
||||||
|
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
% required packages
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
% \AtEndPreamble hook (loading etoolbox instead of defining the macro, as to avoid incompatibilities with etoolbox (and packages relying on it) defining the macro too)
|
||||||
|
\RequirePackage{etoolbox}
|
||||||
|
%\let\@endpreamblehook\@empty
|
||||||
|
%\def\AtEndPreamble{\g@addto@macro\@endpreamblehook}
|
||||||
|
%\let\document@original\document
|
||||||
|
%\def\document{\endgroup\@endpreamblehook\begingroup\document@original}
|
||||||
|
|
||||||
|
% if... then... else... constructs
|
||||||
|
\RequirePackage{ifthen}
|
||||||
|
% TODO: move to xifthen and \isempty{<arg>} instead of \equal{<arg>}{}
|
||||||
|
|
||||||
|
% color
|
||||||
|
\RequirePackage{xcolor}
|
||||||
|
|
||||||
|
% font loading
|
||||||
|
%\RequirePackage{ifxetex,ifluatex}
|
||||||
|
%\newif\ifxetexorluatex
|
||||||
|
%\ifxetex
|
||||||
|
% \xetexorluatextrue
|
||||||
|
%\else
|
||||||
|
% \ifluatex
|
||||||
|
% \xetexorluatextrue
|
||||||
|
% \else
|
||||||
|
% \xetexorluatexfalse
|
||||||
|
% \fi
|
||||||
|
%\fi
|
||||||
|
% automatic loading of latin modern fonts
|
||||||
|
%\ifxetexorluatex
|
||||||
|
% \RequirePackage{fontspec}
|
||||||
|
% \defaultfontfeatures{Ligatures=TeX}
|
||||||
|
% \RequirePackage{unicode-math}
|
||||||
|
% \setmainfont{Latin Modern}
|
||||||
|
% \setsansfont{Latin Modern Sans}
|
||||||
|
% \setmathfont{Latin Modern Math}
|
||||||
|
%\else
|
||||||
|
\RequirePackage[T1]{fontenc}
|
||||||
|
\IfFileExists{lmodern.sty}%
|
||||||
|
{\RequirePackage{lmodern}}%
|
||||||
|
{}
|
||||||
|
%\fi
|
||||||
|
|
||||||
|
% hyper links (hyperref is loaded at the end of the preamble to pass options required by loaded packages such as CJK)
|
||||||
|
\newcommand*\pdfpagemode{UseNone}% do not show thumbnails or bookmarks on opening (on supporting browsers); set \pdfpagemode to "UseOutlines" to show bookmarks
|
||||||
|
\RequirePackage{url}
|
||||||
|
\urlstyle{tt}
|
||||||
|
\AtEndPreamble{
|
||||||
|
\pagenumbering{arabic}% has to be issued before loading hyperref, as to set \thepage and hence to avoid hyperref issuing a warning and setting pdfpagelabels=false
|
||||||
|
\RequirePackage[unicode]{hyperref}% unicode is required for unicode pdf metadata
|
||||||
|
\hypersetup{
|
||||||
|
breaklinks,
|
||||||
|
baseurl = http://,
|
||||||
|
pdfborder = 0 0 0,
|
||||||
|
pdfpagemode = \pdfpagemode,
|
||||||
|
pdfstartpage = 1,
|
||||||
|
pdfcreator = {\LaTeX{} with 'moderncv' package},
|
||||||
|
% pdfproducer = {\LaTeX{}},% will/should be set automatically to the correct TeX engine used
|
||||||
|
bookmarksopen = true,
|
||||||
|
bookmarksdepth= 2,% to show sections and subsections
|
||||||
|
pdfauthor = {\@firstname{}~\@lastname{}},
|
||||||
|
pdftitle = {\@firstname{}~\@lastname{} -- \@title{}},
|
||||||
|
pdfsubject = {Resum\'{e} of \@firstname{}~\@lastname{}},
|
||||||
|
pdfkeywords = {\@firstname{}~\@lastname{}, curriculum vit\ae{}, resum\'{e}}}}
|
||||||
|
|
||||||
|
% graphics
|
||||||
|
\RequirePackage{graphicx}
|
||||||
|
|
||||||
|
% headers and footers
|
||||||
|
\RequirePackage{fancyhdr}
|
||||||
|
\fancypagestyle{plain}{
|
||||||
|
\renewcommand{\headrulewidth}{0pt}
|
||||||
|
\renewcommand{\footrulewidth}{0pt}
|
||||||
|
\fancyhf{}}
|
||||||
|
% page numbers in footer if more than 1 page
|
||||||
|
\newif\if@displaypagenumbers\@displaypagenumberstrue
|
||||||
|
\newcommand*{\nopagenumbers}{\@displaypagenumbersfalse}
|
||||||
|
\AtEndPreamble{%
|
||||||
|
\AtBeginDocument{%
|
||||||
|
\if@displaypagenumbers%
|
||||||
|
\@ifundefined{r@lastpage}{}{%
|
||||||
|
\ifthenelse{\pageref{lastpage}>1}{%
|
||||||
|
\newlength{\pagenumberwidth}%
|
||||||
|
\settowidth{\pagenumberwidth}{\color{color2}\addressfont\itshape\strut\thepage/\pageref{lastpage}}%
|
||||||
|
\fancypagestyle{plain}{%
|
||||||
|
\fancyfoot[r]{\parbox[b]{\pagenumberwidth}{\color{color2}\pagenumberfont\strut\thepage/\pageref{lastpage}}}}% the parbox is required to ensure alignment with a possible center footer (e.g., as in the casual style)
|
||||||
|
\pagestyle{plain}}{}}%
|
||||||
|
\AtEndDocument{\label{lastpage}}\else\fi}}
|
||||||
|
\pagestyle{plain}
|
||||||
|
|
||||||
|
% reduced list spacing
|
||||||
|
% package providing hooks into lists
|
||||||
|
% originally developped by Jakob Schiøtz (see http://dcwww.camd.dtu.dk/~schiotz/comp/LatexTips/tweaklist.sty)
|
||||||
|
% modified and distributed with moderncv(not available otherwise on ctan)
|
||||||
|
\RequirePackage{tweaklist}
|
||||||
|
\renewcommand*{\itemhook}{%
|
||||||
|
\@minipagetrue% removes spacing before lists as they use \addvspace, which doesn't add vertical space inside minipages
|
||||||
|
\@noparlisttrue% removes spacing at end of lists, caused by \par
|
||||||
|
\setlength{\topsep}{0pt}% normally not required thanks to \@minipagetrue
|
||||||
|
\setlength{\partopsep}{0pt}% normally not required thanks to \@minipagetrue
|
||||||
|
\setlength{\parsep}{0pt}% not required when \itemsep and \parskip are set to 0pt (?)
|
||||||
|
\setlength{\parskip}{0pt}%
|
||||||
|
\setlength{\itemsep}{0pt}}
|
||||||
|
\renewcommand*{\enumhook}{\itemhook{}}
|
||||||
|
\renewcommand*{\deschook}{\itemhook{}}
|
||||||
|
|
||||||
|
% lengths calculations
|
||||||
|
\RequirePackage{calc}
|
||||||
|
|
||||||
|
% advanced command arguments (LaTeX 3)
|
||||||
|
\RequirePackage{xparse}
|
||||||
|
% TODO (?): replace all \newcommand by \NewDocumentCommand
|
||||||
|
|
||||||
|
% micro-typography (e.g., character protrusion, font expansion, hyphenatable letterspacing)
|
||||||
|
\RequirePackage{microtype}
|
||||||
|
|
||||||
|
% compatibility package with older versions of moderncv
|
||||||
|
\RequirePackageWithOptions{moderncvcompatibility}
|
||||||
|
|
||||||
|
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
% class definition
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
% minimal base settings
|
||||||
|
\setlength\lineskip{1\p@}
|
||||||
|
\setlength\normallineskip{1\p@}
|
||||||
|
\renewcommand\baselinestretch{}
|
||||||
|
\setlength{\parindent}{0\p@}
|
||||||
|
\setlength{\parskip}{0\p@}
|
||||||
|
\setlength\columnsep{10\p@}
|
||||||
|
\setlength\columnseprule{0\p@}
|
||||||
|
\setlength\fboxsep{3\p@}
|
||||||
|
\setlength\fboxrule{.4\p@}
|
||||||
|
\setlength\arrayrulewidth{.4\p@}
|
||||||
|
\setlength\doublerulesep{2\p@}
|
||||||
|
|
||||||
|
% not set on purpose
|
||||||
|
%\setlength\arraycolsep{5\p@}
|
||||||
|
%\setlength\tabcolsep{6\p@}
|
||||||
|
%\setlength\tabbingsep{\labelsep}
|
||||||
|
|
||||||
|
\raggedbottom
|
||||||
|
\onecolumn
|
||||||
|
|
||||||
|
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
% overall design commands definitions
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
% elements
|
||||||
|
% defines one's name
|
||||||
|
% usage: \name{<firstname>}{<lastname>}
|
||||||
|
\newcommand*{\name}[2]{\def\@firstname{#1}\def\@lastname{#2}}
|
||||||
|
% defines one's title (optional)
|
||||||
|
% usage: \title{<title>}
|
||||||
|
\renewcommand*{\title}[1]{\def\@title{#1}}
|
||||||
|
% defines one's address (optional)
|
||||||
|
% usage: \address{<street>}{<city>}{<country>}
|
||||||
|
% where the <city> and <country> arguments can be omitted or provided empty
|
||||||
|
\NewDocumentCommand{\address}{mG{}G{}}{\def\@addressstreet{#1}\def\@addresscity{#2}\def\@addresscountry{#3}}
|
||||||
|
% adds a mobile/fixed/fax number to one's personal information (optional)
|
||||||
|
% usage: \phone[<optional type>]{<number>}
|
||||||
|
% where <optional type> should be either "mobile", "fixed" or "fax
|
||||||
|
\RequirePackage{collection}
|
||||||
|
\collectionnew{phones}
|
||||||
|
\newcommand*{\phone}[2][fixed]{\collectionadd[#1]{phones}{#2}}
|
||||||
|
\newcommand*{\email}[1]{\def\@email{#1}}
|
||||||
|
% defines one's home page (optional)
|
||||||
|
% usage: \homepage{<url>}
|
||||||
|
\newcommand*{\homepage}[1]{\def\@homepage{#1}}
|
||||||
|
% defines one's github (optional)
|
||||||
|
% usage: \homepage{<url>}
|
||||||
|
\newcommand*{\github}[1]{\def\@github{#1}}
|
||||||
|
% defines additional personal information (optional)
|
||||||
|
% usage: \extrainfo{<text>}
|
||||||
|
\newcommand*{\extrainfo}[1]{\def\@extrainfo{#1}}
|
||||||
|
|
||||||
|
% colors
|
||||||
|
\definecolor{color0}{rgb}{0,0,0}% main default color, normally left to black
|
||||||
|
\definecolor{color1}{rgb}{0,0,0}% primary theme color
|
||||||
|
\definecolor{color2}{rgb}{0,0,0}% secondary theme color
|
||||||
|
\definecolor{color3}{rgb}{0,0,0}% tertiary theme color
|
||||||
|
|
||||||
|
% symbols
|
||||||
|
% itemize labels (the struts were added to correct inter-item spacing (works for single line items, until a solution is found for multi-line ones...)
|
||||||
|
\newcommand*{\labelitemi}{\strut\textcolor{color1}{\large\rmfamily\textbullet}}% the \rmfamily is required to force Latin Modern fonts when using sans serif, as OMS/lmss/m/n is not defined and gets substituted by OMS/cmsy/m/n
|
||||||
|
\newcommand*{\labelitemii}{\strut\textcolor{color1}{\large\bfseries-}}
|
||||||
|
\newcommand*{\labelitemiii}{\strut\textcolor{color1}{\rmfamily\textperiodcentered}}% alternative: \textasteriskcentered; the \rmfamily is required to force Latin Modern fonts when using sans serif, as OMS/lmss/m/n is not defined and gets substituted by OMS/cmsy/m/n
|
||||||
|
\newcommand*{\labelitemiv}{\labelitemiii}
|
||||||
|
% enumerate labels
|
||||||
|
\renewcommand{\theenumi}{\@arabic\c@enumi}
|
||||||
|
\renewcommand{\theenumii}{\@alph\c@enumii}
|
||||||
|
\renewcommand{\theenumiii}{\@roman\c@enumiii}
|
||||||
|
\renewcommand{\theenumiv}{\@Alph\c@enumiv}
|
||||||
|
% other symbols
|
||||||
|
\newcommand*{\listitemsymbol}{\labelitemi~}
|
||||||
|
\newcommand*{\addresssymbol}{}
|
||||||
|
\newcommand*{\mobilephonesymbol}{}
|
||||||
|
\newcommand*{\fixedphonesymbol}{}
|
||||||
|
\newcommand*{\faxphonesymbol}{}
|
||||||
|
\newcommand*{\emailsymbol}{}
|
||||||
|
\newcommand*{\homepagesymbol}{}
|
||||||
|
|
||||||
|
% fonts
|
||||||
|
\AtBeginDocument{\normalfont\color{color0}}
|
||||||
|
|
||||||
|
% strings for internationalisation
|
||||||
|
\newcommand*{\refname}{Publications}
|
||||||
|
\newcommand*{\enclname}{Enclosure}
|
||||||
|
|
||||||
|
% makes the footer (normally used both for the resume and the letter)
|
||||||
|
% usage: \makefooter
|
||||||
|
\newcommand*{\makefooter}{}%
|
||||||
|
|
||||||
|
% loads a style variant
|
||||||
|
% usage: \moderncvstyle{<style variant name>}
|
||||||
|
\newcommand*{\moderncvstyle}[1]{
|
||||||
|
\RequirePackage{moderncvstyle#1}}
|
||||||
|
|
||||||
|
% loads a color scheme
|
||||||
|
% usage: \moderncvcolor{<color scheme name>}
|
||||||
|
\newcommand*{\moderncvcolor}[1]{
|
||||||
|
\RequirePackage{moderncvcolor#1}}
|
||||||
|
|
||||||
|
% loads an icons set
|
||||||
|
% usage: \moderncvicons{<icon set name>}
|
||||||
|
\newcommand*{\moderncvicons}[1]{
|
||||||
|
\RequirePackage{moderncvicons#1}}
|
||||||
|
|
||||||
|
% recomputes all automatic lengths
|
||||||
|
\newcommand*{\recomputelengths}{\recomputecvlengths}
|
||||||
|
\AtBeginDocument{\recomputelengths{}}
|
||||||
|
|
||||||
|
% creates a length if not yet defined
|
||||||
|
\newcommand*{\@initializelength}[1]{%
|
||||||
|
\ifdefined#1\else\newlength{#1}\fi}
|
||||||
|
|
||||||
|
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
% resume design commands definitions
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
% elements
|
||||||
|
% defines one's picture (optional)
|
||||||
|
% usage: photo[<picture width>][<picture frame thickness>]{<picture filename>}
|
||||||
|
\NewDocumentCommand{\photo}{O{64pt}O{0.4pt}m}{\def\@photowidth{#1}\def\@photoframewidth{#2}\def\@photo{#3}}
|
||||||
|
\newcommand*{\quote}[1]{\def\@quote{#1}}
|
||||||
|
|
||||||
|
% fonts
|
||||||
|
\newcommand*{\namefont}{}
|
||||||
|
\newcommand*{\titlefont}{}
|
||||||
|
\newcommand*{\addressfont}{}
|
||||||
|
\newcommand*{\quotefont}{}
|
||||||
|
\newcommand*{\sectionfont}{}
|
||||||
|
\newcommand*{\subsectionfont}{}
|
||||||
|
\newcommand*{\hintfont}{}
|
||||||
|
\newcommand*{\pagenumberfont}{\addressfont\itshape}
|
||||||
|
|
||||||
|
% styles
|
||||||
|
\newcommand*{\namestyle}[1]{{\namefont#1}}
|
||||||
|
\newcommand*{\titlestyle}[1]{{\titlefont#1}}
|
||||||
|
\newcommand*{\addressstyle}[1]{{\addressfont#1}}
|
||||||
|
\newcommand*{\quotestyle}[1]{{\quotefont#1}}
|
||||||
|
\newcommand*{\sectionstyle}[1]{{\sectionfont#1}}
|
||||||
|
\newcommand*{\subsectionstyle}[1]{{\subsectionfont#1}}
|
||||||
|
\newcommand*{\hintstyle}[1]{{\hintfont#1}}
|
||||||
|
\newcommand*{\pagenumberstyle}[1]{{\pagenumberfont#1}}
|
||||||
|
|
||||||
|
% recompute all resume lengths
|
||||||
|
\newcommand*{\recomputecvlengths}{}
|
||||||
|
|
||||||
|
% internal maketitle command to issue a new line only when required
|
||||||
|
\newif\if@firstdetailselement\@firstdetailselementtrue
|
||||||
|
\newcommand*{\makenewline}{
|
||||||
|
\if@firstdetailselement%
|
||||||
|
\strut% to ensure baseline alignment, e.g. with when put in the margin vs sections that also contains a \strut
|
||||||
|
\else%
|
||||||
|
\\\fi%
|
||||||
|
\@firstdetailselementfalse}
|
||||||
|
|
||||||
|
% makes the resume title
|
||||||
|
% usage: \makecvtitle
|
||||||
|
\newcommand*{\makecvtitle}{}
|
||||||
|
|
||||||
|
% makes the resume footer
|
||||||
|
% usage: \makecvfooter
|
||||||
|
\newcommand*{\makecvfooter}{\makefooter}
|
||||||
|
|
||||||
|
% makes a resume section
|
||||||
|
% usage: \section{<title>}
|
||||||
|
% identical starred and non-starred variants should be defined for compatibility with other packages (e.g. with natbib, that uses \section*{} for the bibliography header)
|
||||||
|
\NewDocumentCommand{\section}{sm}{}
|
||||||
|
|
||||||
|
% makes a resume subsection
|
||||||
|
% usage: \subsection{title}
|
||||||
|
\NewDocumentCommand{\subsection}{sm}{}
|
||||||
|
|
||||||
|
% makes a resume line with a header and a corresponding text
|
||||||
|
% usage: \cvitem[spacing]{header}{text}
|
||||||
|
\newcommand*{\cvitem}[3][.25em]{}
|
||||||
|
|
||||||
|
% makes a resume line 2 headers and their corresponding text
|
||||||
|
% usage: \cvdoubleitem[spacing]{header1}{text1}{header2}{text2}
|
||||||
|
\newcommand*{\cvdoubleitem}[5][.25em]{}
|
||||||
|
|
||||||
|
% makes a resume line with a list item
|
||||||
|
% usage: \cvlistitem[label]{item}
|
||||||
|
\newcommand*{\cvlistitem}[2][\listitemsymbol]{}
|
||||||
|
|
||||||
|
% makes a resume line with 2 list items
|
||||||
|
% usage: \cvlistdoubleitem[label]{item1}{item2}
|
||||||
|
\newcommand*{\cvlistdoubleitem}[3][\listitemsymbol]{}
|
||||||
|
|
||||||
|
% makes a typical resume job / education entry
|
||||||
|
% usage: \cventry[spacing]{years}{degree/job title}{institution/employer}{localization}{optionnal: grade/...}{optional: comment/job description}
|
||||||
|
\newcommand*{\cventry}[7][.25em]{}
|
||||||
|
|
||||||
|
% makes a resume entry with a proficiency comment
|
||||||
|
% usage: \cvitemwithcomment[spacing]{header}{text}{comment}
|
||||||
|
\newcommand*{\cvitemwithcomment}[4][.25em]{}
|
||||||
|
|
||||||
|
% makes a generic hyperlink
|
||||||
|
% usage: \link[optional text]{link}
|
||||||
|
\newcommand*{\link}[2][]{%
|
||||||
|
\ifthenelse{\equal{#1}{}}%
|
||||||
|
{\href{#2}{#2}}%
|
||||||
|
{\href{#2}{#1}}}
|
||||||
|
|
||||||
|
% makes a http hyperlink
|
||||||
|
% usage: \httplink[optional text]{link}
|
||||||
|
\newcommand*{\httplink}[2][]{%
|
||||||
|
\ifthenelse{\equal{#1}{}}%
|
||||||
|
{\href{http://#2}{#2}}%
|
||||||
|
{\href{http://#2}{#1}}}
|
||||||
|
|
||||||
|
% makes an email hyperlink
|
||||||
|
% usage: \emaillink[optional text]{link}
|
||||||
|
\newcommand*{\emaillink}[2][]{%
|
||||||
|
\ifthenelse{\equal{#1}{}}%
|
||||||
|
{\href{mailto:#2}{#2}}%
|
||||||
|
{\href{mailto:#2}{#1}}}
|
||||||
|
|
||||||
|
% cvcolumns environment, where every column is created through \cvcolumn
|
||||||
|
% usage: \begin{cvcolumns}
|
||||||
|
% \cvcolumn[width]{head}{content}
|
||||||
|
% \cvcolumn[width]{head}{content}
|
||||||
|
% ...
|
||||||
|
% \end{cvcolumns}
|
||||||
|
% where "width" is the width as a fraction of the line length (between 0 and 1), "head" is the column header and "content" its content
|
||||||
|
\newcounter{cvcolumnscounter}% counter for the number of columns
|
||||||
|
\newcounter{cvcolumnsautowidthcounter}% counter for the number of columns with no column width provided, and which will then be equally distributed
|
||||||
|
\newcounter{tmpiteratorcounter}% counter for any temporary purpose (e.g., iterating loops)
|
||||||
|
\newlength{\cvcolumnsdummywidth}\setlength{\cvcolumnsdummywidth}{1000pt}% dummy width for total width, in order to enable arithmetics (TeX has no float variables, only integer counters or lengths)
|
||||||
|
\newlength{\cvcolumnswidth}% total width available for head / content
|
||||||
|
\newlength{\cvcolumnsautowidth}% total width of columns with no explicit width provided
|
||||||
|
\newlength{\cvcolumnautowidth}% width of one of the columns with no explicit width provided (based on equal distribution of remaining space)
|
||||||
|
\newif\if@cvcolumns@head@empty% whether or not at least one of the columns has a header
|
||||||
|
\newenvironment*{cvcolumns}%
|
||||||
|
{% at environment opening: reset counters, lengths and ifs
|
||||||
|
\setcounter{cvcolumnscounter}{0}%
|
||||||
|
\setcounter{cvcolumnsautowidthcounter}{0}%
|
||||||
|
\setlength{\cvcolumnsautowidth}{\cvcolumnsdummywidth}%
|
||||||
|
\setlength{\cvcolumnautowidth}{0pt}%
|
||||||
|
\@cvcolumns@head@emptytrue}%
|
||||||
|
{% at environment closing: typeset environment
|
||||||
|
% compute the width of each cvcolumn, considering a spacing of \separatorcolumnwidth and the columns with set width
|
||||||
|
\ifnum\thecvcolumnscounter>0%
|
||||||
|
\setlength{\cvcolumnswidth}{\maincolumnwidth-\value{cvcolumnscounter}\separatorcolumnwidth+\separatorcolumnwidth}%
|
||||||
|
\setlength{\cvcolumnautowidth}{\cvcolumnswidth*\ratio{\cvcolumnsautowidth}{\cvcolumnsdummywidth}/\value{cvcolumnsautowidthcounter}}\fi%
|
||||||
|
% pre-aggregate the tabular definition, heading and content (required before creating the tabular, as the tabular environment doesn't like loops --- probably because "&" generates a \endgroup)
|
||||||
|
% - the tabular definition is the aggregation of the different "\cvcolumn<i>@def" (by default "p{\cvcolumnautowidth}"), separated by "@{\hspace*{\separatorcolumnwidth}}"
|
||||||
|
% - the tabular heading is the aggregation of the different "\cvcolumn<i>@head", separated by "&"
|
||||||
|
% - the tabular content is the aggregation of the different "\cvcolumn<i>@content", separated by "&"
|
||||||
|
% to aggregate the different elements, \protected@edef or \g@addto@macro is required to avoid that \cvcolumns@def, -@head and -@content get expanded in subsequent redefinitions, which would cause errors due to the expansions of \hspace, of \subsectionstyle and possibly of user content/argument such as font commands
|
||||||
|
\def\cvcolumns@def{}%
|
||||||
|
\def\cvcolumns@head{}%
|
||||||
|
\def\cvcolumns@content{}%
|
||||||
|
\setcounter{tmpiteratorcounter}{0}%
|
||||||
|
% loop based on \g@addto@macro
|
||||||
|
\loop\ifnum\thetmpiteratorcounter<\thecvcolumnscounter%
|
||||||
|
\ifnum\thetmpiteratorcounter=0\else%
|
||||||
|
\g@addto@macro\cvcolumns@def{@{\hspace*{\separatorcolumnwidth}}}%
|
||||||
|
\g@addto@macro\cvcolumns@head{&}%
|
||||||
|
\g@addto@macro\cvcolumns@content{&}\fi%
|
||||||
|
\expandafter\g@addto@macro\expandafter\cvcolumns@def\expandafter{\csname cvcolumn\roman{tmpiteratorcounter}@def\endcsname}%
|
||||||
|
\expandafter\g@addto@macro\expandafter\cvcolumns@head\expandafter{\csname cvcolumn\roman{tmpiteratorcounter}@head\endcsname}%
|
||||||
|
\expandafter\g@addto@macro\expandafter\cvcolumns@content\expandafter{\csname cvcolumn\roman{tmpiteratorcounter}@content\endcsname}%
|
||||||
|
\stepcounter{tmpiteratorcounter}%
|
||||||
|
\repeat%
|
||||||
|
% % same loop based on \protected@edef
|
||||||
|
% \loop\ifnum\thetmpiteratorcounter<\thecvcolumnscounter%
|
||||||
|
% \ifnum\thetmpiteratorcounter=0\else%
|
||||||
|
% \protected@edef\cvcolumns@def{\cvcolumns@def @{\hspace*{\separatorcolumnwidth}}}%
|
||||||
|
% \protected@edef\cvcolumns@head{\cvcolumns@head &}%
|
||||||
|
% \protected@edef\cvcolumns@content{\cvcolumns@content &}\fi%
|
||||||
|
% \expandafter\protected@edef\expandafter\cvcolumns@def\expandafter{\expandafter\cvcolumns@def\expandafter\protect\csname cvcolumn\roman{tmpiteratorcounter}@def\endcsname}%
|
||||||
|
% \expandafter\protected@edef\expandafter\cvcolumns@head\expandafter{\expandafter\cvcolumns@head\expandafter\protect\csname cvcolumn\roman{tmpiteratorcounter}@head\endcsname}%
|
||||||
|
% \expandafter\protected@edef\expandafter\cvcolumns@content\expandafter{\expandafter\cvcolumns@content\expandafter\protect\csname cvcolumn\roman{tmpiteratorcounter}@content\endcsname}%
|
||||||
|
% \stepcounter{tmpiteratorcounter}%
|
||||||
|
% \repeat%
|
||||||
|
% create the tabular
|
||||||
|
\cvitem{}{%
|
||||||
|
\begin{tabular}{\cvcolumns@def}%
|
||||||
|
\if@cvcolumns@head@empty\else%
|
||||||
|
\cvcolumns@head\\[-.8em]%
|
||||||
|
{\color{color1}\rule{\maincolumnwidth}{.25pt}}\\\fi%
|
||||||
|
\cvcolumns@content%
|
||||||
|
\end{tabular}}}
|
||||||
|
|
||||||
|
% cvcolumn command, to create a column inside a cvcolumns environment
|
||||||
|
% usage: \cvcolumn[width]{head}{content}
|
||||||
|
% where "width" is the width as a fraction of the line length (between 0 and 1), "head" is the column header and "content" its content ("head" and "content" can contain "\\", "\newline" or any other paragraph command such as "itemize")
|
||||||
|
\newcommand*{\cvcolumn}[3][\cvcolumnautowidth]{%
|
||||||
|
% \def\cvcolumn@width{}%
|
||||||
|
\ifthenelse{\equal{#1}{\cvcolumnautowidth}}%
|
||||||
|
{% if no width fraction is provided, count this column as auto-adjusted and set its width to \cvcolumnsautowidth
|
||||||
|
\stepcounter{cvcolumnsautowidthcounter}%
|
||||||
|
\expandafter\expandafter\expandafter\def\expandafter\csname cvcolumn\roman{cvcolumnscounter}@def\endcsname{p{\cvcolumnautowidth}}%
|
||||||
|
\expandafter\expandafter\expandafter\def\expandafter\csname cvcolumn\roman{cvcolumnscounter}@head\endcsname{\protect\parbox[b]{\cvcolumnautowidth}{\protect\subsectionstyle{#2}}}}%
|
||||||
|
{% if a width is provided, set the width of the column to it and decrease the available space for auto-adjusted columns
|
||||||
|
\addtolength{\cvcolumnsautowidth}{-#1\cvcolumnsdummywidth}%
|
||||||
|
\expandafter\expandafter\expandafter\def\expandafter\csname cvcolumn\roman{cvcolumnscounter}@def\endcsname{p{#1\cvcolumnswidth}}%
|
||||||
|
\expandafter\expandafter\expandafter\def\expandafter\csname cvcolumn\roman{cvcolumnscounter}@head\endcsname{\protect\parbox[b]{#1\cvcolumnswidth}{\protect\subsectionstyle{#2}}}}%
|
||||||
|
\ifthenelse{\equal{#2}{}}{}{\@cvcolumns@head@emptyfalse}%
|
||||||
|
\expandafter\expandafter\expandafter\def\expandafter\csname cvcolumn\roman{cvcolumnscounter}@content\endcsname{\protect\cvcolumncell{#3}}%
|
||||||
|
\stepcounter{cvcolumnscounter}}
|
||||||
|
|
||||||
|
% internal cvcolumncell command, that enables a cvcolumn cell to contain paragraph commands (lists, newlines, etc)
|
||||||
|
\newcommand*{\cvcolumncell}[1]{{% put cell inside a group, so that command redefinitions are only local
|
||||||
|
% roughly restore \\ to its regular definition (outside of tabular)
|
||||||
|
\renewcommand*{\\}{\newline}%
|
||||||
|
% enclose the contents of the cell inside a vertical box, to allow paragraph commands
|
||||||
|
\protect\vtop{#1}}}
|
||||||
|
|
||||||
|
% thebibliography environment, for use with BibTeX and possibly multibib
|
||||||
|
\newlength{\bibindent}
|
||||||
|
\setlength{\bibindent}{1.5em}
|
||||||
|
% bibliography item label
|
||||||
|
\newcommand*{\bibliographyitemlabel}{}% use \@biblabel{\arabic{enumiv}} for BibTeX labels
|
||||||
|
%\newif\if@multibibfirstbib\@multibibfirstbibfalse
|
||||||
|
% bibliography head (section, etc}, depending on whether multibib is used
|
||||||
|
\newcommand*{\bibliographyhead}[1]{\section{#1}}
|
||||||
|
\AtEndPreamble{\@ifpackageloaded{multibib}{\renewcommand*{\bibliographyhead}[1]{\subsection{#1}}}{}}
|
||||||
|
% thebibliography environment definition
|
||||||
|
\newenvironment{thebibliography}[1]{}{}
|
||||||
|
\newcommand*{\newblock}{\hskip .11em\@plus.33em\@minus.07em}
|
||||||
|
\let\@openbib@code\@empty
|
||||||
|
|
||||||
|
% itemize, enumerate and description environment
|
||||||
|
\setlength{\leftmargini} {1em}
|
||||||
|
\leftmargin\leftmargini
|
||||||
|
\setlength{\leftmarginii} {\leftmargini}
|
||||||
|
\setlength{\leftmarginiii} {\leftmargini}
|
||||||
|
\setlength{\leftmarginiv} {\leftmargini}
|
||||||
|
\setlength{\leftmarginv} {\leftmargini}
|
||||||
|
\setlength{\leftmarginvi} {\leftmargini}
|
||||||
|
\setlength{\labelsep} {.5em}% this is the distance between the label and the body, but it pushes the label to the left rather than pushing the body to the right (to do the latter, modify \leftmargin(i)
|
||||||
|
\setlength{\labelwidth} {\leftmargini}% unfortunately, \labelwidth is not defined by item level (i.e. no \labeliwidth, \labeliiwidth, etc)
|
||||||
|
\addtolength{\labelwidth} {-\labelsep}
|
||||||
|
\@beginparpenalty -\@lowpenalty
|
||||||
|
\@endparpenalty -\@lowpenalty
|
||||||
|
\@itempenalty -\@lowpenalty
|
||||||
|
\newcommand\labelenumi{\theenumi.}
|
||||||
|
\newcommand\labelenumii{(\theenumii)}
|
||||||
|
\newcommand\labelenumiii{\theenumiii.}
|
||||||
|
\newcommand\labelenumiv{\theenumiv.}
|
||||||
|
\renewcommand\p@enumii{\theenumi}
|
||||||
|
\renewcommand\p@enumiii{\p@enumii(\theenumii)}
|
||||||
|
\renewcommand\p@enumiv{\p@enumiii\theenumiii}
|
||||||
|
% description label
|
||||||
|
\newcommand*\descriptionlabel[1]{\hspace\labelsep\normalfont\bfseries#1}
|
||||||
|
|
||||||
|
% classical \today definition
|
||||||
|
\def\today{\ifcase\month\or
|
||||||
|
January\or February\or March\or April\or May\or June\or
|
||||||
|
July\or August\or September\or October\or November\or December\fi
|
||||||
|
\space\number\day, \number\year}
|
||||||
|
|
||||||
|
%\newcommand{\widthofautobox}[1]{%
|
||||||
|
% \widthof{\begin{tabular}{@{}l@{}}#1\end{tabular}}}
|
||||||
|
|
||||||
|
%\newcommand{\autobox}[2][b]{%
|
||||||
|
% \parbox[#1]{\widthofautobox{#2}}{#2}}
|
||||||
|
|
||||||
|
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
% letter design commands definitions
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
% elements
|
||||||
|
\newcommand*{\recipient}[2]{\def\@recipientname{#1}\def\@recipientaddress{#2}}
|
||||||
|
\renewcommand*{\date}[1]{\def\@date{#1}}\date{\today}
|
||||||
|
\newcommand*{\opening}[1]{\def\@opening{#1}}
|
||||||
|
\newcommand*{\closing}[1]{\def\@closing{#1}}
|
||||||
|
\newcommand*{\enclosure}[2][]{%
|
||||||
|
% if an optional argument is provided, use it to redefine \enclname
|
||||||
|
\ifthenelse{\equal{#1}{}}{}{\renewcommand*{\enclname}{#1}}%
|
||||||
|
\def\@enclosure{#2}}
|
||||||
|
|
||||||
|
% recompute all letter lengths
|
||||||
|
\newcommand*{\recomputeletterlengths}{}
|
||||||
|
|
||||||
|
% makes the letter title
|
||||||
|
% usage: \makelettertitle
|
||||||
|
\newcommand*{\makelettertitle}{}
|
||||||
|
|
||||||
|
% makes the letter footer
|
||||||
|
% usage: \makeletterfooter
|
||||||
|
\newcommand*{\makeletterfooter}{\makefooter}
|
||||||
|
|
||||||
|
% makes the letter closing
|
||||||
|
% usage: \makeletterclosing
|
||||||
|
\newcommand*{\makeletterclosing}{}
|
||||||
|
|
||||||
|
|
||||||
|
\endinput
|
||||||
|
|
||||||
|
|
||||||
|
%% end of file `moderncv.cls'.
|
27
users/glittershark/resume/moderncvcolorblack.sty
Normal file
27
users/glittershark/resume/moderncvcolorblack.sty
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
%% start of file `moderncvcolorblack.sty'.
|
||||||
|
%% Copyright 2006-2013 Xavier Danaux (xdanaux@gmail.com).
|
||||||
|
%
|
||||||
|
% This work may be distributed and/or modified under the
|
||||||
|
% conditions of the LaTeX Project Public License version 1.3c,
|
||||||
|
% available at http://www.latex-project.org/lppl/.
|
||||||
|
|
||||||
|
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
% identification
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
\NeedsTeXFormat{LaTeX2e}
|
||||||
|
\ProvidesPackage{moderncvcolorblack}[2013/02/09 v1.3.0 modern curriculum vitae and letter color scheme: black]
|
||||||
|
|
||||||
|
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
% color scheme definition
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
\definecolor{color0}{rgb}{0,0,0}% black
|
||||||
|
\definecolor{color1}{rgb}{0,0,0}% black
|
||||||
|
\definecolor{color2}{rgb}{0,0,0}% black
|
||||||
|
|
||||||
|
|
||||||
|
\endinput
|
||||||
|
|
||||||
|
|
||||||
|
%% end of file `moderncvcolorblack.sty'.
|
27
users/glittershark/resume/moderncvcolorblue.sty
Normal file
27
users/glittershark/resume/moderncvcolorblue.sty
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
%% start of file `moderncvcolorblue.sty'.
|
||||||
|
%% Copyright 2006-2013 Xavier Danaux (xdanaux@gmail.com).
|
||||||
|
%
|
||||||
|
% This work may be distributed and/or modified under the
|
||||||
|
% conditions of the LaTeX Project Public License version 1.3c,
|
||||||
|
% available at http://www.latex-project.org/lppl/.
|
||||||
|
|
||||||
|
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
% identification
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
\NeedsTeXFormat{LaTeX2e}
|
||||||
|
\ProvidesPackage{moderncvcolorblue}[2013/02/09 v1.3.0 modern curriculum vitae and letter color scheme: blue]
|
||||||
|
|
||||||
|
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
% color scheme definition
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
\definecolor{color0}{rgb}{0,0,0}% black
|
||||||
|
\definecolor{color1}{rgb}{0.22,0.45,0.70}% light blue
|
||||||
|
\definecolor{color2}{rgb}{0.45,0.45,0.45}% dark grey
|
||||||
|
|
||||||
|
|
||||||
|
\endinput
|
||||||
|
|
||||||
|
|
||||||
|
%% end of file `moderncvcolorblue.sty'.
|
27
users/glittershark/resume/moderncvcolorgreen.sty
Normal file
27
users/glittershark/resume/moderncvcolorgreen.sty
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
%% start of file `moderncvcolorgreen.sty'.
|
||||||
|
%% Copyright 2006-2013 Xavier Danaux (xdanaux@gmail.com).
|
||||||
|
%
|
||||||
|
% This work may be distributed and/or modified under the
|
||||||
|
% conditions of the LaTeX Project Public License version 1.3c,
|
||||||
|
% available at http://www.latex-project.org/lppl/.
|
||||||
|
|
||||||
|
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
% identification
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
\NeedsTeXFormat{LaTeX2e}
|
||||||
|
\ProvidesPackage{moderncvcolorgreen}[2013/02/09 v1.3.0 modern curriculum vitae and letter color scheme: green]
|
||||||
|
|
||||||
|
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
% color scheme definition
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
\definecolor{color0}{rgb}{0,0,0}% black
|
||||||
|
\definecolor{color1}{rgb}{0.35,0.70,0.30}% green
|
||||||
|
\definecolor{color2}{rgb}{0.45,0.45,0.45}% dark grey
|
||||||
|
|
||||||
|
|
||||||
|
\endinput
|
||||||
|
|
||||||
|
|
||||||
|
%% end of file `moderncvcolorgreen.sty'.
|
27
users/glittershark/resume/moderncvcolorgrey.sty
Normal file
27
users/glittershark/resume/moderncvcolorgrey.sty
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
%% start of file `moderncvcolorgrey.sty'.
|
||||||
|
%% Copyright 2006-2013 Xavier Danaux (xdanaux@gmail.com).
|
||||||
|
%
|
||||||
|
% This work may be distributed and/or modified under the
|
||||||
|
% conditions of the LaTeX Project Public License version 1.3c,
|
||||||
|
% available at http://www.latex-project.org/lppl/.
|
||||||
|
|
||||||
|
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
% identification
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
\NeedsTeXFormat{LaTeX2e}
|
||||||
|
\ProvidesPackage{moderncvcolorgrey}[2013/02/09 v1.3.0 modern curriculum vitae and letter color scheme: grey]
|
||||||
|
|
||||||
|
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
% color scheme definition
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
\definecolor{color0}{rgb}{0,0,0}% black
|
||||||
|
\definecolor{color1}{rgb}{0.55,0.55,0.55}% dark grey
|
||||||
|
\definecolor{color2}{rgb}{0.55,0.55,0.55}% dark grey
|
||||||
|
|
||||||
|
|
||||||
|
\endinput
|
||||||
|
|
||||||
|
|
||||||
|
%% end of file `moderncvcolorgrey.sty'.
|
27
users/glittershark/resume/moderncvcolororange.sty
Normal file
27
users/glittershark/resume/moderncvcolororange.sty
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
%% start of file `moderncvcolororange.sty'.
|
||||||
|
%% Copyright 2006-2013 Xavier Danaux (xdanaux@gmail.com).
|
||||||
|
%
|
||||||
|
% This work may be distributed and/or modified under the
|
||||||
|
% conditions of the LaTeX Project Public License version 1.3c,
|
||||||
|
% available at http://www.latex-project.org/lppl/.
|
||||||
|
|
||||||
|
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
% identification
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
\NeedsTeXFormat{LaTeX2e}
|
||||||
|
\ProvidesPackage{moderncvcolororange}[2013/02/09 v1.3.0 modern curriculum vitae and letter color scheme: orange]
|
||||||
|
|
||||||
|
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
% color scheme definition
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
\definecolor{color0}{rgb}{0,0,0}% black
|
||||||
|
\definecolor{color1}{rgb}{0.95,0.55,0.15}% orange
|
||||||
|
\definecolor{color2}{rgb}{0.45,0.45,0.45}% dark grey
|
||||||
|
|
||||||
|
|
||||||
|
\endinput
|
||||||
|
|
||||||
|
|
||||||
|
%% end of file `moderncvcolororange.sty'.
|
27
users/glittershark/resume/moderncvcolorpurple.sty
Normal file
27
users/glittershark/resume/moderncvcolorpurple.sty
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
%% start of file `moderncvcolorpurple.sty'.
|
||||||
|
%% Copyright 2006-2013 Xavier Danaux (xdanaux@gmail.com).
|
||||||
|
%
|
||||||
|
% This work may be distributed and/or modified under the
|
||||||
|
% conditions of the LaTeX Project Public License version 1.3c,
|
||||||
|
% available at http://www.latex-project.org/lppl/.
|
||||||
|
|
||||||
|
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
% identification
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
\NeedsTeXFormat{LaTeX2e}
|
||||||
|
\ProvidesPackage{moderncvcolorpurple}[2013/02/09 v1.3.0 modern curriculum vitae and letter color scheme: purple]
|
||||||
|
|
||||||
|
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
% color scheme definition
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
\definecolor{color0}{rgb}{0,0,0}% black
|
||||||
|
\definecolor{color1}{rgb}{0.50,0.33,0.80}% purple
|
||||||
|
\definecolor{color2}{rgb}{0.45,0.45,0.45}% dark grey
|
||||||
|
|
||||||
|
|
||||||
|
\endinput
|
||||||
|
|
||||||
|
|
||||||
|
%% end of file `moderncvcolorpurple.sty'.
|
27
users/glittershark/resume/moderncvcolorred.sty
Normal file
27
users/glittershark/resume/moderncvcolorred.sty
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
%% start of file `moderncvcolorred.sty'.
|
||||||
|
%% Copyright 2006-2013 Xavier Danaux (xdanaux@gmail.com).
|
||||||
|
%
|
||||||
|
% This work may be distributed and/or modified under the
|
||||||
|
% conditions of the LaTeX Project Public License version 1.3c,
|
||||||
|
% available at http://www.latex-project.org/lppl/.
|
||||||
|
|
||||||
|
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
% identification
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
\NeedsTeXFormat{LaTeX2e}
|
||||||
|
\ProvidesPackage{moderncvcolorred}[2013/02/09 v1.3.0 modern curriculum vitae and letter color scheme: red]
|
||||||
|
|
||||||
|
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
% color scheme definition
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
\definecolor{color0}{rgb}{0,0,0}% black
|
||||||
|
\definecolor{color1}{rgb}{0.95,0.20,0.20}% red
|
||||||
|
\definecolor{color2}{rgb}{0.45,0.45,0.45}% dark grey
|
||||||
|
|
||||||
|
|
||||||
|
\endinput
|
||||||
|
|
||||||
|
|
||||||
|
%% end of file `moderncvcolorred.sty'.
|
104
users/glittershark/resume/moderncvcompatibility.sty
Normal file
104
users/glittershark/resume/moderncvcompatibility.sty
Normal file
|
@ -0,0 +1,104 @@
|
||||||
|
%% start of file `moderncvcompatibility.sty'.
|
||||||
|
%% Copyright 2006-2013 Xavier Danaux (xdanaux@gmail.com).
|
||||||
|
%
|
||||||
|
% This work may be distributed and/or modified under the
|
||||||
|
% conditions of the LaTeX Project Public License version 1.3c,
|
||||||
|
% available at http://www.latex-project.org/lppl/.
|
||||||
|
|
||||||
|
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
% identification
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
\NeedsTeXFormat{LaTeX2e}
|
||||||
|
\ProvidesPackage{moderncvcompatibility}[2013/02/09 v1.3.0 modern curriculum vitae and letter compatibility patches]
|
||||||
|
|
||||||
|
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
% required packages
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
% package options
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
% old casual option (version 0.1)
|
||||||
|
%\DeclareOption{casual}{\input{moderncvstylecasual.sty}}
|
||||||
|
|
||||||
|
% old classic option (version 0.1)
|
||||||
|
%\DeclareOption{classic}{\input{moderncvstyleclassic.sty}}
|
||||||
|
|
||||||
|
\DeclareOption*{}
|
||||||
|
|
||||||
|
% process given options
|
||||||
|
\ProcessOptions\relax
|
||||||
|
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
% definitions
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
% compatibility with version 0.1
|
||||||
|
\newcommand*{\cvresume}[2]{\cvlistdoubleitem{#1}{#2}}
|
||||||
|
|
||||||
|
% compatibility with versions <= 0.2
|
||||||
|
% section, cvline, ... with width argument...
|
||||||
|
%\newcommand*{\section}[2][0.825]{%
|
||||||
|
% \closesection{}%
|
||||||
|
% \@sectionopentrue%
|
||||||
|
% \addcontentsline{toc}{part}{#2}
|
||||||
|
% \begin{longtable}[t]{@{}r@{\hspace{.025\textwidth}}@{}p{#1\textwidth}@{}}%
|
||||||
|
%% \colorrule{.15\textwidth}&\mbox{\color{sectiontitlecolor}\sectionfont#2}\\[1ex]}%
|
||||||
|
% {\color{sectionrectanglecolor}\rule{0.15\textwidth}{1ex}}&\mbox{\color{sectiontitlecolor}\sectionfont#2}\\[1ex]}%
|
||||||
|
%\newcommand*{\cvline}[3][.825]{%
|
||||||
|
% \begin{minipage}[t]{\hintscolumnwidth}\raggedleft\small\sffamily#2\end{minipage}&\begin{minipage}[t]{\maincolumnwidth}#3\end{minipage}\\}
|
||||||
|
%\newcommand*{\cvitem}[3][.825]{%
|
||||||
|
% \cvline[#1]{#2}{#3\vspace*{.75em}}} % the \vspace*{} inside the cvline environment is a hack... (should conceptually be outside the environment)
|
||||||
|
|
||||||
|
% compatibility with versions <= 0.5
|
||||||
|
%\newcommand*{\cvitem}[2]{\cvline{#1}{#2}}
|
||||||
|
%\newcommand*{\moderncvstyle}[1]{\moderncvtheme{#1}}
|
||||||
|
|
||||||
|
% compatibility with versions <= 0.7
|
||||||
|
\newcommand*{\closesection}{}
|
||||||
|
\newcommand*{\emptysection}{}
|
||||||
|
\newcommand*{\sethintscolumnlength}[1]{%
|
||||||
|
\setlength{\hintscolumnwidth}{#1}%
|
||||||
|
\recomputelengths}
|
||||||
|
\newcommand*{\sethintscolumntowidth}[1]{%
|
||||||
|
\settowidth{\hintscolumnwidth}{#1}%
|
||||||
|
\recomputelengths}
|
||||||
|
|
||||||
|
% compatibility with versions <= 0.15
|
||||||
|
\newcommand*{\cvline}[2]{\cvitem{#1}{#2}}
|
||||||
|
\newcommand*{\cvlanguage}[3]{\cvitemwithcomment{#1}{#2}{#3}}
|
||||||
|
\newcommand*{\cvcomputer}[4]{\cvdoubleitem{#1}{\small#2}{#3}{\small#4}}
|
||||||
|
\newcommand*{\moderncvtheme}[2][blue]{%
|
||||||
|
\moderncvcolor{#1}%
|
||||||
|
\moderncvstyle{#2}}
|
||||||
|
|
||||||
|
% compatibility with versions <= 0.19
|
||||||
|
\newcommand*{\maketitle}{\makecvtitle}%
|
||||||
|
\title{}% to avoid LaTeX complaining that \maketitle is a called without first a call to \title
|
||||||
|
\newcommand*{\maketitlenamewidth}{\makecvtitlenamewidth}
|
||||||
|
|
||||||
|
% compatibility with versions <= 1.3.0
|
||||||
|
\newcommand*{\firstname}[1]{\def\@firstname{#1}}
|
||||||
|
\newcommand*{\lastname}[1]{\def\@lastname{#1}}
|
||||||
|
\newcommand*{\givenname}[1]{\def\@firstname{#1}}
|
||||||
|
\newcommand*{\familyname}[1]{\def\@lastname{#1}}
|
||||||
|
\def\@familyname{\@lastname}
|
||||||
|
|
||||||
|
% compatibility with versions <= 1.4.0
|
||||||
|
\newcommand*{\mobile}[1]{\collectionadd[mobile]{phones}{#1}}
|
||||||
|
%\newcommand*{\phone}[1]{\collectionadd[fixed]{phones}{#1}}% implicit, as \phone{...} defaults to \phone[fixed]{...}
|
||||||
|
\newcommand*{\fax}[1]{\collectionadd[fax]{phones}{#1}}
|
||||||
|
\newcommand*{\@mobile}{\collectionfindbykey{phones}{mobile}}
|
||||||
|
\newcommand*{\@phone}{\collectionfindbykey{phones}{fixed}}
|
||||||
|
\newcommand*{\@fax}{\collectionfindbykey{phones}{fax}}
|
||||||
|
\newcommand*{\phonesymbol}{\fixedphonesymbol}
|
||||||
|
\newcommand*{\mobilesymbol}{\mobilephonesymbol}
|
||||||
|
\newcommand*{\faxsymbol}{\faxphonesymbol}
|
||||||
|
|
||||||
|
|
||||||
|
\endinput
|
||||||
|
|
||||||
|
|
||||||
|
%% end of file `moderncvcompatibility.sty'.
|
50
users/glittershark/resume/moderncviconsletters.sty
Normal file
50
users/glittershark/resume/moderncviconsletters.sty
Normal file
|
@ -0,0 +1,50 @@
|
||||||
|
%% start of file `moderncviconsletters.sty'.
|
||||||
|
%% Copyright 2013-2013 Xavier Danaux (xdanaux@gmail.com).
|
||||||
|
%
|
||||||
|
% This work may be distributed and/or modified under the
|
||||||
|
% conditions of the LaTeX Project Public License version 1.3c,
|
||||||
|
% available at http://www.latex-project.org/lppl/.
|
||||||
|
|
||||||
|
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
% identification
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
\NeedsTeXFormat{LaTeX2e}
|
||||||
|
\ProvidesPackage{moderncviconsmarvosym}[2013/02/09 v1.3.0 modern curriculum vitae and letter icons: letters]
|
||||||
|
|
||||||
|
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
% required packages
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
% MarVoSym font
|
||||||
|
%\RequirePackage{marvosym}
|
||||||
|
\newcommand*{\marvosymbol}[1]{}
|
||||||
|
%\ifxetexorluatex
|
||||||
|
% \renewcommand*{\marvosymbol}[1]{{\fontspec{MarVoSym}\char#1}}
|
||||||
|
%\else
|
||||||
|
\renewcommand*{\marvosymbol}[1]{{\fontfamily{mvs}\fontencoding{U}\fontseries{m}\fontshape{n}\selectfont\char#1}}
|
||||||
|
%\fi
|
||||||
|
|
||||||
|
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
% symbols definition
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
\renewcommand*{\labelitemi}{\strut\textcolor{color1}{\marvosymbol{123}}}% equivalent to \Neutral from marvosym package; alternative: \fontencoding{U}\fontfamily{ding}\selectfont\tiny\symbol{'102}
|
||||||
|
%\renewcommand*{\labelitemii}{\strut\textcolor{color1}{\large\bfseries-}}% no change from default in moderncv.cls
|
||||||
|
%\renewcommand*{\labelitemiii}{\strut\textcolor{color1}{\rmfamily\textperiodcentered}}% no change from default in moderncv.cls
|
||||||
|
%\renewcommand*{\labelitemiv}{\labelitemiii}% no change from default in moderncv.cls
|
||||||
|
|
||||||
|
\renewcommand*{\addresssymbol}{}
|
||||||
|
\renewcommand*{\mobilephonesymbol}{\textbf{M}~}
|
||||||
|
\renewcommand*{\fixedphonesymbol}{\textbf{T}~}
|
||||||
|
\renewcommand*{\faxphonesymbol}{\textbf{F}~}
|
||||||
|
\renewcommand*{\emailsymbol}{\textbf{E}~}
|
||||||
|
\renewcommand*{\homepagesymbol}{}
|
||||||
|
|
||||||
|
\renewcommand*{\listitemsymbol}{\labelitemi~}
|
||||||
|
|
||||||
|
|
||||||
|
\endinput
|
||||||
|
|
||||||
|
|
||||||
|
%% end of file `moderncviconsletters.sty'.
|
48
users/glittershark/resume/moderncviconsmarvosym.sty
Normal file
48
users/glittershark/resume/moderncviconsmarvosym.sty
Normal file
|
@ -0,0 +1,48 @@
|
||||||
|
%% start of file `moderncviconsmarvosym.sty'.
|
||||||
|
%% Copyright 2013-2013 Xavier Danaux (xdanaux@gmail.com).
|
||||||
|
%
|
||||||
|
% This work may be distributed and/or modified under the
|
||||||
|
% conditions of the LaTeX Project Public License version 1.3c,
|
||||||
|
% available at http://www.latex-project.org/lppl/.
|
||||||
|
|
||||||
|
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
% identification
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
\NeedsTeXFormat{LaTeX2e}
|
||||||
|
\ProvidesPackage{moderncviconsmarvosym}[2013/02/09 v1.3.0 modern curriculum vitae and letter icons: marvosym]
|
||||||
|
|
||||||
|
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
% required packages
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
% MarVoSym font
|
||||||
|
%\RequirePackage{marvosym}
|
||||||
|
\newcommand*{\marvosymbol}[1]{}
|
||||||
|
%\ifxetexorluatex
|
||||||
|
% \renewcommand*{\marvosymbol}[1]{{\fontspec{MarVoSym}\char#1}}
|
||||||
|
%\else
|
||||||
|
\renewcommand*{\marvosymbol}[1]{{\fontfamily{mvs}\fontencoding{U}\fontseries{m}\fontshape{n}\selectfont\char#1}}
|
||||||
|
%\fi
|
||||||
|
|
||||||
|
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
% symbols definition
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
\renewcommand*{\labelitemi}{\strut\textcolor{color1}{\marvosymbol{123}}}% equivalent to \Neutral from marvosym package; alternative: \fontencoding{U}\fontfamily{ding}\selectfont\tiny\symbol{'102}
|
||||||
|
%\renewcommand*{\labelitemii}{\strut\textcolor{color1}{\large\bfseries-}}% no change from default in moderncv.cls
|
||||||
|
%\renewcommand*{\labelitemiii}{\strut\textcolor{color1}{\rmfamily\textperiodcentered}}% no change from default in moderncv.cls
|
||||||
|
%\renewcommand*{\labelitemiv}{\labelitemiii}% no change from default in moderncv.cls
|
||||||
|
|
||||||
|
\renewcommand*{\addresssymbol}{}
|
||||||
|
\renewcommand*{\mobilephonesymbol}{\marvosymbol{72}~}
|
||||||
|
\renewcommand*{\fixedphonesymbol}{\marvosymbol{84}~}
|
||||||
|
\renewcommand*{\faxphonesymbol}{\marvosymbol{117}~}
|
||||||
|
\renewcommand*{\emailsymbol}{\marvosymbol{66}~}
|
||||||
|
\renewcommand*{\homepagesymbol}{{\Large\marvosymbol{205}}~}
|
||||||
|
|
||||||
|
|
||||||
|
\endinput
|
||||||
|
|
||||||
|
|
||||||
|
%% end of file `moderncviconsmarvosym.sty'.
|
287
users/glittershark/resume/moderncvstylebanking.sty
Normal file
287
users/glittershark/resume/moderncvstylebanking.sty
Normal file
|
@ -0,0 +1,287 @@
|
||||||
|
%% start of file `moderncvstylebanking.sty'.
|
||||||
|
%% Copyright 2006-2013 Xavier Danaux (xdanaux@gmail.com).
|
||||||
|
%
|
||||||
|
% This work may be distributed and/or modified under the
|
||||||
|
% conditions of the LaTeX Project Public License version 1.3c,
|
||||||
|
% available at http://www.latex-project.org/lppl/.
|
||||||
|
|
||||||
|
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
% identification
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
\NeedsTeXFormat{LaTeX2e}
|
||||||
|
\ProvidesPackage{moderncvstylebanking}[2013/02/09 v1.3.0 modern curriculum vitae and letter style scheme: banking]
|
||||||
|
|
||||||
|
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
% required packages
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
% overall style definition
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
% fonts
|
||||||
|
%\ifxetexorluatex
|
||||||
|
% \setmainfont{Tex-Gyre Pagella}
|
||||||
|
% \setsansfont{Tex-Gyre Pagella}
|
||||||
|
% \setmathfont{Tex-Gyre Pagella}
|
||||||
|
% \setmathfont[range=\mathit,\mathsfit]{Tex-Gyre Pagella Italic}
|
||||||
|
% \setmathfont[range=\mathbfup,\mathbfsfup]{Tex-Gyre Pagella Bold}
|
||||||
|
% \setmathfont[range=\mathbfit,\mathbfsfit]{Tex-Gyre Pagella Bold Italic}
|
||||||
|
%\else
|
||||||
|
\IfFileExists{tgpagella.sty}%
|
||||||
|
{%
|
||||||
|
\RequirePackage{tgpagella}%
|
||||||
|
\renewcommand*{\familydefault}{\rmdefault}}%
|
||||||
|
{}
|
||||||
|
%\fi
|
||||||
|
|
||||||
|
% symbols
|
||||||
|
\moderncvicons{marvosym}
|
||||||
|
|
||||||
|
% commands
|
||||||
|
\newcommand*{\maketitlesymbol}{%
|
||||||
|
{~~~{\rmfamily\textbullet}~~~}}% the \rmfamily is required to force Latin Modern fonts when using sans serif, as OMS/lmss/m/n is not defined and gets substituted by OMS/cmsy/m/n
|
||||||
|
% internal command to add an element to the footer
|
||||||
|
% it collects the elements in a temporary box, and checks when to flush the box
|
||||||
|
\newsavebox{\maketitlebox}%
|
||||||
|
\newsavebox{\maketitletempbox}%
|
||||||
|
\newlength{\maketitlewidth}%
|
||||||
|
\newlength{\maketitleboxwidth}%
|
||||||
|
\newif\if@firstmaketitleelement\@firstmaketitleelementtrue%
|
||||||
|
% adds an element to the maketitle, separated by maketitlesymbol
|
||||||
|
% usage: \addtomaketitle[maketitlesymbol]{element}
|
||||||
|
\newcommand*{\addtomaketitle}[2][\maketitlesymbol]{%
|
||||||
|
\if@firstmaketitleelement%
|
||||||
|
\savebox{\maketitletempbox}{\usebox{\maketitlebox}#2}%
|
||||||
|
\else%
|
||||||
|
\savebox{\maketitletempbox}{\usebox{\maketitlebox}#1#2}\fi%
|
||||||
|
\settowidth{\maketitleboxwidth}{\usebox{\maketitletempbox}}%
|
||||||
|
\ifnum\maketitleboxwidth<\maketitlewidth%
|
||||||
|
\savebox{\maketitlebox}{\usebox{\maketitletempbox}}%
|
||||||
|
\@firstmaketitleelementfalse%
|
||||||
|
\else%
|
||||||
|
\flushmaketitle{}\\%
|
||||||
|
\savebox{\maketitlebox}{#2}%
|
||||||
|
\savebox{\maketitletempbox}{#2}%
|
||||||
|
\settowidth{\maketitleboxwidth}{\usebox{\maketitlebox}}%
|
||||||
|
\@firstmaketitleelementfalse\fi}
|
||||||
|
% internal command to flush the maketitle
|
||||||
|
\newcommand*{\flushmaketitle}{%
|
||||||
|
\strut\usebox{\maketitlebox}%
|
||||||
|
\savebox{\maketitlebox}{}%
|
||||||
|
\savebox{\maketitletempbox}{}%
|
||||||
|
\setlength{\maketitleboxwidth}{0pt}}
|
||||||
|
\renewcommand*{\maketitle}{%
|
||||||
|
\setlength{\maketitlewidth}{0.8\textwidth}%
|
||||||
|
\hfil%
|
||||||
|
\parbox{\maketitlewidth}{%
|
||||||
|
\centering%
|
||||||
|
% name and title
|
||||||
|
\namestyle{\@firstname~\@lastname}%
|
||||||
|
\ifthenelse{\equal{\@title}{}}{}{\titlestyle{~|~\@title}}\\% \isundefined doesn't work on \@title, as LaTeX itself defines \@title (before it possibly gets redefined by \title)
|
||||||
|
% detailed information
|
||||||
|
\addressfont\color{color2}%
|
||||||
|
\ifthenelse{\isundefined{\@addressstreet}}{}{\addtomaketitle{\addresssymbol\@addressstreet}%
|
||||||
|
\ifthenelse{\equal{\@addresscity}{}}{}{\addtomaketitle[~--~]{\@addresscity}}% if \addresstreet is defined, \addresscity and \addresscountry will always be defined but could be empty
|
||||||
|
\ifthenelse{\equal{\@addresscountry}{}}{}{\addtomaketitle[~--~]{\@addresscountry}}%
|
||||||
|
\flushmaketitle\@firstmaketitleelementtrue\\}%
|
||||||
|
\collectionloop{phones}{% the key holds the phone type (=symbol command prefix), the item holds the number
|
||||||
|
\addtomaketitle{\csname\collectionloopkey phonesymbol\endcsname\collectionloopitem}}%
|
||||||
|
\ifthenelse{\isundefined{\@email}}{}{\addtomaketitle{\emailsymbol\emaillink{\@email}}}%
|
||||||
|
\ifthenelse{\isundefined{\@homepage}}{}{\addtomaketitle{\homepagesymbol\httplink{\@homepage}}}%
|
||||||
|
\ifthenelse{\isundefined{\@extrainfo}}{}{\addtomaketitle{\@extrainfo}}%
|
||||||
|
\flushmaketitle}\\[2.5em]}% need to force a \par after this to avoid weird spacing bug at the first section if no blank line is left after \maketitle
|
||||||
|
|
||||||
|
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
% resume style definition
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
% fonts
|
||||||
|
\renewcommand*{\namefont}{\Huge\bfseries\upshape}
|
||||||
|
\renewcommand*{\titlefont}{\Huge\mdseries\upshape}
|
||||||
|
\renewcommand*{\addressfont}{\normalsize\mdseries\upshape}
|
||||||
|
\renewcommand*{\quotefont}{\large\slshape}
|
||||||
|
\renewcommand*{\sectionfont}{\Large\bfseries\upshape}
|
||||||
|
\renewcommand*{\subsectionfont}{\large\upshape\fontseries{sb}\selectfont}
|
||||||
|
\renewcommand*{\hintfont}{\bfseries}
|
||||||
|
|
||||||
|
% styles
|
||||||
|
\renewcommand*{\namestyle}[1]{{\namefont\textcolor{color1}{#1}}}
|
||||||
|
\renewcommand*{\titlestyle}[1]{{\titlefont\textcolor{color2!85}{#1}}}
|
||||||
|
\renewcommand*{\addressstyle}[1]{{\addressfont\textcolor{color1}{#1}}}
|
||||||
|
\renewcommand*{\quotestyle}[1]{{\quotefont\textcolor{color1}{#1}}}
|
||||||
|
\renewcommand*{\sectionstyle}[1]{{\sectionfont\textcolor{color1}{#1}}}
|
||||||
|
\renewcommand*{\subsectionstyle}[1]{{\subsectionfont\textcolor{color1}{#1}}}
|
||||||
|
\renewcommand*{\hintstyle}[1]{{\hintfont\textcolor{color0}{#1}}}
|
||||||
|
|
||||||
|
% lengths
|
||||||
|
\newlength{\quotewidth}
|
||||||
|
\newlength{\hintscolumnwidth}
|
||||||
|
\setlength{\hintscolumnwidth}{0.3\textwidth}%
|
||||||
|
\newlength{\separatorcolumnwidth}
|
||||||
|
\setlength{\separatorcolumnwidth}{0.025\textwidth}%
|
||||||
|
\newlength{\maincolumnwidth}
|
||||||
|
\newlength{\doubleitemcolumnwidth}
|
||||||
|
\newlength{\listitemsymbolwidth}
|
||||||
|
\settowidth{\listitemsymbolwidth}{\listitemsymbol}
|
||||||
|
\newlength{\listitemmaincolumnwidth}
|
||||||
|
\newlength{\listdoubleitemmaincolumnwidth}
|
||||||
|
|
||||||
|
% commands
|
||||||
|
\renewcommand*{\recomputecvlengths}{%
|
||||||
|
\setlength{\quotewidth}{0.65\textwidth}%
|
||||||
|
% main lenghts
|
||||||
|
\setlength{\maincolumnwidth}{\textwidth}%
|
||||||
|
% listitem lengths
|
||||||
|
\setlength{\listitemmaincolumnwidth}{\maincolumnwidth-\listitemsymbolwidth}%
|
||||||
|
% doubleitem lengths
|
||||||
|
\setlength{\doubleitemcolumnwidth}{\maincolumnwidth-\separatorcolumnwidth}%
|
||||||
|
\setlength{\doubleitemcolumnwidth}{0.5\doubleitemcolumnwidth}%
|
||||||
|
% listdoubleitem lengths
|
||||||
|
\setlength{\listdoubleitemmaincolumnwidth}{\maincolumnwidth-\listitemsymbolwidth-\separatorcolumnwidth-\listitemsymbolwidth}%
|
||||||
|
\setlength{\listdoubleitemmaincolumnwidth}{0.5\listdoubleitemmaincolumnwidth}%
|
||||||
|
% fancyhdr lengths
|
||||||
|
\renewcommand{\headwidth}{\textwidth}%
|
||||||
|
% regular lengths
|
||||||
|
\setlength{\parskip}{0\p@}}
|
||||||
|
|
||||||
|
\renewcommand*{\makecvtitle}{%
|
||||||
|
% recompute lengths (in case we are switching from letter to resume, or vice versa)
|
||||||
|
\recomputecvlengths%
|
||||||
|
\maketitle%
|
||||||
|
% optional quote
|
||||||
|
\ifthenelse{\isundefined{\@quote}}%
|
||||||
|
{}%
|
||||||
|
{{\centering\begin{minipage}{\quotewidth}\centering\quotestyle{\@quote}\end{minipage}\\[2.5em]}}%
|
||||||
|
\par}% to avoid weird spacing bug at the first section if no blank line is left after \maketitle}
|
||||||
|
|
||||||
|
\RenewDocumentCommand{\section}{sm}{%
|
||||||
|
\par\addvspace{2.5ex}%
|
||||||
|
\phantomsection{}% reset the anchor for hyperrefs
|
||||||
|
\addcontentsline{toc}{section}{#2}%
|
||||||
|
\strut\sectionstyle{#2}%
|
||||||
|
{\color{color1}\hrule}%
|
||||||
|
\par\nobreak\addvspace{1ex}\@afterheading}
|
||||||
|
|
||||||
|
\newcommand{\subsectionfill}{\xleaders\hbox to 0.35em{\scriptsize.}\hfill}% different subsectionfills will not be perfectly aligned, but remaining space at the end of the fill will be distributed evenly between leaders, so it will be barely visible
|
||||||
|
\RenewDocumentCommand{\subsection}{sm}{%
|
||||||
|
\par\addvspace{1ex}%
|
||||||
|
\phantomsection{}%
|
||||||
|
\addcontentsline{toc}{subsection}{#2}%
|
||||||
|
\strut\subsectionstyle{#2}{\color{color1}{\subsectionfill}}%
|
||||||
|
\par\nobreak\addvspace{0.5ex}\@afterheading}
|
||||||
|
|
||||||
|
\renewcommand*{\cvitem}[3][.25em]{%
|
||||||
|
\ifthenelse{\equal{#2}{}}{}{\hintstyle{#2}: }{#3}%
|
||||||
|
\par\addvspace{#1}}
|
||||||
|
|
||||||
|
\renewcommand*{\cvdoubleitem}[5][.25em]{%
|
||||||
|
\begin{minipage}[t]{\doubleitemcolumnwidth}\hintstyle{#2}: #3\end{minipage}%
|
||||||
|
\hfill% fill of \separatorcolumnwidth
|
||||||
|
\begin{minipage}[t]{\doubleitemcolumnwidth}\ifthenelse{\equal{#4}{}}{}{\hintstyle{#4}: }#5\end{minipage}%
|
||||||
|
\par\addvspace{#1}}
|
||||||
|
|
||||||
|
\renewcommand*{\cvlistitem}[2][.25em]{%
|
||||||
|
\listitemsymbol\begin{minipage}[t]{\listitemmaincolumnwidth}#2\end{minipage}%
|
||||||
|
\par\addvspace{#1}}
|
||||||
|
|
||||||
|
\renewcommand*{\cvlistdoubleitem}[3][.25em]{%
|
||||||
|
\cvitem[#1]{}{\listitemsymbol\begin{minipage}[t]{\listdoubleitemmaincolumnwidth}#2\end{minipage}%
|
||||||
|
\hfill% fill of \separatorcolumnwidth
|
||||||
|
\ifthenelse{\equal{#3}{}}%
|
||||||
|
{}%
|
||||||
|
{\listitemsymbol\begin{minipage}[t]{\listdoubleitemmaincolumnwidth}#3\end{minipage}}}}
|
||||||
|
|
||||||
|
\renewcommand*{\cventry}[7][.25em]{
|
||||||
|
\begin{tabular*}{\textwidth}{l@{\extracolsep{\fill}}r}%
|
||||||
|
{\bfseries #4} & {\bfseries #5} \\%
|
||||||
|
{\itshape #3\ifthenelse{\equal{#6}{}}{}{, #6}} & {\itshape #2}\\%
|
||||||
|
\end{tabular*}%
|
||||||
|
\ifx&%
|
||||||
|
\else{\\\vbox{\small#7}}\fi%
|
||||||
|
\par\addvspace{#1}}
|
||||||
|
|
||||||
|
\newbox{\cvitemwithcommentmainbox}
|
||||||
|
\newlength{\cvitemwithcommentmainlength}
|
||||||
|
\newlength{\cvitemwithcommentcommentlength}
|
||||||
|
\renewcommand*{\cvitemwithcomment}[4][.25em]{%
|
||||||
|
\savebox{\cvitemwithcommentmainbox}{\ifthenelse{\equal{#2}{}}{}{\hintstyle{#2}: }#3}%
|
||||||
|
\setlength{\cvitemwithcommentmainlength}{\widthof{\usebox{\cvitemwithcommentmainbox}}}%
|
||||||
|
\setlength{\cvitemwithcommentcommentlength}{\maincolumnwidth-\separatorcolumnwidth-\cvitemwithcommentmainlength}%
|
||||||
|
\begin{minipage}[t]{\cvitemwithcommentmainlength}\ifthenelse{\equal{#2}{}}{}{\hintstyle{#2}: }#3\end{minipage}%
|
||||||
|
\hfill% fill of \separatorcolumnwidth
|
||||||
|
\begin{minipage}[t]{\cvitemwithcommentcommentlength}\raggedleft\small\itshape#4\end{minipage}%
|
||||||
|
\par\addvspace{#1}}
|
||||||
|
|
||||||
|
\renewenvironment{thebibliography}[1]%
|
||||||
|
{%
|
||||||
|
\bibliographyhead{\refname}%
|
||||||
|
% \small%
|
||||||
|
\begin{list}{\bibliographyitemlabel}%
|
||||||
|
{%
|
||||||
|
\setlength{\topsep}{0pt}%
|
||||||
|
\setlength{\labelwidth}{0pt}%
|
||||||
|
\setlength{\labelsep}{0pt}%
|
||||||
|
\leftmargin\labelwidth%
|
||||||
|
\advance\leftmargin\labelsep%
|
||||||
|
\@openbib@code%
|
||||||
|
\usecounter{enumiv}%
|
||||||
|
\let\p@enumiv\@empty%
|
||||||
|
\renewcommand\theenumiv{\@arabic\c@enumiv}}%
|
||||||
|
\sloppy\clubpenalty4000\widowpenalty4000%
|
||||||
|
% \sfcode`\.\@m%
|
||||||
|
% \sfcode `\=1000\relax%
|
||||||
|
}%
|
||||||
|
{%
|
||||||
|
\def\@noitemerr{\@latex@warning{Empty `thebibliography' environment}}%
|
||||||
|
\end{list}%
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
% letter style definition
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
% commands
|
||||||
|
\renewcommand*{\recomputeletterlengths}{
|
||||||
|
\recomputecvlengths%
|
||||||
|
\setlength{\parskip}{6\p@}}
|
||||||
|
|
||||||
|
\renewcommand*{\makelettertitle}{%
|
||||||
|
% recompute lengths (in case we are switching from letter to resume, or vice versa)
|
||||||
|
\recomputeletterlengths%
|
||||||
|
% sender block
|
||||||
|
\maketitle%
|
||||||
|
\par%
|
||||||
|
% recipient block
|
||||||
|
\begin{minipage}[t]{.5\textwidth}
|
||||||
|
\raggedright%
|
||||||
|
\addressfont%
|
||||||
|
{\bfseries\upshape\@recipientname}\\%
|
||||||
|
\@recipientaddress%
|
||||||
|
\end{minipage}
|
||||||
|
% date
|
||||||
|
\hfill % US style
|
||||||
|
% \\[1em] % UK style
|
||||||
|
\@date\\[2em]% US informal style: "April 6, 2006"; UK formal style: "05/04/2006"
|
||||||
|
% opening
|
||||||
|
\raggedright%
|
||||||
|
\@opening\\[1.5em]%
|
||||||
|
% ensure no extra spacing after \makelettertitle due to a possible blank line
|
||||||
|
% \ignorespacesafterend% not working
|
||||||
|
\hspace{0pt}\par\vspace{-\baselineskip}\vspace{-\parskip}}
|
||||||
|
|
||||||
|
\renewcommand*{\makeletterclosing}{
|
||||||
|
\@closing\\[3em]%
|
||||||
|
{\bfseries \@firstname~\@lastname}%
|
||||||
|
\ifthenelse{\isundefined{\@enclosure}}{}{%
|
||||||
|
\\%
|
||||||
|
\vfill%
|
||||||
|
{\color{color2}\itshape\enclname: \@enclosure}}}
|
||||||
|
|
||||||
|
|
||||||
|
\endinput
|
||||||
|
|
||||||
|
|
||||||
|
%% end of file `moderncvstylebanking.sty'.
|
182
users/glittershark/resume/moderncvstylecasual.sty
Normal file
182
users/glittershark/resume/moderncvstylecasual.sty
Normal file
|
@ -0,0 +1,182 @@
|
||||||
|
%% start of file `moderncvstylecasual.sty'.
|
||||||
|
%% Copyright 2006-2013 Xavier Danaux (xdanaux@gmail.com).
|
||||||
|
%
|
||||||
|
% This work may be distributed and/or modified under the
|
||||||
|
% conditions of the LaTeX Project Public License version 1.3c,
|
||||||
|
% available at http://www.latex-project.org/lppl/.
|
||||||
|
|
||||||
|
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
% identification
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
\NeedsTeXFormat{LaTeX2e}
|
||||||
|
\ProvidesPackage{moderncvstylecasual}[2013/02/09 v1.3.0 modern curriculum vitae and letter style scheme: casual]
|
||||||
|
|
||||||
|
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
% required packages
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
\RequirePackage{moderncvstyleclassic}
|
||||||
|
|
||||||
|
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
% overall style definition
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
% commands
|
||||||
|
% footer symbol used to separate footer elements
|
||||||
|
\newcommand*{\footersymbol}{%
|
||||||
|
{~~~{\rmfamily\textbullet}~~~}}% the \rmfamily is required to force Latin Modern fonts when using sans serif, as OMS/lmss/m/n is not defined and gets substituted by OMS/cmsy/m/n
|
||||||
|
% internal command to add an element to the footer
|
||||||
|
% it collects the elements in a temporary box, and checks when to flush the box
|
||||||
|
\newsavebox{\footerbox}%
|
||||||
|
\newsavebox{\footertempbox}%
|
||||||
|
\newlength{\footerwidth}%
|
||||||
|
\newlength{\footerboxwidth}%
|
||||||
|
\newif\if@firstfooterelement\@firstfooterelementtrue%
|
||||||
|
% adds an element to the footer, separated by footersymbol
|
||||||
|
% usage: \addtofooter[footersymbol]{element}
|
||||||
|
\newcommand*{\addtofooter}[2][\footersymbol]{%
|
||||||
|
\if@firstfooterelement%
|
||||||
|
\savebox{\footertempbox}{\usebox{\footerbox}#2}%
|
||||||
|
\else%
|
||||||
|
\savebox{\footertempbox}{\usebox{\footerbox}#1#2}\fi%
|
||||||
|
\settowidth{\footerboxwidth}{\usebox{\footertempbox}}%
|
||||||
|
\ifnum\footerboxwidth<\footerwidth%
|
||||||
|
\savebox{\footerbox}{\usebox{\footertempbox}}%
|
||||||
|
\@firstfooterelementfalse%
|
||||||
|
\else%
|
||||||
|
\flushfooter\\%
|
||||||
|
\savebox{\footerbox}{#2}%
|
||||||
|
\savebox{\footertempbox}{#2}%
|
||||||
|
\settowidth{\footerboxwidth}{\usebox{\footerbox}}%
|
||||||
|
\@firstfooterelementfalse\fi}
|
||||||
|
% internal command to flush the footer
|
||||||
|
\newcommand*{\flushfooter}{%
|
||||||
|
\strut\usebox{\footerbox}%
|
||||||
|
\savebox{\footerbox}{}%
|
||||||
|
\savebox{\footertempbox}{}%
|
||||||
|
\setlength{\footerboxwidth}{0pt}}
|
||||||
|
|
||||||
|
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
% resume style definition
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
% fonts
|
||||||
|
\renewcommand*{\namefont}{\fontsize{38}{40}\mdseries\upshape}
|
||||||
|
\renewcommand*{\addressfont}{\normalsize\mdseries\slshape}
|
||||||
|
|
||||||
|
% commands
|
||||||
|
\renewcommand*{\makecvtitle}{%
|
||||||
|
% recompute lengths (in case we are switching from letter to resume, or vice versa)
|
||||||
|
\recomputecvlengths%
|
||||||
|
% ensure footer with personal information
|
||||||
|
\makecvfooter%
|
||||||
|
% optional picture
|
||||||
|
\newbox{\makecvtitlepicturebox}%
|
||||||
|
\savebox{\makecvtitlepicturebox}{%
|
||||||
|
\ifthenelse{\isundefined{\@photo}}%
|
||||||
|
{}%
|
||||||
|
{%
|
||||||
|
\setlength\fboxrule{\@photoframewidth}%
|
||||||
|
\ifdim\@photoframewidth=0pt%
|
||||||
|
\setlength{\fboxsep}{0pt}\fi%
|
||||||
|
{\color{color1}\framebox{\includegraphics[width=\@photowidth]{\@photo}}}}}%
|
||||||
|
\usebox{\makecvtitlepicturebox}%
|
||||||
|
% name
|
||||||
|
\@initializelength{\makecvtitlepicturewidth}%
|
||||||
|
\settowidth{\makecvtitlepicturewidth}{\usebox{\makecvtitlepicturebox}}%
|
||||||
|
\parbox[b]{\textwidth-\makecvtitlepicturewidth}{%
|
||||||
|
\raggedleft\namefont{\color{color2!50}\@firstname} {\color{color2}\@lastname}}\\[-.35em]% alternate design: \MakeLowercase and no space
|
||||||
|
{\color{color2!50}\rule{\textwidth}{.25ex}}%
|
||||||
|
% optional title
|
||||||
|
\ifthenelse{\equal{\@title}{}}{}{\\[1.25em]\null\hfill\titlestyle{\@title}}\\[2.5em]% \null is required as there is no box on the line after \\, so glue (and leaders) disappears; this is in contrast to after \par, where the next line starts with an indent box (even after \noindent).
|
||||||
|
% optional quote
|
||||||
|
\ifthenelse{\isundefined{\@quote}}%
|
||||||
|
{}%
|
||||||
|
{{\null\hfill\begin{minipage}{\quotewidth}\centering\quotestyle{\@quote}\end{minipage}\hfill\null\\[2.5em]}}%
|
||||||
|
\par}% to avoid weird spacing bug at the first section if no blank line is left after \maketitle
|
||||||
|
|
||||||
|
\renewcommand*{\makecvfooter}{%
|
||||||
|
\setlength{\footerwidth}{0.8\textwidth}%
|
||||||
|
\fancypagestyle{plain}{%
|
||||||
|
\fancyfoot[c]{%
|
||||||
|
\parbox[b]{\footerwidth}{%
|
||||||
|
\centering%
|
||||||
|
\color{color2}\addressfont%
|
||||||
|
\ifthenelse{\isundefined{\@addressstreet}}{}{\addtofooter[]{\addresssymbol\@addressstreet}%
|
||||||
|
\ifthenelse{\equal{\@addresscity}{}}{}{\addtofooter[~--~]{\@addresscity}}% if \addresstreet is defined, \addresscity and \addresscountry will always be defined but could be empty
|
||||||
|
\ifthenelse{\equal{\@addresscountry}{}}{}{\addtofooter[~--~]{\@addresscountry}}%
|
||||||
|
\flushfooter\@firstfooterelementtrue\\}%
|
||||||
|
\collectionloop{phones}{% the key holds the phone type (=symbol command prefix), the item holds the number
|
||||||
|
\addtofooter{\csname\collectionloopkey phonesymbol\endcsname\collectionloopitem}}%
|
||||||
|
\ifthenelse{\isundefined{\@email}}{}{\addtofooter{\emailsymbol\emaillink{\@email}}}%
|
||||||
|
\ifthenelse{\isundefined{\@homepage}}{}{\addtofooter{\homepagesymbol\httplink{\@homepage}}}%
|
||||||
|
\ifthenelse{\isundefined{\@github}}{}{\addtofooter{\httplink{http://github.com/\@github}}}%
|
||||||
|
\ifthenelse{\isundefined{\@extrainfo}}{}{\addtofooter{\@extrainfo}}%
|
||||||
|
\ifthenelse{\lengthtest{\footerboxwidth=0pt}}{}{\flushfooter}% the lengthtest is required to avoid flushing an empty footer, which could cause a blank line due to the \\ after the address, if no other personal info is used
|
||||||
|
}}}%
|
||||||
|
\pagestyle{plain}}
|
||||||
|
|
||||||
|
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
% letter style definition
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
\renewcommand*{\makelettertitle}{%
|
||||||
|
% recompute lengths (in case we are switching from letter to resume, or vice versa)
|
||||||
|
\recomputeletterlengths%
|
||||||
|
% ensure footer with personal information
|
||||||
|
\makeletterfooter%
|
||||||
|
% recipient block
|
||||||
|
\begin{minipage}[t]{.5\textwidth}
|
||||||
|
\raggedright%
|
||||||
|
\addressfont%
|
||||||
|
{\bfseries\upshape\@recipientname}\\%
|
||||||
|
\@recipientaddress%
|
||||||
|
\end{minipage}
|
||||||
|
% date
|
||||||
|
\hfill% US style
|
||||||
|
% \\[1em]% UK style
|
||||||
|
\@date\\[2em]% US informal style: "April 6, 2006"; UK formal style: "05/04/2006"
|
||||||
|
% opening
|
||||||
|
\raggedright%
|
||||||
|
\@opening\\[1.5em]%
|
||||||
|
% ensure no extra spacing after \makelettertitle due to a possible blank line
|
||||||
|
% \ignorespacesafterend% not working
|
||||||
|
\hspace{0pt}\par\vspace{-\baselineskip}\vspace{-\parskip}}
|
||||||
|
|
||||||
|
\renewcommand*{\makeletterfooter}{%
|
||||||
|
\setlength{\footerwidth}{0.8\textwidth}%
|
||||||
|
\fancypagestyle{plain}{%
|
||||||
|
\fancyfoot[c]{%
|
||||||
|
\parbox[b]{\footerwidth}{%
|
||||||
|
\centering%
|
||||||
|
\addressfont\color{color2}%
|
||||||
|
\vspace{-\baselineskip}% to cancel out the extra vertical space taken by the name (below) and ensure perfect alignment of letter and cv footers
|
||||||
|
\strut{\bfseries\upshape\@firstname~\@lastname}\\% the \strut is required to ensure the line is exactly \baselineskip tall
|
||||||
|
\ifthenelse{\isundefined{\@addressstreet}}{}{\addtofooter[]{\addresssymbol\@addressstreet}%
|
||||||
|
\ifthenelse{\equal{\@addresscity}{}}{}{\addtofooter[~--~]{\@addresscity}}% if \addresstreet is defined, \addresscity and addresscountry will always be defined but could be empty
|
||||||
|
\ifthenelse{\equal{\@addresscountry}{}}{}{\addtofooter[~--~]{\@addresscountry}}%
|
||||||
|
\flushfooter\@firstfooterelementtrue\\}%
|
||||||
|
\collectionloop{phones}{% the key holds the phone type (=symbol command prefix), the item holds the number
|
||||||
|
\addtofooter{\csname\collectionloopkey phonesymbol\endcsname\collectionloopitem}}%
|
||||||
|
\ifthenelse{\isundefined{\@email}}{}{\addtofooter{\emailsymbol\emaillink{\@email}}}%
|
||||||
|
\ifthenelse{\isundefined{\@homepage}}{}{\addtofooter{\homepagesymbol\httplink{\@homepage}}}%
|
||||||
|
\ifthenelse{\isundefined{\@extrainfo}}{}{\addtofooter{\@extrainfo}}%
|
||||||
|
\ifthenelse{\lengthtest{\footerboxwidth=0pt}}{}{\flushfooter}% the lengthtest is required to avoid flushing an empty footer, which could cause a blank line due to the \\ after the address, if no other personal info is used
|
||||||
|
}}}%
|
||||||
|
\pagestyle{plain}}
|
||||||
|
|
||||||
|
\renewcommand*{\makeletterclosing}{
|
||||||
|
\@closing\\[3em]%
|
||||||
|
{\bfseries\@firstname~\@lastname}%
|
||||||
|
\ifthenelse{\isundefined{\@enclosure}}{}{%
|
||||||
|
\\%
|
||||||
|
\vfil%
|
||||||
|
{\color{color2}\itshape\enclname: \@enclosure}}%
|
||||||
|
\vfil}
|
||||||
|
|
||||||
|
|
||||||
|
\endinput
|
||||||
|
|
||||||
|
|
||||||
|
%% end of file `moderncvstylecasual.sty'.
|
294
users/glittershark/resume/moderncvstyleclassic.sty
Normal file
294
users/glittershark/resume/moderncvstyleclassic.sty
Normal file
|
@ -0,0 +1,294 @@
|
||||||
|
%% start of file `moderncvstyleclassic.sty'.
|
||||||
|
%% Copyright 2006-2013 Xavier Danaux (xdanaux@gmail.com).
|
||||||
|
%
|
||||||
|
% This work may be distributed and/or modified under the
|
||||||
|
% conditions of the LaTeX Project Public License version 1.3c,
|
||||||
|
% available at http://www.latex-project.org/lppl/.
|
||||||
|
|
||||||
|
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
% identification
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
\NeedsTeXFormat{LaTeX2e}
|
||||||
|
\ProvidesPackage{moderncvstyleclassic}[2013/02/09 v1.3.0 modern curriculum vitae and letter style scheme: classic]
|
||||||
|
|
||||||
|
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
% required packages
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
% Latin Modern fonts
|
||||||
|
%\ifxetexorluatex
|
||||||
|
% \setmainfont{Latin Modern Roman}
|
||||||
|
% \setsansfont{Latin Modern Sans}
|
||||||
|
% \setmathfont{Latin Modern Math}
|
||||||
|
%\else
|
||||||
|
\IfFileExists{lmodern.sty}%
|
||||||
|
{\RequirePackage{lmodern}}%
|
||||||
|
{}
|
||||||
|
%\fi
|
||||||
|
|
||||||
|
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
% overall style definition
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
% symbols
|
||||||
|
\moderncvicons{marvosym}
|
||||||
|
|
||||||
|
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
% resume style definition
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
% fonts
|
||||||
|
\renewcommand*{\namefont}{\fontsize{34}{36}\mdseries\upshape}
|
||||||
|
\renewcommand*{\titlefont}{\LARGE\mdseries\slshape}
|
||||||
|
\renewcommand*{\addressfont}{\small\mdseries\slshape}
|
||||||
|
\renewcommand*{\quotefont}{\large\slshape}
|
||||||
|
\renewcommand*{\sectionfont}{\Large\mdseries\upshape}
|
||||||
|
\renewcommand*{\subsectionfont}{\large\mdseries\upshape}
|
||||||
|
\renewcommand*{\hintfont}{}
|
||||||
|
|
||||||
|
% styles
|
||||||
|
\renewcommand*{\namestyle}[1]{{\namefont\textcolor{color0}{#1}}}
|
||||||
|
\renewcommand*{\titlestyle}[1]{{\titlefont\textcolor{color2}{#1}}}
|
||||||
|
\renewcommand*{\addressstyle}[1]{{\addressfont\textcolor{color1}{#1}}}
|
||||||
|
\renewcommand*{\quotestyle}[1]{{\quotefont\textcolor{color1}{#1}}}
|
||||||
|
\renewcommand*{\sectionstyle}[1]{{\sectionfont\textcolor{color1}{#1}}}
|
||||||
|
\renewcommand*{\subsectionstyle}[1]{{\subsectionfont\textcolor{color1}{#1}}}
|
||||||
|
\renewcommand*{\hintstyle}[1]{{\hintfont\textcolor{color0}{#1}}}
|
||||||
|
|
||||||
|
% lengths
|
||||||
|
\newlength{\quotewidth}
|
||||||
|
\newlength{\hintscolumnwidth}
|
||||||
|
\setlength{\hintscolumnwidth}{0.175\textwidth}
|
||||||
|
\newlength{\separatorcolumnwidth}
|
||||||
|
\setlength{\separatorcolumnwidth}{0.025\textwidth}
|
||||||
|
\newlength{\maincolumnwidth}
|
||||||
|
\newlength{\doubleitemmaincolumnwidth}
|
||||||
|
\newlength{\listitemsymbolwidth}
|
||||||
|
\settowidth{\listitemsymbolwidth}{\listitemsymbol}
|
||||||
|
\newlength{\listitemmaincolumnwidth}
|
||||||
|
\newlength{\listdoubleitemmaincolumnwidth}
|
||||||
|
|
||||||
|
% commands
|
||||||
|
\renewcommand*{\recomputecvlengths}{%
|
||||||
|
\setlength{\quotewidth}{0.65\textwidth}%
|
||||||
|
% main lenghts
|
||||||
|
\setlength{\maincolumnwidth}{\textwidth-\separatorcolumnwidth-\hintscolumnwidth}%
|
||||||
|
% listitem lengths
|
||||||
|
\setlength{\listitemmaincolumnwidth}{\maincolumnwidth-\listitemsymbolwidth}%
|
||||||
|
% doubleitem lengths
|
||||||
|
\setlength{\doubleitemmaincolumnwidth}{\maincolumnwidth-\hintscolumnwidth-\separatorcolumnwidth-\separatorcolumnwidth}%
|
||||||
|
\setlength{\doubleitemmaincolumnwidth}{0.5\doubleitemmaincolumnwidth}%
|
||||||
|
% listdoubleitem lengths
|
||||||
|
\setlength{\listdoubleitemmaincolumnwidth}{\maincolumnwidth-\listitemsymbolwidth-\separatorcolumnwidth-\listitemsymbolwidth}%
|
||||||
|
\setlength{\listdoubleitemmaincolumnwidth}{0.5\listdoubleitemmaincolumnwidth}%
|
||||||
|
% fancyhdr lengths
|
||||||
|
\renewcommand{\headwidth}{\textwidth}%
|
||||||
|
% regular lengths
|
||||||
|
\setlength{\parskip}{0\p@}}
|
||||||
|
|
||||||
|
% optional maketitle width to force a certain width (if set to 0pt, the width is calculated automatically)
|
||||||
|
\newlength{\makecvtitlenamewidth}
|
||||||
|
\setlength{\makecvtitlenamewidth}{0pt}% dummy value
|
||||||
|
\renewcommand*{\makecvtitle}{%
|
||||||
|
% recompute lengths (in case we are switching from letter to resume, or vice versa)
|
||||||
|
\recomputecvlengths%
|
||||||
|
% optional detailed information (pre-rendering)
|
||||||
|
\def\phonesdetails{}%
|
||||||
|
\collectionloop{phones}{% the key holds the phone type (=symbol command prefix), the item holds the number
|
||||||
|
\protected@edef\phonesdetails{\phonesdetails\protect\makenewline\csname\collectionloopkey phonesymbol\endcsname\collectionloopitem}}%
|
||||||
|
\newbox{\makecvtitledetailsbox}%
|
||||||
|
\savebox{\makecvtitledetailsbox}{%
|
||||||
|
\addressfont\color{color2}%
|
||||||
|
\begin{tabular}[b]{@{}r@{}}%
|
||||||
|
\ifthenelse{\isundefined{\@addressstreet}}{}{\makenewline\addresssymbol\@addressstreet%
|
||||||
|
\ifthenelse{\equal{\@addresscity}{}}{}{\makenewline\@addresscity}% if \addresstreet is defined, \addresscity and addresscountry will always be defined but could be empty
|
||||||
|
\ifthenelse{\equal{\@addresscountry}{}}{}{\makenewline\@addresscountry}}%
|
||||||
|
\phonesdetails% needed to be pre-rendered as loops and tabulars seem to conflict
|
||||||
|
\ifthenelse{\isundefined{\@email}}{}{\makenewline\emailsymbol\emaillink{\@email}}%
|
||||||
|
\ifthenelse{\isundefined{\@homepage}}{}{\makenewline\homepagesymbol\httplink{\@homepage}}%
|
||||||
|
\ifthenelse{\isundefined{\@extrainfo}}{}{\makenewline\@extrainfo}%
|
||||||
|
\end{tabular}
|
||||||
|
}%
|
||||||
|
% optional photo (pre-rendering)
|
||||||
|
\newbox{\makecvtitlepicturebox}%
|
||||||
|
\savebox{\makecvtitlepicturebox}{%
|
||||||
|
\ifthenelse{\isundefined{\@photo}}%
|
||||||
|
{}%
|
||||||
|
{%
|
||||||
|
\hspace*{\separatorcolumnwidth}%
|
||||||
|
\color{color1}%
|
||||||
|
\setlength{\fboxrule}{\@photoframewidth}%
|
||||||
|
\ifdim\@photoframewidth=0pt%
|
||||||
|
\setlength{\fboxsep}{0pt}\fi%
|
||||||
|
\framebox{\includegraphics[width=\@photowidth]{\@photo}}}}%
|
||||||
|
% name and title
|
||||||
|
\newlength{\makecvtitledetailswidth}\settowidth{\makecvtitledetailswidth}{\usebox{\makecvtitledetailsbox}}%
|
||||||
|
\newlength{\makecvtitlepicturewidth}\settowidth{\makecvtitlepicturewidth}{\usebox{\makecvtitlepicturebox}}%
|
||||||
|
\ifthenelse{\lengthtest{\makecvtitlenamewidth=0pt}}% check for dummy value (equivalent to \ifdim\makecvtitlenamewidth=0pt)
|
||||||
|
{\setlength{\makecvtitlenamewidth}{\textwidth-\makecvtitledetailswidth-\makecvtitlepicturewidth}}%
|
||||||
|
{}%
|
||||||
|
\begin{minipage}[b]{\makecvtitlenamewidth}%
|
||||||
|
\namestyle{\@firstname\ \@lastname}%
|
||||||
|
\ifthenelse{\equal{\@title}{}}{}{\\[1.25em]\titlestyle{\@title}}%
|
||||||
|
\end{minipage}%
|
||||||
|
\hfill%
|
||||||
|
% optional detailed information (rendering)
|
||||||
|
\llap{\usebox{\makecvtitledetailsbox}}% \llap is used to suppress the width of the box, allowing overlap if the value of makecvtitlenamewidth is forced
|
||||||
|
% optional photo (rendering)
|
||||||
|
\usebox{\makecvtitlepicturebox}\\[2.5em]%
|
||||||
|
% optional quote
|
||||||
|
\ifthenelse{\isundefined{\@quote}}%
|
||||||
|
{}%
|
||||||
|
{{\centering\begin{minipage}{\quotewidth}\centering\quotestyle{\@quote}\end{minipage}\\[2.5em]}}%
|
||||||
|
\par}% to avoid weird spacing bug at the first section if no blank line is left after \makecvtitle
|
||||||
|
|
||||||
|
\newlength{\baseletterheight}
|
||||||
|
\settoheight{\baseletterheight}{\sectionstyle{o}}
|
||||||
|
\setlength{\baseletterheight}{\baseletterheight-0.95ex}
|
||||||
|
\RenewDocumentCommand{\section}{sm}{%
|
||||||
|
\par\addvspace{2.5ex}%
|
||||||
|
\phantomsection{}% reset the anchor for hyperrefs
|
||||||
|
\addcontentsline{toc}{section}{#2}%
|
||||||
|
\parbox[t]{\hintscolumnwidth}{\strut\raggedleft\raisebox{\baseletterheight}{\color{color1}\rule{\hintscolumnwidth}{0.95ex}}}%
|
||||||
|
\hspace{\separatorcolumnwidth}%
|
||||||
|
\parbox[t]{\maincolumnwidth}{\strut\sectionstyle{#2}}%
|
||||||
|
\par\nobreak\addvspace{1ex}\@afterheading}% to avoid a pagebreak after the heading
|
||||||
|
|
||||||
|
\RenewDocumentCommand{\subsection}{sm}{%
|
||||||
|
\par\addvspace{1ex}%
|
||||||
|
\phantomsection{}% reset the anchor for hyperrefs
|
||||||
|
\addcontentsline{toc}{subsection}{#2}%
|
||||||
|
\begin{tabular}{@{}p{\hintscolumnwidth}@{\hspace{\separatorcolumnwidth}}p{\maincolumnwidth}@{}}%
|
||||||
|
\raggedleft\hintstyle{} &{\strut\subsectionstyle{#2}}%
|
||||||
|
\end{tabular}%
|
||||||
|
\par\nobreak\addvspace{0.5ex}\@afterheading}% to avoid a pagebreak after the heading
|
||||||
|
|
||||||
|
\renewcommand*{\cvitem}[3][.25em]{%
|
||||||
|
\begin{tabular}{@{}p{\hintscolumnwidth}@{\hspace{\separatorcolumnwidth}}p{\maincolumnwidth}@{}}%
|
||||||
|
\raggedleft\hintstyle{#2} &{#3}%
|
||||||
|
\end{tabular}%
|
||||||
|
\par\addvspace{#1}}
|
||||||
|
|
||||||
|
\renewcommand*{\cvdoubleitem}[5][.25em]{%
|
||||||
|
\cvitem[#1]{#2}{%
|
||||||
|
\begin{minipage}[t]{\doubleitemmaincolumnwidth}#3\end{minipage}%
|
||||||
|
\hfill% fill of \separatorcolumnwidth
|
||||||
|
\begin{minipage}[t]{\hintscolumnwidth}\raggedleft\hintstyle{#4}\end{minipage}%
|
||||||
|
\hspace*{\separatorcolumnwidth}%
|
||||||
|
\begin{minipage}[t]{\doubleitemmaincolumnwidth}#5\end{minipage}}}
|
||||||
|
|
||||||
|
\renewcommand*{\cvlistitem}[2][.25em]{%
|
||||||
|
\cvitem[#1]{}{\listitemsymbol\begin{minipage}[t]{\listitemmaincolumnwidth}#2\end{minipage}}}
|
||||||
|
|
||||||
|
\renewcommand*{\cvlistdoubleitem}[3][.25em]{%
|
||||||
|
\cvitem[#1]{}{\listitemsymbol\begin{minipage}[t]{\listdoubleitemmaincolumnwidth}#2\end{minipage}%
|
||||||
|
\hfill% fill of \separatorcolumnwidth
|
||||||
|
\ifthenelse{\equal{#3}{}}%
|
||||||
|
{}%
|
||||||
|
{\listitemsymbol\begin{minipage}[t]{\listdoubleitemmaincolumnwidth}#3\end{minipage}}}}
|
||||||
|
|
||||||
|
\renewcommand*{\cventry}[7][.25em]{%
|
||||||
|
\cvitem[#1]{#2}{%
|
||||||
|
{\bfseries#3}%
|
||||||
|
\ifthenelse{\equal{#4}{}}{}{, {\slshape#4}}%
|
||||||
|
\ifthenelse{\equal{#5}{}}{}{, #5}%
|
||||||
|
\ifthenelse{\equal{#6}{}}{}{, #6}%
|
||||||
|
.\strut%
|
||||||
|
\ifx&%
|
||||||
|
\else{\newline{}\begin{minipage}[t]{\linewidth}\small#7\end{minipage}}\fi}}
|
||||||
|
|
||||||
|
\newbox{\cvitemwithcommentmainbox}
|
||||||
|
\newlength{\cvitemwithcommentmainlength}
|
||||||
|
\newlength{\cvitemwithcommentcommentlength}
|
||||||
|
\renewcommand*{\cvitemwithcomment}[4][.25em]{%
|
||||||
|
\savebox{\cvitemwithcommentmainbox}{{\bfseries#3}}%
|
||||||
|
\setlength{\cvitemwithcommentmainlength}{\widthof{\usebox{\cvitemwithcommentmainbox}}}%
|
||||||
|
\setlength{\cvitemwithcommentcommentlength}{\maincolumnwidth-\separatorcolumnwidth-\cvitemwithcommentmainlength}%
|
||||||
|
\cvitem[#1]{#2}{%
|
||||||
|
\begin{minipage}[t]{\cvitemwithcommentmainlength}\bfseries#3\end{minipage}%
|
||||||
|
\hfill% fill of \separatorcolumnwidth
|
||||||
|
\begin{minipage}[t]{\cvitemwithcommentcommentlength}\raggedleft\small\itshape#4\end{minipage}}}
|
||||||
|
|
||||||
|
\renewenvironment{thebibliography}[1]%
|
||||||
|
{%
|
||||||
|
\bibliographyhead{\refname}%
|
||||||
|
% \small%
|
||||||
|
\begin{list}{\bibliographyitemlabel}%
|
||||||
|
{%
|
||||||
|
\setlength{\topsep}{0pt}%
|
||||||
|
\setlength{\labelwidth}{\hintscolumnwidth}%
|
||||||
|
\setlength{\labelsep}{\separatorcolumnwidth}%
|
||||||
|
\leftmargin\labelwidth%
|
||||||
|
\advance\leftmargin\labelsep%
|
||||||
|
\@openbib@code%
|
||||||
|
\usecounter{enumiv}%
|
||||||
|
\let\p@enumiv\@empty%
|
||||||
|
\renewcommand\theenumiv{\@arabic\c@enumiv}}%
|
||||||
|
\sloppy\clubpenalty4000\widowpenalty4000%
|
||||||
|
% \sfcode`\.\@m%
|
||||||
|
% \sfcode `\=1000\relax%
|
||||||
|
}%
|
||||||
|
{%
|
||||||
|
\def\@noitemerr{\@latex@warning{Empty `thebibliography' environment}}%
|
||||||
|
\end{list}%
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
% letter style definition
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
% commands
|
||||||
|
\renewcommand*{\recomputeletterlengths}{%
|
||||||
|
\recomputecvlengths%
|
||||||
|
\setlength{\parskip}{6\p@}}
|
||||||
|
|
||||||
|
\renewcommand*{\makelettertitle}{%
|
||||||
|
% recompute lengths (in case we are switching from letter to resume, or vice versa)
|
||||||
|
\recomputeletterlengths%
|
||||||
|
% sender contact info
|
||||||
|
\hfill%
|
||||||
|
\begin{minipage}{.5\textwidth}%
|
||||||
|
\raggedleft%
|
||||||
|
\addressfont\textcolor{color2}{%
|
||||||
|
{\bfseries\upshape\@firstname~\@lastname}\@firstdetailselementfalse%
|
||||||
|
\ifthenelse{\isundefined{\@addressstreet}}{}{\makenewline\addresssymbol\@addressstreet%
|
||||||
|
\ifthenelse{\equal{\@addresscity}{}}{}{\makenewline\@addresscity}% if \addresstreet is defined, \addresscity and addresscountry will always be defined but could be empty
|
||||||
|
\ifthenelse{\equal{\@addresscountry}{}}{}{\makenewline\@addresscountry}}%
|
||||||
|
\collectionloop{phones}{% the key holds the phone type (=symbol command prefix), the item holds the number
|
||||||
|
\makenewline\csname\collectionloopkey phonesymbol\endcsname\collectionloopitem}%
|
||||||
|
\ifthenelse{\isundefined{\@email}}{}{\makenewline\emailsymbol\emaillink{\@email}}%
|
||||||
|
\ifthenelse{\isundefined{\@homepage}}{}{\makenewline\homepagesymbol\httplink{\@homepage}}%
|
||||||
|
\ifthenelse{\isundefined{\@extrainfo}}{}{\makenewline\@extrainfo}}%
|
||||||
|
\end{minipage}\\[1em]
|
||||||
|
% recipient block
|
||||||
|
\begin{minipage}[t]{.5\textwidth}
|
||||||
|
\raggedright%
|
||||||
|
\addressfont%
|
||||||
|
{\bfseries\upshape\@recipientname}\\%
|
||||||
|
\@recipientaddress%
|
||||||
|
\end{minipage}
|
||||||
|
% date
|
||||||
|
\hfill% US style
|
||||||
|
% \\[1em]% UK style
|
||||||
|
\@date\\[2em]% US informal style: "January 1, 1900"; UK formal style: "01/01/1900"
|
||||||
|
% opening
|
||||||
|
\raggedright%
|
||||||
|
\@opening\\[1.5em]%
|
||||||
|
% ensure no extra spacing after \makelettertitle due to a possible blank line
|
||||||
|
% \ignorespacesafterend% not working
|
||||||
|
\hspace{0pt}\par\vspace{-\baselineskip}\vspace{-\parskip}}
|
||||||
|
|
||||||
|
\renewcommand*{\makeletterclosing}{
|
||||||
|
\@closing\\[3em]%
|
||||||
|
{\bfseries \@firstname~\@lastname}%
|
||||||
|
\ifthenelse{\isundefined{\@enclosure}}{}{%
|
||||||
|
\\%
|
||||||
|
\vfill%
|
||||||
|
{\color{color2}\itshape\enclname: \@enclosure}}}
|
||||||
|
|
||||||
|
|
||||||
|
\endinput
|
||||||
|
|
||||||
|
|
||||||
|
%% end of file `moderncvstyleclassic.sty'.
|
34
users/glittershark/resume/moderncvstyleempty.sty
Normal file
34
users/glittershark/resume/moderncvstyleempty.sty
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
%% start of file `moderncvstyleempty.sty'.
|
||||||
|
%% Copyright 2006-2013 Xavier Danaux (xdanaux@gmail.com).
|
||||||
|
%
|
||||||
|
% This work may be distributed and/or modified under the
|
||||||
|
% conditions of the LaTeX Project Public License version 1.3c,
|
||||||
|
% available at http://www.latex-project.org/lppl/.
|
||||||
|
|
||||||
|
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
% identification
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
\NeedsTeXFormat{LaTeX2e}
|
||||||
|
\ProvidesPackage{moderncvstyleempty}[2013/02/09 v1.3.0 modern curriculum vitae scheme: empty]
|
||||||
|
|
||||||
|
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
% required packages
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
% package options
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
% style definition
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
% see moderncv.cls for command declarations that needs to be implemented, e.g. \maketitle, \section, \subsections, \cvline, etc
|
||||||
|
|
||||||
|
\endinput
|
||||||
|
|
||||||
|
|
||||||
|
%% end of file `moderncvstyleempty.sty'.
|
306
users/glittershark/resume/moderncvstyleoldstyle.sty
Normal file
306
users/glittershark/resume/moderncvstyleoldstyle.sty
Normal file
|
@ -0,0 +1,306 @@
|
||||||
|
%% start of file `moderncvstyleoldstyle.sty'.
|
||||||
|
%% Copyright 2006-2013 Xavier Danaux (xdanaux@gmail.com).
|
||||||
|
%
|
||||||
|
% This work may be distributed and/or modified under the
|
||||||
|
% conditions of the LaTeX Project Public License version 1.3c,
|
||||||
|
% available at http://www.latex-project.org/lppl/.
|
||||||
|
|
||||||
|
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
% identification
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
\NeedsTeXFormat{LaTeX2e}
|
||||||
|
\ProvidesPackage{moderncvstyleoldstyle}[2013/02/09 v1.3.0 modern curriculum vitae and letter style scheme: oldstyle]
|
||||||
|
|
||||||
|
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
% required packages
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
% change the layout of the page on the fly, for resume or letter layout
|
||||||
|
\RequirePackage{changepage}
|
||||||
|
|
||||||
|
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
% overall style definition
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
% fonts
|
||||||
|
%\ifxetexorluatex
|
||||||
|
% \setmainfont[Numbers={OldStyle,Proportional}, BoldFont={Kurier Bold}, ItalicFont={Kurier Light Italic}, BoldItalicFont={Kurier Bold Italic}]{Kurier Light}
|
||||||
|
% \setsansfont[Numbers={OldStyle,Proportional}, BoldFont={Kurier Bold}, ItalicFont={Kurier Light Italic}, BoldItalicFont={Kurier Bold Italic}]{Kurier Light}
|
||||||
|
% \setmathfont{Kurier Light}
|
||||||
|
% \setmathfont[range=\mathit,\mathsfit]{Kurier Light Italic}
|
||||||
|
% \setmathfont[range=\mathbfup,\mathbfsfup]{Kurier Bold}
|
||||||
|
% \setmathfont[range=\mathbfit,\mathbfsfit]{Kurier Bold Italic}
|
||||||
|
%\else
|
||||||
|
\IfFileExists{kurier.sty}%
|
||||||
|
{\RequirePackage[light,math]{kurier}}%
|
||||||
|
{}
|
||||||
|
%\fi
|
||||||
|
|
||||||
|
% symbols
|
||||||
|
\moderncvicons{letters}
|
||||||
|
|
||||||
|
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
% resume style definition
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
% fonts
|
||||||
|
\renewcommand*{\namefont}{\fontsize{34}{36}\mdseries\upshape}
|
||||||
|
\renewcommand*{\titlefont}{\LARGE\mdseries\slshape}
|
||||||
|
\renewcommand*{\addressfont}{\small\mdseries}
|
||||||
|
\renewcommand*{\quotefont}{\large\itshape}
|
||||||
|
\renewcommand*{\sectionfont}{\Large\bfseries\upshape}
|
||||||
|
\renewcommand*{\subsectionfont}{\large\bfseries\itshape}
|
||||||
|
\renewcommand*{\hintfont}{\bfseries}
|
||||||
|
|
||||||
|
% styles
|
||||||
|
\renewcommand*{\namestyle}[1]{{\namefont\textcolor{color0}{#1}}}
|
||||||
|
\renewcommand*{\titlestyle}[1]{{\titlefont\textcolor{color2}{#1}}}
|
||||||
|
\renewcommand*{\addressstyle}[1]{{\addressfont\textcolor{color2}{#1}}}
|
||||||
|
\renewcommand*{\quotestyle}[1]{{\quotefont\textcolor{color1}{#1}}}
|
||||||
|
\renewcommand*{\sectionstyle}[1]{{\sectionfont\textcolor{color1}{#1}}}
|
||||||
|
\renewcommand*{\subsectionstyle}[1]{{\subsectionfont\textcolor{color1}{#1}}}
|
||||||
|
\renewcommand*{\hintstyle}[1]{{\hintfont\textcolor{color0}{#1}}}
|
||||||
|
|
||||||
|
% lengths
|
||||||
|
\newlength{\quotewidth}
|
||||||
|
\newlength{\hintscolumnwidth}
|
||||||
|
\setlength{\hintscolumnwidth}{0.3\textwidth}%
|
||||||
|
\newlength{\separatorcolumnwidth}
|
||||||
|
\setlength{\separatorcolumnwidth}{0.025\textwidth}%
|
||||||
|
\newlength{\maincolumnwidth}
|
||||||
|
\newlength{\doubleitemcolumnwidth}
|
||||||
|
\newlength{\listitemsymbolwidth}
|
||||||
|
\settowidth{\listitemsymbolwidth}{\listitemsymbol}
|
||||||
|
\newlength{\listitemmaincolumnwidth}
|
||||||
|
\newlength{\listdoubleitemmaincolumnwidth}
|
||||||
|
|
||||||
|
% commands
|
||||||
|
\setlength{\marginparwidth}{0\p@}%
|
||||||
|
\setlength{\marginparsep}{0\p@}
|
||||||
|
\renewcommand*{\recomputecvlengths}{%
|
||||||
|
% regular lengths
|
||||||
|
\changepage{}{+\marginparwidth+\marginparsep}{}{}{}{}{}{}{}% if a letter was typeset before the resume, \marginparwidth and \marginparsep will be non-zero; otherwise, this has no effect
|
||||||
|
\setlength{\marginparwidth}{0\p@}%
|
||||||
|
\setlength{\marginparsep}{0\p@}
|
||||||
|
\setlength{\parskip}{0\p@}%
|
||||||
|
% maketitle lengths
|
||||||
|
\setlength{\quotewidth}{0.65\textwidth}%
|
||||||
|
% main lenghts
|
||||||
|
\setlength{\maincolumnwidth}{\textwidth-\hintscolumnwidth-\separatorcolumnwidth}%
|
||||||
|
% listitem lengths
|
||||||
|
\setlength{\listitemmaincolumnwidth}{\maincolumnwidth-\listitemsymbolwidth}%
|
||||||
|
% doubleitem lengths
|
||||||
|
\setlength{\doubleitemcolumnwidth}{\maincolumnwidth-\separatorcolumnwidth}%
|
||||||
|
\setlength{\doubleitemcolumnwidth}{0.5\doubleitemcolumnwidth}%
|
||||||
|
% listdoubleitem lengths
|
||||||
|
\setlength{\listdoubleitemmaincolumnwidth}{\maincolumnwidth-\listitemsymbolwidth-\separatorcolumnwidth-\listitemsymbolwidth}%
|
||||||
|
\setlength{\listdoubleitemmaincolumnwidth}{0.5\listdoubleitemmaincolumnwidth}%
|
||||||
|
% fancyhdr lengths
|
||||||
|
\renewcommand{\headwidth}{\textwidth}}
|
||||||
|
|
||||||
|
\newcommand{\makecvinfo}[1]{%
|
||||||
|
\newbox{\makecvinfobox}%
|
||||||
|
\savebox{\makecvinfobox}{\parbox[t]{\hintscolumnwidth}{#1}}%
|
||||||
|
\newlength{\makecvinfoheight}%
|
||||||
|
\setlength{\makecvinfoheight}{\totalheightof{\usebox{\makecvinfobox}}}% the total height of the parbox is the sum of its height (\the\ht\makeinfobox) and its depth (\the\dp\makeinfobox); the \totalheightof command is provided by the "calc" package
|
||||||
|
\usebox{\makecvinfobox}\vspace{-\makecvinfoheight}%
|
||||||
|
\newlength{\leftcolumnwidth}%
|
||||||
|
\setlength{\leftcolumnwidth}{\hintscolumnwidth+\separatorcolumnwidth}%
|
||||||
|
\par\vspace{-\baselineskip}\vspace{-\parskip}\leftskip=\leftcolumnwidth}
|
||||||
|
|
||||||
|
\renewcommand*{\makecvtitle}{
|
||||||
|
% recompute lengths (in case we are switching from letter to resume, or vice versa)
|
||||||
|
\recomputecvlengths%
|
||||||
|
% optional picture box
|
||||||
|
\newbox{\makecvtitlepicturebox}%
|
||||||
|
\savebox{\makecvtitlepicturebox}{%
|
||||||
|
\ifthenelse{\isundefined{\@photo}}%
|
||||||
|
{}%
|
||||||
|
{%
|
||||||
|
\color{color1}%
|
||||||
|
\setlength\fboxrule{\@photoframewidth}%
|
||||||
|
\ifdim\@photoframewidth=0pt%
|
||||||
|
\setlength{\fboxsep}{0pt}\fi%
|
||||||
|
\framebox{\includegraphics[width=\@photowidth]{\@photo}}}}%
|
||||||
|
% name and title
|
||||||
|
\newlength{\makecvtitlepicturewidth}\settowidth{\makecvtitlepicturewidth}{\usebox{\makecvtitlepicturebox}}%
|
||||||
|
\newlength{\makecvtitlenamewidth}\setlength{\makecvtitlenamewidth}{\textwidth-\makecvtitlepicturewidth}%
|
||||||
|
\begin{minipage}[b]{\makecvtitlenamewidth}%
|
||||||
|
\namestyle{\@firstname\ \@lastname}%
|
||||||
|
\ifthenelse{\equal{\@title}{}}{}{\\[1.25em]\titlestyle{\@title}}%
|
||||||
|
\end{minipage}%
|
||||||
|
% optional photo
|
||||||
|
\usebox{\makecvtitlepicturebox}\\[2.5em]%
|
||||||
|
% optional quote
|
||||||
|
\ifthenelse{\isundefined{\@quote}}%
|
||||||
|
{}%
|
||||||
|
{{\centering\begin{minipage}{\quotewidth}\centering\quotestyle{\@quote}\end{minipage}\\[2.5em]}}%
|
||||||
|
% optional details
|
||||||
|
\makecvinfo{%
|
||||||
|
\addressfont\color{color2}%
|
||||||
|
\ifthenelse{\isundefined{\@addressstreet}}{}{\makenewline\addresssymbol\@addressstreet%
|
||||||
|
\ifthenelse{\equal{\@addresscity}{}}{}{\makenewline\@addresscity}% if \addresstreet is defined, \addresscity and \addresscountry will always be defined but could be empty
|
||||||
|
\ifthenelse{\equal{\@addresscountry}{}}{}{\makenewline\@addresscountry}}%
|
||||||
|
\collectionloop{phones}{% the key holds the phone type (=symbol command prefix), the item holds the number
|
||||||
|
\makenewline\csname\collectionloopkey phonesymbol\endcsname\collectionloopitem}%
|
||||||
|
\ifthenelse{\isundefined{\@email}}{}{\makenewline\emailsymbol\emaillink{\@email}}%
|
||||||
|
\ifthenelse{\isundefined{\@homepage}}{}{\makenewline\homepagesymbol\httplink{\@homepage}}%
|
||||||
|
\ifthenelse{\isundefined{\@extrainfo}}{}{\makenewline\@extrainfo}}}
|
||||||
|
|
||||||
|
\RenewDocumentCommand{\section}{sm}{%
|
||||||
|
\par\addvspace{2.5ex}%
|
||||||
|
\phantomsection{}% reset the anchor for hyperrefs
|
||||||
|
\addcontentsline{toc}{section}{#2}%
|
||||||
|
\strut\sectionstyle{#2}%
|
||||||
|
\par\nobreak\addvspace{1ex}\@afterheading}% to avoid a pagebreak after the heading
|
||||||
|
|
||||||
|
\RenewDocumentCommand{\subsection}{sm}{%
|
||||||
|
\par\addvspace{1ex}%
|
||||||
|
\phantomsection{}% reset the anchor for hyperrefs
|
||||||
|
\addcontentsline{toc}{subsection}{#2}%
|
||||||
|
\strut\subsectionstyle{#2}%
|
||||||
|
\par\nobreak\addvspace{0.5ex}\@afterheading}% to avoid a pagebreak after the heading
|
||||||
|
|
||||||
|
\renewcommand*{\cvitem}[3][.25em]{%
|
||||||
|
\ifthenelse{\equal{#2}{}}{}{\hintstyle{#2}: }{#3}%
|
||||||
|
\par\addvspace{#1}}
|
||||||
|
|
||||||
|
\renewcommand*{\cvdoubleitem}[5][.25em]{%
|
||||||
|
\begin{minipage}[t]{\doubleitemcolumnwidth}\hintstyle{#2}: #3\end{minipage}%
|
||||||
|
\hfill% fill of \separatorcolumnwidth
|
||||||
|
\begin{minipage}[t]{\doubleitemcolumnwidth}\ifthenelse{\equal{#4}{}}{}{\hintstyle{#4}: }#5\end{minipage}%
|
||||||
|
\par\addvspace{#1}}
|
||||||
|
|
||||||
|
\renewcommand*{\cvlistitem}[2][.25em]{%
|
||||||
|
\cvitem[#1]{}{\listitemsymbol\begin{minipage}[t]{\listitemmaincolumnwidth}#2\end{minipage}}}
|
||||||
|
|
||||||
|
\renewcommand*{\cvlistdoubleitem}[3][.25em]{%
|
||||||
|
\cvitem[#1]{}{\listitemsymbol\begin{minipage}[t]{\listdoubleitemmaincolumnwidth}#2\end{minipage}%
|
||||||
|
\hfill% fill of \separatorcolumnwidth
|
||||||
|
\ifthenelse{\equal{#3}{}}%
|
||||||
|
{}%
|
||||||
|
{\listitemsymbol\begin{minipage}[t]{\listdoubleitemmaincolumnwidth}#3\end{minipage}}}}
|
||||||
|
|
||||||
|
\newbox{\cventryyearbox}
|
||||||
|
\newlength{\cventrytitleboxwidth}
|
||||||
|
\renewcommand*{\cventry}[7][.25em]{%
|
||||||
|
\savebox{\cventryyearbox}{%
|
||||||
|
\hspace*{2\separatorcolumnwidth}%
|
||||||
|
\hintstyle{#2}}%
|
||||||
|
\setlength{\cventrytitleboxwidth}{\widthof{\usebox{\cventryyearbox}}}%
|
||||||
|
\setlength{\cventrytitleboxwidth}{\maincolumnwidth-\cventrytitleboxwidth}%
|
||||||
|
\begin{minipage}{\maincolumnwidth}%
|
||||||
|
\parbox[t]{\cventrytitleboxwidth}{%
|
||||||
|
\strut%
|
||||||
|
{\bfseries#3}%
|
||||||
|
\ifthenelse{\equal{#4}{}}{}{, {\slshape#4}}%
|
||||||
|
\ifthenelse{\equal{#5}{}}{}{, #5}%
|
||||||
|
\ifthenelse{\equal{#6}{}}{}{, #6}%
|
||||||
|
.\strut}%
|
||||||
|
\usebox{\cventryyearbox}%
|
||||||
|
\end{minipage}%
|
||||||
|
\ifx&%
|
||||||
|
\else{%
|
||||||
|
\newline{}%
|
||||||
|
\begin{minipage}[t]{\maincolumnwidth}%
|
||||||
|
\small%
|
||||||
|
#7%
|
||||||
|
\end{minipage}}\fi%
|
||||||
|
\par\addvspace{#1}}
|
||||||
|
|
||||||
|
\newbox{\cvitemwithcommentmainbox}
|
||||||
|
\newlength{\cvitemwithcommentmainlength}
|
||||||
|
\newlength{\cvitemwithcommentcommentlength}
|
||||||
|
\renewcommand*{\cvitemwithcomment}[4][.25em]{%
|
||||||
|
\savebox{\cvitemwithcommentmainbox}{\ifthenelse{\equal{#2}{}}{}{\hintstyle{#2}: }#3}%
|
||||||
|
\setlength{\cvitemwithcommentmainlength}{\widthof{\usebox{\cvitemwithcommentmainbox}}}%
|
||||||
|
\setlength{\cvitemwithcommentcommentlength}{\maincolumnwidth-\separatorcolumnwidth-\cvitemwithcommentmainlength}%
|
||||||
|
\begin{minipage}[t]{\cvitemwithcommentmainlength}\ifthenelse{\equal{#2}{}}{}{\hintstyle{#2}: }#3\end{minipage}%
|
||||||
|
\hfill% fill of \separatorcolumnwidth
|
||||||
|
\begin{minipage}[t]{\cvitemwithcommentcommentlength}\raggedleft\small\itshape#4\end{minipage}%
|
||||||
|
\par\addvspace{#1}}
|
||||||
|
|
||||||
|
\renewenvironment{thebibliography}[1]%
|
||||||
|
{%
|
||||||
|
\bibliographyhead{\refname}%
|
||||||
|
% \small%
|
||||||
|
\begin{list}{\bibliographyitemlabel}%
|
||||||
|
{%
|
||||||
|
\setlength{\topsep}{0pt}%
|
||||||
|
\setlength{\labelwidth}{\hintscolumnwidth}%
|
||||||
|
\setlength{\labelsep}{\separatorcolumnwidth}%
|
||||||
|
\leftmargin\labelwidth%
|
||||||
|
\advance\leftmargin\labelsep%
|
||||||
|
\@openbib@code%
|
||||||
|
\usecounter{enumiv}%
|
||||||
|
\let\p@enumiv\@empty%
|
||||||
|
\renewcommand\theenumiv{\@arabic\c@enumiv}}%
|
||||||
|
\sloppy\clubpenalty4000\widowpenalty4000%
|
||||||
|
% \sfcode`\.\@m%
|
||||||
|
% \sfcode `\=1000\relax%
|
||||||
|
}%
|
||||||
|
{%
|
||||||
|
\def\@noitemerr{\@latex@warning{Empty `thebibliography' environment}}%
|
||||||
|
\end{list}%
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
% letter style definition
|
||||||
|
%-------------------------------------------------------------------------------
|
||||||
|
% commands
|
||||||
|
%\newlength{\textwidthdelta}%
|
||||||
|
\renewcommand*{\recomputeletterlengths}{%
|
||||||
|
\recomputecvlengths%
|
||||||
|
\setlength{\parskip}{6\p@}%
|
||||||
|
\leftskip=0pt%
|
||||||
|
% \setlength{\textwidthdelta}{+\marginparwidth+\marginparsep}%
|
||||||
|
\setlength{\marginparwidth}{\hintscolumnwidth}%
|
||||||
|
\setlength{\marginparsep}{2\separatorcolumnwidth}%
|
||||||
|
% \addtolength{\textwidthdelta}{-\marginparwidth-\marginparsep}%
|
||||||
|
% \changepage{}{\textwidthdelta}{-\textwidthdelta}{}{}{}{}{}{}%\changepage{<textheight>}{<textwidth>}{<evensidemargin>}{<oddsidemargin>}{<columnsep>}{<topmargin>}{<headheight>}{<headsep>}{<footskip>}
|
||||||
|
\changepage{}{-\marginparwidth-\marginparsep}{}{}{}{}{}{}{}%\changepage{<textheight>}{<textwidth>}{<evensidemargin>}{<oddsidemargin>}{<columnsep>}{<topmargin>}{<headheight>}{<headsep>}{<footskip>}
|
||||||
|
}
|
||||||
|
|
||||||
|
\renewcommand*{\makelettertitle}{%
|
||||||
|
% recompute lengths (in case we are switching from letter to resume, or vice versa)
|
||||||
|
\recomputeletterlengths%
|
||||||
|
% recipient block
|
||||||
|
{\addressfont%
|
||||||
|
{\bfseries\upshape\@recipientname}\\%
|
||||||
|
\@recipientaddress}\\[1em]%
|
||||||
|
% date
|
||||||
|
\@date\\[2em]%
|
||||||
|
% opening
|
||||||
|
\@opening\\[1.5em]%
|
||||||
|
% sender contact info
|
||||||
|
\hspace{0pt}%
|
||||||
|
\marginpar{%
|
||||||
|
\addressfont\textcolor{color2}{%
|
||||||
|
{\bfseries\@firstname~\@lastname}\@firstdetailselementfalse%
|
||||||
|
\ifthenelse{\isundefined{\@addressstreet}}{}{\makenewline\addresssymbol\@addressstreet%
|
||||||
|
\ifthenelse{\equal{\@addresscity}{}}{}{\makenewline\@addresscity}% if \addresstreet is defined, \addresscity and \addresscountry will always be defined but could be empty
|
||||||
|
\ifthenelse{\equal{\@addresscountry}{}}{}{\makenewline\@addresscountry}}%
|
||||||
|
\collectionloop{phones}{% the key holds the phone type (=symbol command prefix), the item holds the number
|
||||||
|
\makenewline\csname\collectionloopkey phonesymbol\endcsname\collectionloopitem}%
|
||||||
|
\ifthenelse{\isundefined{\@email}}{}{\makenewline\emailsymbol\emaillink{\@email}}%
|
||||||
|
\ifthenelse{\isundefined{\@homepage}}{}{\makenewline\homepagesymbol\httplink{\@homepage}}%
|
||||||
|
\ifthenelse{\isundefined{\@extrainfo}}{}{\makenewline\@extrainfo}}}%
|
||||||
|
% ensure no extra spacing after \makelettertitle due to a possible blank line
|
||||||
|
% \ignorespacesafterend% not working
|
||||||
|
\par\vspace{-\baselineskip}\vspace{-\parskip}}
|
||||||
|
|
||||||
|
\renewcommand*{\makeletterclosing}{
|
||||||
|
\@closing\\[3em]%
|
||||||
|
{\bfseries\@firstname~\@lastname}%
|
||||||
|
\ifthenelse{\isundefined{\@enclosure}}{}{%
|
||||||
|
\\%
|
||||||
|
\vfill%
|
||||||
|
{\color{color2}\itshape\enclname: \@enclosure}}}
|
||||||
|
|
||||||
|
|
||||||
|
\endinput
|
||||||
|
|
||||||
|
|
||||||
|
%% end of file `moderncvstyleoldstyle.sty'.
|
BIN
users/glittershark/resume/picture.png
Normal file
BIN
users/glittershark/resume/picture.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 14 KiB |
212
users/glittershark/resume/resume.tex
Normal file
212
users/glittershark/resume/resume.tex
Normal file
|
@ -0,0 +1,212 @@
|
||||||
|
%% start of file `template.tex'.
|
||||||
|
%% Copyright 2006-2013 Xavier Danaux (xdanaux@gmail.com).
|
||||||
|
%% Copyright 2014-2020 Griffin Smith (wildgriffin45@gmail.com).
|
||||||
|
%
|
||||||
|
% This work may be distributed and/or modified under the
|
||||||
|
% conditions of the LaTeX Project Public License version 1.3c,
|
||||||
|
% available at http://www.latex-project.org/lppl/.
|
||||||
|
|
||||||
|
|
||||||
|
\documentclass[10pt,a4paper,sans]{moderncv} % possible options include font size ('10pt', '11pt' and '12pt'), paper size ('a4paper', 'letterpaper', 'a5paper', 'legalpaper', 'executivepaper' and 'landscape') and font family ('sans' and 'roman')
|
||||||
|
|
||||||
|
\usepackage[inline]{enumitem}
|
||||||
|
|
||||||
|
|
||||||
|
% moderncv themes
|
||||||
|
% style options are 'casual' (default), 'classic', 'oldstyle' and 'banking'
|
||||||
|
\moderncvstyle{casual}
|
||||||
|
% color options 'blue' (default), 'orange', 'green', 'red', 'purple', 'grey' and 'black'
|
||||||
|
\moderncvcolor{black}
|
||||||
|
% to set the default font; use '\sfdefault' for the default sans serif font,
|
||||||
|
% '\rmdefault' for the default roman one, or any tex font name
|
||||||
|
%\renewcommand{\familydefault}{\sfdefault}
|
||||||
|
\nopagenumbers{}
|
||||||
|
|
||||||
|
\usepackage[utf8]{inputenc}
|
||||||
|
|
||||||
|
\usepackage[scale=0.8, margin=0.65in]{geometry}
|
||||||
|
\setlength{\hintscolumnwidth}{2.6cm}
|
||||||
|
|
||||||
|
\name{Griffin}{Smith}
|
||||||
|
\title{Software Engineer}
|
||||||
|
\phone[mobile]{(720) 206-7218}
|
||||||
|
\email{grfn@gws.fyi}
|
||||||
|
\homepage{https://www.gws.fyi}
|
||||||
|
\extrainfo{References available upon request}
|
||||||
|
|
||||||
|
\begin{document}
|
||||||
|
\makecvtitle{}
|
||||||
|
\section{Skills}
|
||||||
|
\cvitem{Clojure}{Extensive experience architecting, deploying, and building
|
||||||
|
complex web applications in Clojure and Clojurescript, with a focus on
|
||||||
|
Re-Frame and Reagent.}
|
||||||
|
\cvitem{Haskell}{Passionate love for pure functional programming as a hobbyist
|
||||||
|
pursuit, but also practical experience building production systems in Haskell at
|
||||||
|
scale, and using Haskell's advanced type system extensions where appropriate to
|
||||||
|
deliver increased ergonomics and safety.}
|
||||||
|
\cvitem{Nix}{Experience with adopting and teaching nix at scale in a production
|
||||||
|
stack both for local development dependencies and for configuring and building
|
||||||
|
production software. Core contributer to a fork of the nix implementation itself
|
||||||
|
(tvix) aimed at providing increased safety, performance, and flexibility.}
|
||||||
|
\cvitem{Scala}{Understanding of Scala from the perspective of a functional
|
||||||
|
programmer rather than a Java programmer. Experience building production
|
||||||
|
big-data processing systems using Akka, and deep programming with Scala's type
|
||||||
|
system using Shapeless.}
|
||||||
|
\cvitem{Unix/Linux}{Experience with administrating highly available distributed
|
||||||
|
systems. Passion for the Unix philosophy of discrete, composable units of
|
||||||
|
functionality.}
|
||||||
|
\cvitem{Ruby}{Experience building both full-stack applications with Ruby on
|
||||||
|
Rails in addition to smaller microservices and custom frameworks. Deep
|
||||||
|
understanding of the internals of the Ruby interpreter and object system.}
|
||||||
|
\cvitem{Javascript}{Experience developing real-time responsive single-page web
|
||||||
|
applications using React, in addition to significant contributions to the React
|
||||||
|
open-source community.}
|
||||||
|
\cvitem{SQL}{Deep understanding of relational databases, including experience
|
||||||
|
designing the database schema in Postgres for an application with over a decade
|
||||||
|
of usage, hundreds of gigabytes of data, complex, multi-tiered hierarchical data
|
||||||
|
structures, as well as experience writing and optimizing large, complex queries
|
||||||
|
against that database.}
|
||||||
|
|
||||||
|
\subsection{Additional Tools}
|
||||||
|
\cvitem{}{\footnotesize
|
||||||
|
\begin{itemize*}
|
||||||
|
\item Vim
|
||||||
|
\item Kubernetes
|
||||||
|
\item Git
|
||||||
|
\item Puppet
|
||||||
|
\item AWS
|
||||||
|
\item Reagent
|
||||||
|
\item Datomic
|
||||||
|
\item Elasticsearch
|
||||||
|
\item Redis
|
||||||
|
\item DynamoDB
|
||||||
|
\item Docker
|
||||||
|
\item JIRA
|
||||||
|
\item Java
|
||||||
|
\item QuickCheck (and similar tools)
|
||||||
|
\item Python
|
||||||
|
\item Elixir
|
||||||
|
\end{itemize*}
|
||||||
|
\newline
|
||||||
|
\textbf{Novice Level:}
|
||||||
|
\begin{itemize*}
|
||||||
|
\item Rust
|
||||||
|
\item C++
|
||||||
|
\item Erlang
|
||||||
|
\item Prolog
|
||||||
|
\item Idris
|
||||||
|
\item Agda
|
||||||
|
\item Tensorflow
|
||||||
|
\end{itemize*}}
|
||||||
|
|
||||||
|
\section{Experience}
|
||||||
|
\subsection{Employment}
|
||||||
|
\cventry{2019-present}{Engineering Manager}{Urbint}{New York, NY}{}
|
||||||
|
{\begin{itemize}
|
||||||
|
\item Lead of the platform team with two direct reports - a senior SRE and
|
||||||
|
a senior software engineer.
|
||||||
|
\item Performed user research on developers, project managers, product
|
||||||
|
managers, and other internal stakeholders to build the roadmap for the
|
||||||
|
platform team.
|
||||||
|
\item Built and maintained a system to deploy one-off full stack
|
||||||
|
application instances from pull requests to enable easier testing.
|
||||||
|
\item Led a large, multi-project migration between CI systems that resulted
|
||||||
|
in a decrease of average build times from 2 hours to less than 10 minutes.
|
||||||
|
\item Maintained and extended Nix-based build and development
|
||||||
|
infrastructure for both software engineers and machine learning engineers.
|
||||||
|
\end{itemize}}
|
||||||
|
\cventry{2018--2019}{Senior Software Engineer}{Urbint}{New York, NY}{}
|
||||||
|
{\begin{itemize}
|
||||||
|
\item Built, trained, and maintained a large, deep-learning-based
|
||||||
|
image-detection model for semi-automated (human-in-the-loop) video
|
||||||
|
classification.
|
||||||
|
\item Designed, built, and maintained a novel in-house tool for collection of
|
||||||
|
training data.
|
||||||
|
\item Maintained and guaranteed reliability of a large data pipeline for
|
||||||
|
video processing and classification.
|
||||||
|
\end{itemize}}
|
||||||
|
\cventry{2017--2018}{Senior Software Engineer}{Urbint}{New York, NY}{}
|
||||||
|
{\begin{itemize}
|
||||||
|
\item Integral in the architecture of a novel, serializable ACID
|
||||||
|
transactional graph database built on RocksDB, first in Elixir then in
|
||||||
|
Haskell.
|
||||||
|
\item Helped ship customer deliverables involving multi-day data
|
||||||
|
processing jobs for disparate data sources.
|
||||||
|
\item Instructed other developers in the use of and theory behind Haskell
|
||||||
|
\item Brought computational graph theory to bear on the problem of unifying
|
||||||
|
disparate, highly heterogeneous data sources across the world of open data.
|
||||||
|
\end{itemize}}
|
||||||
|
\cventry{2016--2017}{Senior Software Engineer}{SecurityScorecard, Inc.}{New York, NY}{}
|
||||||
|
{Lead frontend developer for a rapidly-moving and growing security software startup.
|
||||||
|
\begin{itemize}
|
||||||
|
\item Took part in collaborative product design meetings to make UX
|
||||||
|
tradeoffs with product designers and managers.
|
||||||
|
\item Drove application architecture for a large, complex, data-driven frontend
|
||||||
|
application.
|
||||||
|
\item Championed increased use of production monitoring and alerting.
|
||||||
|
\item Worked with business stakeholders to set long- and short-term priorities for
|
||||||
|
application development.
|
||||||
|
\item Mentored junior team members.
|
||||||
|
\end{itemize}}
|
||||||
|
\cventry{2015--2016}{Lead Developer}{Nomi, Inc.}{New York, NY}{}
|
||||||
|
{Lead web services developer transitioning to a full-stack role implementing
|
||||||
|
shared software components and architecting a large, complex microservices
|
||||||
|
application ingesting hundreds of gigabytes of IoT data per week.
|
||||||
|
\begin{itemize}
|
||||||
|
\item Lead application architecture of the majority of the backend services to
|
||||||
|
encourage consistent REST API design and code sharing.
|
||||||
|
\item Championed the use of Haskell for rapid, safe development of the API Gateway
|
||||||
|
service.
|
||||||
|
\item Took ownership of operations and server maintenance of a >100-instance AWS
|
||||||
|
account using Puppet.
|
||||||
|
\end{itemize}}
|
||||||
|
\cventry{2014--2015}{Lead Developer}{LandlordsNY, LLC}{New York, NY}{}
|
||||||
|
{Sole engineer for a small startup connecting landlords and property managers and
|
||||||
|
facilitating the online sharing of information in a historically technology-averse
|
||||||
|
industry.
|
||||||
|
\begin{itemize}
|
||||||
|
\item Drove product design, visual design, and UX architecture for a major revamping
|
||||||
|
of the core product.
|
||||||
|
\item Interfaced with customers to set priorities for new feature development.
|
||||||
|
\item Conducted hiring and recruiting to build out an engineering team.
|
||||||
|
\end{itemize}}
|
||||||
|
\cventry{2012--2014}{Associate Developer}{Visionlink Inc.}{Boulder, CO}{}
|
||||||
|
{Integral member of an agile development team building the nation's most-used Information
|
||||||
|
and Referral platform for organizations such as United Way Worldwide and the American Red
|
||||||
|
Cross.
|
||||||
|
\begin{itemize}
|
||||||
|
\item Refactored and revamped legacy code to increase performance and long-term
|
||||||
|
maintainablity.
|
||||||
|
\item Worked on several triage-teams to rapidly fix production bugs with strict deadlines.
|
||||||
|
\item Built a complex, yet highly-performant tool for searching human services by category.
|
||||||
|
\item Acted as a core designer and developer of a major product revamp.
|
||||||
|
\begin{itemize}
|
||||||
|
\item Drove a complete rethinking of the data model in the product, leading to greater
|
||||||
|
unification, simplicity, and consistency;
|
||||||
|
\item Championed the adoption of a test-driven-development model;
|
||||||
|
\item Drove product documentation and code standardization.
|
||||||
|
\end{itemize}
|
||||||
|
\end{itemize}}
|
||||||
|
|
||||||
|
\section{Project Highlights}
|
||||||
|
\newcommand{\project}[3]{\item \textbf{#1} -- \textit{#2}\newline{}#3}
|
||||||
|
\cvitem{}{\begin{itemize}
|
||||||
|
\project{Github Bug Bounty}{https://bounty.github.com/researchers/glittershark.html}{
|
||||||
|
Discovered and responsibly disclosed a persistent XSS on Github's main
|
||||||
|
website}
|
||||||
|
\project{Tvix}{https://cs.tvl.fyi/depot/-/blob/third\_party/nix/README.md}{
|
||||||
|
Fork of the Nix build tool delivering increased reliability, code
|
||||||
|
quality, and pluggability}
|
||||||
|
\project{Panettone}{https://cs.tvl.fyi/depot/-/tree/web/panettone}{
|
||||||
|
Aggressively simple bug-tracker developed in Common Lisp for the community
|
||||||
|
involved in the development of Tvix. Hosted at https://b.tvl.fyi}
|
||||||
|
\project{Org-Clubhouse}{https://github.com/glittershark/org-clubhouse}{
|
||||||
|
Emacs library for integration between org-mode and the Clubhouse issue
|
||||||
|
tracker}
|
||||||
|
\project{core-async-storage}{https://github.com/glittershark/core-async-storage}{
|
||||||
|
Simple Clojurescript wrapper around React Native's AsyncStorage using
|
||||||
|
core.async}
|
||||||
|
\end{itemize}}
|
||||||
|
|
||||||
|
\end{document}
|
||||||
|
% vim: set tw=95 colorcolumn=-1:
|
56
users/glittershark/resume/tweaklist.sty
Normal file
56
users/glittershark/resume/tweaklist.sty
Normal file
|
@ -0,0 +1,56 @@
|
||||||
|
%% start of file `tweaklist.sty'.
|
||||||
|
%% Original by Jakob Schiøtz, downloaded from http://dcwww.camd.dtu.dk/~schiotz/comp/LatexTips/tweaklist.sty; not found on ctan.
|
||||||
|
%% Modified by Xavier Danaux (xdanaux@gmail.com).
|
||||||
|
%
|
||||||
|
% The tweaklist.sty package redefines the itemize, enumerate and description packages, so that all parameters can be adjusted.
|
||||||
|
% This was done by copying the original definitions, and adding "hook commands" that are executed when entering the environment.
|
||||||
|
% The hook commands are initially empty, but can be redefined with \renewcommand.
|
||||||
|
%
|
||||||
|
% This work may be distributed and/or modified under the
|
||||||
|
% conditions of the LaTeX Project Public License version 1.3c,
|
||||||
|
% available at http://www.latex-project.org/lppl/.
|
||||||
|
|
||||||
|
|
||||||
|
% hooks for the itemize environment
|
||||||
|
\def\itemhook{}
|
||||||
|
\def\itemhooki{}
|
||||||
|
\def\itemhookii{}
|
||||||
|
\def\itemhookiii{}
|
||||||
|
\def\itemhookiv{}
|
||||||
|
% hooks for the enumerate environment
|
||||||
|
\def\enumhook{}
|
||||||
|
\def\enumhooki{}
|
||||||
|
\def\enumhookii{}
|
||||||
|
\def\enumhookiii{}
|
||||||
|
\def\enumhookiv{}
|
||||||
|
% hook for the description environment
|
||||||
|
\def\deschook{}
|
||||||
|
% original environment definitions, with hooks added
|
||||||
|
\def\enumerate{%
|
||||||
|
\ifnum \@enumdepth >\thr@@\@toodeep\else
|
||||||
|
\advance\@enumdepth\@ne
|
||||||
|
\edef\@enumctr{enum\romannumeral\the\@enumdepth}%
|
||||||
|
\expandafter
|
||||||
|
\list
|
||||||
|
\csname label\@enumctr\endcsname
|
||||||
|
{%
|
||||||
|
\enumhook \csname enumhook\romannumeral\the\@enumdepth\endcsname%
|
||||||
|
\usecounter\@enumctr\def\makelabel##1{\hss\llap{##1}}%
|
||||||
|
}%
|
||||||
|
\fi}
|
||||||
|
\def\itemize{%
|
||||||
|
\ifnum \@itemdepth >\thr@@\@toodeep\else
|
||||||
|
\advance\@itemdepth\@ne
|
||||||
|
\edef\@itemitem{labelitem\romannumeral\the\@itemdepth}%
|
||||||
|
\expandafter
|
||||||
|
\list
|
||||||
|
\csname\@itemitem\endcsname
|
||||||
|
{%
|
||||||
|
\itemhook \csname itemhook\romannumeral\the\@itemdepth\endcsname%
|
||||||
|
\def\makelabel##1{\hss\llap{##1}}%
|
||||||
|
}%
|
||||||
|
\fi}
|
||||||
|
\newenvironment{description}
|
||||||
|
{\list{}{\deschook\labelwidth\z@ \itemindent-\leftmargin
|
||||||
|
\let\makelabel\descriptionlabel}}
|
||||||
|
{\endlist}
|
Loading…
Reference in a new issue