forked from mirrors/Awesome-CV
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
|
% Needed to use icons from font-awesome
|
||||||
% (https://github.com/posquit0/latex-fontawesome)
|
% (https://github.com/posquit0/latex-fontawesome)
|
||||||
\RequirePackage{fontawesome}
|
\RequirePackage{fontawesome}
|
||||||
|
\RequirePackage[default,opentype]{sourcesanspro}
|
||||||
% Needed to deal a paragraphs
|
% Needed to deal a paragraphs
|
||||||
\RequirePackage{parskip}
|
\RequirePackage{parskip}
|
||||||
% Needed to deal hyperlink
|
% Needed to deal hyperlink
|
||||||
|
@ -174,40 +175,9 @@
|
||||||
BoldItalicFont=*-MediumItalic,
|
BoldItalicFont=*-MediumItalic,
|
||||||
]{Roboto}
|
]{Roboto}
|
||||||
|
|
||||||
% Set font for footer (default is Source Sans Pro)
|
\newcommand*{\footerfont}{\sourcesanspro}
|
||||||
\newfontfamily\footerfont[
|
\newcommand*{\bodyfont}{\sourcesanspro}
|
||||||
Path=\@fontdir,
|
\newcommand*{\bodyfontlight}{\sourcesansprolight}
|
||||||
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}
|
|
||||||
|
|
||||||
|
|
||||||
%-------------------------------------------------------------------------------
|
%-------------------------------------------------------------------------------
|
||||||
% Configuration for styles
|
% 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