% mbmac.tex
% LaTeX / MetaPost macros for PSS book.
% Miroslav Broz (miroslav.broz@email.cz), May 14th 2002

\documentclass{article}
\usepackage[varg]{txfonts}
\begin{document}

\let\fntaxes=\em
\let\fntpoint=\rm
\font\fntsmall=rtxr at 10pt
\let\fntvector=\bf
\font\boldmath=rtxbmi at 10pt

% Silvio Levy's nonslanted greek
\font\tengr    gr10 scaled 950
\font\sevengr  gr7 scaled 950
\font\fivegr   gr5 scaled 950
\let\oldpi\pi
\def\pi{{\mathchoice{\hbox{\tengr p}}{\hbox{\tengr p}}{\hbox{\sevengr p}}{\hbox{\fivegr p}}}}
\def\mugr{\mathchoice{\hbox{\tengr m}}{\hbox{\tengr m}}{\hbox{\sevengr m}}{\hbox{\fivegr m}}}
\let\mathmu\mu
\def\mu{\ifmmode\mathmu\else$\mugr$\fi}

\def\vpic#1{{\fntvector #1}}	%% vectors
\def\opic#1{\ifmmode{\mathit #1}\else{\fntaxes #1}\fi}	%% axes
\def\tpic#1{{\rm #1}}		%% ordinary text labels
\def\cpic#1{{\rm #1}}		%% chemical labels
\def\ppic#1{{\fntpoint #1}}	%% points

\def\boldomega{\hbox{\boldmath\char33}}
\def\boldrho{\hbox{\boldmath\char37}}

\let\myepsilon=\epsilon
\let\mypi=\pi
\let\myrho=\varrho
\let\myphi=\phi

\def\df{\mathord{\rm d}}
\def\im{\mathord{\rm i}}
\def\tg{\mathop{\rm tg}\nolimits}

\def\subfig#1{(#1)}

\def\frc#1#2{%
  \mathchoice{%
    {\textstyle\mathstrut#1\over\textstyle\mathstrut#2}}%
    {{\textstyle\mathstrut#1\over\textstyle\mathstrut#2}}%
    {{\scriptstyle\mathstrut#1\over\scriptstyle\mathstrut#2}}%
    {{\mathstrut#1\over\mathstrut#2}%
  }%
}

% PlainTeX macros...
\def\line{\hbox to\hsize}

