clean-up
This commit is contained in:
202
friggeri-cv.cls
202
friggeri-cv.cls
@@ -15,18 +15,6 @@
|
||||
|
||||
\RequirePackage{xcolor}
|
||||
|
||||
%\definecolor{white}{RGB}{255,255,255}
|
||||
%
|
||||
%\definecolor{darkgray}{HTML}{333333}
|
||||
%\definecolor{gray}{HTML}{4D4D4D}
|
||||
%\definecolor{lightgray}{HTML}{999999}
|
||||
%
|
||||
%\definecolor{green}{HTML}{C2E15F}
|
||||
%\definecolor{orange}{HTML}{FDA333}
|
||||
%\definecolor{purple}{HTML}{D3A4F9}
|
||||
%\definecolor{red}{HTML}{FB4485}
|
||||
%\definecolor{blue}{HTML}{0C1071}
|
||||
|
||||
\ifdefined\@cv@print
|
||||
\colorlet{green}{gray}
|
||||
\colorlet{orange}{gray}
|
||||
@@ -42,58 +30,8 @@
|
||||
\colorlet{textcolor}{gray}
|
||||
\colorlet{headercolor}{gray}
|
||||
|
||||
%%%%%%%%%
|
||||
% Fonts %
|
||||
%%%%%%%%%
|
||||
|
||||
% \RequirePackage[quiet]{fontspec}
|
||||
% \RequirePackage[math-style=TeX,vargreek-shape=unicode]{unicode-math}
|
||||
%
|
||||
% \newfontfamily\bodyfont[]{Helvetica Neue}
|
||||
% \newfontfamily\thinfont[]{Helvetica Neue UltraLight}
|
||||
% \newfontfamily\headingfont[]{Helvetica Neue Condensed Bold}
|
||||
%
|
||||
% \defaultfontfeatures{Mapping=tex-text}
|
||||
% \setmainfont[Mapping=tex-text, Color=textcolor]{Helvetica Neue Light}
|
||||
%
|
||||
% \setmathfont{XITS Math}
|
||||
|
||||
%%% modified by Karol Kozioł for ShareLaTex use
|
||||
%\RequirePackage[quiet]{fontspec}
|
||||
%\RequirePackage[math-style=TeX]{unicode-math}
|
||||
%
|
||||
%\newfontfamily\bodyfont
|
||||
%[BoldFont=texgyreheros-bold.otf,
|
||||
%ItalicFont=texgyreheros-italic.otf,
|
||||
%BoldItalicFont=texgyreheros-bolditalic.otf]
|
||||
%{texgyreheros-regular.otf}
|
||||
%\newfontfamily\thinfont[]{Lato-Light.ttf}
|
||||
%\newfontfamily\headingfont[]{texgyreheros-bold.otf}
|
||||
%
|
||||
%\defaultfontfeatures{Mapping=tex-text}
|
||||
%\setmainfont
|
||||
%[Mapping=tex-text, Color=textcolor,
|
||||
%BoldFont=texgyreheros-bold.otf,
|
||||
%ItalicFont=texgyreheros-italic.otf,
|
||||
%BoldItalicFont=texgyreheros-bolditalic.otf
|
||||
%]
|
||||
%{texgyreheros-regular.otf}
|
||||
%
|
||||
%\setmathfont{texgyreheros-regular.otf}
|
||||
%%%
|
||||
|
||||
%%%%%%%%%%
|
||||
% Header %
|
||||
%%%%%%%%%%
|
||||
|
||||
\RequirePackage{tikz}
|
||||
|
||||
%\newcommand{\rolefont}{%
|
||||
% \fontsize{14pt}{24pt}\selectfont%
|
||||
% %\thinfont%
|
||||
% \color{white}%
|
||||
%}
|
||||
|
||||
\newcommand{\header}[3]{%
|
||||
\begin{tikzpicture}[remember picture,overlay]
|
||||
\node [rectangle, fill=fillheader, anchor=north, minimum width=\paperwidth, minimum height=4cm] (box) at (current page.north){};
|
||||
@@ -117,37 +55,6 @@
|
||||
\RequirePackage{parskip}
|
||||
|
||||
\newcounter{colorCounter}
|
||||
%\def\@sectioncolor#1#2#3{%
|
||||
% {%
|
||||
% \color{%
|
||||
% \ifcase\value{colorCounter}%
|
||||
% blue\or%
|
||||
% red\or%
|
||||
% orange\or%
|
||||
% green\or%
|
||||
% purple\else%
|
||||
% headercolor\fi%
|
||||
% } #1#2#3%
|
||||
% }%
|
||||
% \stepcounter{colorCounter}%
|
||||
%}
|
||||
|
||||
%\renewcommand{\section}[1]{
|
||||
% \par\vspace{\parskip}
|
||||
% {%
|
||||
% \LARGE\color{headercolor}%
|
||||
% \@sectioncolor #1%
|
||||
% }
|
||||
% \par\vspace{\parskip}
|
||||
%}
|
||||
%
|
||||
%\renewcommand{\subsection}[1]{
|
||||
% \par\vspace{.5\parskip}%
|
||||
% {%
|
||||
% \large\color{headercolor} #1%
|
||||
% }
|
||||
% \par\vspace{.25\parskip}%
|
||||
%}
|
||||
|
||||
\pagestyle{empty}
|
||||
|
||||
@@ -194,115 +101,6 @@
|
||||
\let\section\oldsection
|
||||
}
|
||||
|
||||
%%%%%%%%%%%%%%%%
|
||||
% Bibliography %
|
||||
%%%%%%%%%%%%%%%%
|
||||
|
||||
%\RequirePackage[style=verbose, maxnames=99, sorting=ydnt, backend=biber]{biblatex}
|
||||
%
|
||||
%\DeclareFieldFormat[article]{title}{#1\par}
|
||||
%\DeclareFieldFormat[inproceedings]{title}{#1\par}
|
||||
%\DeclareFieldFormat[misc]{title}{#1\par}
|
||||
%\DeclareFieldFormat[report]{title}{#1\par}
|
||||
%
|
||||
%\DeclareBibliographyDriver{article}{%
|
||||
% \printfield{title}%
|
||||
% \newblock%
|
||||
% \printnames{author}%
|
||||
% \par%
|
||||
% \newblock%
|
||||
% {%
|
||||
% \footnotesize\addfontfeature{Color=lightgray}\itshape%
|
||||
% \usebibmacro{journal+issuetitle}%
|
||||
% \setunit{\space}%
|
||||
% \printfield{pages}%
|
||||
% \newunit%
|
||||
% \printlist{publisher}%
|
||||
% \setunit*{\addcomma\space}%
|
||||
% \printfield{year}%
|
||||
% \newunit%
|
||||
% }
|
||||
% \par\vspace{0.3\baselineskip}
|
||||
%}
|
||||
%
|
||||
%\DeclareBibliographyDriver{inproceedings}{%
|
||||
% \printfield{title}%
|
||||
% \newblock%
|
||||
% \printnames{author}%
|
||||
% \par%
|
||||
% \newblock%
|
||||
% {%
|
||||
% \footnotesize\addfontfeature{Color=lightgray}%
|
||||
% \printfield{booktitle}%
|
||||
% \setunit{\addcomma\space}%
|
||||
% \printfield{year}%
|
||||
% \setunit{\addcomma\space}%
|
||||
% \printlist{location}%
|
||||
% \newunit%
|
||||
% }
|
||||
% \par\vspace{0.3\baselineskip}
|
||||
%}
|
||||
%
|
||||
%\DeclareBibliographyDriver{misc}{%
|
||||
% \printfield{title}%
|
||||
% \newblock%
|
||||
% \printnames{author}%
|
||||
% \par%
|
||||
% \newblock%
|
||||
% {%
|
||||
% \footnotesize\addfontfeature{Color=lightgray}\itshape%
|
||||
% \printfield{booktitle}%
|
||||
% \setunit*{\addcomma\space}%
|
||||
% \printfield{note}%
|
||||
% \setunit*{\addcomma\space}%
|
||||
% \printfield{year}%
|
||||
% \setunit{\addcomma\space}%
|
||||
% \printlist{location}%
|
||||
% \newunit%
|
||||
% }
|
||||
% \par\vspace{0.3\baselineskip}
|
||||
%}
|
||||
%
|
||||
%\DeclareBibliographyDriver{report}{%
|
||||
% \printfield{title}%
|
||||
% \newblock%
|
||||
% \printnames{author}%
|
||||
% \par%
|
||||
% \newblock%
|
||||
% {%
|
||||
% \footnotesize\addfontfeature{Color=lightgray}\itshape%
|
||||
% \printfield{type}%
|
||||
% \setunit{\space}%
|
||||
% \printfield{number}%
|
||||
% \setunit{\addcomma\space}%
|
||||
% \printfield{year}%
|
||||
% \newunit%
|
||||
% }
|
||||
% \par\vspace{0.3\baselineskip}
|
||||
%}
|
||||
%
|
||||
%\DeclareNameFormat{author}{%
|
||||
% \small\addfontfeature{Color=lightgray}%
|
||||
% \ifblank{##3}{}{##3\space}#1%
|
||||
% \ifthenelse{\value{listcount}<\value{liststop}}
|
||||
% {\addcomma\space}
|
||||
% {}%
|
||||
%}
|
||||
%
|
||||
%\newcommand{\printbibsection}[2]{
|
||||
% \begin{refsection}
|
||||
% \nocite{*}
|
||||
% \printbibliography[sorting=chronological, type={#1}, title={#2}, heading=subbibliography]
|
||||
% \end{refsection}
|
||||
%}
|
||||
%
|
||||
%\DeclareSortingScheme{chronological}{
|
||||
% \sort[direction=descending]{\field{year}}
|
||||
% \sort[direction=descending]{\field{month}}
|
||||
%}
|
||||
|
||||
|
||||
|
||||
%%%%%%%%%%%%%%%%
|
||||
% Other tweaks %
|
||||
%%%%%%%%%%%%%%%%
|
||||
|
||||
Reference in New Issue
Block a user