% 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=cmbr10 at20pt \fzzozznzzt}%
\def\eighteenrm{\font\fzzozznzzt=cmbr10 at18pt \fzzozznzzt}%
\def\sixteenrm{\font\fzzozznzzt= cmbr10 at16pt \fzzozznzzt}%
\def\fourteenrm{\font\fzzozznzzt=cmbr10 at14pt \fzzozznzzt}%
\def\twelverm{\font\fzzozznzzt=  cmbr10 at12pt \fzzozznzzt}%
\font\tenrm=        cmbr10
\def\ninerm{\font\fzzozznzzt=       cmbr10 at9pt \fzzozznzzt}%
\def\eightrm{\font\fzzozznzzt=      cmbr10 at8pt \fzzozznzzt}%
\font\sevenrm=      cmbr10 at7pt
\def\sixrm{\font\fzzozznzzt=        cmbr10 at6pt \fzzozznzzt}%
\font\fiverm=       cmbr10 at5pt
%
% math italic (Family 1)
\def\twentyi{\font\fzzozznzzt=   cmbrmi10 at20pt \fzzozznzzt}%
\def\eighteeni{\font\fzzozznzzt= cmbrmi10 at18pt \fzzozznzzt}%
\def\sixteeni{\font\fzzozznzzt=  cmbrmi10 at16pt \fzzozznzzt}%
\def\fourteeni{\font\fzzozznzzt= cmbrmi10 at14pt \fzzozznzzt}%
\def\twelvei{\font\fzzozznzzt=   cmbrmi10 at12pt \fzzozznzzt}%
\font\teni=         cmbrmi10
\def\ninei{\font\fzzozznzzt=        cmbrmi10 at9pt \fzzozznzzt}%
\def\eighti{\font\fzzozznzzt=       cmbrmi10 at8pt \fzzozznzzt}%
\font\seveni=       cmbrmi10 at7pt
\def\sixi{\font\fzzozznzzt=         cmbrmi10 at6pt \fzzozznzzt}%
\font\fivei=        cmbrmi10 at5pt
%
% math symbols (Family 2)
\def\twentysy{\font\fzzozznzzt=  cmbrsy10 at20pt \fzzozznzzt}%
\def\eighteensy{\font\fzzozznzzt=cmbrsy10 at18pt \fzzozznzzt}%
\def\sixteensy{\font\fzzozznzzt= cmbrsy10 at16pt \fzzozznzzt}%
\def\fourteensy{\font\fzzozznzzt=cmbrsy10 at14pt \fzzozznzzt}%
\def\twelvesy{\font\fzzozznzzt=  cmbrsy10 at12pt \fzzozznzzt}%
\font\tensy=        cmbrsy10
\def\ninesy{\font\fzzozznzzt=       cmbrsy10 at9pt \fzzozznzzt}%
\def\eightsy{\font\fzzozznzzt=      cmbrsy10 at8pt \fzzozznzzt}%
\font\sevensy=      cmbrsy10 at7pt
\def\sixsy{\font\fzzozznzzt=        cmbrsy10 at6pt \fzzozznzzt}%
\font\fivesy=       cmbrsy10 at5pt
%
% math extension (Family 3)
\def\twentyex{\font\fzzozznzzt=  ex-iwonar at20pt \fzzozznzzt}%
\def\eighteenex{\font\fzzozznzzt=ex-iwonar at18pt \fzzozznzzt}%
\def\sixteenex{\font\fzzozznzzt= ex-iwonar at16pt \fzzozznzzt}%
\def\fourteenex{\font\fzzozznzzt=ex-iwonar at14pt \fzzozznzzt}%
\def\twelveex{\font\fzzozznzzt=  ex-iwonar at12pt \fzzozznzzt}%
\font\tenex=        ex-iwonar
\def\nineex{\font\fzzozznzzt=       ex-iwonar at9pt \fzzozznzzt}%
\def\eightex{\font\fzzozznzzt=      ex-iwonar at8pt \fzzozznzzt}%
\font\sevenex=      ex-iwonar at7pt
\def\sixex{\font\fzzozznzzt=        ex-iwonar at6pt \fzzozznzzt}%
\font\fiveex=       ex-iwonar at5pt
%
% italic text (Family 4)
\def\twentyit{\font\fzzozznzzt=  cmbrsl10 at20pt \fzzozznzzt}%
\def\eighteenit{\font\fzzozznzzt=cmbrsl10 at18pt \fzzozznzzt}%
\def\sixteenit{\font\fzzozznzzt= cmbrsl10 at16pt \fzzozznzzt}%
\def\fourteenit{\font\fzzozznzzt=   cmbrsl10 at14pt \fzzozznzzt}%
\def\twelveit{\font\fzzozznzzt=  cmbrsl10 at12pt \fzzozznzzt}%
\font\tenit=        cmbrsl10
\def\nineit{\font\fzzozznzzt=       cmbrsl10 at9pt \fzzozznzzt}%
\def\eightit{\font\fzzozznzzt=      cmbrsl10 at8pt \fzzozznzzt}%
\font\sevenit=      cmbrsl10 at7pt
\def\sixit{\font\fzzozznzzt=        cmbrsl10 at6pt \fzzozznzzt}%
\font\fiveit=       cmbrsl10 at5pt
%
% slanted text (Family 5)
\def\twentysl{\font\fzzozznzzt=  cmbrsl10 at20pt \fzzozznzzt}%
\def\eighteensl{\font\fzzozznzzt=cmbrsl10 at18pt \fzzozznzzt}%
\def\sixteensl{\font\fzzozznzzt= cmbrsl10 at16pt \fzzozznzzt}%
\def\fourteensl{\font\fzzozznzzt=   cmbrsl10 at14pt \fzzozznzzt}%
\def\twelvesl{\font\fzzozznzzt=  cmbrsl10 at12pt \fzzozznzzt}%
\font\tensl=        cmbrsl10
\def\ninesl{\font\fzzozznzzt=       cmbrsl10 at9pt \fzzozznzzt}%
\def\eightsl{\font\fzzozznzzt=      cmbrsl10 at8pt \fzzozznzzt}%
\font\sevensl=      cmbrsl10 at7pt
\def\sixsl{\font\fzzozznzzt=        cmbrsl10 at6pt \fzzozznzzt}%
\font\fivesl=       cmbrsl10 at5pt
%
% boldface text (Family 6)
\def\twentybf{\font\fzzozznzzt=  cmbrbx10 at20pt \fzzozznzzt}%
\def\eighteenbf{\font\fzzozznzzt=   cmbrbx10 at18pt \fzzozznzzt}%
\def\sixteenbf{\font\fzzozznzzt= cmbrbx10 at16pt \fzzozznzzt}%
\def\fourteenbf{\font\fzzozznzzt=   cmbrbx10 at14pt \fzzozznzzt}%
\def\twelvebf{\font\fzzozznzzt=  cmbrbx10 at12pt \fzzozznzzt}%
\font\tenbf=        cmbrbx10
\def\ninebf{\font\fzzozznzzt=       cmbrbx10 at9pt \fzzozznzzt}%
\def\eightbf{\font\fzzozznzzt=      cmbrbx10 at8pt \fzzozznzzt}%
\font\sevenbf=      cmbrbx10 at7pt
\def\sixbf{\font\fzzozznzzt=        cmbrbx10 at6pt \fzzozznzzt}%
\font\fivebf=       cmbrbx10 at5pt
%
% typewriter text (Family 7)
\def\twentytt{\font\fzzozznzzt=  ly1-zi4r-1 at20pt \fzzozznzzt}%
\def\eighteentt{\font\fzzozznzzt=   ly1-zi4r-1 at18pt \fzzozznzzt}%
\def\sixteentt{\font\fzzozznzzt= ly1-zi4r-1 at16pt \fzzozznzzt}%
\def\fourteentt{\font\fzzozznzzt=ly1-zi4r-1 at14pt \fzzozznzzt}%
\def\twelvett{\font\fzzozznzzt=  ly1-zi4r-1 at12pt \fzzozznzzt}%
\font\tentt=        ly1-zi4r-1
\def\ninett{\font\fzzozznzzt=       ly1-zi4r-1 at9pt \fzzozznzzt}%
\def\eighttt{\font\fzzozznzzt=      ly1-zi4r-1 at8pt \fzzozznzzt}%
\font\seventt=      ly1-zi4r-1 at7pt
\def\sixtt{\font\fzzozznzzt=        ly1-zi4r-1 at6pt \fzzozznzzt}%
\font\fivett=       ly1-zi4r-1 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=   rm-lmssbo10 at20pt \fzzozznzzt}%
\def\eighteenitbf{\font\fzzozznzzt= rm-lmssbo10 at18pt \fzzozznzzt}%
\def\sixteenitbf{\font\fzzozznzzt=  rm-lmssbo10 at16pt \fzzozznzzt}%
\def\fourteenitbf{\font\fzzozznzzt=    rm-lmssbo10 at14pt \fzzozznzzt}%
\def\twelveitbf{\font\fzzozznzzt=   rm-lmssbo10 at12pt \fzzozznzzt}%
\font\itbf=            rm-lmssbo10 scaled 1020% \fontdimen2\itbf=3pt got by comparing cmbrbx10 & rm-lmssbx10
\def\nineitbf{\font\fzzozznzzt=        rm-lmssbo10 at9pt \fzzozznzzt}%
\def\eightitbf{\font\fzzozznzzt=       rm-lmssbo10 scaled 816 \fzzozznzzt}% \fontdimen2\eightitbf=2.5pt
\font\sevenitbf=       rm-lmssbo10 at7pt
\def\sixitbf{\font\fzzozznzzt=         rm-lmssbo10 at6pt \fzzozznzzt}%
\font\fiveitbf=        rm-lmssbo10 at5pt
%
% slanted boldface
\def\twentyslbf{\font\fzzozznzzt=   rm-lmssbo10 at20pt \fzzozznzzt}%
\def\eighteenslbf{\font\fzzozznzzt= rm-lmssbo10 at18pt \fzzozznzzt}%
\def\sixteenslbf{\font\fzzozznzzt=  rm-lmssbo10 at16pt \fzzozznzzt}%
\def\fourteenslbf{\font\fzzozznzzt=    rm-lmssbo10 at14pt \fzzozznzzt}%
\def\twelveslbf{\font\fzzozznzzt=   rm-lmssbo10 at12pt \fzzozznzzt}%
\font\slbf=            rm-lmssbo10 scaled 1020      % \fontdimen2\slbf=3pt
\def\nineslbf{\font\fzzozznzzt=        rm-lmssbo10 at9pt \fzzozznzzt}%
\def\eightslbf{\font\fzzozznzzt=       rm-lmssbo10 scaled 816 \fzzozznzzt}%      %\fontdimen2\eightslbf=2.5pt
\font\sevenslbf=       rm-lmssbo10 at7pt
\def\sixslbf{\font\fzzozznzzt=         rm-lmssbo10 at6pt \fzzozznzzt}%
\font\fiveslbf=        rm-lmssbo10 at5pt
%
% AMS Symbols
\def\loadmsam{\font\tenmsa=cmbras10 \font\sevenmsa=cmbras10 at7pt \font\fivemsa=cmbras10 at5pt \fam\msafam \textfont\msafam=\tenmsa \scriptfont\msafam=\sevenmsa \scriptscriptfont\msafam=\fivemsa \global\let\loadmsam\empty}%
\def\loadmsbm{\font\tenmsb=cmbrbs10 \font\sevenmsb=cmbrbs10 at7pt \font\fivemsb=cmbrbs10 at5pt \fam\msbfam \textfont\msbfam=\tenmsb \scriptfont\msbfam=\sevenmsb \scriptscriptfont\msbfam=\fivemsb \global\let\loadmsbm\empty}%
\def\UseAMSsymbols{\loadmsam\loadmsbm}%
%
%
\rm