SourceSansPro is used directly from TeX system

This commit is contained in:
Jacek Bilski 2016-11-01 17:12:22 +01:00
parent 03871cb4b7
commit d9b000bd04
9 changed files with 4 additions and 34 deletions

View file

@ -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.