mirror of
https://github.com/posquit0/Awesome-CV.git
synced 2024-11-25 15:38:35 +00:00
Customized format, based on Fancy CV template created by Adrien Friggeri
This commit is contained in:
parent
3284a954c2
commit
9ba20694c7
1 changed files with 109 additions and 1 deletions
110
awesome-cv.cls
110
awesome-cv.cls
|
@ -694,4 +694,112 @@
|
|||
block=none,
|
||||
backend=biber % {Options: bibtex, biber}
|
||||
]{biblatex}
|
||||
|
||||
|
||||
% Customized format, based on Fancy CV template created by Adrien Friggeri
|
||||
\DeclareFieldFormat[article]{title}{#1\par}
|
||||
\DeclareFieldFormat[inproceedings]{title}{#1\par}
|
||||
\DeclareFieldFormat[misc]{title}{#1\par}
|
||||
\DeclareFieldFormat[report]{title}{#1\par}
|
||||
\DeclareFieldFormat[incollection]{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{incollection}{%
|
||||
\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}
|
||||
{}%
|
||||
}
|
Loading…
Reference in a new issue