- Split PrimeManual package into multiple packages.
- Change original PrimeManual package into a class and rename Manual.
This commit is contained in:
32
Fonts.sty
Normal file
32
Fonts.sty
Normal file
@@ -0,0 +1,32 @@
|
||||
\NeedsTeXFormat{LaTeX2e}
|
||||
\ProvidesPackage{PrimeTeX/Fonts}[2025-06-24]
|
||||
|
||||
% Specify Fonts
|
||||
%#region
|
||||
\RequirePackage{fontspec}
|
||||
% Main font: Roboto Serif
|
||||
\setmainfont{RobotoSerif}[
|
||||
Path = ./fonts/RobotoSerif/,
|
||||
Extension = .ttf,
|
||||
UprightFont = *-Light,
|
||||
BoldFont = *-SemiBold,
|
||||
ItalicFont = *-LightItalic,
|
||||
BoldItalicFont = *-SemiBoldItalic,
|
||||
]
|
||||
% Headings & Titles font: Roboto Slab
|
||||
\setsansfont{RobotoSlab}[
|
||||
Path = ./fonts/RobotoSlab/,
|
||||
Extension = .ttf,
|
||||
UprightFont = *-SemiBold,
|
||||
BoldFont = *-Black,
|
||||
]
|
||||
% Monospace font: Roboto Mono
|
||||
\setmonofont{RobotoMono}[
|
||||
Path = ./fonts/RobotoMono/,
|
||||
Extension = .ttf,
|
||||
UprightFont = *-Regular,
|
||||
BoldFont = *-Bold,
|
||||
ItalicFont = *-Italic,
|
||||
BoldItalicFont = *-BoldItalic,
|
||||
]
|
||||
%#endregion
|
||||
Reference in New Issue
Block a user