From 930f35dee489c21a193d711e6633833a0cf49823 Mon Sep 17 00:00:00 2001 From: John Kegelman Date: Sun, 4 Dec 2016 20:09:04 -0800 Subject: [PATCH] Make font and fontsize consistent. --- awesome-cv.cls | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/awesome-cv.cls b/awesome-cv.cls index 1ab7dc7..023a8cc 100644 --- a/awesome-cv.cls +++ b/awesome-cv.cls @@ -706,13 +706,14 @@ \DeclareFieldFormat[incollection]{title}{#1\par} \DeclareBibliographyDriver{article}{% + \fontsize{9pt}{1em}\bodyfont% \printfield{title}% \newblock% \printnames{author}% \par% \newblock% {% - \footnotesize\addfontfeature{Color=lightgray}\itshape% + \fontsize{8pt}{1em}\bodyfontlight\color{graytext}% \usebibmacro{journal+issuetitle}% \setunit{\space}% \printfield{pages}% @@ -726,13 +727,14 @@ } \DeclareBibliographyDriver{inproceedings}{% + \fontsize{9pt}{1em}\bodyfont% \printfield{title}% \newblock% \printnames{author}% \par% \newblock% {% - \footnotesize\addfontfeature{Color=lightgray}% + \fontsize{8pt}{1em}\bodyfontlight\color{graytext}% \printfield{booktitle}% \setunit{\addcomma\space}% \printfield{year}% @@ -744,13 +746,14 @@ } \DeclareBibliographyDriver{incollection}{% + \fontsize{9pt}{1em}\bodyfont% \printfield{title}% \newblock% \printnames{author}% \par% \newblock% {% - \footnotesize\addfontfeature{Color=lightgray}% + \fontsize{8pt}{1em}\bodyfontlight\color{graytext}% \printfield{booktitle}% \setunit{\addcomma\space}% \printfield{year}% @@ -762,13 +765,14 @@ } \DeclareBibliographyDriver{misc}{% + \fontsize{9pt}{1em}\bodyfont% \printfield{title}% \newblock% \printnames{author}% \par% \newblock% {% - \footnotesize\addfontfeature{Color=lightgray}\itshape% + \fontsize{8pt}{1em}\bodyfontlight\color{graytext}% \printfield{booktitle}% \setunit*{\addcomma\space}% \printfield{note}% @@ -782,13 +786,14 @@ } \DeclareBibliographyDriver{report}{% + \fontsize{9pt}{1em}\bodyfont% \printfield{title}% \newblock% \printnames{author}% \par% \newblock% {% - \footnotesize\addfontfeature{Color=lightgray}\itshape% + \fontsize{8pt}{1em}\bodyfontlight\color{graytext}% \printfield{type}% \setunit{\space}% \printfield{number}% @@ -801,7 +806,7 @@ % New syntax for flexible backend (BibLaTeX > v3.3) \DeclareNameFormat{author}{% - \small\addfontfeature{Color=lightgray}% + \fontsize{9pt}{1em}\bodyfont% \renewcommand*{\multinamedelim}{\addcomma\addspace}% \nameparts{#1}% \ifthenelse{\value{listcount}=1} @@ -812,4 +817,4 @@ \ifthenelse{\value{listcount}<\value{liststop}} {\addcomma\space} {} -} \ No newline at end of file +}