From 21d2482fff119876e9dbb4b7fb53b26d01606e80 Mon Sep 17 00:00:00 2001
From: Yann Herklotz <git@yannherklotz.com>
Date: Tue, 26 Jul 2022 08:09:24 +0100
Subject: Add configuration to context

---
 context/type-imp-ymhg.tex | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 context/type-imp-ymhg.tex

(limited to 'context/type-imp-ymhg.tex')

diff --git a/context/type-imp-ymhg.tex b/context/type-imp-ymhg.tex
new file mode 100644
index 0000000..bbae62e
--- /dev/null
+++ b/context/type-imp-ymhg.tex
@@ -0,0 +1,21 @@
+\starttypescript[mono] [iosevka]
+  \definefontsynonym[Iosevka-Regular]    [name:iosevkaslabmedium]
+  \definefontsynonym[Iosevka-Italic]     [name:iosevkaslabmediumitalic]
+  \definefontsynonym[Iosevka-Bold]       [name:iosevkaslabbold]
+  \definefontsynonym[Iosevka-BoldItalic] [name:iosevkaslabbolditalic]
+\stoptypescript
+
+\starttypescript[mono] [iosevka]
+  \setups[font:fallback:mono]
+  \definefontsynonym[Mono]           [Iosevka-Regular]    [features=default]
+  \definefontsynonym[MonoItalic]     [Iosevka-Italic]     [features=default]
+  \definefontsynonym[MonoBold]       [Iosevka-Bold]       [features=default]
+  \definefontsynonym[MonoBoldItalic] [Iosevka-BoldItalic] [features=default]
+\stoptypescript
+
+\starttypescript [ymhg]
+  \definetypeface [ymhg] [rm] [serif] [libertinus] [default]
+  \definetypeface [ymhg] [ss] [sans]  [libertinus] [default]
+  \definetypeface [ymhg] [tt] [mono]  [iosevka]    [default] [rscale=0.85]
+  \definetypeface [ymhg] [mm] [math]  [libertinus] [default]
+\stoptypescript
-- 
cgit 

