X-Git-Url: http://gitweb.michael.orlitzky.com/?p=mjotex.git;a=blobdiff_plain;f=mjo-font.tex;h=7a81fa2770f1f6e3aa81f78e913167d837161df7;hp=fda3c0880450444ba1ed663a40b3564c75afb8d8;hb=HEAD;hpb=05d580bd8940274b3d3a87a364ba649dff2cf53d diff --git a/mjo-font.tex b/mjo-font.tex index fda3c08..7a81fa2 100644 --- a/mjo-font.tex +++ b/mjo-font.tex @@ -1,6 +1,9 @@ % % Font handling that you probably want to use everywhere. % +\ifx\havemjofont\undefined +\def\havemjofont{1} + % Allow arbitrary font sizes (prevents pdflatex warnings). \usepackage{lmodern} @@ -10,4 +13,16 @@ \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