mirror of
https://github.com/posquit0/Awesome-CV.git
synced 2024-12-24 13:33:33 +00:00
SourceSansPro is used directly from TeX system
This commit is contained in:
parent
03871cb4b7
commit
d9b000bd04
9 changed files with 4 additions and 34 deletions
|
@ -75,6 +75,7 @@
|
|||
% Needed to use icons from font-awesome
|
||||
% (https://github.com/posquit0/latex-fontawesome)
|
||||
\RequirePackage{fontawesome}
|
||||
\RequirePackage[default,opentype]{sourcesanspro}
|
||||
% Needed to deal a paragraphs
|
||||
\RequirePackage{parskip}
|
||||
% Needed to deal hyperlink
|
||||
|
@ -174,40 +175,9 @@
|
|||
BoldItalicFont=*-MediumItalic,
|
||||
]{Roboto}
|
||||
|
||||
% Set font for footer (default is Source Sans Pro)
|
||||
\newfontfamily\footerfont[
|
||||
Path=\@fontdir,
|
||||
UprightFont=*-Regular,
|
||||
ItalicFont=*-It,
|
||||
BoldFont=*-Bold
|
||||
]{SourceSansPro}
|
||||
|
||||
% Set font for body (default is Source Sans Pro)
|
||||
\newfontfamily\bodyfont[
|
||||
Path=\@fontdir,
|
||||
UprightFont=*-Regular,
|
||||
ItalicFont=*-It,
|
||||
BoldFont=*-Bold,
|
||||
BoldItalicFont=*-BoldIt
|
||||
]{SourceSansPro}
|
||||
|
||||
\newfontfamily\bodyfontlight[
|
||||
Path=\@fontdir,
|
||||
UprightFont=*-Light,
|
||||
ItalicFont=*-LightIt,
|
||||
BoldFont=*-Semibold,
|
||||
BoldItalicFont=*-SemiboldIt
|
||||
]{SourceSansPro}
|
||||
|
||||
% Set main font
|
||||
\setmainfont[
|
||||
Path=\@fontdir,
|
||||
UprightFont=*-Regular,
|
||||
ItalicFont=*-It,
|
||||
BoldFont=*-Bold,
|
||||
BoldItalicFont=*-BoldIt
|
||||
]{SourceSansPro}
|
||||
|
||||
\newcommand*{\footerfont}{\sourcesanspro}
|
||||
\newcommand*{\bodyfont}{\sourcesanspro}
|
||||
\newcommand*{\bodyfontlight}{\sourcesansprolight}
|
||||
|
||||
%-------------------------------------------------------------------------------
|
||||
% Configuration for styles
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in a new issue