% 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=txr at20pt \fzzozznzzt}%
\def\eighteenrm{\font\fzzozznzzt=txr at18pt \fzzozznzzt}%
\def\sixteenrm{\font\fzzozznzzt= txr at16pt \fzzozznzzt}%
\def\fourteenrm{\font\fzzozznzzt=txr at14pt \fzzozznzzt}%
\def\twelverm{\font\fzzozznzzt=  txr at12pt \fzzozznzzt}%
\font\tenrm=        txr
\def\ninerm{\font\fzzozznzzt=       txr at9pt \fzzozznzzt}%
\def\eightrm{\font\fzzozznzzt=      txr at8pt \fzzozznzzt}%
\font\sevenrm=      txr at7pt
\def\sixrm{\font\fzzozznzzt=        txr at6pt \fzzozznzzt}%
\font\fiverm=       txr at5pt
%
% math italic (Family 1)
\def\twentyi{\font\fzzozznzzt=   txmi at20pt \fzzozznzzt}%
\def\eighteeni{\font\fzzozznzzt= txmi at18pt \fzzozznzzt}%
\def\sixteeni{\font\fzzozznzzt=  txmi at16pt \fzzozznzzt}%
\def\fourteeni{\font\fzzozznzzt= txmi at14pt \fzzozznzzt}%
\def\twelvei{\font\fzzozznzzt=   txmi at12pt \fzzozznzzt}%
\font\teni=         txmi
\def\ninei{\font\fzzozznzzt=        txmi at9pt \fzzozznzzt}%
\def\eighti{\font\fzzozznzzt=       txmi at8pt \fzzozznzzt}%
\font\seveni=       txmi at7pt
\def\sixi{\font\fzzozznzzt=         txmi at6pt \fzzozznzzt}%
\font\fivei=        txmi at5pt
%
% math symbols (Family 2)
\def\twentysy{\font\fzzozznzzt=  txsy at20pt \fzzozznzzt}%
\def\eighteensy{\font\fzzozznzzt=txsy at18pt \fzzozznzzt}%
\def\sixteensy{\font\fzzozznzzt= txsy at16pt \fzzozznzzt}%
\def\fourteensy{\font\fzzozznzzt=txsy at14pt \fzzozznzzt}%
\def\twelvesy{\font\fzzozznzzt=  txsy at12pt \fzzozznzzt}%
\font\tensy=        txsy
\def\ninesy{\font\fzzozznzzt=       txsy at9pt \fzzozznzzt}%
\def\eightsy{\font\fzzozznzzt=      txsy at8pt \fzzozznzzt}%
\font\sevensy=      txsy at7pt
\def\sixsy{\font\fzzozznzzt=        txsy at6pt \fzzozznzzt}%
\font\fivesy=       txsy at5pt
%
% math extension (Family 3)
\def\twentyex{\font\fzzozznzzt=  txex at20pt \fzzozznzzt}%
\def\eighteenex{\font\fzzozznzzt=txex at18pt \fzzozznzzt}%
\def\sixteenex{\font\fzzozznzzt= txex at16pt \fzzozznzzt}%
\def\fourteenex{\font\fzzozznzzt=txex at14pt \fzzozznzzt}%
\def\twelveex{\font\fzzozznzzt=  txex at12pt \fzzozznzzt}%
\font\tenex=        txex
\def\nineex{\font\fzzozznzzt=       txex at9pt \fzzozznzzt}%
\def\eightex{\font\fzzozznzzt=      txex at8pt \fzzozznzzt}%
\font\sevenex=      txex at7pt
\def\sixex{\font\fzzozznzzt=        txex at6pt \fzzozznzzt}%
\font\fiveex=       txex at5pt
%
% italic text (Family 4)
\def\twentyit{\font\fzzozznzzt=  txi at20pt \fzzozznzzt}%
\def\eighteenit{\font\fzzozznzzt=txi at18pt \fzzozznzzt}%
\def\sixteenit{\font\fzzozznzzt= txi at16pt \fzzozznzzt}%
\def\fourteenit{\font\fzzozznzzt=   txi at14pt \fzzozznzzt}%
\def\twelveit{\font\fzzozznzzt=  txi at12pt \fzzozznzzt}%
\font\tenit=        txi
\def\nineit{\font\fzzozznzzt=       txi at9pt \fzzozznzzt}%
\def\eightit{\font\fzzozznzzt=      txi at8pt \fzzozznzzt}%
\font\sevenit=      txi at7pt
\def\sixit{\font\fzzozznzzt=        txi at6pt \fzzozznzzt}%
\font\fiveit=       txi at5pt
%
% slanted text (Family 5)
\def\twentysl{\font\fzzozznzzt=  txsl at20pt \fzzozznzzt}%
\def\eighteensl{\font\fzzozznzzt=txsl at18pt \fzzozznzzt}%
\def\sixteensl{\font\fzzozznzzt= txsl at16pt \fzzozznzzt}%
\def\fourteensl{\font\fzzozznzzt=   txsl at14pt \fzzozznzzt}%
\def\twelvesl{\font\fzzozznzzt=  txsl at12pt \fzzozznzzt}%
\font\tensl=        txsl
\def\ninesl{\font\fzzozznzzt=       txsl at9pt \fzzozznzzt}%
\def\eightsl{\font\fzzozznzzt=      txsl at8pt \fzzozznzzt}%
\font\sevensl=      txsl at7pt
\def\sixsl{\font\fzzozznzzt=        txsl at6pt \fzzozznzzt}%
\font\fivesl=       txsl at5pt
%
% boldface text (Family 6)
\def\twentybf{\font\fzzozznzzt=  txb at20pt \fzzozznzzt}%
\def\eighteenbf{\font\fzzozznzzt=   txb at18pt \fzzozznzzt}%
\def\sixteenbf{\font\fzzozznzzt= txb at16pt \fzzozznzzt}%
\def\fourteenbf{\font\fzzozznzzt=   txb at14pt \fzzozznzzt}%
\def\twelvebf{\font\fzzozznzzt=  txb at12pt \fzzozznzzt}%
\font\tenbf=        txb
\def\ninebf{\font\fzzozznzzt=       txb at9pt \fzzozznzzt}%
\def\eightbf{\font\fzzozznzzt=      txb at8pt \fzzozznzzt}%
\font\sevenbf=      txb at7pt
\def\sixbf{\font\fzzozznzzt=        txb at6pt \fzzozznzzt}%
\font\fivebf=       txb at5pt
%
% typewriter text (Family 7)
\def\twentytt{\font\fzzozznzzt=  txtt at20pt \fzzozznzzt}%
\def\eighteentt{\font\fzzozznzzt=   txtt at18pt \fzzozznzzt}%
\def\sixteentt{\font\fzzozznzzt= txtt at16pt \fzzozznzzt}%
\def\fourteentt{\font\fzzozznzzt=txtt at14pt \fzzozznzzt}%
\def\twelvett{\font\fzzozznzzt=  txtt at12pt \fzzozznzzt}%
\font\tentt=        txtt
\def\ninett{\font\fzzozznzzt=       txtt at9pt \fzzozznzzt}%
\def\eighttt{\font\fzzozznzzt=      txtt at8pt \fzzozznzzt}%
\font\seventt=      txtt at7pt
\def\sixtt{\font\fzzozznzzt=        txtt at6pt \fzzozznzzt}%
\font\fivett=       txtt 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=   txbi at20pt \fzzozznzzt}%
\def\eighteenitbf{\font\fzzozznzzt= txbi at18pt \fzzozznzzt}%
\def\sixteenitbf{\font\fzzozznzzt=  txbi at16pt \fzzozznzzt}%
\def\fourteenitbf{\font\fzzozznzzt=    txbi at14pt \fzzozznzzt}%
\def\twelveitbf{\font\fzzozznzzt=   txbi at12pt \fzzozznzzt}%
\font\itbf=            txbi
\def\nineitbf{\font\fzzozznzzt=        txbi at9pt \fzzozznzzt}%
\def\eightitbf{\font\fzzozznzzt=       txbi at8pt \fzzozznzzt}%
\font\sevenitbf=       txbi at7pt
\def\sixitbf{\font\fzzozznzzt=         txbi at6pt \fzzozznzzt}%
\font\fiveitbf=        txbi at5pt
%
% slanted boldface
\def\twentyslbf{\font\fzzozznzzt=   txbsl at20pt \fzzozznzzt}%
\def\eighteenslbf{\font\fzzozznzzt= txbsl at18pt \fzzozznzzt}%
\def\sixteenslbf{\font\fzzozznzzt=  txbsl at16pt \fzzozznzzt}%
\def\fourteenslbf{\font\fzzozznzzt=    txbsl at14pt \fzzozznzzt}%
\def\twelveslbf{\font\fzzozznzzt=   txbsl at12pt \fzzozznzzt}%
\font\slbf=            txbsl
\def\nineslbf{\font\fzzozznzzt=        txbsl at9pt \fzzozznzzt}%
\def\eightslbf{\font\fzzozznzzt=       txbsl at8pt \fzzozznzzt}%
\font\sevenslbf=       txbsl at7pt
\def\sixslbf{\font\fzzozznzzt=         txbsl at6pt \fzzozznzzt}%
\font\fiveslbf=        txbsl at5pt
%
% caps
\def\twentycaps{\font\fzzozznzzt=   txsc at20pt \fzzozznzzt}%
\def\eighteencaps{\font\fzzozznzzt= txsc at18pt \fzzozznzzt}%
\def\sixteencaps{\font\fzzozznzzt=  txsc at16pt \fzzozznzzt}%
\def\fourteencaps{\font\fzzozznzzt=    txsc at14pt \fzzozznzzt}%
\def\twelvecaps{\font\fzzozznzzt=   txsc at12pt \fzzozznzzt}%
\font\caps=            txsc  % rm-qtmr-sc of TeX Gyre or ptmrc7t of Adobe can also be used.
\def\ninecaps{\font\fzzozznzzt=        txsc at9pt \fzzozznzzt}%
\def\eightcaps{\font\fzzozznzzt=       txsc at8pt \fzzozznzzt}%
\font\sevencaps=       txsc at7pt
\def\sixcaps{\font\fzzozznzzt=         txsc at6pt \fzzozznzzt}%
\font\fivecaps=        txsc at5pt
%
% caps boldface
\def\twentycapsbf{\font\fzzozznzzt=   txbsc at20pt \fzzozznzzt}%
\def\eighteencapsbf{\font\fzzozznzzt= txbsc at18pt \fzzozznzzt}%
\def\sixteencapsbf{\font\fzzozznzzt=  txbsc at16pt \fzzozznzzt}%
\def\fourteencapsbf{\font\fzzozznzzt=    txbsc at14pt \fzzozznzzt}%
\def\twelvecapsbf{\font\fzzozznzzt=   txbsc at12pt \fzzozznzzt}%
\font\capsbf=            txbsc % rm-qtmb-sc of TeX Gyre or ptmbc7t of Adobe can also be used.
\def\ninecapsbf{\font\fzzozznzzt=        txbsc at9pt \fzzozznzzt}%
\def\eightcapsbf{\font\fzzozznzzt=       txbsc at8pt \fzzozznzzt}%
\font\sevencapsbf=       txbsc at7pt
\def\sixcapsbf{\font\fzzozznzzt=         txbsc at6pt \fzzozznzzt}%
\font\fivecapsbf=        txbsc at5pt
%
% AMS Symbols
\def\loadmsam{\font\tenmsa=txsya \font\sevenmsa=txsya at7pt \font\fivemsa=txsya at5pt \fam\msafam \textfont\msafam=\tenmsa \scriptfont\msafam=\sevenmsa \scriptscriptfont\msafam=\fivemsa \global\let\loadmsam\empty}%
\def\loadmsbm{\font\tenmsb=txsyb \font\sevenmsb=txsyb at7pt \font\fivemsb=txsyb at5pt \fam\msbfam \textfont\msbfam=\tenmsb \scriptfont\msbfam=\sevenmsb \scriptscriptfont\msbfam=\fivemsb \global\let\loadmsbm\empty}%
\def\UseAMSsymbols{\loadmsam\loadmsbm}%
%
%
\rm