]> gitweb.michael.orlitzky.com - mjotex.git/commitdiff
mjo-font: add new \mathpzc (PostScript Zapf Chancery) font face.
authorMichael Orlitzky <michael@orlitzky.com>
Mon, 4 Nov 2019 02:49:27 +0000 (21:49 -0500)
committerMichael Orlitzky <michael@orlitzky.com>
Mon, 4 Nov 2019 02:49:27 +0000 (21:49 -0500)
examples.tex
mjo-font.tex

index dde74d0f6997418a8ab283ee1f6fb53452f6a6bf..e1f375fdc68d219d144010732030850d31cd5869 100644 (file)
   \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}
index 2a00a29ff34c9f3a6db57b1413d0646afaf05aa9..7a81fa2770f1f6e3aa81f78e913167d837161df7 100644 (file)
   \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