% 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/.
% The mathdesign package has AMS symbols (msam & msbm) both in md-chrma but types are not much different than the original msam or msmb,
% e.g. the black board letters of md-chrma seem to be copies of msmb blackboard letters.
% roman text (Family 0)
\def\twentyrm{\font\fzzozznzzt=mdbchr7t at20pt \fzzozznzzt}%
\def\eighteenrm{\font\fzzozznzzt=mdbchr7t at18pt \fzzozznzzt}%
\def\sixteenrm{\font\fzzozznzzt= mdbchr7t at16pt \fzzozznzzt}%
\def\fourteenrm{\font\fzzozznzzt=mdbchr7t at14pt \fzzozznzzt}%
\def\twelverm{\font\fzzozznzzt=  mdbchr7t at12pt \fzzozznzzt}%
\font\tenrm=        mdbchr7t
\def\ninerm{\font\fzzozznzzt=       mdbchr7t at9pt \fzzozznzzt}%
\def\eightrm{\font\fzzozznzzt=      mdbchr7t at8pt \fzzozznzzt}%
\font\sevenrm=      mdbchr7t at7pt
\def\sixrm{\font\fzzozznzzt=        mdbchr7t at6pt \fzzozznzzt}%
\font\fiverm=       mdbchr7t at5pt
%
% math italic (Family 1)
\def\twentyi{\font\fzzozznzzt=   mdbchri7m at20pt \fzzozznzzt}%
\def\eighteeni{\font\fzzozznzzt= mdbchri7m at18pt \fzzozznzzt}%
\def\sixteeni{\font\fzzozznzzt=  mdbchri7m at16pt \fzzozznzzt}%
\def\fourteeni{\font\fzzozznzzt= mdbchri7m at14pt \fzzozznzzt}%
\def\twelvei{\font\fzzozznzzt=   mdbchri7m at12pt \fzzozznzzt}%
\font\teni=         mdbchri7m
\def\ninei{\font\fzzozznzzt=        mdbchri7m at9pt \fzzozznzzt}%
\def\eighti{\font\fzzozznzzt=       mdbchri7m at8pt \fzzozznzzt}%
\font\seveni=       mdbchri7m at7pt
\def\sixi{\font\fzzozznzzt=         mdbchri7m at6pt \fzzozznzzt}%
\font\fivei=        mdbchri7m at5pt
%
% math symbols (Family 2)
\def\twentysy{\font\fzzozznzzt=  md-chr7y at20pt \fzzozznzzt}%
\def\eighteensy{\font\fzzozznzzt=md-chr7y at18pt \fzzozznzzt}%
\def\sixteensy{\font\fzzozznzzt= md-chr7y at16pt \fzzozznzzt}%
\def\fourteensy{\font\fzzozznzzt=md-chr7y at14pt \fzzozznzzt}%
\def\twelvesy{\font\fzzozznzzt=  md-chr7y at12pt \fzzozznzzt}%
\font\tensy=        md-chr7y
\def\ninesy{\font\fzzozznzzt=       md-chr7y at9pt \fzzozznzzt}%
\def\eightsy{\font\fzzozznzzt=      md-chr7y at8pt \fzzozznzzt}%
\font\sevensy=      md-chr7y at7pt
\def\sixsy{\font\fzzozznzzt=        md-chr7y at6pt \fzzozznzzt}%
\font\fivesy=       md-chr7y at5pt
%
% math extension (Family 3)
\def\twentyex{\font\fzzozznzzt=  mdbchr7v at20pt \fzzozznzzt}%
\def\eighteenex{\font\fzzozznzzt=mdbchr7v at18pt \fzzozznzzt}%
\def\sixteenex{\font\fzzozznzzt= mdbchr7v at16pt \fzzozznzzt}%
\def\fourteenex{\font\fzzozznzzt=mdbchr7v at14pt \fzzozznzzt}%
\def\twelveex{\font\fzzozznzzt=  mdbchr7v at12pt \fzzozznzzt}%
\font\tenex=        mdbchr7v
\def\nineex{\font\fzzozznzzt=       mdbchr7v at9pt \fzzozznzzt}%
\def\eightex{\font\fzzozznzzt=      mdbchr7v at8pt \fzzozznzzt}%
\font\sevenex=      mdbchr7v at7pt
\def\sixex{\font\fzzozznzzt=        mdbchr7v at6pt \fzzozznzzt}%
\font\fiveex=       mdbchr7v at5pt
%
% italic text (Family 4)
\def\twentyit{\font\fzzozznzzt=  mdbchri7t at20pt \fzzozznzzt}%
\def\eighteenit{\font\fzzozznzzt=mdbchri7t at18pt \fzzozznzzt}%
\def\sixteenit{\font\fzzozznzzt= mdbchri7t at16pt \fzzozznzzt}%
\def\fourteenit{\font\fzzozznzzt=   mdbchri7t at14pt \fzzozznzzt}%
\def\twelveit{\font\fzzozznzzt=  mdbchri7t at12pt \fzzozznzzt}%
\font\tenit=        mdbchri7t
\def\nineit{\font\fzzozznzzt=       mdbchri7t at9pt \fzzozznzzt}%
\def\eightit{\font\fzzozznzzt=      mdbchri7t at8pt \fzzozznzzt}%
\font\sevenit=      mdbchri7t at7pt
\def\sixit{\font\fzzozznzzt=        mdbchri7t at6pt \fzzozznzzt}%
\font\fiveit=       mdbchri7t at5pt
%
% slanted text (Family 5)
\def\twentysl{\font\fzzozznzzt=  mdbchro7t at20pt \fzzozznzzt}%
\def\eighteensl{\font\fzzozznzzt=mdbchro7t at18pt \fzzozznzzt}%
\def\sixteensl{\font\fzzozznzzt= mdbchro7t at16pt \fzzozznzzt}%
\def\fourteensl{\font\fzzozznzzt=   mdbchro7t at14pt \fzzozznzzt}%
\def\twelvesl{\font\fzzozznzzt=  mdbchro7t at12pt \fzzozznzzt}%
\font\tensl=        mdbchro7t
\def\ninesl{\font\fzzozznzzt=       mdbchro7t at9pt \fzzozznzzt}%
\def\eightsl{\font\fzzozznzzt=      mdbchro7t at8pt \fzzozznzzt}%
\font\sevensl=      mdbchro7t at7pt
\def\sixsl{\font\fzzozznzzt=        mdbchro7t at6pt \fzzozznzzt}%
\font\fivesl=       mdbchro7t at5pt
%
% boldface text (Family 6)
\def\twentybf{\font\fzzozznzzt=  mdbchb7t at20pt \fzzozznzzt}%
\def\eighteenbf{\font\fzzozznzzt=   mdbchb7t at18pt \fzzozznzzt}%
\def\sixteenbf{\font\fzzozznzzt= mdbchb7t at16pt \fzzozznzzt}%
\def\fourteenbf{\font\fzzozznzzt=   mdbchb7t at14pt \fzzozznzzt}%
\def\twelvebf{\font\fzzozznzzt=  mdbchb7t at12pt \fzzozznzzt}%
\font\tenbf=        mdbchb7t
\def\ninebf{\font\fzzozznzzt=       mdbchb7t at9pt \fzzozznzzt}%
\def\eightbf{\font\fzzozznzzt=      mdbchb7t at8pt \fzzozznzzt}%
\font\sevenbf=      mdbchb7t at7pt
\def\sixbf{\font\fzzozznzzt=        mdbchb7t at6pt \fzzozznzzt}%
\font\fivebf=       mdbchb7t at5pt
%
% typewriter text (Family 7)
\def\twentytt{\font\fzzozznzzt=  rm-inconsolata at20pt \fzzozznzzt}%
\def\eighteentt{\font\fzzozznzzt=   rm-inconsolata at18pt \fzzozznzzt}%
\def\sixteentt{\font\fzzozznzzt= rm-inconsolata at16pt \fzzozznzzt}%
\def\fourteentt{\font\fzzozznzzt=rm-inconsolata at14pt \fzzozznzzt}%
\def\twelvett{\font\fzzozznzzt=  rm-inconsolata at12pt \fzzozznzzt}%
\font\tentt=        rm-inconsolata
\def\ninett{\font\fzzozznzzt=       rm-inconsolata at9pt \fzzozznzzt}%
\def\eighttt{\font\fzzozznzzt=      rm-inconsolata at8pt \fzzozznzzt}%
\font\seventt=      rm-inconsolata at7pt
\def\sixtt{\font\fzzozznzzt=        rm-inconsolata at6pt \fzzozznzzt}%
\font\fivett=       rm-inconsolata 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=   mdbchbi7t at20pt \fzzozznzzt}%
\def\eighteenitbf{\font\fzzozznzzt= mdbchbi7t at18pt \fzzozznzzt}%
\def\sixteenitbf{\font\fzzozznzzt=  mdbchbi7t at16pt \fzzozznzzt}%
\def\fourteenitbf{\font\fzzozznzzt=    mdbchbi7t at14pt \fzzozznzzt}%
\def\twelveitbf{\font\fzzozznzzt=   mdbchbi7t at12pt \fzzozznzzt}%
\font\itbf=            mdbchbi7t
\def\nineitbf{\font\fzzozznzzt=        mdbchbi7t at9pt \fzzozznzzt}%
\def\eightitbf{\font\fzzozznzzt=       mdbchbi7t at8pt \fzzozznzzt}%
\font\sevenitbf=       mdbchbi7t at7pt
\def\sixitbf{\font\fzzozznzzt=         mdbchbi7t at6pt \fzzozznzzt}%
\font\fiveitbf=        mdbchbi7t at5pt
%
% slanted boldface
\def\twentyslbf{\font\fzzozznzzt=   mdbchbo7t at20pt \fzzozznzzt}%
\def\eighteenslbf{\font\fzzozznzzt= mdbchbo7t at18pt \fzzozznzzt}%
\def\sixteenslbf{\font\fzzozznzzt=  mdbchbo7t at16pt \fzzozznzzt}%
\def\fourteenslbf{\font\fzzozznzzt=    mdbchbo7t at14pt \fzzozznzzt}%
\def\twelveslbf{\font\fzzozznzzt=   mdbchbo7t at12pt \fzzozznzzt}%
\font\slbf=            mdbchbo7t
\def\nineslbf{\font\fzzozznzzt=        mdbchbo7t at9pt \fzzozznzzt}%
\def\eightslbf{\font\fzzozznzzt=       mdbchbo7t at8pt \fzzozznzzt}%
\font\sevenslbf=       mdbchbo7t at7pt
\def\sixslbf{\font\fzzozznzzt=         mdbchbo7t at6pt \fzzozznzzt}%
\font\fiveslbf=        mdbchbo7t at5pt
%
% caps
\def\twentycaps{\font\fzzozznzzt=   mdbchrfc8t at20pt \fzzozznzzt}%
\def\eighteencaps{\font\fzzozznzzt= mdbchrfc8t at18pt \fzzozznzzt}%
\def\sixteencaps{\font\fzzozznzzt=  mdbchrfc8t at16pt \fzzozznzzt}%
\def\fourteencaps{\font\fzzozznzzt=    mdbchrfc8t at14pt \fzzozznzzt}%
\def\twelvecaps{\font\fzzozznzzt=   mdbchrfc8t at12pt \fzzozznzzt}%
\font\caps=            mdbchrfc8t
\def\ninecaps{\font\fzzozznzzt=        mdbchrfc8t at9pt \fzzozznzzt}%
\def\eightcaps{\font\fzzozznzzt=       mdbchrfc8t at8pt \fzzozznzzt}%
\font\sevencaps=       mdbchrfc8t at7pt
\def\sixcaps{\font\fzzozznzzt=         mdbchrfc8t at6pt \fzzozznzzt}%
\font\fivecaps=        mdbchrfc8t at5pt
%
% caps boldface
\def\twentycapsbf{\font\fzzozznzzt=   mdbchbfc8t at20pt \fzzozznzzt}%
\def\eighteencapsbf{\font\fzzozznzzt= mdbchbfc8t at18pt \fzzozznzzt}%
\def\sixteencapsbf{\font\fzzozznzzt=  mdbchbfc8t at16pt \fzzozznzzt}%
\def\fourteencapsbf{\font\fzzozznzzt=    mdbchbfc8t at14pt \fzzozznzzt}%
\def\twelvecapsbf{\font\fzzozznzzt=   mdbchbfc8t at12pt \fzzozznzzt}%
\font\capsbf=            mdbchbfc8t
\def\ninecapsbf{\font\fzzozznzzt=        mdbchbfc8t at9pt \fzzozznzzt}%
\def\eightcapsbf{\font\fzzozznzzt=       mdbchbfc8t at8pt \fzzozznzzt}%
\font\sevencapsbf=       mdbchbfc8t at7pt
\def\sixcapsbf{\font\fzzozznzzt=         mdbchbfc8t at6pt \fzzozznzzt}%
\font\fivecapsbf=        mdbchbfc8t at5pt
%
\fontdimen2\teni=-0.01pt% or \fontdimen2\textfont1 = 0.01pt  or -0.01pt or 3pt produce the same effect
%
\rm 