Use relative fonts in tex document

This commit is contained in:
Jacob Patterson 2020-09-22 17:00:50 -04:00
parent 3242110f30
commit 953d3f29a1

View file

@ -6,11 +6,21 @@
\usepackage{hyperref}
\usepackage{fontspec}
\setmainfont{SourceSans3}[
Extension = .otf ,
Path = ./fonts/ ,
UprightFont = *-Regular,
BoldFont = *-Bold,
ItalicFont = *-It,
BoldItalicFont = *-BoldIt
]
\newfontfamily\sssb{SourceSans3}[
Extension = .otf ,
Path = ./fonts/ ,
UprightFont = *-Semibold
]
\setromanfont{Source Serif Pro}
\setsansfont{Source Sans Pro}
\setmainfont{Source Sans Pro}
\newfontfamily\sssb{Source Sans Pro Semibold}
\hypersetup{
colorlinks=true,
@ -135,4 +145,5 @@ University mobile application course, an Android application to rate and find th
\end{tabular}
\vspace{2mm}
\end{document}
\end{document}