mirror of
https://github.com/hendricius/the-sourdough-framework
synced 2026-03-08 22:17:15 -05:00
Merge 1b90bf669b into 98a3360348
This commit is contained in:
@@ -52,8 +52,9 @@
|
||||
\DeclareRobustCommand\sbseries{\fontseries{sb}\selectfont}
|
||||
% Fonts for accessibility
|
||||
\ifdefined\isaccessible
|
||||
\setmainfont{Open Sans}[
|
||||
Scale=MatchLowercase]
|
||||
\usepackage[mathrm=sym]{unicode-math}
|
||||
\setmathfont{Fira Math}[Scale=MatchLowercase]
|
||||
\setmainfont{Open Sans}[Scale=MatchLowercase]
|
||||
\else
|
||||
\setmainfont{TeX Gyre Pagella}[Scale=1.0] % Or Palatino Linotype, etc.
|
||||
% TODO not available on github CI
|
||||
|
||||
@@ -11,4 +11,12 @@
|
||||
\Configure{AddCss}{book-ebook.css}
|
||||
\Configure{CoverMimeType}{image/jpeg}
|
||||
\CoverMetadata{cover/cover-page.jpg}
|
||||
\AddToHook{env/tikzpicture/begin}{\fontfamily{opensans-TLF}\selectfont}
|
||||
\Configure{@HEAD}{\HCode{
|
||||
<style type="text/css">
|
||||
@import url('https://fonts.cdnfonts.com/css/open-sans');
|
||||
body{
|
||||
font-family: 'Open Sans';
|
||||
}
|
||||
</style>}}
|
||||
\EndPreamble
|
||||
|
||||
@@ -9,6 +9,14 @@
|
||||
}}
|
||||
|
||||
\Configure{AddCss}{style.css}
|
||||
\AddToHook{env/tikzpicture/begin}{\fontfamily{opensans-TLF}\selectfont}
|
||||
\Configure{@HEAD}{\HCode{
|
||||
<style type="text/css">
|
||||
@import url('https://fonts.cdnfonts.com/css/open-sans');
|
||||
body{
|
||||
font-family: 'Open Sans';
|
||||
}
|
||||
</style>}}
|
||||
\ConfigureEnv{titlepage}{\ifvmode\IgnorePar\fi\EndP\HCode{<main class="titlepage">}}{\ifvmode\IgnorePar\fi\EndP\HCode{</main>}}{}{}
|
||||
|
||||
% Mini TOC
|
||||
|
||||
Reference in New Issue
Block a user