]> gitweb.michael.orlitzky.com - mjotex.git/blob - mjo-font.tex
mjo-common: prevent \Sn[1] and \Hn[1] from dropping their superscripts.
[mjotex.git] / mjo-font.tex
1 %
2 % Font handling that you probably want to use everywhere.
3 %
4 \ifx\havemjofont\undefined
5 \def\havemjofont{1}
6
7
8 % Allow arbitrary font sizes (prevents pdflatex warnings).
9 \usepackage{lmodern}
10
11 % Support utf8 in LaTeX code. This lets you enter names like
12 % Carathéodory and Güler directly, without the funny escape sequences.
13 \usepackage[utf8]{inputenc}
14
15 % Grab the AMS fonts, too, for things like \mathbb.
16 \ifx\mathbb\undefined
17 \usepackage{amsfonts}
18 \fi
19
20 % Add the \mathpzc (PostScript Zapf Chancery) font face, scaled up by
21 % a factor of 1.15. This is described in the documentation for the
22 % urwchancal package which further adapts this technique. So long
23 % as we don't ask too much of it, however, the few lines below suffice.
24 \DeclareFontFamily{OT1}{pzc}{}
25 \DeclareFontShape{OT1}{pzc}{m}{it}{<-> s * [1.15] pzcmi7t}{}
26 \DeclareMathAlphabet{\mathpzc}{OT1}{pzc}{m}{it}
27
28 \fi