From 66f91bd13a303f46822639420a20b5bffbe7a963 Mon Sep 17 00:00:00 2001
From: Michael Orlitzky <michael@orlitzky.com>
Date: Sun, 3 Nov 2019 21:49:27 -0500
Subject: [PATCH] mjo-font: add new \mathpzc (PostScript Zapf Chancery) font
 face.

---
 examples.tex | 9 ++++++++-
 mjo-font.tex | 8 ++++++++
 2 files changed, 16 insertions(+), 1 deletion(-)

diff --git a/examples.tex b/examples.tex
index dde74d0..e1f375f 100644
--- a/examples.tex
+++ b/examples.tex
@@ -171,7 +171,14 @@
   \end{section}
 
   \begin{section}{Font}
-    We can write things like Carathéodory and Güler and $\mathbb{R}$.
+    We can write things like Carathéodory and Güler and
+    $\mathbb{R}$. The PostScript Zapf Chancery font is also available
+    in both upper- and lower-case:
+    %
+    \begin{itemize}
+      \begin{item}$\mathpzc{abcdefghijklmnopqrstuvwxyz}$\end{item}
+      \begin{item}$\mathpzc{ABCDEFGHIJKLMNOPQRSTUVWXYZ}$\end{item}
+    \end{itemize}
   \end{section}
 
   \begin{section}{Linear algebra}
diff --git a/mjo-font.tex b/mjo-font.tex
index 2a00a29..7a81fa2 100644
--- a/mjo-font.tex
+++ b/mjo-font.tex
@@ -17,4 +17,12 @@
   \usepackage{amsfonts}
 \fi
 
+% Add the \mathpzc (PostScript Zapf Chancery) font face, scaled up by
+% a factor of 1.15. This is described in the documentation for the
+% urwchancal package which further adapts this technique. So long
+% as we don't ask too much of it, however, the few lines below suffice.
+\DeclareFontFamily{OT1}{pzc}{}
+\DeclareFontShape{OT1}{pzc}{m}{it}{<-> s * [1.15] pzcmi7t}{}
+\DeclareMathAlphabet{\mathpzc}{OT1}{pzc}{m}{it}
+
 \fi
-- 
2.45.3