% use of these is suggested by DAG:
%\usepackage{amsmath}
%\usepackage{mathptmx}
%
% not sure if they are essential!

%
% The following are enhanced fractions with more space.
%
% \spacedfrac for a fraction with 1pt more space above and below the rule (which
% you can adjust if you want). This is a bit complex, because the way I thought
% of doing this is to raise/lower the numerator and denominator... but you have
% to hardwire the font size, depending on whether the fraction is set as a
% display, in text, is already a sub/superscript, or sub-sub/super-super etc.,
% hence the other definitions, and the \mathchoice, to choose whats appropriate,
% given the context. If you know you are using it only in text (i.e. in single
% dollars), use \Tfrac directly.
%

% see also my \dfrac macro

\def\Tfrac#1#2{\frac{\raisebox{1pt}{$\textstyle #1$}}{\raisebox{-1pt}{$\textstyle #2$}}}
\def\Sfrac#1#2{\frac{\raisebox{1pt}{$\scriptstyle #1$}}{\raisebox{-1pt}{$\scriptstyle #2$}}}
\def\SSfrac#1#2{\frac{\raisebox{1pt}{$\scriptscriptstyle #1$}}{\raisebox{-1pt}{$\scriptscriptstyle #2$}}}
\def\spacedfrac#1#2{\mathchoice{\Tfrac{#1}{#2}}{\Sfrac{#1}{#2}}{\SSfrac{#1}{#2}}{\SSfrac{#1}{#2}}}


% my plan is to use smallfrac wherever I would normally use textstyle \frac

\def\smallfrac#1#2{{\textstyle\Sfrac{#1}{#2}}}

%
% This is for use in bunching up maths material that is too spacious.
%
\def\tightmaths{
  \thinmuskip=1.5mu
  \medmuskip=2mu plus 1mu minus 2mu
  \thickmuskip=2.5mu plus 2.5mu
}
\def\normalmaths{
  \thinmuskip=3mu
  \medmuskip=4mu plus 2mu minus 4mu
  \thickmuskip=5mu plus 5mu
}
