- add italic shape to slab font.

- add twinfig macro.
- add optional arguments to marginalia macros to be passed to the marginalia command.
This commit is contained in:
Silcantar
2025-08-06 22:42:05 -05:00
parent e0bad2e19b
commit 287c8fde8a
4 changed files with 54 additions and 23 deletions

View File

@@ -38,10 +38,14 @@
% Headings & Titles font: Roboto Slab
\newfontfamily{\sbfamily}{RobotoSlab}[
Path = {\fontpath/RobotoSlab/},
Path = {\fontpath/},
Extension = .ttf,
UprightFont = *-SemiBold,
BoldFont = *-Black,
UprightFont = RobotoSlab/RobotoSlab-SemiBold,
BoldFont = RobotoSlab/RobotoSlab-Black,
% Roboto Slab doesn't have any italic form, so use
% the Roboto Serif version.
ItalicFont = RobotoSerif/RobotoSerif-SemiBoldItalic,
BoldItalicFont = RobotoSerif/RobotoSerif-ExtraBoldItalic,
]
\newcommand{\serif}[1]{\textrm{#1}}