Making the bibtex a bit more awesome looking

This commit is contained in:
siggismara 2018-04-27 12:08:49 +02:00
parent 82e9ccc586
commit 800c8837d4

View file

@ -179,6 +179,15 @@
BoldItalicFont=*-MediumItalic, BoldItalicFont=*-MediumItalic,
]{Roboto} ]{Roboto}
% Set main font
\setmainfont[
Path=\@fontdir,
UprightFont=*-Thin,
ItalicFont=*-ThinItalic,
BoldFont=*-Medium,
BoldItalicFont=*-MediumItalic,
]{Roboto}
\newcommand*{\footerfont}{\sourcesanspro} \newcommand*{\footerfont}{\sourcesanspro}
\newcommand*{\bodyfont}{\sourcesanspro} \newcommand*{\bodyfont}{\sourcesanspro}
\newcommand*{\bodyfontlight}{\sourcesansprolight} \newcommand*{\bodyfontlight}{\sourcesansprolight}
@ -744,7 +753,7 @@
\par% \par%
\newblock% \newblock%
{% {%
\fontsize{8pt}{1em}\bodyfontlight\color{graytext}% \fontsize{8pt}{1em}\bodyfont\scshape\color{awesome}%
\usebibmacro{journal+issuetitle}% \usebibmacro{journal+issuetitle}%
\setunit{\space}% \setunit{\space}%
\printfield{pages}% \printfield{pages}%
@ -754,7 +763,7 @@
\printfield{year}% \printfield{year}%
\newunit% \newunit%
} }
\par\vspace{0.3\baselineskip} \par\vspace{0.8\baselineskip}
} }
\DeclareBibliographyDriver{inproceedings}{% \DeclareBibliographyDriver{inproceedings}{%
@ -837,7 +846,7 @@
% New syntax for flexible backend (BibLaTeX > v3.3) % New syntax for flexible backend (BibLaTeX > v3.3)
\DeclareNameFormat{author}{% \DeclareNameFormat{author}{%
\fontsize{9pt}{1em}\bodyfont% \fontsize{9pt}{1em}\bodyfontlight%
\renewcommand*{\multinamedelim}{\addcomma\addspace}% \renewcommand*{\multinamedelim}{\addcomma\addspace}%
\nameparts{#1}% \nameparts{#1}%
\ifthenelse{\value{listcount}=1} \ifthenelse{\value{listcount}=1}