]> gitweb.michael.orlitzky.com - mjotex.git/blobdiff - mjo-font.tex
mjo-algebra.tex: fix glossary sorting of \variety
[mjotex.git] / mjo-font.tex
index fda3c0880450444ba1ed663a40b3564c75afb8d8..7a81fa2770f1f6e3aa81f78e913167d837161df7 100644 (file)
@@ -1,6 +1,9 @@
 %
 % Font handling that you probably want to use everywhere.
 %
 %
 % Font handling that you probably want to use everywhere.
 %
+\ifx\havemjofont\undefined
+\def\havemjofont{1}
+
 
 % Allow arbitrary font sizes (prevents pdflatex warnings).
 \usepackage{lmodern}
 
 % Allow arbitrary font sizes (prevents pdflatex warnings).
 \usepackage{lmodern}
 \usepackage[utf8]{inputenc}
 
 % Grab the AMS fonts, too, for things like \mathbb.
 \usepackage[utf8]{inputenc}
 
 % Grab the AMS fonts, too, for things like \mathbb.
-\usepackage{amsfonts}
+\ifx\mathbb\undefined
+  \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