% The author of this work is Amit Raj Dhawan
% This work has been released under
% Creative Commons Attribution-Share Alike 3.0 Unported License
% on July 19, 2010. For details visit:
% http://creativecommons.org/licenses/by-sa/3.0/.
%
% roman text (Family 0)
\def\twentyrm{\font\fzzozznzzt=pxr at20pt \fzzozznzzt}%
\def\eighteenrm{\font\fzzozznzzt=pxr at18pt \fzzozznzzt}%
\def\sixteenrm{\font\fzzozznzzt= pxr at16pt \fzzozznzzt}%
\def\fourteenrm{\font\fzzozznzzt=pxr at14pt \fzzozznzzt}%
\def\twelverm{\font\fzzozznzzt=  pxr at12pt \fzzozznzzt}%
\font\tenrm=        pxr% rm-qplr (TeX encoding) offers better rendering of letters D and T, and has the ff ligature.
\def\ninerm{\font\fzzozznzzt=       pxr at9pt \fzzozznzzt}%
\def\eightrm{\font\fzzozznzzt=      pxr at8pt \fzzozznzzt}%
\font\sevenrm=      pxr at7pt
\def\sixrm{\font\fzzozznzzt=        pxr at6pt \fzzozznzzt}%
\font\fiverm=       pxr at5pt
%
% math italic (Family 1)
\def\twentyi{\font\fzzozznzzt=   pxmi at20pt \fzzozznzzt}%
\def\eighteeni{\font\fzzozznzzt= pxmi at18pt \fzzozznzzt}%
\def\sixteeni{\font\fzzozznzzt=  pxmi at16pt \fzzozznzzt}%
\def\fourteeni{\font\fzzozznzzt= pxmi at14pt \fzzozznzzt}%
\def\twelvei{\font\fzzozznzzt=   pxmi at12pt \fzzozznzzt}%
\font\teni=         pxmi
\def\ninei{\font\fzzozznzzt=        pxmi at9pt \fzzozznzzt}%
\def\eighti{\font\fzzozznzzt=       pxmi at8pt \fzzozznzzt}%
\font\seveni=       pxmi at7pt
\def\sixi{\font\fzzozznzzt=         pxmi at6pt \fzzozznzzt}%
\font\fivei=        pxmi at5pt
%
% math symbols (Family 2)
\def\twentysy{\font\fzzozznzzt=  pxsy at20pt \fzzozznzzt}%
\def\eighteensy{\font\fzzozznzzt=pxsy at18pt \fzzozznzzt}%
\def\sixteensy{\font\fzzozznzzt= pxsy at16pt \fzzozznzzt}%
\def\fourteensy{\font\fzzozznzzt=pxsy at14pt \fzzozznzzt}%
\def\twelvesy{\font\fzzozznzzt=  pxsy at12pt \fzzozznzzt}%
\font\tensy=        pxsy
\def\ninesy{\font\fzzozznzzt=       pxsy at9pt \fzzozznzzt}%
\def\eightsy{\font\fzzozznzzt=      pxsy at8pt \fzzozznzzt}%
\font\sevensy=      pxsy at7pt
\def\sixsy{\font\fzzozznzzt=        pxsy at6pt \fzzozznzzt}%
\font\fivesy=       pxsy at5pt
%
% math extension (Family 3)
\def\twentyex{\font\fzzozznzzt=  pxex at20pt \fzzozznzzt}%
\def\eighteenex{\font\fzzozznzzt=pxex at18pt \fzzozznzzt}%
\def\sixteenex{\font\fzzozznzzt= pxex at16pt \fzzozznzzt}%
\def\fourteenex{\font\fzzozznzzt=pxex at14pt \fzzozznzzt}%
\def\twelveex{\font\fzzozznzzt=  pxex at12pt \fzzozznzzt}%
\font\tenex=        pxex
\def\nineex{\font\fzzozznzzt=       pxex at9pt \fzzozznzzt}%
\def\eightex{\font\fzzozznzzt=      pxex at8pt \fzzozznzzt}%
\font\sevenex=      pxex at7pt
\def\sixex{\font\fzzozznzzt=        pxex at6pt \fzzozznzzt}%
\font\fiveex=       pxex at5pt
%
% italic text (Family 4)
\def\twentyit{\font\fzzozznzzt=  pxi at20pt \fzzozznzzt}%
\def\eighteenit{\font\fzzozznzzt=pxi at18pt \fzzozznzzt}%
\def\sixteenit{\font\fzzozznzzt= pxi at16pt \fzzozznzzt}%
\def\fourteenit{\font\fzzozznzzt=   pxi at14pt \fzzozznzzt}%
\def\twelveit{\font\fzzozznzzt=  pxi at12pt \fzzozznzzt}%
\font\tenit=        pxi
\def\nineit{\font\fzzozznzzt=       pxi at9pt \fzzozznzzt}%
\def\eightit{\font\fzzozznzzt=      pxi at8pt \fzzozznzzt}%
\font\sevenit=      pxi at7pt
\def\sixit{\font\fzzozznzzt=        pxi at6pt \fzzozznzzt}%
\font\fiveit=       pxi at5pt
%
% slanted text (Family 5)
\def\twentysl{\font\fzzozznzzt=  pxsl at20pt \fzzozznzzt}%
\def\eighteensl{\font\fzzozznzzt=pxsl at18pt \fzzozznzzt}%
\def\sixteensl{\font\fzzozznzzt= pxsl at16pt \fzzozznzzt}%
\def\fourteensl{\font\fzzozznzzt=   pxsl at14pt \fzzozznzzt}%
\def\twelvesl{\font\fzzozznzzt=  pxsl at12pt \fzzozznzzt}%
\font\tensl=        pxsl
\def\ninesl{\font\fzzozznzzt=       pxsl at9pt \fzzozznzzt}%
\def\eightsl{\font\fzzozznzzt=      pxsl at8pt \fzzozznzzt}%
\font\sevensl=      pxsl at7pt
\def\sixsl{\font\fzzozznzzt=        pxsl at6pt \fzzozznzzt}%
\font\fivesl=       pxsl at5pt
%
% boldface text (Family 6)
\def\twentybf{\font\fzzozznzzt=  pxb at20pt \fzzozznzzt}%
\def\eighteenbf{\font\fzzozznzzt=   pxb at18pt \fzzozznzzt}%
\def\sixteenbf{\font\fzzozznzzt= pxb at16pt \fzzozznzzt}%
\def\fourteenbf{\font\fzzozznzzt=   pxb at14pt \fzzozznzzt}%
\def\twelvebf{\font\fzzozznzzt=  pxb at12pt \fzzozznzzt}%
\font\tenbf=        pxb
\def\ninebf{\font\fzzozznzzt=       pxb at9pt \fzzozznzzt}%
\def\eightbf{\font\fzzozznzzt=      pxb at8pt \fzzozznzzt}%
\font\sevenbf=      pxb at7pt
\def\sixbf{\font\fzzozznzzt=        pxb at6pt \fzzozznzzt}%
\font\fivebf=       pxb at5pt
%
% typewriter text (Family 7)
\def\twentytt{\font\fzzozznzzt=  cmtt10 at20pt \fzzozznzzt}%
\def\eighteentt{\font\fzzozznzzt=   cmtt10 at18pt \fzzozznzzt}%
\def\sixteentt{\font\fzzozznzzt= cmtt10 at16pt \fzzozznzzt}%
\def\fourteentt{\font\fzzozznzzt=cmtt10 at14pt \fzzozznzzt}%
\def\twelvett{\font\fzzozznzzt=  cmtt10 at12pt \fzzozznzzt}%
\font\tentt=        cmtt10
\def\ninett{\font\fzzozznzzt=       cmtt9 \fzzozznzzt}%
\def\eighttt{\font\fzzozznzzt=      cmtt8 \fzzozznzzt}%
\font\seventt=      cmtt10 at7pt
\def\sixtt{\font\fzzozznzzt=        cmtt10 at6pt \fzzozznzzt}%
\font\fivett=       cmtt10 at5pt
%
% Family 0 (roman text)
\textfont0=\tenrm
\scriptfont0=\sevenrm
\scriptscriptfont0=\fiverm
\def\rm{\fam=0 \tenrm}%
%
% Family 1 (math italic)
\textfont1=\teni
\scriptfont1=\seveni
\scriptscriptfont1=\fivei
\def\mit{\fam=1}%
%
% Family 2 (math symbol)
\textfont2=\tensy
\scriptfont2=\sevensy
\scriptscriptfont2=\fivesy
\def\cal{\fam=2}%
%
% Family 3 (math extension)
\textfont3=\tenex
\scriptfont3=\sevenex
\scriptscriptfont3=\fiveex
%
% Family 4 (italic text)
\def\it{\fam=\itfam \tenit}%
\textfont\itfam=\tenit
\scriptfont\itfam=\sevenit
\scriptscriptfont\itfam=\fiveit
%
% Family 5 (slanted text)
\def\sl{\fam=\slfam \tensl}%
\textfont\slfam=\tensl
\scriptfont\slfam=\sevensl
\scriptscriptfont\slfam=\fivesl
%
% Family 6 (boldface text)
\def\bf{\fam=\bffam \tenbf}%
\textfont\bffam=\tenbf
\scriptfont\bffam=\sevenbf
\scriptscriptfont\bffam=\fivebf
%
% Family 7 (typewriter text)
\def\tt{\fam=\ttfam \tentt}%
\textfont\ttfam=\tentt
\scriptfont\ttfam=\seventt
\scriptscriptfont\ttfam=\fivett
%
% italic boldface
\def\twentyitbf{\font\fzzozznzzt=   pxbi at20pt \fzzozznzzt}%
\def\eighteenitbf{\font\fzzozznzzt= pxbi at18pt \fzzozznzzt}%
\def\sixteenitbf{\font\fzzozznzzt=  pxbi at16pt \fzzozznzzt}%
\def\fourteenitbf{\font\fzzozznzzt=    pxbi at14pt \fzzozznzzt}%
\def\twelveitbf{\font\fzzozznzzt=   pxbi at12pt \fzzozznzzt}%
\font\itbf=            pxbi
\def\nineitbf{\font\fzzozznzzt=        pxbi at9pt \fzzozznzzt}%
\def\eightitbf{\font\fzzozznzzt=       pxbi at8pt \fzzozznzzt}%
\font\sevenitbf=       pxbi at7pt
\def\sixitbf{\font\fzzozznzzt=         pxbi at6pt \fzzozznzzt}%
\font\fiveitbf=        pxbi at5pt
%
% slanted boldface
\def\twentyslbf{\font\fzzozznzzt=   pxbsl at20pt \fzzozznzzt}%
\def\eighteenslbf{\font\fzzozznzzt= pxbsl at18pt \fzzozznzzt}%
\def\sixteenslbf{\font\fzzozznzzt=  pxbsl at16pt \fzzozznzzt}%
\def\fourteenslbf{\font\fzzozznzzt=    pxbsl at14pt \fzzozznzzt}%
\def\twelveslbf{\font\fzzozznzzt=   pxbsl at12pt \fzzozznzzt}%
\font\slbf=            pxbsl
\def\nineslbf{\font\fzzozznzzt=        pxbsl at9pt \fzzozznzzt}%
\def\eightslbf{\font\fzzozznzzt=       pxbsl at8pt \fzzozznzzt}%
\font\sevenslbf=       pxbsl at7pt
\def\sixslbf{\font\fzzozznzzt=         pxbsl at6pt \fzzozznzzt}%
\font\fiveslbf=        pxbsl at5pt
%
% caps
\def\twentycaps{\font\fzzozznzzt=   pxsc at20pt \fzzozznzzt}%
\def\eighteencaps{\font\fzzozznzzt= pxsc at18pt \fzzozznzzt}%
\def\sixteencaps{\font\fzzozznzzt=  pxsc at16pt \fzzozznzzt}%
\def\fourteencaps{\font\fzzozznzzt=    pxsc at14pt \fzzozznzzt}%
\def\twelvecaps{\font\fzzozznzzt=   pxsc at12pt \fzzozznzzt}%
\font\caps=            pxsc  % rm-qplr-sc of TeX Gyre or pplrc7t of Adobe can also be used.
\def\ninecaps{\font\fzzozznzzt=        pxsc at9pt \fzzozznzzt}%
\def\eightcaps{\font\fzzozznzzt=       pxsc at8pt \fzzozznzzt}%
\font\sevencaps=       pxsc at7pt
\def\sixcaps{\font\fzzozznzzt=         pxsc at6pt \fzzozznzzt}%
\font\fivecaps=        pxsc at5pt
%
% caps boldface
\def\twentycapsbf{\font\fzzozznzzt=   pxbsc at20pt \fzzozznzzt}%
\def\eighteencapsbf{\font\fzzozznzzt= pxbsc at18pt \fzzozznzzt}%
\def\sixteencapsbf{\font\fzzozznzzt=  pxbsc at16pt \fzzozznzzt}%
\def\fourteencapsbf{\font\fzzozznzzt=    pxbsc at14pt \fzzozznzzt}%
\def\twelvecapsbf{\font\fzzozznzzt=   pxbsc at12pt \fzzozznzzt}%
\font\capsbf=            pxbsc % rm-qplb-sc of TeX Gyre or pplrc7t of Adobe can also be used.
\def\ninecapsbf{\font\fzzozznzzt=        pxbsc at9pt \fzzozznzzt}%
\def\eightcapsbf{\font\fzzozznzzt=       pxbsc at8pt \fzzozznzzt}%
\font\sevencapsbf=       pxbsc at7pt
\def\sixcapsbf{\font\fzzozznzzt=         pxbsc at6pt \fzzozznzzt}%
\font\fivecapsbf=        pxbsc at5pt
% 
% AMS Symbols
\def\loadmsam{\font\tenmsa=pxsya \font\sevenmsa=pxsya at7pt \font\fivemsa=pxsya at5pt \fam\msafam \textfont\msafam=\tenmsa \scriptfont\msafam=\sevenmsa \scriptscriptfont\msafam=\fivemsa \global\let\loadmsam\empty}%
\def\loadmsbm{\font\tenmsb=pxsyb \font\sevenmsb=pxsyb at7pt \font\fivemsb=pxsyb at5pt \fam\msbfam \textfont\msbfam=\tenmsb \scriptfont\msbfam=\sevenmsb \scriptscriptfont\msbfam=\fivemsb \global\let\loadmsbm\empty}%
\def\UseAMSsymbols{\loadmsam\loadmsbm}%
%
%
\rm