Move font files to parent font folder because it's easier that way.
This commit is contained in:
@@ -10,57 +10,57 @@
|
||||
|
||||
\NewDocumentCommand{\fontpath}{}{./PrimeTeX/fonts}
|
||||
|
||||
\def\sbfamily{}
|
||||
% \def\sbfamily{}
|
||||
|
||||
% Main font: Roboto Serif (Light), with symbols merged in from, in order of
|
||||
% priority, Noto Serif, Noto Emoji, Noto Sans Symbols, and Noto
|
||||
% Sans Symbols 2.
|
||||
% \setmainfont{RobotoSerif}[
|
||||
% Path = {\fontpath/serif/},
|
||||
% Extension = .ttf,
|
||||
% UprightFont = *-Light,
|
||||
% BoldFont = *-SemiBold,
|
||||
% ItalicFont = *-LightItalic,
|
||||
% BoldItalicFont = *-SemiBoldItalic,
|
||||
% SlantedFont = NotoSerif-Light,
|
||||
% BoldSlantedFont = NotoSerif-SemiBold,
|
||||
% ]
|
||||
\setmainfont{RobotoSerif}[
|
||||
Path = {\fontpath/},
|
||||
Extension = .ttf,
|
||||
UprightFont = *-Light,
|
||||
BoldFont = *-SemiBold,
|
||||
ItalicFont = *-LightItalic,
|
||||
BoldItalicFont = *-SemiBoldItalic,
|
||||
SlantedFont = NotoSerif-Light,
|
||||
BoldSlantedFont = NotoSerif-SemiBold,
|
||||
]
|
||||
|
||||
% % Sans serif font: Roboto (Medium).
|
||||
% \setsansfont{Roboto}[
|
||||
% Path = {\fontpath/sans/},
|
||||
% Extension = .ttf,
|
||||
% UprightFont = *-Medium,
|
||||
% BoldFont = *-Bold,
|
||||
% ItalicFont = *-MediumItalic,
|
||||
% BoldItalicFont = *-BoldItalic,
|
||||
% SlantedFont = NotoSans-Medium,
|
||||
% BoldSlantedFont = NotoSans-Bold,
|
||||
% ]
|
||||
\setsansfont{Roboto}[
|
||||
Path = {\fontpath/},
|
||||
Extension = .ttf,
|
||||
UprightFont = *-Medium,
|
||||
BoldFont = *-Bold,
|
||||
ItalicFont = *-MediumItalic,
|
||||
BoldItalicFont = *-BoldItalic,
|
||||
SlantedFont = NotoSans-Medium,
|
||||
BoldSlantedFont = NotoSans-Bold,
|
||||
]
|
||||
|
||||
% Monospace font: Roboto Mono
|
||||
% \setmonofont{RobotoMono}[
|
||||
% Path = {\fontpath/mono/},
|
||||
% Extension = .ttf,
|
||||
% UprightFont = *-Regular,
|
||||
% BoldFont = *-Bold,
|
||||
% ItalicFont = *-Italic,
|
||||
% BoldItalicFont = *-BoldItalic,
|
||||
% ]
|
||||
\setmonofont{RobotoMono}[
|
||||
Path = {\fontpath/},
|
||||
Extension = .ttf,
|
||||
UprightFont = *-Regular,
|
||||
BoldFont = *-Bold,
|
||||
ItalicFont = *-Italic,
|
||||
BoldItalicFont = *-BoldItalic,
|
||||
]
|
||||
|
||||
% % Headings & Titles font: Roboto Slab (Semibold).
|
||||
% \newfontfamily{\sbfamily}{RobotoSlab}[
|
||||
% Path = {\fontpath/serif/},
|
||||
% Extension = .ttf,
|
||||
% UprightFont = *-SemiBold,
|
||||
% BoldFont = *-Black,
|
||||
% % Roboto Slab doesn't have any italic form, so use
|
||||
% % the Roboto Serif version.
|
||||
% ItalicFont = RobotoSerif-SemiBoldItalic,
|
||||
% BoldItalicFont = RobotoSerif-ExtraBoldItalic,
|
||||
% SlantedFont = NotoSerif-SemiBold,
|
||||
% BoldSlantedFont = NotoSerif-ExtraBold,
|
||||
% ]
|
||||
% Headings & Titles font: Roboto Slab (Semibold).
|
||||
\newfontfamily{\sbfamily}{RobotoSlab}[
|
||||
Path = {\fontpath/},
|
||||
Extension = .ttf,
|
||||
UprightFont = *-SemiBold,
|
||||
BoldFont = *-Black,
|
||||
% Roboto Slab doesn't have any italic form, so use
|
||||
% the Roboto Serif version.
|
||||
ItalicFont = RobotoSerif-SemiBoldItalic,
|
||||
BoldItalicFont = RobotoSerif-ExtraBoldItalic,
|
||||
SlantedFont = NotoSerif-SemiBold,
|
||||
BoldSlantedFont = NotoSerif-ExtraBold,
|
||||
]
|
||||
|
||||
% Sans serif font with more symbols: Noto Sans
|
||||
% \newfontfamily{\notofamily}{NotoSans}[
|
||||
|
||||
Reference in New Issue
Block a user