summaryrefslogtreecommitdiff
path: root/fonts/mathdesign/latex
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /fonts/mathdesign/latex
Initial commit
Diffstat (limited to 'fonts/mathdesign/latex')
-rw-r--r--fonts/mathdesign/latex/mathdesign.sty261
-rw-r--r--fonts/mathdesign/latex/mdacmr.fd18
-rw-r--r--fonts/mathdesign/latex/mdbch/mdamdbch.fd22
-rw-r--r--fonts/mathdesign/latex/mdbch/mdbch.cfg102
-rw-r--r--fonts/mathdesign/latex/mdbch/mdbch.sty844
-rw-r--r--fonts/mathdesign/latex/mdbch/mdbmdbch.fd22
-rw-r--r--fonts/mathdesign/latex/mdbch/omlmdbch.fd34
-rw-r--r--fonts/mathdesign/latex/mdbch/omsmdbch.fd22
-rw-r--r--fonts/mathdesign/latex/mdbch/omxmdbch.fd22
-rw-r--r--fonts/mathdesign/latex/mdbch/ot1mdbch.fd40
-rw-r--r--fonts/mathdesign/latex/mdbch/t1mdbch.fd71
-rw-r--r--fonts/mathdesign/latex/mdbch/ts1mdbch.fd40
-rw-r--r--fonts/mathdesign/latex/mdbcmr.fd18
-rw-r--r--fonts/mathdesign/latex/mdfont.def174
-rw-r--r--fonts/mathdesign/latex/mdput/mdamdput.fd22
-rw-r--r--fonts/mathdesign/latex/mdput/mdbmdput.fd22
-rw-r--r--fonts/mathdesign/latex/mdput/mdput.cfg102
-rw-r--r--fonts/mathdesign/latex/mdput/mdput.sty843
-rw-r--r--fonts/mathdesign/latex/mdput/omlmdput.fd34
-rw-r--r--fonts/mathdesign/latex/mdput/omsmdput.fd22
-rw-r--r--fonts/mathdesign/latex/mdput/omxmdput.fd22
-rw-r--r--fonts/mathdesign/latex/mdput/ot1mdput.fd40
-rw-r--r--fonts/mathdesign/latex/mdput/t1mdput.fd69
-rw-r--r--fonts/mathdesign/latex/mdput/ts1mdput.fd40
-rw-r--r--fonts/mathdesign/latex/mdsffont.def474
-rw-r--r--fonts/mathdesign/latex/mdttfont.def244
-rw-r--r--fonts/mathdesign/latex/omlmdgrb.fd13
-rw-r--r--fonts/mathdesign/latex/omlmdgrbc.fd34
-rw-r--r--fonts/mathdesign/latex/omlmdgrd.fd34
-rw-r--r--fonts/mathdesign/latex/omlmdgrdc.fd34
30 files changed, 3739 insertions, 0 deletions
diff --git a/fonts/mathdesign/latex/mathdesign.sty b/fonts/mathdesign/latex/mathdesign.sty
new file mode 100644
index 0000000000..e58e31d813
--- /dev/null
+++ b/fonts/mathdesign/latex/mathdesign.sty
@@ -0,0 +1,261 @@
+%% Copyright 2003 Paul Pichaureau for the MathDesign Project
+%% All rights reserved.
+%%
+%% --------------------------------------------------
+%%
+%% This program is free software; you can redistribute it and/or
+%% modify it under the terms of the GNU General Public License
+%% as published by the Free Software Foundation; either version 2
+%% of the License, or (at your option) any later version.
+
+%% This program is distributed in the hope that it will be useful,
+%% but WITHOUT ANY WARRANTY; without even the implied warranty of
+%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+%% GNU General Public License for more details.
+
+%% You should have received a copy of the GNU General Public License
+%% along with this program; if not, write to the Free Software
+%% Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+%% Public LaTeX Project Public
+
+%% This file defines generic macros.
+
+%% For more information about options and configuration, please read
+%% the general MathDesign documentation mddoc.pdf.
+
+\NeedsTeXFormat{LaTeX2e}
+
+\ProvidesPackage{mathdesign}
+[2013/08/29 v2.31 Math Design Project]
+
+%% -------------------------------------------------------------------
+%% Code to use a key-val like syntax in options
+%% -------------------------------------------------------------------
+
+\RequirePackage{keyval}
+\RequirePackage{ifthen}
+
+\@ifundefined{MD@unusedlist}{%
+ \let\MD@unusedlist\@empty}{}
+\@ifundefined{MD@extractkey}{%
+ \def\MD@extractkey#1=#2\MD@extractkey{#1}}{}
+\newcommand{\ProcessUnusedOptions}[1]{%
+ \let\MD@tempa\@empty
+ \let\MD@tempb\@empty
+ \@for\CurrentOption:=\MD@unusedlist\do{%
+ \expandafter\expandafter\expandafter\def
+ \expandafter\expandafter\expandafter\MD@key
+ \expandafter\expandafter\expandafter{%
+ \expandafter\MD@extractkey\CurrentOption=\MD@extractkey}%
+ \@ifundefined{KV@#1@\MD@key}{%
+ \edef\MD@tempa{\MD@tempa,\CurrentOption,}}{%
+ \edef\MD@tempb{\MD@tempb,\CurrentOption,}}}%
+ \@for\CurrentOption:=\MD@tempa\do{%
+ \ifx\CurrentOption\@empty\else
+ \PackageWarning{mathdesign}{`\CurrentOption' option not defined.}\fi}%
+ \edef\MD@tempb{%
+ \noexpand\setkeys{#1}{\MD@tempb}}%
+ \MD@tempb
+ \AtEndOfPackage{\let\@unprocessedoptions\relax}}
+
+\DeclareOption*{%
+ \expandafter\expandafter\expandafter\def
+ \expandafter\expandafter\expandafter\MD@unusedlist
+ \expandafter\expandafter\expandafter{%
+ \expandafter\MD@unusedlist\expandafter,%
+ \CurrentOption}}
+
+
+%% -------------------------------------------------------------------
+%% Options
+%% -------------------------------------------------------------------
+
+%% Avalaible families
+
+\define@key{MD}{family}[mdbch]{%
+ \gdef\MD@default@family{#1}}
+
+\DeclareOption{utopia}{\gdef\MD@default@family{mdput}}
+\DeclareOption{mdput}{\gdef\MD@default@family{mdput}}
+\DeclareOption{adobe-utopia}{\gdef\MD@default@family{mdput}}
+\DeclareOption{Adobe Utopia}{\gdef\MD@default@family{mdput}}
+
+\DeclareOption{garamond}{\gdef\MD@default@family{mdugm}}
+\DeclareOption{mdugm}{\gdef\MD@default@family{mdugm}}
+\DeclareOption{urw-garamond}{\gdef\MD@default@family{mdugm}}
+\DeclareOption{URW Garamond}{\gdef\MD@default@family{mdugm}}
+
+\DeclareOption{charter}{\gdef\MD@default@family{mdbch}}
+\DeclareOption{mdbch}{\gdef\MD@default@family{mdbch}}
+\DeclareOption{bitstream-charter}{\gdef\MD@default@family{mdbch}}
+\DeclareOption{Bitstream Charter}{\gdef\MD@default@family{mdbch}}
+
+% Commercial fonts
+\DeclareOption{utopiastd}{\gdef\MD@default@family{mdpus}}
+\DeclareOption{mdpus}{\gdef\MD@default@family{mdpus}}
+\DeclareOption{adobe-utopiastd}{\gdef\MD@default@family{mdpus}}
+\DeclareOption{Adobe UtopiaStd}{\gdef\MD@default@family{mdpus}}
+
+\DeclareOption{mdpgd}{\gdef\MD@default@family{mdpgd}}
+\DeclareOption{adobe-garamond}{\gdef\MD@default@family{mdpgd}}
+\DeclareOption{Adobe Garamond}{\gdef\MD@default@family{mdpgd}}
+
+\DeclareOption{itccharter}{\gdef\MD@default@family{mdici}}
+\DeclareOption{mdici}{\gdef\MD@default@family{mdici}}
+\DeclareOption{itc-charter}{\gdef\MD@default@family{mdici}}
+\DeclareOption{ITC Charter}{\gdef\MD@default@family{mdici}}
+
+%% Activate expert fonts
+\newif\if@MD@expert
+\DeclareOption{expert}{\@MD@experttrue}
+
+%% Slanted or upright version of various fonts
+
+\newif\if@MD@capupright \@MD@capuprightfalse
+\newif\if@MD@lowupright \@MD@lowuprightfalse
+\newif\if@MD@grupright \@MD@gruprightfalse
+\newif\if@MD@GRupright \@MD@GRuprighttrue
+
+\define@key{MD}{uppercase}[italicized]{%
+ \ifthenelse{\equal{#1}{italicized}}{\@MD@capuprightfalse}
+ {\ifthenelse{\equal{#1}{upright}}{\@MD@capuprighttrue}{}}}
+
+\define@key{MD}{lowercase}[italicized]{%
+ \ifthenelse{\equal{#1}{italicized}}{\@MD@lowuprightfalse}
+ {\ifthenelse{\equal{#1}{upright}}{\@MD@lowuprighttrue}{}}}
+
+\define@key{MD}{greekuppercase}[upright]{%
+ \ifthenelse{\equal{#1}{italicized}}{\@MD@GRuprightfalse}
+ {\ifthenelse{\equal{#1}{upright}}{\@MD@GRuprighttrue}{}}}
+
+\define@key{MD}{greeklowercase}[italicized]{%
+ \ifthenelse{\equal{#1}{italicized}}{\@MD@gruprightfalse}
+ {\ifthenelse{\equal{#1}{upright}}{\@MD@gruprighttrue}{}}}
+
+\gdef\MD@greek@family{letters}
+
+\define@key{MD}{greekfamily}[default]{%
+ \selectgreekfamily{#1}}
+
+\newcommand{\selectgreekfamily}[1]{%
+ \ifthenelse{\equal{#1}{bodoni}}{\gdef\MD@greek@family{mdgrb}}{}
+ \ifthenelse{\equal{#1}{didot}}{\gdef\MD@greek@family{mdgrd}}{}
+}
+
+%% euro symbol support
+\newif\if@MD@euro\@MD@eurotrue
+\define@key{MD}{euro}[true]{%
+ \ifthenelse{\equal{#1}{true}}{\global\@MD@eurotrue}
+ {\global\@MD@eurofalse}}
+
+%% scaled sans serif and typewritefonts
+\newif\if@MD@sfscaled\@MD@sfscaledtrue
+\define@key{MD}{sfscaled}[true]{%
+ \ifthenelse{\equal{#1}{true}}{\global\@MD@sfscaledtrue}
+ {\global\@MD@sfscaledfalse}}
+
+\newif\if@MD@ttscaled\@MD@ttscaledtrue
+\define@key{MD}{ttscaled}[true]{%
+ \ifthenelse{\equal{#1}{true}}{\global\@MD@ttscaledtrue}
+ {\global\@MD@ttscaledfalse}}
+
+%% Type of calligraphic alphabet
+\newif\if@MD@cmcal \@MD@cmcalfalse
+
+\define@key{MD}{cal}[cmcal]{%
+ \ifthenelse{\equal{#1}{cmcal}}{\@MD@cmcaltrue }
+ {\ifthenelse{\equal{#1}{script}}{\@MD@cmcalfalse}{}}}
+
+\ProcessOptions
+
+\@ifundefined{MD@default@family}
+{\PackageWarning{mathdesign}{No font specified}}
+{\InputIfFileExists{mathdesign.cfg}{}{}
+ \InputIfFileExists{\MD@default@family.cfg}{}{}
+ \ExecuteOptions{\MD@default@family Options}}
+
+\ProcessUnusedOptions{MD}
+
+%% ----------------------------------------------------------------
+%% Detects possible package incompatibility
+%% ----------------------------------------------------------------
+
+\def\WarningIfLoaded#1#2{%
+ \AtBeginDocument{\@ifpackageloaded{#2}{\PackageWarning{mathdesign/#1}{%
+ Package '#2' shouldn't be used in conjonction with
+ package #1,}}{}}}
+
+\def\WarningIfLoadedNoOption#1#2{%
+ \AtBeginDocument{
+ \@ifpackageloaded{#2}{\PackageWarning{mathdesign/#1}{%
+ Package '#2' shouldn't be used in conjonction with
+ package #1 (use option #2 instead)}}{}}}
+
+
+%% ----------------------------------------------------------------
+%% Undefines symbol name before definition
+%% ----------------------------------------------------------------
+
+\def\MD@def#1#2{\global\let#2=\@undefined #1#2}
+
+%% ----------------------------------------------------------------
+%% Some 'faked' symbols
+%% ----------------------------------------------------------------
+
+% Redefine \textcircled
+\DeclareTextCommand{\textcircled}{OMS}[1]{\hmode@bgroup
+ \ooalign{%
+ \hfil \hbox {\upshape#1}\hfil \crcr
+ \char 13 % "0D
+ }%
+ \egroup}
+
+%Extra circled stuff
+\DeclareTextAccentDefault{\figurecircled}{MDB}
+\DeclareTextCommand{\figurecircled}{MDB}[1]{\hmode@bgroup
+ \ooalign{%
+ \hfil \hbox {\upshape#1}\hfil \crcr
+ \char 64
+ }%
+ \egroup}
+
+% The square root macro is defined with some hard coded dimensions. We
+% change that.
+\def\r@@t#1#2{%
+ \setbox\z@\hbox{$\m@th#1\sqrtsign{#2}$}%
+ \dimen@\ht\z@ \advance\dimen@-\dp\z@
+ \setbox\@tempboxa\hbox{$\m@th#1\sqrtsign{}$}%
+ \dimen@i\wd\@tempboxa
+ \kern.33\dimen@i\raise.66\dimen@\copy\rootbox
+ \kern-.66\dimen@i\box\z@}
+
+%% -------------------------------------------------------------------
+%% Define or undefine small caps
+%% -------------------------------------------------------------------
+
+\if@MD@expert\else\renewcommand\scdefault{fsc}\fi
+
+\newcommand{\fscshape}[1]{\fontshape{fsc}\selectfont #1}
+\newcommand{\ficshape}[1]{\fontshape{fic}\selectfont #1}
+
+
+%% -------------------------------------------------------------------
+%% Some tweaking
+%% -------------------------------------------------------------------
+
+%\delimiterfactor950
+
+%% -------------------------------------------------------------------
+%% Load the family style file
+%% -------------------------------------------------------------------
+\@ifundefined{MD@default@family}
+ {}
+ {\RequirePackage{\MD@default@family}}
+
+%% ----------------------------------------------------------------
+%% Encoding is automatically set to T1
+%% ----------------------------------------------------------------
+
+\RequirePackage[T1]{fontenc}
+
+\endinput
diff --git a/fonts/mathdesign/latex/mdacmr.fd b/fonts/mathdesign/latex/mdacmr.fd
new file mode 100644
index 0000000000..f18eb1397d
--- /dev/null
+++ b/fonts/mathdesign/latex/mdacmr.fd
@@ -0,0 +1,18 @@
+\ProvidesFile{mdacmr.fd}
+ []
+\providecommand{\EC@family}[5]{%
+ \DeclareFontShape{#1}{#2}{#3}{#4}%
+ {<5><6><7><8><9><10><10.95><12><14.4>%
+ <17.28><20.74><24.88><29.86><35.83>genb*#5}{}}
+\DeclareFontFamily{MDA}{cmr}{}
+\EC@family{MDA}{cmr}{m}{n}{ecrm}
+\EC@family{MDA}{cmr}{m}{sl}{ecsl}
+\EC@family{MDA}{cmr}{m}{it}{ecti}
+\EC@family{MDA}{cmr}{m}{sc}{eccc}
+\EC@family{MDA}{cmr}{bx}{n}{ecbx}
+\EC@family{MDA}{cmr}{b}{n}{ecrb}
+\EC@family{MDA}{cmr}{bx}{it}{ecbi}
+\EC@family{MDA}{cmr}{bx}{sl}{ecbl}
+\EC@family{MDA}{cmr}{bx}{sc}{ecxc}
+\EC@family{MDA}{cmr}{m}{ui}{ecui}
+\endinput
diff --git a/fonts/mathdesign/latex/mdbch/mdamdbch.fd b/fonts/mathdesign/latex/mdbch/mdamdbch.fd
new file mode 100644
index 0000000000..db71306302
--- /dev/null
+++ b/fonts/mathdesign/latex/mdbch/mdamdbch.fd
@@ -0,0 +1,22 @@
+%Filename: mdamdbch.fd
+%Created by: tex makevp
+%Created using fontinst v1.933
+
+%THIS FILE SHOULD BE PUT IN A TEX INPUTS DIRECTORY
+
+\ProvidesFile{mdamdbch.fd}
+ [2013/08/29 Fontinst v1.933 font definitions for MDA/mdbch.]
+
+\DeclareFontFamily{MDA}{mdbch}{}
+
+\DeclareFontShape{MDA}{mdbch}{m}{n}{
+ <->s * [0.96] mdbchrma
+}{}
+
+\DeclareFontShape{MDA}{mdbch}{b}{n}{
+ <->s * [0.96] mdbchbma
+}{}
+
+\DeclareFontShape{MDA}{mdbch}{bx}{n}{<->ssub * mdbch/b/n}{}
+
+\endinput
diff --git a/fonts/mathdesign/latex/mdbch/mdbch.cfg b/fonts/mathdesign/latex/mdbch/mdbch.cfg
new file mode 100644
index 0000000000..0e7a3d18ca
--- /dev/null
+++ b/fonts/mathdesign/latex/mdbch/mdbch.cfg
@@ -0,0 +1,102 @@
+%% This is file mdbch.cfg
+
+%% In this file you can configure the default use of the mdbch
+%% package.
+
+%% These configuration file is loaded *before* the options are set, so
+%% users can override it if they want.
+
+%% -------------------------------------------------------------------
+%% Default options
+%% -------------------------------------------------------------------
+
+% In this command, you can set the default value of the options,
+% e.g. \def\mdbchOptions{amssymb,mdcal}.
+
+\def\mdbchOptions{}
+
+% For traditionnal French scientific typography, use the following
+% options
+
+%% \def\mdbchOptions{greekupright,capupright}
+
+%% -------------------------------------------------------------------
+%% Default fonts
+%% -------------------------------------------------------------------
+
+%% Set the sans serif and typewriter fonts for this package. Read the
+%% documentation for more informations.
+
+%% For example, to use Adobe Helvetica as the sans serif font, uncomment the
+%% following line
+
+%% \renewcommand{\sfdefault}{phvmdbch}%
+
+%% To use Adobe Courier as the typewriter font, uncomment the
+%% following line
+
+%% \renewcommand{\ttdefault}{pcrmdbch}%
+
+%% <mdfamcfg>
+
+%% -------------------------------------------------------------------
+%% Extra fonts
+%% -------------------------------------------------------------------
+
+%% Here you can define extra scaled fonts. If you understand a little
+%% the LaTeX font system, the following code is quite straightforward.
+%% See more example in mdfont.def.
+%%
+%% Please the LaTeX2e font selection guide for more informations.
+
+%% Adobe Syntax
+
+%% \def\MD@font@name{psx\MD@name}
+
+%% !!! Important: The following value must be set by hand. It is the
+%% ratio of (XHeigh of mdbch)/(XHeight of the font to scale), i.e.
+%%
+%% 4.810/XHeight
+%%
+%% where XHeight is the xheight of the font to scale, exprimed in points
+
+
+%% \def\psx@ratio{1}
+
+%% \DeclareFontFamily{OT1}{\MD@font@name}{}
+%% \DeclareFontShape{OT1}{\MD@font@name}{m}{n}{
+%% <-> s * [\psx@ratio] \MD@font@namer7t
+%% }{}
+%% \DeclareFontShape{OT1}{\MD@font@name}{m}{it}{
+%% <-> s * [\psx@ratio] \MD@font@nameri7t
+%% }{}
+%% \DeclareFontShape{OT1}{\MD@font@name}{b}{n}{
+%% <-> s * [\psx@ratio] \MD@font@nameb7t
+%% }{}
+%% \DeclareFontShape{OT1}{\MD@font@name}{c}{n}{
+%% <-> s * [\psx@ratio] \MD@font@namec7t
+%% }{}
+%% \DeclareFontShape{OT1}{\MD@font@name}{u}{n}{
+%% <-> s * [\psx@ratio] \MD@font@nameu7t
+%% }{}
+%% \DeclareFontShape{OT1}{\MD@font@name}{m}{sl}{<-> ssub * \MD@font@name/m/it}{}
+%% \DeclareFontShape{OT1}{\MD@font@name}{bx}{n}{<-> ssub * \MD@font@name/b/n}{}
+
+%% \DeclareFontFamily{T1}{\MD@font@name}{}
+%% \DeclareFontShape{T1}{\MD@font@name}{m}{n}{
+%% <-> s * [\psx@ratio] \MD@font@namer8t
+%% }{}
+%% \DeclareFontShape{T1}{\MD@font@name}{m}{it}{
+%% <-> s * [\psx@ratio] \MD@font@nameri8t
+%% }{}
+%% \DeclareFontShape{T1}{\MD@font@name}{b}{n}{
+%% <-> s * [\psx@ratio] \MD@font@nameb8t
+%% }{}
+%% \DeclareFontShape{T1}{\MD@font@name}{c}{n}{
+%% <-> s * [\psx@ratio] \MD@font@namec8t
+%% }{}
+%% \DeclareFontShape{T1}{\MD@font@name}{u}{n}{
+%% <-> s * [\psx@ratio] \MD@font@nameu8t
+%% }{}
+%% \DeclareFontShape{T1}{\MD@font@name}{m}{sl}{<-> ssub * \MD@font@name/m/it}{}
+%% \DeclareFontShape{T1}{\MD@font@name}{bx}{n}{<-> ssub * \MD@font@name/b/n}{}
diff --git a/fonts/mathdesign/latex/mdbch/mdbch.sty b/fonts/mathdesign/latex/mdbch/mdbch.sty
new file mode 100644
index 0000000000..b9ab616618
--- /dev/null
+++ b/fonts/mathdesign/latex/mdbch/mdbch.sty
@@ -0,0 +1,844 @@
+%% Copyright 2003 Paul Pichaureau for the MathDesign Project
+%% All rights reserved.
+%%
+%% This file is part of the mdbch package v2.31
+%% --------------------------------------------------
+%%
+%% This program is free software; you can redistribute it and/or
+%% modify it under the terms of the GNU General Public License
+%% as published by the Free Software Foundation; either version 2
+%% of the License, or (at your option) any later version.
+
+%% This program is distributed in the hope that it will be useful,
+%% but WITHOUT ANY WARRANTY; without even the implied warranty of
+%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+%% GNU General Public License for more details.
+
+%% You should have received a copy of the GNU General Public License
+%% along with this program; if not, write to the Free Software
+%% Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+%% Public LaTeX Project Public
+
+%% This file loads the mdbch font families.
+
+%% For more information about options and configuration, please read
+%% mdbchdoc.pdf or the general MathDesign documentation mddoc.pdf.
+
+\NeedsTeXFormat{LaTeX2e}%
+
+\ProvidesPackage{mdbch}%
+[2013/08/29 v2.31 bitstream bitstream charter + mdbch (Math Design Project)]
+
+\@ifundefined{MD@default@family}{
+ \PackageError{mdbch}%
+ {Package mdbch cannot be loaded directly. Use mathdesign package.}
+ {Use mathdesign package with option mdbch.}}
+{\renewcommand{\rmdefault}{\MD@default@family}}
+
+
+%% ----------------------------------------------------------------
+%% External fonts can be scaled according to the following parameters (to
+%% ensure correct lining of the glyphs)
+%% ----------------------------------------------------------------
+
+%% Bera (alias Bistream Vera)
+\def\fvm@ratio{0.844}%
+\def\fvs@ratio{0.844}%
+\def\fve@ratio{0.844}%
+
+%% Typewriter fonts
+\def\pcr@ratio{1.084}%
+\def\ucr@ratio{1.107}%
+
+%% Sans Serif font
+\def\phv@ratio{0.883}%
+\def\uag@ratio{0.844}%
+\def\uhv@ratio{0.881}%
+
+%% Computer Modern fonts
+\def\cmsy@ratio{0.943}%
+\def\cmtt@ratio{1.072}%
+\def\cmss@ratio{1.039}%
+
+%% Euler fraktur
+\def\euf@ratio{0.967}%
+
+%% AMS blackboard bold
+\def\msb@ratio{0.943}%
+
+%% GFS Didot
+\def\grd@ratio{0.985}%
+%% GFS Bodoni
+\def\grb@ratio{0.937}
+%% Adobe Minion
+\def\grm@ratio{1.057}
+
+\input{mdfont.def}
+
+\if@MD@sfscaled
+ \input{mdsffont.def}
+\fi
+
+\if@MD@ttscaled
+ \input{mdttfont.def}
+\fi
+
+%% ----------------------------------------------------------------
+%% Script Math Alphabet
+%% ----------------------------------------------------------------
+
+\WarningIfLoaded{mdbch}{mathrsfs}%
+
+\if@MD@cmcal
+\DeclareSymbolFont{mdcal}{OMS}{xmdcmsy}{m}{n}%
+\SetSymbolFont{mdcal}{bold}{OMS}{xmdcmsy}{b}{n}%
+\else
+\DeclareSymbolFont{mdcal}{OMS}{mdbch}{m}{n}%
+\SetSymbolFont{mdcal}{bold}{OMS}{mdbch}{b}{n}%
+\fi
+\DeclareSymbolFontAlphabet{\mathcal}{mdcal}
+\DeclareSymbolFont{mdscr}{OMS}{mdbch}{m}{n}%
+
+\DeclareSymbolFontAlphabet{\mathscr}{mdscr}%
+\SetSymbolFont{mdscr}{bold}{OMS}{mdbch}{b}{n}%
+
+%% ----------------------------------------------------------------
+%% Fraktur symbols support
+%% ----------------------------------------------------------------
+
+\DeclareMathAlphabet{\mathfrak}{U}{xmdeuf}{m}{n}%
+\SetMathAlphabet{\mathfrak}{bold}{U}{xmdeuf}{b}{n}%
+\DeclareRobustCommand{\frak}[1]{%
+ {\@subst@obsolete{mdbch}\frak\mathfrak{#1}}}%
+
+%% -------------------------------------------------------------------
+%% Mathematical fonts definition
+%% -------------------------------------------------------------------
+
+% \DeclareMathVersion{mdbchnormal}
+% \DeclareMathVersion{mdbchbold}
+
+\SetSymbolFont{operators} {normal}{OT1}{mdbch}{m}{n}%
+\SetSymbolFont{letters} {normal}{OML}{mdbch}{m}{it}%
+\SetSymbolFont{symbols} {normal}{OMS}{mdbch}{m}{n}%
+\SetSymbolFont{largesymbols}{normal}{OMX}{mdbch}{m}{n}%
+
+\SetSymbolFont{operators} {bold}{OT1}{mdbch}{b}{n}%
+\SetSymbolFont{letters} {bold}{OML}{mdbch}{b}{it}%
+\SetSymbolFont{symbols} {bold}{OMS}{mdbch}{b}{n}%
+\SetSymbolFont{largesymbols}{bold}{OMX}{mdbch}{b}{n}%
+
+\SetMathAlphabet{\mathrm}{normal}{\encodingdefault}{\rmdefault}{m}{n}%
+\SetMathAlphabet{\mathbf}{normal}{\encodingdefault}{\rmdefault}{b}{n}%
+\SetMathAlphabet{\mathit}{normal}{\encodingdefault}{\rmdefault}{m}{it}%
+\SetMathAlphabet{\mathsf}{normal}{\encodingdefault}{\sfdefault}{m}{n}%
+\SetMathAlphabet{\mathtt}{normal}{\encodingdefault}{\ttdefault}{m}{n}%
+
+\SetMathAlphabet{\mathrm}{bold} {\encodingdefault}{\rmdefault}{b}{n}%
+\SetMathAlphabet{\mathbf}{bold} {\encodingdefault}{\rmdefault}{b}{n}%
+\SetMathAlphabet{\mathit}{bold} {\encodingdefault}{\rmdefault}{b}{it}%
+\SetMathAlphabet{\mathsf}{bold} {\encodingdefault}{\sfdefault}{b}{n}%
+\SetMathAlphabet{\mathtt}{bold} {\encodingdefault}{\ttdefault}{b}{n}%
+
+\DeclareSymbolFont{lettersupright} {OML}{mdbch}{m}{n}
+\SetSymbolFont{lettersupright} {bold}{OML}{mdbch}{b}{n}%
+\DeclareSymbolFontAlphabet{\mathrm} {lettersupright}
+
+% -------------------------------------------------------------------
+% Greek alphabet
+
+\def\MDgrfamily{letters}
+
+\ifthenelse{\equal{\MD@greek@family}{letters}}
+{}
+{
+ \DeclareSymbolFont{\MD@greek@family}{OML}{\MD@greek@family}{m}{it}
+ \SetSymbolFont{\MD@greek@family}{bold}{OML}{\MD@greek@family}{b}{it}%
+ \DeclareSymbolFont{\MD@greek@family upright}{OML}{\MD@greek@family}{m}{n}
+ \SetSymbolFont{\MD@greek@family upright}{bold}{OML}{\MD@greek@family}{b}{n}
+}
+
+% -------------------------------------------------------------------
+% Calligraphic and script alphabet
+
+\if@MD@cmcal
+ \SetMathAlphabet{\mathcal}{normal}{OMS}{xmdcmsy}{m}{n}%
+\else
+ \SetMathAlphabet{\mathcal}{normal}{OMS}{mdbch}{m}{n}%
+\fi
+
+\DeclareSymbolFontAlphabet{\mathscr}{mdscr}%
+
+
+%% -------------------------------------------------------------------
+%% The name of the bold series
+%% -------------------------------------------------------------------
+
+\renewcommand\bfdefault{b}
+
+
+%% ----------------------------------------------------------------
+%% Uppercase upright
+%% ----------------------------------------------------------------
+
+\RequirePackage{xkeyval}
+
+\renewcommand{\rmdefault}{mdbch}\rmfamily
+% \MDSelectGreekFont{\MD@default@gr@font}{}
+
+
+\if@MD@capupright
+\DeclareMathSymbol{A}{\mathalpha}{lettersupright}{`A}
+\DeclareMathSymbol{B}{\mathalpha}{lettersupright}{`B}
+\DeclareMathSymbol{C}{\mathalpha}{lettersupright}{`C}
+\DeclareMathSymbol{D}{\mathalpha}{lettersupright}{`D}
+\DeclareMathSymbol{E}{\mathalpha}{lettersupright}{`E}
+\DeclareMathSymbol{F}{\mathalpha}{lettersupright}{`F}
+\DeclareMathSymbol{G}{\mathalpha}{lettersupright}{`G}
+\DeclareMathSymbol{H}{\mathalpha}{lettersupright}{`H}
+\DeclareMathSymbol{I}{\mathalpha}{lettersupright}{`I}
+\DeclareMathSymbol{J}{\mathalpha}{lettersupright}{`J}
+\DeclareMathSymbol{K}{\mathalpha}{lettersupright}{`K}
+\DeclareMathSymbol{L}{\mathalpha}{lettersupright}{`L}
+\DeclareMathSymbol{M}{\mathalpha}{lettersupright}{`M}
+\DeclareMathSymbol{N}{\mathalpha}{lettersupright}{`N}
+\DeclareMathSymbol{O}{\mathalpha}{lettersupright}{`O}
+\DeclareMathSymbol{P}{\mathalpha}{lettersupright}{`P}
+\DeclareMathSymbol{Q}{\mathalpha}{lettersupright}{`Q}
+\DeclareMathSymbol{R}{\mathalpha}{lettersupright}{`R}
+\DeclareMathSymbol{S}{\mathalpha}{lettersupright}{`S}
+\DeclareMathSymbol{T}{\mathalpha}{lettersupright}{`T}
+\DeclareMathSymbol{U}{\mathalpha}{lettersupright}{`U}
+\DeclareMathSymbol{V}{\mathalpha}{lettersupright}{`V}
+\DeclareMathSymbol{W}{\mathalpha}{lettersupright}{`W}
+\DeclareMathSymbol{X}{\mathalpha}{lettersupright}{`X}
+\DeclareMathSymbol{Y}{\mathalpha}{lettersupright}{`Y}
+\DeclareMathSymbol{Z}{\mathalpha}{lettersupright}{`Z}
+\fi
+
+%% ----------------------------------------------------------------
+%% Lowercase upright
+%% ----------------------------------------------------------------
+
+\if@MD@lowupright
+\DeclareMathSymbol{a}{\mathalpha}{lettersupright}{`a}
+\DeclareMathSymbol{b}{\mathalpha}{lettersupright}{`b}
+\DeclareMathSymbol{c}{\mathalpha}{lettersupright}{`c}
+\DeclareMathSymbol{d}{\mathalpha}{lettersupright}{`d}
+\DeclareMathSymbol{e}{\mathalpha}{lettersupright}{`e}
+\DeclareMathSymbol{f}{\mathalpha}{lettersupright}{`f}
+\DeclareMathSymbol{g}{\mathalpha}{lettersupright}{`g}
+\DeclareMathSymbol{h}{\mathalpha}{lettersupright}{`h}
+\DeclareMathSymbol{i}{\mathalpha}{lettersupright}{`i}
+\DeclareMathSymbol{j}{\mathalpha}{lettersupright}{`j}
+\DeclareMathSymbol{k}{\mathalpha}{lettersupright}{`k}
+\DeclareMathSymbol{l}{\mathalpha}{lettersupright}{`l}
+\DeclareMathSymbol{m}{\mathalpha}{lettersupright}{`m}
+\DeclareMathSymbol{n}{\mathalpha}{lettersupright}{`n}
+\DeclareMathSymbol{o}{\mathalpha}{lettersupright}{`o}
+\DeclareMathSymbol{p}{\mathalpha}{lettersupright}{`p}
+\DeclareMathSymbol{q}{\mathalpha}{lettersupright}{`q}
+\DeclareMathSymbol{r}{\mathalpha}{lettersupright}{`r}
+\DeclareMathSymbol{s}{\mathalpha}{lettersupright}{`s}
+\DeclareMathSymbol{t}{\mathalpha}{lettersupright}{`t}
+\DeclareMathSymbol{u}{\mathalpha}{lettersupright}{`u}
+\DeclareMathSymbol{v}{\mathalpha}{lettersupright}{`v}
+\DeclareMathSymbol{w}{\mathalpha}{lettersupright}{`w}
+\DeclareMathSymbol{x}{\mathalpha}{lettersupright}{`x}
+\DeclareMathSymbol{y}{\mathalpha}{lettersupright}{`y}
+\DeclareMathSymbol{z}{\mathalpha}{lettersupright}{`z}
+\fi
+
+
+
+
+
+%% ----------------------------------------------------------------
+%% Lowercase greek upright
+%% ----------------------------------------------------------------
+
+\if@MD@grupright %
+\MD@def\DeclareMathSymbol{\alpha}{\mathord}{\MD@greek@family upright}{"0B}
+\MD@def\DeclareMathSymbol{\beta}{\mathord}{\MD@greek@family upright}{"0C}
+\MD@def\DeclareMathSymbol{\gamma}{\mathord}{\MD@greek@family upright}{"0D}
+\MD@def\DeclareMathSymbol{\delta}{\mathord}{\MD@greek@family upright}{"0E}
+\MD@def\DeclareMathSymbol{\epsilon}{\mathord}{\MD@greek@family upright}{"0F}
+\MD@def\DeclareMathSymbol{\zeta}{\mathord}{\MD@greek@family upright}{"10}
+\MD@def\DeclareMathSymbol{\eta}{\mathord}{\MD@greek@family upright}{"11}
+\MD@def\DeclareMathSymbol{\theta}{\mathord}{\MD@greek@family upright}{"12}
+\MD@def\DeclareMathSymbol{\iota}{\mathord}{\MD@greek@family upright}{"13}
+\MD@def\DeclareMathSymbol{\kappa}{\mathord}{\MD@greek@family upright}{"14}
+\MD@def\DeclareMathSymbol{\lambda}{\mathord}{\MD@greek@family upright}{"15}
+\MD@def\DeclareMathSymbol{\mu}{\mathord}{\MD@greek@family upright}{"16}
+\MD@def\DeclareMathSymbol{\nu}{\mathord}{\MD@greek@family upright}{"17}
+\MD@def\DeclareMathSymbol{\xi}{\mathord}{\MD@greek@family upright}{"18}
+\MD@def\DeclareMathSymbol{\pi}{\mathord}{\MD@greek@family upright}{"19}
+\MD@def\DeclareMathSymbol{\rho}{\mathord}{\MD@greek@family upright}{"1A}
+\MD@def\DeclareMathSymbol{\sigma}{\mathord}{\MD@greek@family upright}{"1B}
+\MD@def\DeclareMathSymbol{\tau}{\mathord}{\MD@greek@family upright}{"1C}
+\MD@def\DeclareMathSymbol{\upsilon}{\mathord}{\MD@greek@family upright}{"1D}
+\MD@def\DeclareMathSymbol{\phi}{\mathord}{\MD@greek@family upright}{"1E}
+\MD@def\DeclareMathSymbol{\chi}{\mathord}{\MD@greek@family upright}{"1F}
+\MD@def\DeclareMathSymbol{\psi}{\mathord}{\MD@greek@family upright}{"20}
+\MD@def\DeclareMathSymbol{\omega}{\mathord}{\MD@greek@family upright}{"21}
+\MD@def\DeclareMathSymbol{\varepsilon}{\mathord}{\MD@greek@family upright}{"22}
+\MD@def\DeclareMathSymbol{\vartheta}{\mathord}{\MD@greek@family upright}{"23}
+\MD@def\DeclareMathSymbol{\varpi}{\mathord}{\MD@greek@family upright}{"24}
+\MD@def\DeclareMathSymbol{\varrho}{\mathord}{\MD@greek@family upright}{"25}
+\MD@def\DeclareMathSymbol{\varsigma}{\mathord}{\MD@greek@family upright}{"26}
+\MD@def\DeclareMathSymbol{\varphi}{\mathord}{\MD@greek@family upright}{"27}
+\else
+\MD@def\DeclareMathSymbol{\alpha}{\mathord}{\MD@greek@family}{"0B}
+\MD@def\DeclareMathSymbol{\beta}{\mathord}{\MD@greek@family}{"0C}
+\MD@def\DeclareMathSymbol{\gamma}{\mathord}{\MD@greek@family}{"0D}
+\MD@def\DeclareMathSymbol{\delta}{\mathord}{\MD@greek@family}{"0E}
+\MD@def\DeclareMathSymbol{\epsilon}{\mathord}{\MD@greek@family}{"0F}
+\MD@def\DeclareMathSymbol{\zeta}{\mathord}{\MD@greek@family}{"10}
+\MD@def\DeclareMathSymbol{\eta}{\mathord}{\MD@greek@family}{"11}
+\MD@def\DeclareMathSymbol{\theta}{\mathord}{\MD@greek@family}{"12}
+\MD@def\DeclareMathSymbol{\iota}{\mathord}{\MD@greek@family}{"13}
+\MD@def\DeclareMathSymbol{\kappa}{\mathord}{\MD@greek@family}{"14}
+\MD@def\DeclareMathSymbol{\lambda}{\mathord}{\MD@greek@family}{"15}
+\MD@def\DeclareMathSymbol{\mu}{\mathord}{\MD@greek@family}{"16}
+\MD@def\DeclareMathSymbol{\nu}{\mathord}{\MD@greek@family}{"17}
+\MD@def\DeclareMathSymbol{\xi}{\mathord}{\MD@greek@family}{"18}
+\MD@def\DeclareMathSymbol{\pi}{\mathord}{\MD@greek@family}{"19}
+\MD@def\DeclareMathSymbol{\rho}{\mathord}{\MD@greek@family}{"1A}
+\MD@def\DeclareMathSymbol{\sigma}{\mathord}{\MD@greek@family}{"1B}
+\MD@def\DeclareMathSymbol{\tau}{\mathord}{\MD@greek@family}{"1C}
+\MD@def\DeclareMathSymbol{\upsilon}{\mathord}{\MD@greek@family}{"1D}
+\MD@def\DeclareMathSymbol{\phi}{\mathord}{\MD@greek@family}{"1E}
+\MD@def\DeclareMathSymbol{\chi}{\mathord}{\MD@greek@family}{"1F}
+\MD@def\DeclareMathSymbol{\psi}{\mathord}{\MD@greek@family}{"20}
+\MD@def\DeclareMathSymbol{\omega}{\mathord}{\MD@greek@family}{"21}
+\MD@def\DeclareMathSymbol{\varepsilon}{\mathord}{\MD@greek@family}{"22}
+\MD@def\DeclareMathSymbol{\vartheta}{\mathord}{\MD@greek@family}{"23}
+\MD@def\DeclareMathSymbol{\varpi}{\mathord}{\MD@greek@family}{"24}
+\MD@def\DeclareMathSymbol{\varrho}{\mathord}{\MD@greek@family}{"25}
+\MD@def\DeclareMathSymbol{\varsigma}{\mathord}{\MD@greek@family}{"26}
+\MD@def\DeclareMathSymbol{\varphi}{\mathord}{\MD@greek@family}{"27}
+\fi
+\ifthenelse{\equal{\MD@greek@family}{grb}}{\let\epsilon\varepsilon}{}
+\ifthenelse{\equal{\MD@greek@family}{grd}}{\let\epsilon\varepsilon}{}
+
+%% ----------------------------------------------------------------
+%% Uppercase greek slanted
+%% ----------------------------------------------------------------
+
+\if@MD@GRupright %
+\MD@def\DeclareMathSymbol{\Gamma}{\mathalpha}{\MD@greek@family upright}{"00}
+\MD@def\DeclareMathSymbol{\Delta}{\mathalpha}{\MD@greek@family upright}{"01}
+\MD@def\DeclareMathSymbol{\Theta}{\mathalpha}{\MD@greek@family upright}{"02}
+\MD@def\DeclareMathSymbol{\Lambda}{\mathalpha}{\MD@greek@family upright}{"03}
+\MD@def\DeclareMathSymbol{\Xi}{\mathalpha}{\MD@greek@family upright}{"04}
+\MD@def\DeclareMathSymbol{\Pi}{\mathalpha}{\MD@greek@family upright}{"05}
+\MD@def\DeclareMathSymbol{\Sigma}{\mathalpha}{\MD@greek@family upright}{"06}
+\MD@def\DeclareMathSymbol{\Upsilon}{\mathalpha}{\MD@greek@family upright}{"07}
+\MD@def\DeclareMathSymbol{\Phi}{\mathalpha}{\MD@greek@family upright}{"08}
+\MD@def\DeclareMathSymbol{\Psi}{\mathalpha}{\MD@greek@family upright}{"09}
+\MD@def\DeclareMathSymbol{\Omega}{\mathalpha}{\MD@greek@family upright}{"0A}
+\else
+\MD@def\DeclareMathSymbol{\Gamma}{\mathalpha}{\MD@greek@family}{"00}
+\MD@def\DeclareMathSymbol{\Delta}{\mathalpha}{\MD@greek@family}{"01}
+\MD@def\DeclareMathSymbol{\Theta}{\mathalpha}{\MD@greek@family}{"02}
+\MD@def\DeclareMathSymbol{\Lambda}{\mathalpha}{\MD@greek@family}{"03}
+\MD@def\DeclareMathSymbol{\Xi}{\mathalpha}{\MD@greek@family}{"04}
+\MD@def\DeclareMathSymbol{\Pi}{\mathalpha}{\MD@greek@family}{"05}
+\MD@def\DeclareMathSymbol{\Sigma}{\mathalpha}{\MD@greek@family}{"06}
+\MD@def\DeclareMathSymbol{\Upsilon}{\mathalpha}{\MD@greek@family}{"07}
+\MD@def\DeclareMathSymbol{\Phi}{\mathalpha}{\MD@greek@family}{"08}
+\MD@def\DeclareMathSymbol{\Psi}{\mathalpha}{\MD@greek@family}{"09}
+\MD@def\DeclareMathSymbol{\Omega}{\mathalpha}{\MD@greek@family}{"0A}
+\fi
+
+ %% upright greek letters are avalaible vi \alphaup like macros
+\MD@def\DeclareMathSymbol{\alphaup}{\mathord}{\MD@greek@family upright}{"0B}
+\MD@def\DeclareMathSymbol{\betaup}{\mathord}{\MD@greek@family upright}{"0C}
+\MD@def\DeclareMathSymbol{\gammaup}{\mathord}{\MD@greek@family upright}{"0D}
+\MD@def\DeclareMathSymbol{\deltaup}{\mathord}{\MD@greek@family upright}{"0E}
+\MD@def\DeclareMathSymbol{\epsilonup}{\mathord}{\MD@greek@family upright}{"0F}
+\MD@def\DeclareMathSymbol{\zetaup}{\mathord}{\MD@greek@family upright}{"10}
+\MD@def\DeclareMathSymbol{\etaup}{\mathord}{\MD@greek@family upright}{"11}
+\MD@def\DeclareMathSymbol{\thetaup}{\mathord}{\MD@greek@family upright}{"12}
+\MD@def\DeclareMathSymbol{\iotaup}{\mathord}{\MD@greek@family upright}{"13}
+\MD@def\DeclareMathSymbol{\kappaup}{\mathord}{\MD@greek@family upright}{"14}
+\MD@def\DeclareMathSymbol{\lambdaup}{\mathord}{\MD@greek@family upright}{"15}
+\MD@def\DeclareMathSymbol{\muup}{\mathord}{\MD@greek@family upright}{"16}
+\MD@def\DeclareMathSymbol{\nuup}{\mathord}{\MD@greek@family upright}{"17}
+\MD@def\DeclareMathSymbol{\xiup}{\mathord}{\MD@greek@family upright}{"18}
+\MD@def\DeclareMathSymbol{\piup}{\mathord}{\MD@greek@family upright}{"19}
+\MD@def\DeclareMathSymbol{\rhoup}{\mathord}{\MD@greek@family upright}{"1A}
+\MD@def\DeclareMathSymbol{\sigmaup}{\mathord}{\MD@greek@family upright}{"1B}
+\MD@def\DeclareMathSymbol{\tauup}{\mathord}{\MD@greek@family upright}{"1C}
+\MD@def\DeclareMathSymbol{\upsilonup}{\mathord}{\MD@greek@family upright}{"1D}
+\MD@def\DeclareMathSymbol{\phiup}{\mathord}{\MD@greek@family upright}{"1E}
+\MD@def\DeclareMathSymbol{\chiup}{\mathord}{\MD@greek@family upright}{"1F}
+\MD@def\DeclareMathSymbol{\psiup}{\mathord}{\MD@greek@family upright}{"20}
+\MD@def\DeclareMathSymbol{\omegaup}{\mathord}{\MD@greek@family upright}{"21}
+\MD@def\DeclareMathSymbol{\varepsilonup}{\mathord}{\MD@greek@family upright}{"22}
+\MD@def\DeclareMathSymbol{\varthetaup}{\mathord}{\MD@greek@family upright}{"23}
+\MD@def\DeclareMathSymbol{\varpiup}{\mathord}{\MD@greek@family upright}{"24}
+\MD@def\DeclareMathSymbol{\varrhoup}{\mathord}{\MD@greek@family upright}{"25}
+\MD@def\DeclareMathSymbol{\varsigmaup}{\mathord}{\MD@greek@family upright}{"26}
+\MD@def\DeclareMathSymbol{\varphiup}{\mathord}{\MD@greek@family upright}{"27}
+\MD@def\DeclareMathSymbol{\Gammaup}{\mathalpha}{\MD@greek@family upright}{"00}
+\MD@def\DeclareMathSymbol{\Deltaup}{\mathalpha}{\MD@greek@family upright}{"01}
+\MD@def\DeclareMathSymbol{\Thetaup}{\mathalpha}{\MD@greek@family upright}{"02}
+\MD@def\DeclareMathSymbol{\Lambdaup}{\mathalpha}{\MD@greek@family upright}{"03}
+\MD@def\DeclareMathSymbol{\Xiup}{\mathalpha}{\MD@greek@family upright}{"04}
+\MD@def\DeclareMathSymbol{\Piup}{\mathalpha}{\MD@greek@family upright}{"05}
+\MD@def\DeclareMathSymbol{\Sigmaup}{\mathalpha}{\MD@greek@family upright}{"06}
+\MD@def\DeclareMathSymbol{\Upsilonup}{\mathalpha}{\MD@greek@family upright}{"07}
+\MD@def\DeclareMathSymbol{\Phiup}{\mathalpha}{\MD@greek@family upright}{"08}
+\MD@def\DeclareMathSymbol{\Psiup}{\mathalpha}{\MD@greek@family upright}{"09}
+\MD@def\DeclareMathSymbol{\Omegaup}{\mathalpha}{\MD@greek@family upright}{"0A}
+
+\MD@def\DeclareMathSymbol{\alphait}{\mathord}{\MD@greek@family}{"0B}
+\MD@def\DeclareMathSymbol{\betait}{\mathord}{\MD@greek@family}{"0C}
+\MD@def\DeclareMathSymbol{\gammait}{\mathord}{\MD@greek@family}{"0D}
+\MD@def\DeclareMathSymbol{\deltait}{\mathord}{\MD@greek@family}{"0E}
+\MD@def\DeclareMathSymbol{\epsilonit}{\mathord}{\MD@greek@family}{"0F}
+\MD@def\DeclareMathSymbol{\zetait}{\mathord}{\MD@greek@family}{"10}
+\MD@def\DeclareMathSymbol{\etait}{\mathord}{\MD@greek@family}{"11}
+\MD@def\DeclareMathSymbol{\thetait}{\mathord}{\MD@greek@family}{"12}
+\MD@def\DeclareMathSymbol{\iotait}{\mathord}{\MD@greek@family}{"13}
+\MD@def\DeclareMathSymbol{\kappait}{\mathord}{\MD@greek@family}{"14}
+\MD@def\DeclareMathSymbol{\lambdait}{\mathord}{\MD@greek@family}{"15}
+\MD@def\DeclareMathSymbol{\muit}{\mathord}{\MD@greek@family}{"16}
+\MD@def\DeclareMathSymbol{\nuit}{\mathord}{\MD@greek@family}{"17}
+\MD@def\DeclareMathSymbol{\xiit}{\mathord}{\MD@greek@family}{"18}
+\MD@def\DeclareMathSymbol{\piit}{\mathord}{\MD@greek@family}{"19}
+\MD@def\DeclareMathSymbol{\rhoit}{\mathord}{\MD@greek@family}{"1A}
+\MD@def\DeclareMathSymbol{\sigmait}{\mathord}{\MD@greek@family}{"1B}
+\MD@def\DeclareMathSymbol{\tauit}{\mathord}{\MD@greek@family}{"1C}
+\MD@def\DeclareMathSymbol{\upsilonit}{\mathord}{\MD@greek@family}{"1D}
+\MD@def\DeclareMathSymbol{\phiit}{\mathord}{\MD@greek@family}{"1E}
+\MD@def\DeclareMathSymbol{\chiit}{\mathord}{\MD@greek@family}{"1F}
+\MD@def\DeclareMathSymbol{\psiit}{\mathord}{\MD@greek@family}{"20}
+\MD@def\DeclareMathSymbol{\omegait}{\mathord}{\MD@greek@family}{"21}
+\MD@def\DeclareMathSymbol{\varepsilonit}{\mathord}{\MD@greek@family}{"22}
+\MD@def\DeclareMathSymbol{\varthetait}{\mathord}{\MD@greek@family}{"23}
+\MD@def\DeclareMathSymbol{\varpiit}{\mathord}{\MD@greek@family}{"24}
+\MD@def\DeclareMathSymbol{\varrhoit}{\mathord}{\MD@greek@family}{"25}
+\MD@def\DeclareMathSymbol{\varsigmait}{\mathord}{\MD@greek@family}{"26}
+\MD@def\DeclareMathSymbol{\varphiit}{\mathord}{\MD@greek@family}{"27}
+\MD@def\DeclareMathSymbol{\Gammait}{\mathalpha}{\MD@greek@family}{"00}
+\MD@def\DeclareMathSymbol{\Deltait}{\mathalpha}{\MD@greek@family}{"01}
+\MD@def\DeclareMathSymbol{\Thetait}{\mathalpha}{\MD@greek@family}{"02}
+\MD@def\DeclareMathSymbol{\Lambdait}{\mathalpha}{\MD@greek@family}{"03}
+\MD@def\DeclareMathSymbol{\Xiit}{\mathalpha}{\MD@greek@family}{"04}
+\MD@def\DeclareMathSymbol{\Piit}{\mathalpha}{\MD@greek@family}{"05}
+\MD@def\DeclareMathSymbol{\Sigmait}{\mathalpha}{\MD@greek@family}{"06}
+\MD@def\DeclareMathSymbol{\Upsilonit}{\mathalpha}{\MD@greek@family}{"07}
+\MD@def\DeclareMathSymbol{\Phiit}{\mathalpha}{\MD@greek@family}{"08}
+\MD@def\DeclareMathSymbol{\Psiit}{\mathalpha}{\MD@greek@family}{"09}
+\MD@def\DeclareMathSymbol{\Omegait}{\mathalpha}{\MD@greek@family}{"0A}
+
+%% ----------------------------------------------------------------
+%% Additional symbols
+%% ----------------------------------------------------------------
+
+\def\iddots{\mathinner{\mkern1mu\raise1\p@
+ \vbox{\kern7\p@\hbox{.}}\mkern2mu
+ \raise4\p@\hbox{.}\mkern2mu\raise7\p@\hbox{.}\mkern1mu}}
+
+%% -------------------------------------------------------------------
+%% Wide accents
+%% -------------------------------------------------------------------
+
+\DeclareMathAccent{\widetilde}{\mathord}{largesymbols}{"65}
+\DeclareMathAccent{\widehat}{\mathord}{largesymbols}{"62}
+\DeclareMathAccent{\widetriangle}{\mathord}{largesymbols}{"E6}
+\DeclareMathAccent{\wideparen}{\mathord}{largesymbols}{"F3}
+\ifx\overset\@undefined\else
+\newcommand{\widering}[1]{\overset{\smash{\vbox to .2ex{%
+ \hbox{$\mathring{}$}}}}{\wideparen{#1}}}
+\fi
+
+
+%% -------------------------------------------------------------------
+%% Double left and right bracket
+%% -------------------------------------------------------------------
+
+\MD@def\DeclareMathDelimiter{\llbracket}{\mathopen} {largesymbols}{"B9}{largesymbols}{"83}
+\MD@def\DeclareMathDelimiter{\rrbracket}{\mathclose}{largesymbols}{"BA}{largesymbols}{"8D}
+
+%% -------------------------------------------------------------------
+%% Wavy vertical lines
+%% -------------------------------------------------------------------
+
+\MD@def\DeclareMathDelimiter{\lwave}{\mathopen} {largesymbols}{"D0}{largesymbols}{"D0}
+\MD@def\DeclareMathDelimiter{\rwave}{\mathclose}{largesymbols}{"D0}{largesymbols}{"D0}
+
+\MD@def\DeclareMathDelimiter{\levaw}{\mathopen} {largesymbols}{"D1}{largesymbols}{"D1}
+\MD@def\DeclareMathDelimiter{\revaw}{\mathclose}{largesymbols}{"D1}{largesymbols}{"D1}
+
+\def\leftwave{\left\lwave}
+\def\rightwave{\right\rwave}
+\def\leftevaw{\left\levaw}
+\def\rightevaw{\right\revaw}
+
+%% ----------------------------------------------------------------
+%% Additional fonts
+%% ----------------------------------------------------------------
+
+\WarningIfLoaded{mdbch}{amssymb}
+\WarningIfLoaded{mdbch}{amsfonts}
+
+\DeclareFontEncoding{MDA}{}{}
+\DeclareFontSubstitution{MDA}{cmr}{m}{n}
+\DeclareSymbolFont{mathdesignA}{MDA}{mdbch}{m}{n}%
+\SetSymbolFont{mathdesignA} {bold}{MDA}{mdbch}{b}{n}%
+\DeclareSymbolFontAlphabet{\mdmathbb}{mathdesignA}
+\DeclareFontEncodingDefaults{\relax}{\def\accentclass@{7}}
+
+\DeclareFontEncoding{MDB}{}{}
+\DeclareFontSubstitution{MDB}{cmr}{m}{n}
+\DeclareSymbolFont{mathdesignB}{MDB}{mdbch}{m}{n}%
+\SetSymbolFont{mathdesignB}{bold}{MDB}{mdbch}{b}{n}%
+
+% The following code borrowed from amsfonts.sty and amsbsy.sty
+
+\long\def\@gobblethree#1#2#3{}
+\def\@subst@obsolete#1#2#3{\@obsolete{#1}#2#3\gdef#2{#3}#2}
+\if@compatibility
+\let\@obsolete\@gobblethree
+\else
+\def\@obsolete#1#2#3{\PackageWarning{#1}{%
+ Obsolete command \protect#2; \protect#3 should be used instead}}%
+\fi
+\DeclareRobustCommand{\bold}[1]{%
+ {\@subst@obsolete{amsfonts}\bold\mathbf{#1}}}
+
+\providecommand*{\@mathmeasure}[3]{%
+ \setbox#1\hbox{\frozen@everymath\@emptytoks\m@th$#2#3$}}
+
+\@ifundefined{@emptytoks}{\csname newtoks\endcsname\@emptytoks}{}
+ \let\mathbb\@undefined
+ \global\let\mathbb\mdmathbb
+ \MD@def\DeclareRobustCommand{\Bbb}[1]{%
+ {\@subst@obsolete{mdbch}\Bbb\mathbb{#1}}}
+
+ \xdef\yen{\noexpand\mathhexbox{\hexnumber@\symmathdesignA}D5}
+ \xdef\checkmark{\noexpand\mathhexbox{\hexnumber@\symmathdesignA}D8}
+ \xdef\circledR{\noexpand\mathhexbox{\hexnumber@\symmathdesignA}F2}
+ \def\circledS{\textcircled{S}}
+ \xdef\maltese{\noexpand\mathhexbox{\hexnumber@\symmathdesignA}FA}
+ \catcode`\"=12
+ \MD@def\DeclareMathDelimiter{\ulcorner}{\mathopen} {mathdesignA}{"F0}{mathdesignA}{"F0}
+ \MD@def\DeclareMathDelimiter{\urcorner}{\mathclose}{mathdesignA}{"F1}{mathdesignA}{"F1}
+ \MD@def\DeclareMathDelimiter{\llcorner}{\mathopen} {mathdesignA}{"F8}{mathdesignA}{"F8}
+ \MD@def\DeclareMathDelimiter{\lrcorner}{\mathclose}{mathdesignA}{"F9}{mathdesignA}{"F9}
+ \DeclareMathAccent{\widetilde}{\mathord}{largesymbols}{"65}
+ \DeclareMathAccent{\widehat}{\mathord}{largesymbols}{"62}
+ \MD@def\DeclareMathSymbol{\dabar@}{\mathord}{mathdesignA}{"B9}
+
+\xdef\dashrightarrow{\mathrel{\dabar@\dabar@
+ \mathchar"0\hexnumber@\symmathdesignA CB}}%
+ \xdef\dashleftarrow{\mathrel{\mathchar"0\hexnumber@\symmathdesignA CC\dabar@\dabar@}}%
+ \global\let\dasharrow\dashrightarrow
+
+%% Begin AMSb declarations
+ \MD@def\DeclareMathSymbol{\lvertneqq} {\mathrel}{mathdesignB}{"00}
+ \MD@def\DeclareMathSymbol{\gvertneqq} {\mathrel}{mathdesignB}{"01}
+ \MD@def\DeclareMathSymbol{\nleq} {\mathrel}{mathdesignB}{"02}
+ \MD@def\DeclareMathSymbol{\ngeq} {\mathrel}{mathdesignB}{"03}
+ \MD@def\DeclareMathSymbol{\nless} {\mathrel}{mathdesignB}{"04}
+ \MD@def\DeclareMathSymbol{\ngtr} {\mathrel}{mathdesignB}{"05}
+ \MD@def\DeclareMathSymbol{\nprec} {\mathrel}{mathdesignB}{"06}
+ \MD@def\DeclareMathSymbol{\nsucc} {\mathrel}{mathdesignB}{"07}
+ \MD@def\DeclareMathSymbol{\lneqq} {\mathrel}{mathdesignB}{"08}
+ \MD@def\DeclareMathSymbol{\gneqq} {\mathrel}{mathdesignB}{"09}
+ \MD@def\DeclareMathSymbol{\nleqslant} {\mathrel}{mathdesignB}{"0A}
+ \MD@def\DeclareMathSymbol{\ngeqslant} {\mathrel}{mathdesignB}{"0B}
+ \MD@def\DeclareMathSymbol{\lneq} {\mathrel}{mathdesignB}{"0C}
+ \MD@def\DeclareMathSymbol{\gneq} {\mathrel}{mathdesignB}{"0D}
+ \MD@def\DeclareMathSymbol{\npreceq} {\mathrel}{mathdesignB}{"0E}
+ \MD@def\DeclareMathSymbol{\nsucceq} {\mathrel}{mathdesignB}{"0F}
+ \MD@def\DeclareMathSymbol{\precnsim} {\mathrel}{mathdesignB}{"10}
+ \MD@def\DeclareMathSymbol{\succnsim} {\mathrel}{mathdesignB}{"11}
+ \MD@def\DeclareMathSymbol{\lnsim} {\mathrel}{mathdesignB}{"12}
+ \MD@def\DeclareMathSymbol{\gnsim} {\mathrel}{mathdesignB}{"13}
+ \MD@def\DeclareMathSymbol{\nleqq} {\mathrel}{mathdesignB}{"14}
+ \MD@def\DeclareMathSymbol{\ngeqq} {\mathrel}{mathdesignB}{"15}
+ \MD@def\DeclareMathSymbol{\precneqq} {\mathrel}{mathdesignB}{"16}
+ \MD@def\DeclareMathSymbol{\succneqq} {\mathrel}{mathdesignB}{"17}
+ \MD@def\DeclareMathSymbol{\precnapprox} {\mathrel}{mathdesignB}{"18}
+ \MD@def\DeclareMathSymbol{\succnapprox} {\mathrel}{mathdesignB}{"19}
+ \MD@def\DeclareMathSymbol{\lnapprox} {\mathrel}{mathdesignB}{"1A}
+ \MD@def\DeclareMathSymbol{\gnapprox} {\mathrel}{mathdesignB}{"1B}
+ \MD@def\DeclareMathSymbol{\nsim} {\mathrel}{mathdesignB}{"1C}
+ \MD@def\DeclareMathSymbol{\ncong} {\mathrel}{mathdesignB}{"1D}
+ \MD@def\DeclareMathSymbol{\diagup} {\mathord}{mathdesignA}{"1E}
+ \MD@def\DeclareMathSymbol{\diagdown} {\mathord}{mathdesignA}{"1F}
+ \MD@def\DeclareMathSymbol{\varsubsetneq} {\mathrel}{mathdesignB}{"20}
+ \MD@def\DeclareMathSymbol{\varsupsetneq} {\mathrel}{mathdesignB}{"21}
+ \MD@def\DeclareMathSymbol{\nsubseteqq} {\mathrel}{mathdesignB}{"22}
+ \MD@def\DeclareMathSymbol{\nsupseteqq} {\mathrel}{mathdesignB}{"23}
+ \MD@def\DeclareMathSymbol{\subsetneqq} {\mathrel}{mathdesignB}{"24}
+ \MD@def\DeclareMathSymbol{\supsetneqq} {\mathrel}{mathdesignB}{"25}
+ \MD@def\DeclareMathSymbol{\varsubsetneqq} {\mathrel}{mathdesignB}{"26}
+ \MD@def\DeclareMathSymbol{\varsupsetneqq} {\mathrel}{mathdesignB}{"27}
+ \MD@def\DeclareMathSymbol{\subsetneq} {\mathrel}{mathdesignB}{"28}
+ \MD@def\DeclareMathSymbol{\supsetneq} {\mathrel}{mathdesignB}{"29}
+ \MD@def\DeclareMathSymbol{\nsubseteq} {\mathrel}{mathdesignB}{"2A}
+ \MD@def\DeclareMathSymbol{\nsupseteq} {\mathrel}{mathdesignB}{"2B}
+ \MD@def\DeclareMathSymbol{\nparallel} {\mathrel}{mathdesignB}{"2C}
+ \MD@def\DeclareMathSymbol{\nmid} {\mathrel}{mathdesignB}{"2D}
+ \MD@def\DeclareMathSymbol{\nshortmid} {\mathrel}{mathdesignB}{"2E}
+ \MD@def\DeclareMathSymbol{\nshortparallel} {\mathrel}{mathdesignB}{"2F}
+ \MD@def\DeclareMathSymbol{\nvdash} {\mathrel}{mathdesignB}{"30}
+ \MD@def\DeclareMathSymbol{\nVdash} {\mathrel}{mathdesignB}{"31}
+ \MD@def\DeclareMathSymbol{\nvDash} {\mathrel}{mathdesignB}{"32}
+ \MD@def\DeclareMathSymbol{\nVDash} {\mathrel}{mathdesignB}{"33}
+ \MD@def\DeclareMathSymbol{\ntrianglerighteq}{\mathrel}{mathdesignB}{"34}
+ \MD@def\DeclareMathSymbol{\ntrianglelefteq}{\mathrel}{mathdesignB}{"35}
+ \MD@def\DeclareMathSymbol{\ntriangleleft} {\mathrel}{mathdesignB}{"36}
+ \MD@def\DeclareMathSymbol{\ntriangleright} {\mathrel}{mathdesignB}{"37}
+ \MD@def\DeclareMathSymbol{\nleftarrow} {\mathrel}{mathdesignB}{"38}
+ \MD@def\DeclareMathSymbol{\nrightarrow} {\mathrel}{mathdesignB}{"39}
+ \MD@def\DeclareMathSymbol{\nLeftarrow} {\mathrel}{mathdesignB}{"3A}
+ \MD@def\DeclareMathSymbol{\nRightarrow} {\mathrel}{mathdesignB}{"3B}
+ \MD@def\DeclareMathSymbol{\nLeftrightarrow}{\mathrel}{mathdesignB}{"3C}
+ \MD@def\DeclareMathSymbol{\nleftrightarrow}{\mathrel}{mathdesignB}{"3D}
+ \MD@def\DeclareMathSymbol{\nexists} {\mathord}{mathdesignB}{"3E}
+ \MD@def\DeclareMathSymbol{\divideontimes} {\mathbin}{mathdesignA}{"3E}
+ \MD@def\DeclareMathSymbol{\varnothing} {\mathord}{mathdesignA}{"3F}
+ \MD@def\DeclareMathSymbol{\Join} {\mathbin}{mathdesignA}{"5C}
+ \MD@def\DeclareMathSymbol{\udtimes} {\mathbin}{mathdesignA}{"5D}
+ \MD@def\DeclareMathSymbol{\utimes} {\mathbin}{mathdesignA}{"5E}
+ \MD@def\DeclareMathSymbol{\dtimes} {\mathbin}{mathdesignA}{"5F}
+ \MD@def\DeclareMathSymbol{\Finv} {\mathord}{mathdesignA}{"60}
+ \MD@def\DeclareMathSymbol{\Game} {\mathord}{mathdesignA}{"61}
+ \MD@def\DeclareMathSymbol{\mho} {\mathord}{mathdesignA}{"66}
+ \MD@def\DeclareMathSymbol{\eth} {\mathord}{mathdesignA}{"67}
+ \MD@def\DeclareMathSymbol{\eqsim} {\mathrel}{mathdesignA}{"68}
+ \MD@def\DeclareMathSymbol{\beth} {\mathord}{mathdesignA}{"69}
+ \MD@def\DeclareMathSymbol{\gimel} {\mathord}{mathdesignA}{"6A}
+ \MD@def\DeclareMathSymbol{\daleth} {\mathord}{mathdesignA}{"6B}
+ \MD@def\DeclareMathSymbol{\lessdot} {\mathbin}{mathdesignA}{"6C}
+ \MD@def\DeclareMathSymbol{\gtrdot} {\mathbin}{mathdesignA}{"6D}
+ \MD@def\DeclareMathSymbol{\ltimes} {\mathbin}{mathdesignA}{"6E}
+ \MD@def\DeclareMathSymbol{\rtimes} {\mathbin}{mathdesignA}{"6F}
+ \MD@def\DeclareMathSymbol{\shortmid} {\mathrel}{mathdesignA}{"70}
+ \MD@def\DeclareMathSymbol{\shortparallel} {\mathrel}{mathdesignA}{"71}
+ \MD@def\DeclareMathSymbol{\smallsetminus} {\mathbin}{mathdesignA}{"72}
+ \MD@def\DeclareMathSymbol{\thicksim} {\mathrel}{mathdesignA}{"73}
+ \MD@def\DeclareMathSymbol{\thickapprox} {\mathrel}{mathdesignA}{"74}
+ \MD@def\DeclareMathSymbol{\approxeq} {\mathrel}{mathdesignA}{"75}
+ \MD@def\DeclareMathSymbol{\succapprox} {\mathrel}{mathdesignA}{"76}
+ \MD@def\DeclareMathSymbol{\precapprox} {\mathrel}{mathdesignA}{"77}
+ \MD@def\DeclareMathSymbol{\curvearrowleft} {\mathrel}{mathdesignA}{"78}
+ \MD@def\DeclareMathSymbol{\curvearrowright}{\mathrel}{mathdesignA}{"79}
+ \MD@def\DeclareMathSymbol{\digammaup} {\mathord}{mathdesignA}{"7A}
+ \MD@def\DeclareMathSymbol{\varkappaup} {\mathord}{mathdesignA}{"7B}
+ \MD@def\DeclareMathSymbol{\digammait} {\mathord}{mathdesignA}{"62}
+ \MD@def\DeclareMathSymbol{\varkappait} {\mathord}{mathdesignA}{"63}
+ \if@MD@grupright
+ \MD@def\DeclareMathSymbol{\digamma} {\mathord}{mathdesignA}{"7A}
+ \MD@def\DeclareMathSymbol{\varkappa} {\mathord}{mathdesignA}{"7B}
+ \else
+ \MD@def\DeclareMathSymbol{\digamma} {\mathord}{mathdesignA}{"62}
+ \MD@def\DeclareMathSymbol{\varkappa} {\mathord}{mathdesignA}{"63}
+ \fi
+ \MD@def\DeclareMathSymbol{\Bbbk} {\mathord}{mathdesignA}{"7C}
+ \xdef\hslash{\mathord{\mathchar"0\hexnumber@\symmathdesignA 7D h}}
+ \xdef\hbar{\mathord{\mathchar"0\hexnumber@\symmathdesignA 7E h}}%\mkern-13.8mu%
+ \MD@def\DeclareMathSymbol{\backepsilon} {\mathrel}{mathdesignA}{"7F}
+
+ \MD@def\DeclareMathSymbol{\boxdot} {\mathbin}{mathdesignA}{"80}
+ \MD@def\DeclareMathSymbol{\boxplus} {\mathbin}{mathdesignA}{"81}
+ \MD@def\DeclareMathSymbol{\boxtimes} {\mathbin}{mathdesignA}{"82}
+ \MD@def\DeclareMathSymbol{\square} {\mathord}{mathdesignA}{"83}
+ \MD@def\DeclareMathSymbol{\blacksquare} {\mathord}{mathdesignA}{"84}
+ \MD@def\DeclareMathSymbol{\centerdot} {\mathbin}{mathdesignA}{"85}
+ \MD@def\DeclareMathSymbol{\lozenge} {\mathord}{mathdesignA}{"86}
+ \MD@def\DeclareMathSymbol{\blacklozenge} {\mathord}{mathdesignA}{"87}
+ \MD@def\DeclareMathSymbol{\circlearrowright} {\mathrel}{mathdesignA}{"88}
+ \MD@def\DeclareMathSymbol{\circlearrowleft} {\mathrel}{mathdesignA}{"89}
+%% In amsfonts.sty:
+ \MD@def\DeclareMathSymbol{\rightleftharpoons}{\mathrel}{mathdesignA}{"8A}
+ \MD@def\DeclareMathSymbol{\leftrightharpoons} {\mathrel}{mathdesignA}{"8B}
+ \MD@def\DeclareMathSymbol{\boxminus} {\mathbin}{mathdesignA}{"8C}
+ \MD@def\DeclareMathSymbol{\Vdash} {\mathrel}{mathdesignA}{"8D}
+ \MD@def\DeclareMathSymbol{\Vvdash} {\mathrel}{mathdesignA}{"8E}
+ \MD@def\DeclareMathSymbol{\vDash} {\mathrel}{mathdesignA}{"8F}
+ \MD@def\DeclareMathSymbol{\twoheadrightarrow} {\mathrel}{mathdesignA}{"90}
+ \MD@def\DeclareMathSymbol{\twoheadleftarrow} {\mathrel}{mathdesignA}{"91}
+ \MD@def\DeclareMathSymbol{\leftleftarrows} {\mathrel}{mathdesignA}{"92}
+ \MD@def\DeclareMathSymbol{\rightrightarrows} {\mathrel}{mathdesignA}{"93}
+ \MD@def\DeclareMathSymbol{\upuparrows} {\mathrel}{mathdesignA}{"94}
+ \MD@def\DeclareMathSymbol{\downdownarrows} {\mathrel}{mathdesignA}{"95}
+ \MD@def\DeclareMathSymbol{\upharpoonright} {\mathrel}{mathdesignA}{"96}
+ \global\let\restriction\upharpoonright
+ \MD@def\DeclareMathSymbol{\downharpoonright} {\mathrel}{mathdesignA}{"97}
+ \MD@def\DeclareMathSymbol{\upharpoonleft} {\mathrel}{mathdesignA}{"98}
+ \MD@def\DeclareMathSymbol{\downharpoonleft}{\mathrel}{mathdesignA}{"99}
+ \MD@def\DeclareMathSymbol{\rightarrowtail} {\mathrel}{mathdesignA}{"9A}
+ \MD@def\DeclareMathSymbol{\leftarrowtail} {\mathrel}{mathdesignA}{"9B}
+ \MD@def\DeclareMathSymbol{\leftrightarrows}{\mathrel}{mathdesignA}{"9C}
+ \MD@def\DeclareMathSymbol{\rightleftarrows}{\mathrel}{mathdesignA}{"9D}
+ \MD@def\DeclareMathSymbol{\Lsh} {\mathrel}{mathdesignA}{"9E}
+ \MD@def\DeclareMathSymbol{\Rsh} {\mathrel}{mathdesignA}{"9F}
+ \MD@def\DeclareMathSymbol{\rightsquigarrow} {\mathrel}{mathdesignA}{"A0}
+ \MD@def\DeclareMathSymbol{\leftrightsquigarrow}{\mathrel}{mathdesignA}{"A1}
+ \MD@def\DeclareMathSymbol{\looparrowleft} {\mathrel}{mathdesignA}{"A2}
+ \MD@def\DeclareMathSymbol{\looparrowright} {\mathrel}{mathdesignA}{"A3}
+ \MD@def\DeclareMathSymbol{\circeq} {\mathrel}{mathdesignA}{"A4}
+ \MD@def\DeclareMathSymbol{\succsim} {\mathrel}{mathdesignA}{"A5}
+ \MD@def\DeclareMathSymbol{\gtrsim} {\mathrel}{mathdesignA}{"A6}
+ \MD@def\DeclareMathSymbol{\gtrapprox} {\mathrel}{mathdesignA}{"A7}
+ \MD@def\DeclareMathSymbol{\multimap} {\mathrel}{mathdesignA}{"A8}
+ \MD@def\DeclareMathSymbol{\therefore} {\mathrel}{mathdesignA}{"A9}
+ \MD@def\DeclareMathSymbol{\because} {\mathrel}{mathdesignA}{"AA}
+ \MD@def\DeclareMathSymbol{\doteqdot} {\mathrel}{mathdesignA}{"AB}
+ \global\let\Doteq\doteqdot
+ \MD@def\DeclareMathSymbol{\triangleq} {\mathrel}{mathdesignA}{"AC}
+ \MD@def\DeclareMathSymbol{\precsim} {\mathrel}{mathdesignA}{"AD}
+ \MD@def\DeclareMathSymbol{\lesssim} {\mathrel}{mathdesignA}{"AE}
+ \MD@def\DeclareMathSymbol{\lessapprox} {\mathrel}{mathdesignA}{"AF}
+ \MD@def\DeclareMathSymbol{\eqslantless} {\mathrel}{mathdesignA}{"B0}
+ \MD@def\DeclareMathSymbol{\eqslantgtr} {\mathrel}{mathdesignA}{"B1}
+ \MD@def\DeclareMathSymbol{\curlyeqprec} {\mathrel}{mathdesignA}{"B2}
+ \MD@def\DeclareMathSymbol{\curlyeqsucc} {\mathrel}{mathdesignA}{"B3}
+ \MD@def\DeclareMathSymbol{\preccurlyeq} {\mathrel}{mathdesignA}{"B4}
+ \MD@def\DeclareMathSymbol{\leqq} {\mathrel}{mathdesignA}{"B5}
+ \MD@def\DeclareMathSymbol{\leqslant} {\mathrel}{mathdesignA}{"B6}
+ \MD@def\DeclareMathSymbol{\lessgtr} {\mathrel}{mathdesignA}{"B7}
+ \MD@def\DeclareMathSymbol{\backprime} {\mathord}{mathdesignA}{"B8}
+ \MD@def\DeclareMathSymbol{\risingdotseq} {\mathrel}{mathdesignA}{"BA}
+ \MD@def\DeclareMathSymbol{\fallingdotseq}{\mathrel}{mathdesignA}{"BB}
+ \MD@def\DeclareMathSymbol{\succcurlyeq} {\mathrel}{mathdesignA}{"BC}
+ \MD@def\DeclareMathSymbol{\geqq} {\mathrel}{mathdesignA}{"BD}
+ \MD@def\DeclareMathSymbol{\geqslant} {\mathrel}{mathdesignA}{"BE}
+ \MD@def\DeclareMathSymbol{\gtrless} {\mathrel}{mathdesignA}{"BF}
+ \MD@def\DeclareMathSymbol{\sqsubset} {\mathrel}{mathdesignA}{"C0}
+ \MD@def\DeclareMathSymbol{\sqsupset} {\mathrel}{mathdesignA}{"C1}
+ \MD@def\DeclareMathSymbol{\vartriangleright}{\mathrel}{mathdesignA}{"C2}
+ \MD@def\DeclareMathSymbol{\vartriangleleft} {\mathrel}{mathdesignA}{"C3}
+ \MD@def\DeclareMathSymbol{\trianglerighteq} {\mathrel}{mathdesignA}{"C4}
+ \MD@def\DeclareMathSymbol{\trianglelefteq} {\mathrel}{mathdesignA}{"C5}
+ \MD@def\DeclareMathSymbol{\bigstar} {\mathord}{mathdesignA}{"C6}
+ \MD@def\DeclareMathSymbol{\between} {\mathrel}{mathdesignA}{"C7}
+ \MD@def\DeclareMathSymbol{\blacktriangledown} {\mathord}{mathdesignA}{"C8}
+ \MD@def\DeclareMathSymbol{\blacktriangleright} {\mathrel}{mathdesignA}{"C9}
+ \MD@def\DeclareMathSymbol{\blacktriangleleft} {\mathrel}{mathdesignA}{"CA}
+ \MD@def\DeclareMathSymbol{\vartriangle} {\mathrel}{mathdesignA}{"CD}
+ \MD@def\DeclareMathSymbol{\blacktriangle} {\mathord}{mathdesignA}{"CE}
+ \MD@def\DeclareMathSymbol{\triangledown} {\mathord}{mathdesignA}{"CF}
+ \MD@def\DeclareMathSymbol{\eqcirc} {\mathrel}{mathdesignA}{"D0}
+ \MD@def\DeclareMathSymbol{\lesseqgtr} {\mathrel}{mathdesignA}{"D1}
+ \MD@def\DeclareMathSymbol{\gtreqless} {\mathrel}{mathdesignA}{"D2}
+ \MD@def\DeclareMathSymbol{\lesseqqgtr} {\mathrel}{mathdesignA}{"D3}
+ \MD@def\DeclareMathSymbol{\gtreqqless} {\mathrel}{mathdesignA}{"D4}
+ \MD@def\DeclareMathSymbol{\Rrightarrow} {\mathrel}{mathdesignA}{"D6}
+ \MD@def\DeclareMathSymbol{\Lleftarrow} {\mathrel}{mathdesignA}{"D7}
+ \MD@def\DeclareMathSymbol{\veebar} {\mathbin}{mathdesignA}{"D9}
+ \MD@def\DeclareMathSymbol{\barwedge} {\mathbin}{mathdesignA}{"DA}
+ \MD@def\DeclareMathSymbol{\doublebarwedge} {\mathbin}{mathdesignA}{"DB}
+ \MD@def\DeclareMathSymbol{\angle} {\mathord}{mathdesignA}{"DC}
+ \MD@def\DeclareMathSymbol{\measuredangle} {\mathord}{mathdesignA}{"DD}
+ \MD@def\DeclareMathSymbol{\sphericalangle} {\mathord}{mathdesignA}{"DE}
+ \MD@def\DeclareMathSymbol{\varpropto} {\mathrel}{mathdesignA}{"DF}
+ \MD@def\DeclareMathSymbol{\smallsmile} {\mathrel}{mathdesignA}{"E0}
+ \MD@def\DeclareMathSymbol{\smallfrown} {\mathrel}{mathdesignA}{"E1}
+ \MD@def\DeclareMathSymbol{\Subset} {\mathrel}{mathdesignA}{"E2}
+ \MD@def\DeclareMathSymbol{\Supset} {\mathrel}{mathdesignA}{"E3}
+ \MD@def\DeclareMathSymbol{\Cup} {\mathbin}{mathdesignA}{"E4}
+ \global\let\doublecup\Cup
+ \MD@def\DeclareMathSymbol{\Cap} {\mathbin}{mathdesignA}{"E5}
+ \global\let\doublecap\Cap
+ \MD@def\DeclareMathSymbol{\curlywedge} {\mathbin}{mathdesignA}{"E6}
+ \MD@def\DeclareMathSymbol{\curlyvee} {\mathbin}{mathdesignA}{"E7}
+ \MD@def\DeclareMathSymbol{\leftthreetimes} {\mathbin}{mathdesignA}{"E8}
+ \MD@def\DeclareMathSymbol{\rightthreetimes}{\mathbin}{mathdesignA}{"E9}
+ \MD@def\DeclareMathSymbol{\subseteqq} {\mathrel}{mathdesignA}{"EA}
+ \MD@def\DeclareMathSymbol{\supseteqq} {\mathrel}{mathdesignA}{"EB}
+ \MD@def\DeclareMathSymbol{\bumpeq} {\mathrel}{mathdesignA}{"EC}
+ \MD@def\DeclareMathSymbol{\Bumpeq} {\mathrel}{mathdesignA}{"ED}
+ \MD@def\DeclareMathSymbol{\lll} {\mathrel}{mathdesignA}{"EE}
+ \global\let\llless\lll
+ \MD@def\DeclareMathSymbol{\ggg} {\mathrel}{mathdesignA}{"EF}
+ \global\let\gggtr\ggg
+ \MD@def\DeclareMathSymbol{\pitchfork} {\mathrel}{mathdesignA}{"F4}
+ \MD@def\DeclareMathSymbol{\dotplus} {\mathbin}{mathdesignA}{"F5}
+ \MD@def\DeclareMathSymbol{\backsim} {\mathrel}{mathdesignA}{"F6}
+ \MD@def\DeclareMathSymbol{\backsimeq} {\mathrel}{mathdesignA}{"F7}
+ \MD@def\DeclareMathSymbol{\complement} {\mathord}{mathdesignA}{"FB}
+ \MD@def\DeclareMathSymbol{\intercal} {\mathbin}{mathdesignA}{"FC}
+ \MD@def\DeclareMathSymbol{\circledcirc} {\mathbin}{mathdesignA}{"FD}
+ \MD@def\DeclareMathSymbol{\circledast} {\mathbin}{mathdesignA}{"FE}
+ \MD@def\DeclareMathSymbol{\circleddash} {\mathbin}{mathdesignA}{"FF}
+ \global\let\lhd\vartriangleleft
+ \global\let\unlhd\vartriangleleft
+ \global\let\rhd\vartriangleright
+ \global\let\unrhd\trianglerighteq
+ \global\let\Box\square
+ \global\let\Diamond\lozenge
+ \global\let\leadsto\rightsquigarrow
+
+
+\MD@def\DeclareMathSymbol{\smallin}{\mathrel}{mathdesignA}{0}
+\MD@def\DeclareMathSymbol{\smallowns}{\mathrel}{mathdesignA}{1}
+\MD@def\DeclareMathSymbol{\notsmallin}{\mathrel}{mathdesignA}{2}
+\MD@def\DeclareMathSymbol{\notsmallowns}{\mathrel}{mathdesignA}{3}
+\MD@def\DeclareMathSymbol{\rightangle}{\mathord}{mathdesignA}{4}
+\MD@def\DeclareMathSymbol{\intclockwise}{\mathop}{mathdesignB}{128}
+\MD@def\DeclareMathSymbol{\ointclockwise}{\mathop}{mathdesignB}{130}
+\MD@def\DeclareMathSymbol{\ointctrclockwise}{\mathop}{mathdesignB}{132}
+\MD@def\DeclareMathSymbol{\oiint}{\mathop}{mathdesignB}{134}
+\MD@def\DeclareMathSymbol{\oiiint}{\mathop}{mathdesignB}{136}
+
+
+%% -------------------------------------------------------------------
+%% LaTeX Pictures fonts
+%% -------------------------------------------------------------------
+
+%% \font\tenln =mdbchrline \font\tenlnw =mdbchbline \relax
+%% \font\tencirc=mdbchrcirc \font\tencircw=mdbchbcirc\relax
+%% \let\@linefnt\tenln
+%% \let\@circlefnt\tencirc
+
+
+%% -------------------------------------------------------------------
+%% Various rule width
+%% -------------------------------------------------------------------
+
+\newlength{\rulethickness}
+\setlength{\rulethickness}{0.610bp}
+\setlength\fboxrule{0.610bp}
+\setlength\fboxsep{7\fboxrule}
+\setlength\arrayrulewidth{0.610bp}
+
+\renewcommand\footnoterule{%
+ \kern-3\p@
+ \hrule\@height \rulethickness \@width.4\columnwidth
+ \kern2.6\p@}
+
+\def\hrulefill{\leaders\hrule height \rulethickness\hfill}
+
+
+%% -------------------------------------------------------------------
+%% mathdesign logo
+%% -------------------------------------------------------------------
+
+\xdef\mdlogo{\noexpand\mathhexbox{\hexnumber@\symmathdesignA}64}
+
+%% -------------------------------------------------------------------
+%% euro currency sign
+%% -------------------------------------------------------------------
+
+\if@MD@euro %
+ \AtBeginDocument{%
+ \xdef\euro{\noexpand\mathhexbox{\hexnumber@\symmathdesignA}65}
+ }
+\fi
+
+%% -------------------------------------------------------------------
+%% Extra configurations, if any
+%% -------------------------------------------------------------------
+
+%
+
+
+\endinput
diff --git a/fonts/mathdesign/latex/mdbch/mdbmdbch.fd b/fonts/mathdesign/latex/mdbch/mdbmdbch.fd
new file mode 100644
index 0000000000..47c2e850f4
--- /dev/null
+++ b/fonts/mathdesign/latex/mdbch/mdbmdbch.fd
@@ -0,0 +1,22 @@
+%Filename: mdbmdbch.fd
+%Created by: tex makevp
+%Created using fontinst v1.933
+
+%THIS FILE SHOULD BE PUT IN A TEX INPUTS DIRECTORY
+
+\ProvidesFile{mdbmdbch.fd}
+ [2013/08/29 Fontinst v1.933 font definitions for MDB/mdbch.]
+
+\DeclareFontFamily{MDB}{mdbch}{}
+
+\DeclareFontShape{MDB}{mdbch}{m}{n}{
+ <->s * [0.96] mdbchrmb
+}{}
+
+\DeclareFontShape{MDB}{mdbch}{b}{n}{
+ <->s * [0.96] mdbchbmb
+}{}
+
+\DeclareFontShape{MDB}{mdbch}{bx}{n}{<->ssub * mdbch/b/n}{}
+
+\endinput
diff --git a/fonts/mathdesign/latex/mdbch/omlmdbch.fd b/fonts/mathdesign/latex/mdbch/omlmdbch.fd
new file mode 100644
index 0000000000..e3ae000088
--- /dev/null
+++ b/fonts/mathdesign/latex/mdbch/omlmdbch.fd
@@ -0,0 +1,34 @@
+%Filename: omlmdbch.fd
+%Created by: tex makevp
+%Created using fontinst v1.933
+
+%THIS FILE SHOULD BE PUT IN A TEX INPUTS DIRECTORY
+
+\ProvidesFile{omlmdbch.fd}
+ [2013/08/29 Fontinst v1.933 font definitions for OML/mdbch.]
+
+\DeclareFontFamily{OML}{mdbch}{\skewchar \font =127}
+
+\DeclareFontShape{OML}{mdbch}{m}{n}{
+ <->s * [0.96] mdbchr7m
+}{}
+
+\DeclareFontShape{OML}{mdbch}{m}{it}{
+ <->s * [0.96] mdbchri7m
+}{}
+
+\DeclareFontShape{OML}{mdbch}{b}{n}{
+ <->s * [0.96] mdbchb7m
+}{}
+
+\DeclareFontShape{OML}{mdbch}{b}{it}{
+ <->s * [0.96] mdbchbi7m
+}{}
+
+\DeclareFontShape{OML}{mdbch}{m}{sl}{<->ssub * mdbch/m/it}{}
+\DeclareFontShape{OML}{mdbch}{bx}{n}{<->ssub * mdbch/b/n}{}
+\DeclareFontShape{OML}{mdbch}{bx}{it}{<->ssub * mdbch/b/it}{}
+\DeclareFontShape{OML}{mdbch}{b}{sl}{<->ssub * mdbch/b/it}{}
+\DeclareFontShape{OML}{mdbch}{bx}{sl}{<->ssub * mdbch/b/sl}{}
+
+\endinput
diff --git a/fonts/mathdesign/latex/mdbch/omsmdbch.fd b/fonts/mathdesign/latex/mdbch/omsmdbch.fd
new file mode 100644
index 0000000000..403f865784
--- /dev/null
+++ b/fonts/mathdesign/latex/mdbch/omsmdbch.fd
@@ -0,0 +1,22 @@
+%Filename: omsmdbch.fd
+%Created by: tex makevp
+%Created using fontinst v1.933
+
+%THIS FILE SHOULD BE PUT IN A TEX INPUTS DIRECTORY
+
+\ProvidesFile{omsmdbch.fd}
+ [2013/08/29 Fontinst v1.933 font definitions for OMS/mdbch.]
+
+\DeclareFontFamily{OMS}{mdbch}{\skewchar \font =48}
+
+\DeclareFontShape{OMS}{mdbch}{m}{n}{
+ <->s * [0.96] mdbchr7y
+}{}
+
+\DeclareFontShape{OMS}{mdbch}{b}{n}{
+ <->s * [0.96] mdbchb7y
+}{}
+
+\DeclareFontShape{OMS}{mdbch}{bx}{n}{<->ssub * mdbch/b/n}{}
+
+\endinput
diff --git a/fonts/mathdesign/latex/mdbch/omxmdbch.fd b/fonts/mathdesign/latex/mdbch/omxmdbch.fd
new file mode 100644
index 0000000000..5c9ad95d7c
--- /dev/null
+++ b/fonts/mathdesign/latex/mdbch/omxmdbch.fd
@@ -0,0 +1,22 @@
+%Filename: omxmdbch.fd
+%Created by: tex makevp
+%Created using fontinst v1.933
+
+%THIS FILE SHOULD BE PUT IN A TEX INPUTS DIRECTORY
+
+\ProvidesFile{omxmdbch.fd}
+ [2013/08/29 Fontinst v1.933 font definitions for OMX/mdbch.]
+
+\DeclareFontFamily{OMX}{mdbch}{}
+
+\DeclareFontShape{OMX}{mdbch}{m}{n}{
+ <->s * [0.96] mdbchr7v
+}{}
+
+\DeclareFontShape{OMX}{mdbch}{b}{n}{
+ <->s * [0.96] mdbchb7v
+}{}
+
+\DeclareFontShape{OMX}{mdbch}{bx}{n}{<->ssub * mdbch/b/n}{}
+
+\endinput
diff --git a/fonts/mathdesign/latex/mdbch/ot1mdbch.fd b/fonts/mathdesign/latex/mdbch/ot1mdbch.fd
new file mode 100644
index 0000000000..bc6bd6fe35
--- /dev/null
+++ b/fonts/mathdesign/latex/mdbch/ot1mdbch.fd
@@ -0,0 +1,40 @@
+%Filename: ot1mdbch.fd
+%Created by: tex makevp
+%Created using fontinst v1.933
+
+%THIS FILE SHOULD BE PUT IN A TEX INPUTS DIRECTORY
+
+\ProvidesFile{ot1mdbch.fd}
+ [2013/08/29 Fontinst v1.933 font definitions for OT1/mdbch.]
+
+\DeclareFontFamily{OT1}{mdbch}{\hyphenchar \font =45}
+
+\DeclareFontShape{OT1}{mdbch}{m}{it}{
+ <->s * [0.96] mdbchri7t
+}{}
+
+\DeclareFontShape{OT1}{mdbch}{m}{n}{
+ <->s * [0.96] mdbchr7t
+}{}
+
+\DeclareFontShape{OT1}{mdbch}{m}{sl}{
+ <->s * [0.96] mdbchro7t
+}{}
+
+\DeclareFontShape{OT1}{mdbch}{b}{it}{
+ <->s * [0.96] mdbchbi7t
+}{}
+
+\DeclareFontShape{OT1}{mdbch}{b}{n}{
+ <->s * [0.96] mdbchb7t
+}{}
+
+\DeclareFontShape{OT1}{mdbch}{b}{sl}{
+ <->s * [0.96] mdbchbo7t
+}{}
+
+\DeclareFontShape{OT1}{mdbch}{bx}{it}{<->ssub * mdbch/b/it}{}
+\DeclareFontShape{OT1}{mdbch}{bx}{n}{<->ssub * mdbch/b/n}{}
+\DeclareFontShape{OT1}{mdbch}{bx}{sl}{<->ssub * mdbch/b/sl}{}
+
+\endinput
diff --git a/fonts/mathdesign/latex/mdbch/t1mdbch.fd b/fonts/mathdesign/latex/mdbch/t1mdbch.fd
new file mode 100644
index 0000000000..f748e80982
--- /dev/null
+++ b/fonts/mathdesign/latex/mdbch/t1mdbch.fd
@@ -0,0 +1,71 @@
+%Filename: t1mdbch.fd
+%Created by: tex makevp
+%Created using fontinst v1.933
+
+%THIS FILE SHOULD BE PUT IN A TEX INPUTS DIRECTORY
+
+\ProvidesFile{t1mdbch.fd}
+ [2013/08/29 Fontinst v1.933 font definitions for T1/mdbch.]
+
+\DeclareFontFamily{T1}{mdbch}{}
+
+\DeclareFontShape{T1}{mdbch}{m}{it}{
+ <->s * [0.96] mdbchri8t
+}{}
+
+\DeclareFontShape{T1}{mdbch}{m}{fic}{
+ <->s * [0.96] mdbchrifc8t
+}{}
+
+\DeclareFontShape{T1}{mdbch}{m}{n}{
+ <->s * [0.96] mdbchr8t
+}{}
+
+\DeclareFontShape{T1}{mdbch}{m}{fsc}{
+ <->s * [0.96] mdbchrfc8t
+ <->s * [0.96] mdbchrofc8t
+ <->s * [0.96] mdbchrofc8t
+}{}
+
+\DeclareFontShape{T1}{mdbch}{m}{sl}{
+ <->s * [0.96] mdbchro8t
+}{}
+
+\DeclareFontShape{T1}{mdbch}{b}{it}{
+ <->s * [0.96] mdbchbi8t
+}{}
+
+\DeclareFontShape{T1}{mdbch}{b}{fic}{
+ <->s * [0.96] mdbchbifc8t
+}{}
+
+\DeclareFontShape{T1}{mdbch}{b}{n}{
+ <->s * [0.96] mdbchb8t
+}{}
+
+\DeclareFontShape{T1}{mdbch}{b}{fsc}{
+ <->s * [0.96] mdbchbfc8t
+ <->s * [0.96] mdbchbofc8t
+ <->s * [0.96] mdbchbofc8t
+}{}
+
+\DeclareFontShape{T1}{mdbch}{b}{sl}{
+ <->s * [0.96] mdbchbo8t
+}{}
+
+\DeclareFontShape{T1}{mdbch}{m}{sc}{
+ <-> mdbchrc8t
+}{}
+
+\DeclareFontShape{T1}{mdbch}{b}{sc}{
+ <-> mdbchbc8t
+}{}
+
+\DeclareFontShape{T1}{mdbch}{bx}{it}{<->ssub * mdbch/b/it}{}
+\DeclareFontShape{T1}{mdbch}{bx}{fic}{<->ssub * mdbch/b/fic}{}
+\DeclareFontShape{T1}{mdbch}{bx}{n}{<->ssub * mdbch/b/n}{}
+\DeclareFontShape{T1}{mdbch}{bx}{fsc}{<->ssub * mdbch/b/fsc}{}
+\DeclareFontShape{T1}{mdbch}{bx}{sl}{<->ssub * mdbch/b/sl}{}
+\DeclareFontShape{T1}{mdbch}{bx}{sc}{<->ssub * mdbch/b/sc}{}
+
+\endinput
diff --git a/fonts/mathdesign/latex/mdbch/ts1mdbch.fd b/fonts/mathdesign/latex/mdbch/ts1mdbch.fd
new file mode 100644
index 0000000000..fe0956b278
--- /dev/null
+++ b/fonts/mathdesign/latex/mdbch/ts1mdbch.fd
@@ -0,0 +1,40 @@
+%Filename: ts1mdbch.fd
+%Created by: tex makevp
+%Created using fontinst v1.933
+
+%THIS FILE SHOULD BE PUT IN A TEX INPUTS DIRECTORY
+
+\ProvidesFile{ts1mdbch.fd}
+ [2013/08/29 Fontinst v1.933 font definitions for TS1/mdbch.]
+
+\DeclareFontFamily{TS1}{mdbch}{}
+
+\DeclareFontShape{TS1}{mdbch}{m}{it}{
+ <->s * [0.96] mdbchri8c
+}{}
+
+\DeclareFontShape{TS1}{mdbch}{m}{n}{
+ <->s * [0.96] mdbchr8c
+}{}
+
+\DeclareFontShape{TS1}{mdbch}{m}{sl}{
+ <->s * [0.96] mdbchro8c
+}{}
+
+\DeclareFontShape{TS1}{mdbch}{b}{it}{
+ <->s * [0.96] mdbchbi8c
+}{}
+
+\DeclareFontShape{TS1}{mdbch}{b}{n}{
+ <->s * [0.96] mdbchb8c
+}{}
+
+\DeclareFontShape{TS1}{mdbch}{b}{sl}{
+ <->s * [0.96] mdbchbo8c
+}{}
+
+\DeclareFontShape{TS1}{mdbch}{bx}{it}{<->ssub * mdbch/b/it}{}
+\DeclareFontShape{TS1}{mdbch}{bx}{n}{<->ssub * mdbch/b/n}{}
+\DeclareFontShape{TS1}{mdbch}{bx}{sl}{<->ssub * mdbch/b/sl}{}
+
+\endinput
diff --git a/fonts/mathdesign/latex/mdbcmr.fd b/fonts/mathdesign/latex/mdbcmr.fd
new file mode 100644
index 0000000000..ff18e34fb6
--- /dev/null
+++ b/fonts/mathdesign/latex/mdbcmr.fd
@@ -0,0 +1,18 @@
+\ProvidesFile{mdbcmr.fd}
+ []
+\providecommand{\EC@family}[5]{%
+ \DeclareFontShape{#1}{#2}{#3}{#4}%
+ {<5><6><7><8><9><10><10.95><12><14.4>%
+ <17.28><20.74><24.88><29.86><35.83>genb*#5}{}}
+\DeclareFontFamily{MDB}{cmr}{}
+\EC@family{MDB}{cmr}{m}{n}{ecrm}
+\EC@family{MDB}{cmr}{m}{sl}{ecsl}
+\EC@family{MDB}{cmr}{m}{it}{ecti}
+\EC@family{MDB}{cmr}{m}{sc}{eccc}
+\EC@family{MDB}{cmr}{bx}{n}{ecbx}
+\EC@family{MDB}{cmr}{b}{n}{ecrb}
+\EC@family{MDB}{cmr}{bx}{it}{ecbi}
+\EC@family{MDB}{cmr}{bx}{sl}{ecbl}
+\EC@family{MDB}{cmr}{bx}{sc}{ecxc}
+\EC@family{MDB}{cmr}{m}{ui}{ecui}
+\endinput
diff --git a/fonts/mathdesign/latex/mdfont.def b/fonts/mathdesign/latex/mdfont.def
new file mode 100644
index 0000000000..1fa0328717
--- /dev/null
+++ b/fonts/mathdesign/latex/mdfont.def
@@ -0,0 +1,174 @@
+%% This is file mdfont.def.
+%%
+%% Copyright 2003 Paul Pichaureau for the MathDesign Project
+%% All rights reserved.
+%%
+%% This file is part of the mathdesign package v2.31
+%% --------------------------------------------------
+%%
+%% This program is free software; you can redistribute it and/or
+%% modify it under the terms of the GNU General Public License
+%% as published by the Free Software Foundation; either version 2
+%% of the License, or (at your option) any later version.
+
+%% This program is distributed in the hope that it will be useful,
+%% but WITHOUT ANY WARRANTY; without even the implied warranty of
+%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+%% GNU General Public License for more details.
+
+%% You should have received a copy of the GNU General Public License
+%% along with this program; if not, write to the Free Software
+%% Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+%% Public LaTeX Project Public
+%%
+%% --------------------------------------------------
+%%
+%% These file defined common font families, which can used
+%% with the main family.
+%%
+%% N.B.: These fonts must be correctly installed on your system.
+%%
+
+\ProvidesFile{mdfont.def}
+[2013/08/29 v2.31 (Math Design Project)]
+
+%% ----------------------------------------------------------------
+%% Computer Modern Symbol
+%% ----------------------------------------------------------------
+
+ \def\MD@font@name{xmdcmsy}
+ \DeclareFontFamily{OMS}{\MD@font@name}{\skewchar\font48 }
+ \DeclareFontShape{OMS}{\MD@font@name}{m}{n}{%
+ <5><6><7><8><9><10>sgen*[\cmsy@ratio]cmsy%
+ <10.95><12><14.4><17.28><20.74><24.88> s*[\cmsy@ratio] cmsy10%
+ }{}
+ \DeclareFontShape{OMS}{\MD@font@name}{b}{n}{%
+ <5><6><7><8><9>sgen*[\cmsy@ratio]cmbsy%
+ <10><10.95><12><14.4><17.28><20.74><24.88> s*[\cmsy@ratio] cmbsy10%
+ }{}
+ \DeclareFontShape{OMS}{\MD@font@name}{mb}{n}{%
+ <5><6><7><8><9>sgen*[\cmsy@ratio]cmbsy%
+ <10><10.95><12><14.4><17.28><20.74><24.88> s*[\cmsy@ratio] cmbsy10%
+ }{}
+
+
+%% ----------------------------------------------------------------
+%% AMS Euler Fraktur
+%% ----------------------------------------------------------------
+
+ \def\MD@font@name{xmdeuf}
+ \DeclareFontFamily{U}{\MD@font@name}{}
+ \DeclareFontShape{U}{\MD@font@name}{m}{n}{%
+ <-6> s * [\euf@ratio]eufm5<6-8> s * [\euf@ratio]eufm7<8-> s * [\euf@ratio]eufm10
+ }{}
+ \DeclareFontShape{U}{\MD@font@name}{b}{n}{%
+ <-6> s * [\euf@ratio]eufb5<6-8> s * [\euf@ratio]eufb7<8-> s * [\euf@ratio]eufb10
+ }{}
+ \DeclareFontShape{U}{\MD@font@name}{mb}{n}{%
+ <-6> s * [\euf@ratio]eufb5<6-8> s * [\euf@ratio]eufb7<8-> s * [\euf@ratio]eufb10
+ }{}
+
+
+% -------------------------------------------------------------------
+% GFS Bodoni (greek letters for math)
+% -------------------------------------------------------------------
+
+\def\MD@font@name{mdgrb}
+
+\DeclareFontFamily{OML}{mdgrb}{\skewchar \font =127}
+
+\DeclareFontShape{OML}{mdgrb}{m}{n}{
+ <-> s * [\grb@ratio] mdgrbr7m
+}{}
+
+\DeclareFontShape{OML}{mdgrb}{m}{it}{
+ <-> s * [\grb@ratio] mdgrbri7m
+}{}
+
+\DeclareFontShape{OML}{mdgrb}{b}{n}{
+ <-> s * [\grb@ratio] mdgrbb7m
+}{}
+
+\DeclareFontShape{OML}{mdgrb}{b}{it}{
+ <-> s * [\grb@ratio] mdgrbbi7m
+}{}
+
+\DeclareFontShape{OML}{mdgrb}{m}{sl}{<->ssub * mdgrb/m/it}{}
+\DeclareFontShape{OML}{mdgrb}{bx}{n}{<->ssub * mdgrb/b/n}{}
+\DeclareFontShape{OML}{mdgrb}{bx}{it}{<->ssub * mdgrb/b/it}{}
+\DeclareFontShape{OML}{mdgrb}{bx}{sl}{<->ssub * mdgrb/b/sl}{}
+\DeclareFontShape{OML}{mdgrb}{md}{n}{<->ssub * mdgrb/b/n}{}
+\DeclareFontShape{OML}{mdgrb}{md}{it}{<->ssub * mdgrb/b/it}{}
+\DeclareFontShape{OML}{mdgrb}{md}{sl}{<->ssub * mdgrb/b/sl}{}
+\DeclareFontShape{OML}{mdgrb}{b}{sl}{<->ssub * mdgrb/b/it}{}
+
+% -------------------------------------------------------------------
+% GFS Didot (greek letters for math)
+% -------------------------------------------------------------------
+
+\def\MD@font@name{mdgrd}
+
+\DeclareFontFamily{OML}{mdgrd}{\skewchar \font =127}
+
+\DeclareFontShape{OML}{mdgrd}{m}{n}{
+ <-> s * [\grd@ratio] mdgrdr7m
+}{}
+
+\DeclareFontShape{OML}{mdgrd}{m}{it}{
+ <-> s * [\grd@ratio] mdgrdri7m
+}{}
+
+\DeclareFontShape{OML}{mdgrd}{b}{n}{
+ <-> s * [\grd@ratio] mdgrdb7m
+}{}
+
+\DeclareFontShape{OML}{mdgrd}{b}{it}{
+ <-> s * [\grd@ratio] mdgrdbi7m
+}{}
+
+\DeclareFontShape{OML}{mdgrd}{m}{sl}{<->ssub * mdgrd/m/it}{}
+\DeclareFontShape{OML}{mdgrd}{bx}{n}{<->ssub * mdgrd/b/n}{}
+\DeclareFontShape{OML}{mdgrd}{bx}{it}{<->ssub * mdgrd/b/it}{}
+\DeclareFontShape{OML}{mdgrd}{bx}{sl}{<->ssub * mdgrd/b/sl}{}
+\DeclareFontShape{OML}{mdgrd}{md}{n}{<->ssub * mdgrd/b/n}{}
+\DeclareFontShape{OML}{mdgrd}{md}{it}{<->ssub * mdgrd/b/it}{}
+\DeclareFontShape{OML}{mdgrd}{md}{sl}{<->ssub * mdgrd/b/sl}{}
+\DeclareFontShape{OML}{mdgrd}{b}{sl}{<->ssub * mdgrd/b/it}{}
+
+% -------------------------------------------------------------------
+% Adobe Minion Pro (greek letters for math)
+% -------------------------------------------------------------------
+
+\def\MD@font@name{mdgrm}
+
+\DeclareFontFamily{OML}{mdgrm}{\skewchar \font =127}
+
+\DeclareFontShape{OML}{mdgrm}{m}{n}{
+ <-> s * [\grm@ratio] mdgrmr7m
+}{}
+
+\DeclareFontShape{OML}{mdgrm}{m}{it}{
+ <-> s * [\grm@ratio] mdgrmri7m
+}{}
+
+\DeclareFontShape{OML}{mdgrm}{b}{n}{
+ <-> s * [\grm@ratio] mdgrmb7m
+}{}
+
+\DeclareFontShape{OML}{mdgrm}{b}{it}{
+ <-> s * [\grm@ratio] mdgrmbi7m
+}{}
+
+\DeclareFontShape{OML}{mdgrm}{m}{sl}{<->ssub * mdgrm/m/it}{}
+\DeclareFontShape{OML}{mdgrm}{bx}{n}{<->ssub * mdgrm/b/n}{}
+\DeclareFontShape{OML}{mdgrm}{bx}{it}{<->ssub * mdgrm/b/it}{}
+\DeclareFontShape{OML}{mdgrm}{bx}{sl}{<->ssub * mdgrm/b/sl}{}
+\DeclareFontShape{OML}{mdgrm}{md}{n}{<->ssub * mdgrm/b/n}{}
+\DeclareFontShape{OML}{mdgrm}{md}{it}{<->ssub * mdgrm/b/it}{}
+\DeclareFontShape{OML}{mdgrm}{md}{sl}{<->ssub * mdgrm/b/sl}{}
+\DeclareFontShape{OML}{mdgrm}{b}{sl}{<->ssub * mdgrm/b/it}{}
+
+
+%%\endinput
+%%
+%% End of file `mdfont.def'.
diff --git a/fonts/mathdesign/latex/mdput/mdamdput.fd b/fonts/mathdesign/latex/mdput/mdamdput.fd
new file mode 100644
index 0000000000..c25af440ad
--- /dev/null
+++ b/fonts/mathdesign/latex/mdput/mdamdput.fd
@@ -0,0 +1,22 @@
+%Filename: mdamdput.fd
+%Created by: tex makevp
+%Created using fontinst v1.933
+
+%THIS FILE SHOULD BE PUT IN A TEX INPUTS DIRECTORY
+
+\ProvidesFile{mdamdput.fd}
+ [2013/08/29 Fontinst v1.933 font definitions for MDA/mdput.]
+
+\DeclareFontFamily{MDA}{mdput}{}
+
+\DeclareFontShape{MDA}{mdput}{m}{n}{
+ <->s * [0.94] mdputrma
+}{}
+
+\DeclareFontShape{MDA}{mdput}{b}{n}{
+ <->s * [0.94] mdputbma
+}{}
+
+\DeclareFontShape{MDA}{mdput}{bx}{n}{<->ssub * mdput/b/n}{}
+
+\endinput
diff --git a/fonts/mathdesign/latex/mdput/mdbmdput.fd b/fonts/mathdesign/latex/mdput/mdbmdput.fd
new file mode 100644
index 0000000000..7365677617
--- /dev/null
+++ b/fonts/mathdesign/latex/mdput/mdbmdput.fd
@@ -0,0 +1,22 @@
+%Filename: mdbmdput.fd
+%Created by: tex makevp
+%Created using fontinst v1.933
+
+%THIS FILE SHOULD BE PUT IN A TEX INPUTS DIRECTORY
+
+\ProvidesFile{mdbmdput.fd}
+ [2013/08/29 Fontinst v1.933 font definitions for MDB/mdput.]
+
+\DeclareFontFamily{MDB}{mdput}{}
+
+\DeclareFontShape{MDB}{mdput}{m}{n}{
+ <->s * [0.94] mdputrmb
+}{}
+
+\DeclareFontShape{MDB}{mdput}{b}{n}{
+ <->s * [0.94] mdputbmb
+}{}
+
+\DeclareFontShape{MDB}{mdput}{bx}{n}{<->ssub * mdput/b/n}{}
+
+\endinput
diff --git a/fonts/mathdesign/latex/mdput/mdput.cfg b/fonts/mathdesign/latex/mdput/mdput.cfg
new file mode 100644
index 0000000000..e23698b33a
--- /dev/null
+++ b/fonts/mathdesign/latex/mdput/mdput.cfg
@@ -0,0 +1,102 @@
+%% This is file mdput.cfg
+
+%% In this file you can configure the default use of the mdput
+%% package.
+
+%% These configuration file is loaded *before* the options are set, so
+%% users can override it if they want.
+
+%% -------------------------------------------------------------------
+%% Default options
+%% -------------------------------------------------------------------
+
+% In this command, you can set the default value of the options,
+% e.g. \def\mdputOptions{amssymb,mdcal}.
+
+\def\mdputOptions{}
+
+% For traditionnal French scientific typography, use the following
+% options
+
+%% \def\mdputOptions{greekupright,capupright}
+
+%% -------------------------------------------------------------------
+%% Default fonts
+%% -------------------------------------------------------------------
+
+%% Set the sans serif and typewriter fonts for this package. Read the
+%% documentation for more informations.
+
+%% For example, to use Adobe Helvetica as the sans serif font, uncomment the
+%% following line
+
+%% \renewcommand{\sfdefault}{phvmdput}%
+
+%% To use Adobe Courier as the typewriter font, uncomment the
+%% following line
+
+%% \renewcommand{\ttdefault}{pcrmdput}%
+
+%% <mdfamcfg>
+
+%% -------------------------------------------------------------------
+%% Extra fonts
+%% -------------------------------------------------------------------
+
+%% Here you can define extra scaled fonts. If you understand a little
+%% the LaTeX font system, the following code is quite straightforward.
+%% See more example in mdfont.def.
+%%
+%% Please the LaTeX2e font selection guide for more informations.
+
+%% Adobe Syntax
+
+%% \def\MD@font@name{psx\MD@name}
+
+%% !!! Important: The following value must be set by hand. It is the
+%% ratio of (XHeigh of mdput)/(XHeight of the font to scale), i.e.
+%%
+%% 4.900/XHeight
+%%
+%% where XHeight is the xheight of the font to scale, exprimed in points
+
+
+%% \def\psx@ratio{1}
+
+%% \DeclareFontFamily{OT1}{\MD@font@name}{}
+%% \DeclareFontShape{OT1}{\MD@font@name}{m}{n}{
+%% <-> s * [\psx@ratio] \MD@font@namer7t
+%% }{}
+%% \DeclareFontShape{OT1}{\MD@font@name}{m}{it}{
+%% <-> s * [\psx@ratio] \MD@font@nameri7t
+%% }{}
+%% \DeclareFontShape{OT1}{\MD@font@name}{b}{n}{
+%% <-> s * [\psx@ratio] \MD@font@nameb7t
+%% }{}
+%% \DeclareFontShape{OT1}{\MD@font@name}{c}{n}{
+%% <-> s * [\psx@ratio] \MD@font@namec7t
+%% }{}
+%% \DeclareFontShape{OT1}{\MD@font@name}{u}{n}{
+%% <-> s * [\psx@ratio] \MD@font@nameu7t
+%% }{}
+%% \DeclareFontShape{OT1}{\MD@font@name}{m}{sl}{<-> ssub * \MD@font@name/m/it}{}
+%% \DeclareFontShape{OT1}{\MD@font@name}{bx}{n}{<-> ssub * \MD@font@name/b/n}{}
+
+%% \DeclareFontFamily{T1}{\MD@font@name}{}
+%% \DeclareFontShape{T1}{\MD@font@name}{m}{n}{
+%% <-> s * [\psx@ratio] \MD@font@namer8t
+%% }{}
+%% \DeclareFontShape{T1}{\MD@font@name}{m}{it}{
+%% <-> s * [\psx@ratio] \MD@font@nameri8t
+%% }{}
+%% \DeclareFontShape{T1}{\MD@font@name}{b}{n}{
+%% <-> s * [\psx@ratio] \MD@font@nameb8t
+%% }{}
+%% \DeclareFontShape{T1}{\MD@font@name}{c}{n}{
+%% <-> s * [\psx@ratio] \MD@font@namec8t
+%% }{}
+%% \DeclareFontShape{T1}{\MD@font@name}{u}{n}{
+%% <-> s * [\psx@ratio] \MD@font@nameu8t
+%% }{}
+%% \DeclareFontShape{T1}{\MD@font@name}{m}{sl}{<-> ssub * \MD@font@name/m/it}{}
+%% \DeclareFontShape{T1}{\MD@font@name}{bx}{n}{<-> ssub * \MD@font@name/b/n}{}
diff --git a/fonts/mathdesign/latex/mdput/mdput.sty b/fonts/mathdesign/latex/mdput/mdput.sty
new file mode 100644
index 0000000000..2e2006b507
--- /dev/null
+++ b/fonts/mathdesign/latex/mdput/mdput.sty
@@ -0,0 +1,843 @@
+%% Copyright 2003 Paul Pichaureau for the MathDesign Project
+%% All rights reserved.
+%%
+%% This file is part of the mdput package v2.31
+%% --------------------------------------------------
+%%
+%% This program is free software; you can redistribute it and/or
+%% modify it under the terms of the GNU General Public License
+%% as published by the Free Software Foundation; either version 2
+%% of the License, or (at your option) any later version.
+
+%% This program is distributed in the hope that it will be useful,
+%% but WITHOUT ANY WARRANTY; without even the implied warranty of
+%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+%% GNU General Public License for more details.
+
+%% You should have received a copy of the GNU General Public License
+%% along with this program; if not, write to the Free Software
+%% Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+%% Public LaTeX Project Public
+
+%% This file loads the mdput font families.
+
+%% For more information about options and configuration, please read
+%% mdputdoc.pdf or the general MathDesign documentation mddoc.pdf.
+
+\NeedsTeXFormat{LaTeX2e}%
+
+\ProvidesPackage{mdput}%
+[2013/08/29 v2.31 adobe utopia + mdput (Math Design Project)]
+
+\@ifundefined{MD@default@family}{
+ \PackageError{mdput}%
+ {Package mdput cannot be loaded directly. Use mathdesign package.}
+ {Use mathdesign package with option mdput.}}
+{\renewcommand{\rmdefault}{\MD@default@family}}
+
+
+%% ----------------------------------------------------------------
+%% External fonts can be scaled according to the following parameters (to
+%% ensure correct lining of the glyphs)
+%% ----------------------------------------------------------------
+
+%% Bera (alias Bistream Vera)
+\def\fvm@ratio{0.842}%
+\def\fvs@ratio{0.842}%
+\def\fve@ratio{0.842}%
+
+%% Typewriter fonts
+\def\pcr@ratio{1.081}%
+\def\ucr@ratio{1.105}%
+
+%% Sans Serif font
+\def\phv@ratio{0.881}%
+\def\uag@ratio{0.842}%
+\def\uhv@ratio{0.879}%
+
+%% Computer Modern fonts
+\def\cmsy@ratio{0.952}%
+\def\cmtt@ratio{1.070}%
+\def\cmss@ratio{1.036}%
+
+%% Euler fraktur
+\def\euf@ratio{0.977}%
+
+%% AMS blackboard bold
+\def\msb@ratio{0.952}%
+
+%% GFS Didot
+\def\grd@ratio{0.982}%
+%% GFS Bodoni
+\def\grb@ratio{0.934}
+%% Adobe Minion
+\def\grm@ratio{1.054}
+
+\input{mdfont.def}
+
+\if@MD@sfscaled
+ \input{mdsffont.def}
+\fi
+
+\if@MD@ttscaled
+ \input{mdttfont.def}
+\fi
+
+%% ----------------------------------------------------------------
+%% Script Math Alphabet
+%% ----------------------------------------------------------------
+
+\WarningIfLoaded{mdput}{mathrsfs}%
+
+\if@MD@cmcal
+\DeclareSymbolFont{mdcal}{OMS}{xmdcmsy}{m}{n}%
+\SetSymbolFont{mdcal}{bold}{OMS}{xmdcmsy}{b}{n}%
+\else
+\DeclareSymbolFont{mdcal}{OMS}{mdput}{m}{n}%
+\SetSymbolFont{mdcal}{bold}{OMS}{mdput}{b}{n}%
+\fi
+\DeclareSymbolFontAlphabet{\mathcal}{mdcal}
+\DeclareSymbolFont{mdscr}{OMS}{mdput}{m}{n}%
+
+\DeclareSymbolFontAlphabet{\mathscr}{mdscr}%
+\SetSymbolFont{mdscr}{bold}{OMS}{mdput}{b}{n}%
+
+%% ----------------------------------------------------------------
+%% Fraktur symbols support
+%% ----------------------------------------------------------------
+
+\DeclareMathAlphabet{\mathfrak}{U}{xmdeuf}{m}{n}%
+\SetMathAlphabet{\mathfrak}{bold}{U}{xmdeuf}{b}{n}%
+\DeclareRobustCommand{\frak}[1]{%
+ {\@subst@obsolete{mdput}\frak\mathfrak{#1}}}%
+
+%% -------------------------------------------------------------------
+%% Mathematical fonts definition
+%% -------------------------------------------------------------------
+
+% \DeclareMathVersion{mdputnormal}
+% \DeclareMathVersion{mdputbold}
+
+\SetSymbolFont{operators} {normal}{OT1}{mdput}{m}{n}%
+\SetSymbolFont{letters} {normal}{OML}{mdput}{m}{it}%
+\SetSymbolFont{symbols} {normal}{OMS}{mdput}{m}{n}%
+\SetSymbolFont{largesymbols}{normal}{OMX}{mdput}{m}{n}%
+
+\SetSymbolFont{operators} {bold}{OT1}{mdput}{b}{n}%
+\SetSymbolFont{letters} {bold}{OML}{mdput}{b}{it}%
+\SetSymbolFont{symbols} {bold}{OMS}{mdput}{b}{n}%
+\SetSymbolFont{largesymbols}{bold}{OMX}{mdput}{b}{n}%
+
+\SetMathAlphabet{\mathrm}{normal}{\encodingdefault}{\rmdefault}{m}{n}%
+\SetMathAlphabet{\mathbf}{normal}{\encodingdefault}{\rmdefault}{b}{n}%
+\SetMathAlphabet{\mathit}{normal}{\encodingdefault}{\rmdefault}{m}{it}%
+\SetMathAlphabet{\mathsf}{normal}{\encodingdefault}{\sfdefault}{m}{n}%
+\SetMathAlphabet{\mathtt}{normal}{\encodingdefault}{\ttdefault}{m}{n}%
+
+\SetMathAlphabet{\mathrm}{bold} {\encodingdefault}{\rmdefault}{b}{n}%
+\SetMathAlphabet{\mathbf}{bold} {\encodingdefault}{\rmdefault}{b}{n}%
+\SetMathAlphabet{\mathit}{bold} {\encodingdefault}{\rmdefault}{b}{it}%
+\SetMathAlphabet{\mathsf}{bold} {\encodingdefault}{\sfdefault}{b}{n}%
+\SetMathAlphabet{\mathtt}{bold} {\encodingdefault}{\ttdefault}{b}{n}%
+
+\DeclareSymbolFont{lettersupright} {OML}{mdput}{m}{n}
+\SetSymbolFont{lettersupright} {bold}{OML}{mdput}{b}{n}%
+\DeclareSymbolFontAlphabet{\mathrm} {lettersupright}
+
+% -------------------------------------------------------------------
+% Greek alphabet
+
+\def\MDgrfamily{letters}
+
+\ifthenelse{\equal{\MD@greek@family}{letters}}
+{}
+{
+ \DeclareSymbolFont{\MD@greek@family}{OML}{\MD@greek@family}{m}{it}
+ \SetSymbolFont{\MD@greek@family}{bold}{OML}{\MD@greek@family}{b}{it}%
+ \DeclareSymbolFont{\MD@greek@family upright}{OML}{\MD@greek@family}{m}{n}
+ \SetSymbolFont{\MD@greek@family upright}{bold}{OML}{\MD@greek@family}{b}{n}
+}
+
+% -------------------------------------------------------------------
+% Calligraphic and script alphabet
+
+\if@MD@cmcal
+ \SetMathAlphabet{\mathcal}{normal}{OMS}{xmdcmsy}{m}{n}%
+\else
+ \SetMathAlphabet{\mathcal}{normal}{OMS}{mdput}{m}{n}%
+\fi
+
+\DeclareSymbolFontAlphabet{\mathscr}{mdscr}%
+
+
+%% -------------------------------------------------------------------
+%% The name of the bold series
+%% -------------------------------------------------------------------
+
+\renewcommand\bfdefault{b}
+
+
+%% ----------------------------------------------------------------
+%% Uppercase upright
+%% ----------------------------------------------------------------
+
+\RequirePackage{xkeyval}
+
+\renewcommand{\rmdefault}{mdput}\rmfamily
+% \MDSelectGreekFont{\MD@default@gr@font}{}
+
+
+\if@MD@capupright
+\DeclareMathSymbol{A}{\mathalpha}{lettersupright}{`A}
+\DeclareMathSymbol{B}{\mathalpha}{lettersupright}{`B}
+\DeclareMathSymbol{C}{\mathalpha}{lettersupright}{`C}
+\DeclareMathSymbol{D}{\mathalpha}{lettersupright}{`D}
+\DeclareMathSymbol{E}{\mathalpha}{lettersupright}{`E}
+\DeclareMathSymbol{F}{\mathalpha}{lettersupright}{`F}
+\DeclareMathSymbol{G}{\mathalpha}{lettersupright}{`G}
+\DeclareMathSymbol{H}{\mathalpha}{lettersupright}{`H}
+\DeclareMathSymbol{I}{\mathalpha}{lettersupright}{`I}
+\DeclareMathSymbol{J}{\mathalpha}{lettersupright}{`J}
+\DeclareMathSymbol{K}{\mathalpha}{lettersupright}{`K}
+\DeclareMathSymbol{L}{\mathalpha}{lettersupright}{`L}
+\DeclareMathSymbol{M}{\mathalpha}{lettersupright}{`M}
+\DeclareMathSymbol{N}{\mathalpha}{lettersupright}{`N}
+\DeclareMathSymbol{O}{\mathalpha}{lettersupright}{`O}
+\DeclareMathSymbol{P}{\mathalpha}{lettersupright}{`P}
+\DeclareMathSymbol{Q}{\mathalpha}{lettersupright}{`Q}
+\DeclareMathSymbol{R}{\mathalpha}{lettersupright}{`R}
+\DeclareMathSymbol{S}{\mathalpha}{lettersupright}{`S}
+\DeclareMathSymbol{T}{\mathalpha}{lettersupright}{`T}
+\DeclareMathSymbol{U}{\mathalpha}{lettersupright}{`U}
+\DeclareMathSymbol{V}{\mathalpha}{lettersupright}{`V}
+\DeclareMathSymbol{W}{\mathalpha}{lettersupright}{`W}
+\DeclareMathSymbol{X}{\mathalpha}{lettersupright}{`X}
+\DeclareMathSymbol{Y}{\mathalpha}{lettersupright}{`Y}
+\DeclareMathSymbol{Z}{\mathalpha}{lettersupright}{`Z}
+\fi
+
+%% ----------------------------------------------------------------
+%% Lowercase upright
+%% ----------------------------------------------------------------
+
+\if@MD@lowupright
+\DeclareMathSymbol{a}{\mathalpha}{lettersupright}{`a}
+\DeclareMathSymbol{b}{\mathalpha}{lettersupright}{`b}
+\DeclareMathSymbol{c}{\mathalpha}{lettersupright}{`c}
+\DeclareMathSymbol{d}{\mathalpha}{lettersupright}{`d}
+\DeclareMathSymbol{e}{\mathalpha}{lettersupright}{`e}
+\DeclareMathSymbol{f}{\mathalpha}{lettersupright}{`f}
+\DeclareMathSymbol{g}{\mathalpha}{lettersupright}{`g}
+\DeclareMathSymbol{h}{\mathalpha}{lettersupright}{`h}
+\DeclareMathSymbol{i}{\mathalpha}{lettersupright}{`i}
+\DeclareMathSymbol{j}{\mathalpha}{lettersupright}{`j}
+\DeclareMathSymbol{k}{\mathalpha}{lettersupright}{`k}
+\DeclareMathSymbol{l}{\mathalpha}{lettersupright}{`l}
+\DeclareMathSymbol{m}{\mathalpha}{lettersupright}{`m}
+\DeclareMathSymbol{n}{\mathalpha}{lettersupright}{`n}
+\DeclareMathSymbol{o}{\mathalpha}{lettersupright}{`o}
+\DeclareMathSymbol{p}{\mathalpha}{lettersupright}{`p}
+\DeclareMathSymbol{q}{\mathalpha}{lettersupright}{`q}
+\DeclareMathSymbol{r}{\mathalpha}{lettersupright}{`r}
+\DeclareMathSymbol{s}{\mathalpha}{lettersupright}{`s}
+\DeclareMathSymbol{t}{\mathalpha}{lettersupright}{`t}
+\DeclareMathSymbol{u}{\mathalpha}{lettersupright}{`u}
+\DeclareMathSymbol{v}{\mathalpha}{lettersupright}{`v}
+\DeclareMathSymbol{w}{\mathalpha}{lettersupright}{`w}
+\DeclareMathSymbol{x}{\mathalpha}{lettersupright}{`x}
+\DeclareMathSymbol{y}{\mathalpha}{lettersupright}{`y}
+\DeclareMathSymbol{z}{\mathalpha}{lettersupright}{`z}
+\fi
+
+
+
+
+
+%% ----------------------------------------------------------------
+%% Lowercase greek upright
+%% ----------------------------------------------------------------
+
+\if@MD@grupright %
+\MD@def\DeclareMathSymbol{\alpha}{\mathord}{\MD@greek@family upright}{"0B}
+\MD@def\DeclareMathSymbol{\beta}{\mathord}{\MD@greek@family upright}{"0C}
+\MD@def\DeclareMathSymbol{\gamma}{\mathord}{\MD@greek@family upright}{"0D}
+\MD@def\DeclareMathSymbol{\delta}{\mathord}{\MD@greek@family upright}{"0E}
+\MD@def\DeclareMathSymbol{\epsilon}{\mathord}{\MD@greek@family upright}{"0F}
+\MD@def\DeclareMathSymbol{\zeta}{\mathord}{\MD@greek@family upright}{"10}
+\MD@def\DeclareMathSymbol{\eta}{\mathord}{\MD@greek@family upright}{"11}
+\MD@def\DeclareMathSymbol{\theta}{\mathord}{\MD@greek@family upright}{"12}
+\MD@def\DeclareMathSymbol{\iota}{\mathord}{\MD@greek@family upright}{"13}
+\MD@def\DeclareMathSymbol{\kappa}{\mathord}{\MD@greek@family upright}{"14}
+\MD@def\DeclareMathSymbol{\lambda}{\mathord}{\MD@greek@family upright}{"15}
+\MD@def\DeclareMathSymbol{\mu}{\mathord}{\MD@greek@family upright}{"16}
+\MD@def\DeclareMathSymbol{\nu}{\mathord}{\MD@greek@family upright}{"17}
+\MD@def\DeclareMathSymbol{\xi}{\mathord}{\MD@greek@family upright}{"18}
+\MD@def\DeclareMathSymbol{\pi}{\mathord}{\MD@greek@family upright}{"19}
+\MD@def\DeclareMathSymbol{\rho}{\mathord}{\MD@greek@family upright}{"1A}
+\MD@def\DeclareMathSymbol{\sigma}{\mathord}{\MD@greek@family upright}{"1B}
+\MD@def\DeclareMathSymbol{\tau}{\mathord}{\MD@greek@family upright}{"1C}
+\MD@def\DeclareMathSymbol{\upsilon}{\mathord}{\MD@greek@family upright}{"1D}
+\MD@def\DeclareMathSymbol{\phi}{\mathord}{\MD@greek@family upright}{"1E}
+\MD@def\DeclareMathSymbol{\chi}{\mathord}{\MD@greek@family upright}{"1F}
+\MD@def\DeclareMathSymbol{\psi}{\mathord}{\MD@greek@family upright}{"20}
+\MD@def\DeclareMathSymbol{\omega}{\mathord}{\MD@greek@family upright}{"21}
+\MD@def\DeclareMathSymbol{\varepsilon}{\mathord}{\MD@greek@family upright}{"22}
+\MD@def\DeclareMathSymbol{\vartheta}{\mathord}{\MD@greek@family upright}{"23}
+\MD@def\DeclareMathSymbol{\varpi}{\mathord}{\MD@greek@family upright}{"24}
+\MD@def\DeclareMathSymbol{\varrho}{\mathord}{\MD@greek@family upright}{"25}
+\MD@def\DeclareMathSymbol{\varsigma}{\mathord}{\MD@greek@family upright}{"26}
+\MD@def\DeclareMathSymbol{\varphi}{\mathord}{\MD@greek@family upright}{"27}
+\else
+\MD@def\DeclareMathSymbol{\alpha}{\mathord}{\MD@greek@family}{"0B}
+\MD@def\DeclareMathSymbol{\beta}{\mathord}{\MD@greek@family}{"0C}
+\MD@def\DeclareMathSymbol{\gamma}{\mathord}{\MD@greek@family}{"0D}
+\MD@def\DeclareMathSymbol{\delta}{\mathord}{\MD@greek@family}{"0E}
+\MD@def\DeclareMathSymbol{\epsilon}{\mathord}{\MD@greek@family}{"0F}
+\MD@def\DeclareMathSymbol{\zeta}{\mathord}{\MD@greek@family}{"10}
+\MD@def\DeclareMathSymbol{\eta}{\mathord}{\MD@greek@family}{"11}
+\MD@def\DeclareMathSymbol{\theta}{\mathord}{\MD@greek@family}{"12}
+\MD@def\DeclareMathSymbol{\iota}{\mathord}{\MD@greek@family}{"13}
+\MD@def\DeclareMathSymbol{\kappa}{\mathord}{\MD@greek@family}{"14}
+\MD@def\DeclareMathSymbol{\lambda}{\mathord}{\MD@greek@family}{"15}
+\MD@def\DeclareMathSymbol{\mu}{\mathord}{\MD@greek@family}{"16}
+\MD@def\DeclareMathSymbol{\nu}{\mathord}{\MD@greek@family}{"17}
+\MD@def\DeclareMathSymbol{\xi}{\mathord}{\MD@greek@family}{"18}
+\MD@def\DeclareMathSymbol{\pi}{\mathord}{\MD@greek@family}{"19}
+\MD@def\DeclareMathSymbol{\rho}{\mathord}{\MD@greek@family}{"1A}
+\MD@def\DeclareMathSymbol{\sigma}{\mathord}{\MD@greek@family}{"1B}
+\MD@def\DeclareMathSymbol{\tau}{\mathord}{\MD@greek@family}{"1C}
+\MD@def\DeclareMathSymbol{\upsilon}{\mathord}{\MD@greek@family}{"1D}
+\MD@def\DeclareMathSymbol{\phi}{\mathord}{\MD@greek@family}{"1E}
+\MD@def\DeclareMathSymbol{\chi}{\mathord}{\MD@greek@family}{"1F}
+\MD@def\DeclareMathSymbol{\psi}{\mathord}{\MD@greek@family}{"20}
+\MD@def\DeclareMathSymbol{\omega}{\mathord}{\MD@greek@family}{"21}
+\MD@def\DeclareMathSymbol{\varepsilon}{\mathord}{\MD@greek@family}{"22}
+\MD@def\DeclareMathSymbol{\vartheta}{\mathord}{\MD@greek@family}{"23}
+\MD@def\DeclareMathSymbol{\varpi}{\mathord}{\MD@greek@family}{"24}
+\MD@def\DeclareMathSymbol{\varrho}{\mathord}{\MD@greek@family}{"25}
+\MD@def\DeclareMathSymbol{\varsigma}{\mathord}{\MD@greek@family}{"26}
+\MD@def\DeclareMathSymbol{\varphi}{\mathord}{\MD@greek@family}{"27}
+\fi
+\ifthenelse{\equal{\MD@greek@family}{grb}}{\let\epsilon\varepsilon}{}
+\ifthenelse{\equal{\MD@greek@family}{grd}}{\let\epsilon\varepsilon}{}
+
+%% ----------------------------------------------------------------
+%% Uppercase greek slanted
+%% ----------------------------------------------------------------
+
+\if@MD@GRupright %
+\MD@def\DeclareMathSymbol{\Gamma}{\mathalpha}{\MD@greek@family upright}{"00}
+\MD@def\DeclareMathSymbol{\Delta}{\mathalpha}{\MD@greek@family upright}{"01}
+\MD@def\DeclareMathSymbol{\Theta}{\mathalpha}{\MD@greek@family upright}{"02}
+\MD@def\DeclareMathSymbol{\Lambda}{\mathalpha}{\MD@greek@family upright}{"03}
+\MD@def\DeclareMathSymbol{\Xi}{\mathalpha}{\MD@greek@family upright}{"04}
+\MD@def\DeclareMathSymbol{\Pi}{\mathalpha}{\MD@greek@family upright}{"05}
+\MD@def\DeclareMathSymbol{\Sigma}{\mathalpha}{\MD@greek@family upright}{"06}
+\MD@def\DeclareMathSymbol{\Upsilon}{\mathalpha}{\MD@greek@family upright}{"07}
+\MD@def\DeclareMathSymbol{\Phi}{\mathalpha}{\MD@greek@family upright}{"08}
+\MD@def\DeclareMathSymbol{\Psi}{\mathalpha}{\MD@greek@family upright}{"09}
+\MD@def\DeclareMathSymbol{\Omega}{\mathalpha}{\MD@greek@family upright}{"0A}
+\else
+\MD@def\DeclareMathSymbol{\Gamma}{\mathalpha}{\MD@greek@family}{"00}
+\MD@def\DeclareMathSymbol{\Delta}{\mathalpha}{\MD@greek@family}{"01}
+\MD@def\DeclareMathSymbol{\Theta}{\mathalpha}{\MD@greek@family}{"02}
+\MD@def\DeclareMathSymbol{\Lambda}{\mathalpha}{\MD@greek@family}{"03}
+\MD@def\DeclareMathSymbol{\Xi}{\mathalpha}{\MD@greek@family}{"04}
+\MD@def\DeclareMathSymbol{\Pi}{\mathalpha}{\MD@greek@family}{"05}
+\MD@def\DeclareMathSymbol{\Sigma}{\mathalpha}{\MD@greek@family}{"06}
+\MD@def\DeclareMathSymbol{\Upsilon}{\mathalpha}{\MD@greek@family}{"07}
+\MD@def\DeclareMathSymbol{\Phi}{\mathalpha}{\MD@greek@family}{"08}
+\MD@def\DeclareMathSymbol{\Psi}{\mathalpha}{\MD@greek@family}{"09}
+\MD@def\DeclareMathSymbol{\Omega}{\mathalpha}{\MD@greek@family}{"0A}
+\fi
+
+ %% upright greek letters are avalaible vi \alphaup like macros
+\MD@def\DeclareMathSymbol{\alphaup}{\mathord}{\MD@greek@family upright}{"0B}
+\MD@def\DeclareMathSymbol{\betaup}{\mathord}{\MD@greek@family upright}{"0C}
+\MD@def\DeclareMathSymbol{\gammaup}{\mathord}{\MD@greek@family upright}{"0D}
+\MD@def\DeclareMathSymbol{\deltaup}{\mathord}{\MD@greek@family upright}{"0E}
+\MD@def\DeclareMathSymbol{\epsilonup}{\mathord}{\MD@greek@family upright}{"0F}
+\MD@def\DeclareMathSymbol{\zetaup}{\mathord}{\MD@greek@family upright}{"10}
+\MD@def\DeclareMathSymbol{\etaup}{\mathord}{\MD@greek@family upright}{"11}
+\MD@def\DeclareMathSymbol{\thetaup}{\mathord}{\MD@greek@family upright}{"12}
+\MD@def\DeclareMathSymbol{\iotaup}{\mathord}{\MD@greek@family upright}{"13}
+\MD@def\DeclareMathSymbol{\kappaup}{\mathord}{\MD@greek@family upright}{"14}
+\MD@def\DeclareMathSymbol{\lambdaup}{\mathord}{\MD@greek@family upright}{"15}
+\MD@def\DeclareMathSymbol{\muup}{\mathord}{\MD@greek@family upright}{"16}
+\MD@def\DeclareMathSymbol{\nuup}{\mathord}{\MD@greek@family upright}{"17}
+\MD@def\DeclareMathSymbol{\xiup}{\mathord}{\MD@greek@family upright}{"18}
+\MD@def\DeclareMathSymbol{\piup}{\mathord}{\MD@greek@family upright}{"19}
+\MD@def\DeclareMathSymbol{\rhoup}{\mathord}{\MD@greek@family upright}{"1A}
+\MD@def\DeclareMathSymbol{\sigmaup}{\mathord}{\MD@greek@family upright}{"1B}
+\MD@def\DeclareMathSymbol{\tauup}{\mathord}{\MD@greek@family upright}{"1C}
+\MD@def\DeclareMathSymbol{\upsilonup}{\mathord}{\MD@greek@family upright}{"1D}
+\MD@def\DeclareMathSymbol{\phiup}{\mathord}{\MD@greek@family upright}{"1E}
+\MD@def\DeclareMathSymbol{\chiup}{\mathord}{\MD@greek@family upright}{"1F}
+\MD@def\DeclareMathSymbol{\psiup}{\mathord}{\MD@greek@family upright}{"20}
+\MD@def\DeclareMathSymbol{\omegaup}{\mathord}{\MD@greek@family upright}{"21}
+\MD@def\DeclareMathSymbol{\varepsilonup}{\mathord}{\MD@greek@family upright}{"22}
+\MD@def\DeclareMathSymbol{\varthetaup}{\mathord}{\MD@greek@family upright}{"23}
+\MD@def\DeclareMathSymbol{\varpiup}{\mathord}{\MD@greek@family upright}{"24}
+\MD@def\DeclareMathSymbol{\varrhoup}{\mathord}{\MD@greek@family upright}{"25}
+\MD@def\DeclareMathSymbol{\varsigmaup}{\mathord}{\MD@greek@family upright}{"26}
+\MD@def\DeclareMathSymbol{\varphiup}{\mathord}{\MD@greek@family upright}{"27}
+\MD@def\DeclareMathSymbol{\Gammaup}{\mathalpha}{\MD@greek@family upright}{"00}
+\MD@def\DeclareMathSymbol{\Deltaup}{\mathalpha}{\MD@greek@family upright}{"01}
+\MD@def\DeclareMathSymbol{\Thetaup}{\mathalpha}{\MD@greek@family upright}{"02}
+\MD@def\DeclareMathSymbol{\Lambdaup}{\mathalpha}{\MD@greek@family upright}{"03}
+\MD@def\DeclareMathSymbol{\Xiup}{\mathalpha}{\MD@greek@family upright}{"04}
+\MD@def\DeclareMathSymbol{\Piup}{\mathalpha}{\MD@greek@family upright}{"05}
+\MD@def\DeclareMathSymbol{\Sigmaup}{\mathalpha}{\MD@greek@family upright}{"06}
+\MD@def\DeclareMathSymbol{\Upsilonup}{\mathalpha}{\MD@greek@family upright}{"07}
+\MD@def\DeclareMathSymbol{\Phiup}{\mathalpha}{\MD@greek@family upright}{"08}
+\MD@def\DeclareMathSymbol{\Psiup}{\mathalpha}{\MD@greek@family upright}{"09}
+\MD@def\DeclareMathSymbol{\Omegaup}{\mathalpha}{\MD@greek@family upright}{"0A}
+
+\MD@def\DeclareMathSymbol{\alphait}{\mathord}{\MD@greek@family}{"0B}
+\MD@def\DeclareMathSymbol{\betait}{\mathord}{\MD@greek@family}{"0C}
+\MD@def\DeclareMathSymbol{\gammait}{\mathord}{\MD@greek@family}{"0D}
+\MD@def\DeclareMathSymbol{\deltait}{\mathord}{\MD@greek@family}{"0E}
+\MD@def\DeclareMathSymbol{\epsilonit}{\mathord}{\MD@greek@family}{"0F}
+\MD@def\DeclareMathSymbol{\zetait}{\mathord}{\MD@greek@family}{"10}
+\MD@def\DeclareMathSymbol{\etait}{\mathord}{\MD@greek@family}{"11}
+\MD@def\DeclareMathSymbol{\thetait}{\mathord}{\MD@greek@family}{"12}
+\MD@def\DeclareMathSymbol{\iotait}{\mathord}{\MD@greek@family}{"13}
+\MD@def\DeclareMathSymbol{\kappait}{\mathord}{\MD@greek@family}{"14}
+\MD@def\DeclareMathSymbol{\lambdait}{\mathord}{\MD@greek@family}{"15}
+\MD@def\DeclareMathSymbol{\muit}{\mathord}{\MD@greek@family}{"16}
+\MD@def\DeclareMathSymbol{\nuit}{\mathord}{\MD@greek@family}{"17}
+\MD@def\DeclareMathSymbol{\xiit}{\mathord}{\MD@greek@family}{"18}
+\MD@def\DeclareMathSymbol{\piit}{\mathord}{\MD@greek@family}{"19}
+\MD@def\DeclareMathSymbol{\rhoit}{\mathord}{\MD@greek@family}{"1A}
+\MD@def\DeclareMathSymbol{\sigmait}{\mathord}{\MD@greek@family}{"1B}
+\MD@def\DeclareMathSymbol{\tauit}{\mathord}{\MD@greek@family}{"1C}
+\MD@def\DeclareMathSymbol{\upsilonit}{\mathord}{\MD@greek@family}{"1D}
+\MD@def\DeclareMathSymbol{\phiit}{\mathord}{\MD@greek@family}{"1E}
+\MD@def\DeclareMathSymbol{\chiit}{\mathord}{\MD@greek@family}{"1F}
+\MD@def\DeclareMathSymbol{\psiit}{\mathord}{\MD@greek@family}{"20}
+\MD@def\DeclareMathSymbol{\omegait}{\mathord}{\MD@greek@family}{"21}
+\MD@def\DeclareMathSymbol{\varepsilonit}{\mathord}{\MD@greek@family}{"22}
+\MD@def\DeclareMathSymbol{\varthetait}{\mathord}{\MD@greek@family}{"23}
+\MD@def\DeclareMathSymbol{\varpiit}{\mathord}{\MD@greek@family}{"24}
+\MD@def\DeclareMathSymbol{\varrhoit}{\mathord}{\MD@greek@family}{"25}
+\MD@def\DeclareMathSymbol{\varsigmait}{\mathord}{\MD@greek@family}{"26}
+\MD@def\DeclareMathSymbol{\varphiit}{\mathord}{\MD@greek@family}{"27}
+\MD@def\DeclareMathSymbol{\Gammait}{\mathalpha}{\MD@greek@family}{"00}
+\MD@def\DeclareMathSymbol{\Deltait}{\mathalpha}{\MD@greek@family}{"01}
+\MD@def\DeclareMathSymbol{\Thetait}{\mathalpha}{\MD@greek@family}{"02}
+\MD@def\DeclareMathSymbol{\Lambdait}{\mathalpha}{\MD@greek@family}{"03}
+\MD@def\DeclareMathSymbol{\Xiit}{\mathalpha}{\MD@greek@family}{"04}
+\MD@def\DeclareMathSymbol{\Piit}{\mathalpha}{\MD@greek@family}{"05}
+\MD@def\DeclareMathSymbol{\Sigmait}{\mathalpha}{\MD@greek@family}{"06}
+\MD@def\DeclareMathSymbol{\Upsilonit}{\mathalpha}{\MD@greek@family}{"07}
+\MD@def\DeclareMathSymbol{\Phiit}{\mathalpha}{\MD@greek@family}{"08}
+\MD@def\DeclareMathSymbol{\Psiit}{\mathalpha}{\MD@greek@family}{"09}
+\MD@def\DeclareMathSymbol{\Omegait}{\mathalpha}{\MD@greek@family}{"0A}
+
+%% ----------------------------------------------------------------
+%% Additional symbols
+%% ----------------------------------------------------------------
+
+\def\iddots{\mathinner{\mkern1mu\raise1\p@
+ \vbox{\kern7\p@\hbox{.}}\mkern2mu
+ \raise4\p@\hbox{.}\mkern2mu\raise7\p@\hbox{.}\mkern1mu}}
+
+%% -------------------------------------------------------------------
+%% Wide accents
+%% -------------------------------------------------------------------
+
+\DeclareMathAccent{\widetilde}{\mathord}{largesymbols}{"65}
+\DeclareMathAccent{\widehat}{\mathord}{largesymbols}{"62}
+\DeclareMathAccent{\widetriangle}{\mathord}{largesymbols}{"E6}
+\DeclareMathAccent{\wideparen}{\mathord}{largesymbols}{"F3}
+\ifx\overset\@undefined\else
+\newcommand{\widering}[1]{\overset{\smash{\vbox to .2ex{%
+ \hbox{$\mathring{}$}}}}{\wideparen{#1}}}
+\fi
+
+
+%% -------------------------------------------------------------------
+%% Double left and right bracket
+%% -------------------------------------------------------------------
+
+\MD@def\DeclareMathDelimiter{\llbracket}{\mathopen} {largesymbols}{"B9}{largesymbols}{"83}
+\MD@def\DeclareMathDelimiter{\rrbracket}{\mathclose}{largesymbols}{"BA}{largesymbols}{"8D}
+
+%% -------------------------------------------------------------------
+%% Wavy vertical lines
+%% -------------------------------------------------------------------
+
+\MD@def\DeclareMathDelimiter{\lwave}{\mathopen} {largesymbols}{"D0}{largesymbols}{"D0}
+\MD@def\DeclareMathDelimiter{\rwave}{\mathclose}{largesymbols}{"D0}{largesymbols}{"D0}
+
+\MD@def\DeclareMathDelimiter{\levaw}{\mathopen} {largesymbols}{"D1}{largesymbols}{"D1}
+\MD@def\DeclareMathDelimiter{\revaw}{\mathclose}{largesymbols}{"D1}{largesymbols}{"D1}
+
+\def\leftwave{\left\lwave}
+\def\rightwave{\right\rwave}
+\def\leftevaw{\left\levaw}
+\def\rightevaw{\right\revaw}
+
+%% ----------------------------------------------------------------
+%% Additional fonts
+%% ----------------------------------------------------------------
+
+\WarningIfLoaded{mdput}{amssymb}
+\WarningIfLoaded{mdput}{amsfonts}
+
+\DeclareFontEncoding{MDA}{}{}
+\DeclareFontSubstitution{MDA}{cmr}{m}{n}
+\DeclareSymbolFont{mathdesignA}{MDA}{mdput}{m}{n}%
+\SetSymbolFont{mathdesignA} {bold}{MDA}{mdput}{b}{n}%
+\DeclareSymbolFontAlphabet{\mdmathbb}{mathdesignA}
+\DeclareFontEncodingDefaults{\relax}{\def\accentclass@{7}}
+
+\DeclareFontEncoding{MDB}{}{}
+\DeclareFontSubstitution{MDB}{cmr}{m}{n}
+\DeclareSymbolFont{mathdesignB}{MDB}{mdput}{m}{n}%
+\SetSymbolFont{mathdesignB}{bold}{MDB}{mdput}{b}{n}%
+
+% The following code borrowed from amsfonts.sty and amsbsy.sty
+
+\long\def\@gobblethree#1#2#3{}
+\def\@subst@obsolete#1#2#3{\@obsolete{#1}#2#3\gdef#2{#3}#2}
+\if@compatibility
+\let\@obsolete\@gobblethree
+\else
+\def\@obsolete#1#2#3{\PackageWarning{#1}{%
+ Obsolete command \protect#2; \protect#3 should be used instead}}%
+\fi
+\DeclareRobustCommand{\bold}[1]{%
+ {\@subst@obsolete{amsfonts}\bold\mathbf{#1}}}
+
+\providecommand*{\@mathmeasure}[3]{%
+ \setbox#1\hbox{\frozen@everymath\@emptytoks\m@th$#2#3$}}
+
+\@ifundefined{@emptytoks}{\csname newtoks\endcsname\@emptytoks}{}
+ \let\mathbb\@undefined
+ \global\let\mathbb\mdmathbb
+ \MD@def\DeclareRobustCommand{\Bbb}[1]{%
+ {\@subst@obsolete{mdput}\Bbb\mathbb{#1}}}
+
+ \xdef\yen{\noexpand\mathhexbox{\hexnumber@\symmathdesignA}D5}
+ \xdef\checkmark{\noexpand\mathhexbox{\hexnumber@\symmathdesignA}D8}
+ \xdef\circledR{\noexpand\mathhexbox{\hexnumber@\symmathdesignA}F2}
+ \def\circledS{\textcircled{S}}
+ \xdef\maltese{\noexpand\mathhexbox{\hexnumber@\symmathdesignA}FA}
+ \catcode`\"=12
+ \MD@def\DeclareMathDelimiter{\ulcorner}{\mathopen} {mathdesignA}{"F0}{mathdesignA}{"F0}
+ \MD@def\DeclareMathDelimiter{\urcorner}{\mathclose}{mathdesignA}{"F1}{mathdesignA}{"F1}
+ \MD@def\DeclareMathDelimiter{\llcorner}{\mathopen} {mathdesignA}{"F8}{mathdesignA}{"F8}
+ \MD@def\DeclareMathDelimiter{\lrcorner}{\mathclose}{mathdesignA}{"F9}{mathdesignA}{"F9}
+ \DeclareMathAccent{\widetilde}{\mathord}{largesymbols}{"65}
+ \DeclareMathAccent{\widehat}{\mathord}{largesymbols}{"62}
+ \MD@def\DeclareMathSymbol{\dabar@}{\mathord}{mathdesignA}{"B9}
+
+\xdef\dashrightarrow{\mathrel{\dabar@\dabar@
+ \mathchar"0\hexnumber@\symmathdesignA CB}}%
+ \xdef\dashleftarrow{\mathrel{\mathchar"0\hexnumber@\symmathdesignA CC\dabar@\dabar@}}%
+ \global\let\dasharrow\dashrightarrow
+
+%% Begin AMSb declarations
+ \MD@def\DeclareMathSymbol{\lvertneqq} {\mathrel}{mathdesignB}{"00}
+ \MD@def\DeclareMathSymbol{\gvertneqq} {\mathrel}{mathdesignB}{"01}
+ \MD@def\DeclareMathSymbol{\nleq} {\mathrel}{mathdesignB}{"02}
+ \MD@def\DeclareMathSymbol{\ngeq} {\mathrel}{mathdesignB}{"03}
+ \MD@def\DeclareMathSymbol{\nless} {\mathrel}{mathdesignB}{"04}
+ \MD@def\DeclareMathSymbol{\ngtr} {\mathrel}{mathdesignB}{"05}
+ \MD@def\DeclareMathSymbol{\nprec} {\mathrel}{mathdesignB}{"06}
+ \MD@def\DeclareMathSymbol{\nsucc} {\mathrel}{mathdesignB}{"07}
+ \MD@def\DeclareMathSymbol{\lneqq} {\mathrel}{mathdesignB}{"08}
+ \MD@def\DeclareMathSymbol{\gneqq} {\mathrel}{mathdesignB}{"09}
+ \MD@def\DeclareMathSymbol{\nleqslant} {\mathrel}{mathdesignB}{"0A}
+ \MD@def\DeclareMathSymbol{\ngeqslant} {\mathrel}{mathdesignB}{"0B}
+ \MD@def\DeclareMathSymbol{\lneq} {\mathrel}{mathdesignB}{"0C}
+ \MD@def\DeclareMathSymbol{\gneq} {\mathrel}{mathdesignB}{"0D}
+ \MD@def\DeclareMathSymbol{\npreceq} {\mathrel}{mathdesignB}{"0E}
+ \MD@def\DeclareMathSymbol{\nsucceq} {\mathrel}{mathdesignB}{"0F}
+ \MD@def\DeclareMathSymbol{\precnsim} {\mathrel}{mathdesignB}{"10}
+ \MD@def\DeclareMathSymbol{\succnsim} {\mathrel}{mathdesignB}{"11}
+ \MD@def\DeclareMathSymbol{\lnsim} {\mathrel}{mathdesignB}{"12}
+ \MD@def\DeclareMathSymbol{\gnsim} {\mathrel}{mathdesignB}{"13}
+ \MD@def\DeclareMathSymbol{\nleqq} {\mathrel}{mathdesignB}{"14}
+ \MD@def\DeclareMathSymbol{\ngeqq} {\mathrel}{mathdesignB}{"15}
+ \MD@def\DeclareMathSymbol{\precneqq} {\mathrel}{mathdesignB}{"16}
+ \MD@def\DeclareMathSymbol{\succneqq} {\mathrel}{mathdesignB}{"17}
+ \MD@def\DeclareMathSymbol{\precnapprox} {\mathrel}{mathdesignB}{"18}
+ \MD@def\DeclareMathSymbol{\succnapprox} {\mathrel}{mathdesignB}{"19}
+ \MD@def\DeclareMathSymbol{\lnapprox} {\mathrel}{mathdesignB}{"1A}
+ \MD@def\DeclareMathSymbol{\gnapprox} {\mathrel}{mathdesignB}{"1B}
+ \MD@def\DeclareMathSymbol{\nsim} {\mathrel}{mathdesignB}{"1C}
+ \MD@def\DeclareMathSymbol{\ncong} {\mathrel}{mathdesignB}{"1D}
+ \MD@def\DeclareMathSymbol{\diagup} {\mathord}{mathdesignA}{"1E}
+ \MD@def\DeclareMathSymbol{\diagdown} {\mathord}{mathdesignA}{"1F}
+ \MD@def\DeclareMathSymbol{\varsubsetneq} {\mathrel}{mathdesignB}{"20}
+ \MD@def\DeclareMathSymbol{\varsupsetneq} {\mathrel}{mathdesignB}{"21}
+ \MD@def\DeclareMathSymbol{\nsubseteqq} {\mathrel}{mathdesignB}{"22}
+ \MD@def\DeclareMathSymbol{\nsupseteqq} {\mathrel}{mathdesignB}{"23}
+ \MD@def\DeclareMathSymbol{\subsetneqq} {\mathrel}{mathdesignB}{"24}
+ \MD@def\DeclareMathSymbol{\supsetneqq} {\mathrel}{mathdesignB}{"25}
+ \MD@def\DeclareMathSymbol{\varsubsetneqq} {\mathrel}{mathdesignB}{"26}
+ \MD@def\DeclareMathSymbol{\varsupsetneqq} {\mathrel}{mathdesignB}{"27}
+ \MD@def\DeclareMathSymbol{\subsetneq} {\mathrel}{mathdesignB}{"28}
+ \MD@def\DeclareMathSymbol{\supsetneq} {\mathrel}{mathdesignB}{"29}
+ \MD@def\DeclareMathSymbol{\nsubseteq} {\mathrel}{mathdesignB}{"2A}
+ \MD@def\DeclareMathSymbol{\nsupseteq} {\mathrel}{mathdesignB}{"2B}
+ \MD@def\DeclareMathSymbol{\nparallel} {\mathrel}{mathdesignB}{"2C}
+ \MD@def\DeclareMathSymbol{\nmid} {\mathrel}{mathdesignB}{"2D}
+ \MD@def\DeclareMathSymbol{\nshortmid} {\mathrel}{mathdesignB}{"2E}
+ \MD@def\DeclareMathSymbol{\nshortparallel} {\mathrel}{mathdesignB}{"2F}
+ \MD@def\DeclareMathSymbol{\nvdash} {\mathrel}{mathdesignB}{"30}
+ \MD@def\DeclareMathSymbol{\nVdash} {\mathrel}{mathdesignB}{"31}
+ \MD@def\DeclareMathSymbol{\nvDash} {\mathrel}{mathdesignB}{"32}
+ \MD@def\DeclareMathSymbol{\nVDash} {\mathrel}{mathdesignB}{"33}
+ \MD@def\DeclareMathSymbol{\ntrianglerighteq}{\mathrel}{mathdesignB}{"34}
+ \MD@def\DeclareMathSymbol{\ntrianglelefteq}{\mathrel}{mathdesignB}{"35}
+ \MD@def\DeclareMathSymbol{\ntriangleleft} {\mathrel}{mathdesignB}{"36}
+ \MD@def\DeclareMathSymbol{\ntriangleright} {\mathrel}{mathdesignB}{"37}
+ \MD@def\DeclareMathSymbol{\nleftarrow} {\mathrel}{mathdesignB}{"38}
+ \MD@def\DeclareMathSymbol{\nrightarrow} {\mathrel}{mathdesignB}{"39}
+ \MD@def\DeclareMathSymbol{\nLeftarrow} {\mathrel}{mathdesignB}{"3A}
+ \MD@def\DeclareMathSymbol{\nRightarrow} {\mathrel}{mathdesignB}{"3B}
+ \MD@def\DeclareMathSymbol{\nLeftrightarrow}{\mathrel}{mathdesignB}{"3C}
+ \MD@def\DeclareMathSymbol{\nleftrightarrow}{\mathrel}{mathdesignB}{"3D}
+ \MD@def\DeclareMathSymbol{\nexists} {\mathord}{mathdesignB}{"3E}
+ \MD@def\DeclareMathSymbol{\divideontimes} {\mathbin}{mathdesignA}{"3E}
+ \MD@def\DeclareMathSymbol{\varnothing} {\mathord}{mathdesignA}{"3F}
+ \MD@def\DeclareMathSymbol{\Join} {\mathbin}{mathdesignA}{"5C}
+ \MD@def\DeclareMathSymbol{\udtimes} {\mathbin}{mathdesignA}{"5D}
+ \MD@def\DeclareMathSymbol{\utimes} {\mathbin}{mathdesignA}{"5E}
+ \MD@def\DeclareMathSymbol{\dtimes} {\mathbin}{mathdesignA}{"5F}
+ \MD@def\DeclareMathSymbol{\Finv} {\mathord}{mathdesignA}{"60}
+ \MD@def\DeclareMathSymbol{\Game} {\mathord}{mathdesignA}{"61}
+ \MD@def\DeclareMathSymbol{\mho} {\mathord}{mathdesignA}{"66}
+ \MD@def\DeclareMathSymbol{\eth} {\mathord}{mathdesignA}{"67}
+ \MD@def\DeclareMathSymbol{\eqsim} {\mathrel}{mathdesignA}{"68}
+ \MD@def\DeclareMathSymbol{\beth} {\mathord}{mathdesignA}{"69}
+ \MD@def\DeclareMathSymbol{\gimel} {\mathord}{mathdesignA}{"6A}
+ \MD@def\DeclareMathSymbol{\daleth} {\mathord}{mathdesignA}{"6B}
+ \MD@def\DeclareMathSymbol{\lessdot} {\mathbin}{mathdesignA}{"6C}
+ \MD@def\DeclareMathSymbol{\gtrdot} {\mathbin}{mathdesignA}{"6D}
+ \MD@def\DeclareMathSymbol{\ltimes} {\mathbin}{mathdesignA}{"6E}
+ \MD@def\DeclareMathSymbol{\rtimes} {\mathbin}{mathdesignA}{"6F}
+ \MD@def\DeclareMathSymbol{\shortmid} {\mathrel}{mathdesignA}{"70}
+ \MD@def\DeclareMathSymbol{\shortparallel} {\mathrel}{mathdesignA}{"71}
+ \MD@def\DeclareMathSymbol{\smallsetminus} {\mathbin}{mathdesignA}{"72}
+ \MD@def\DeclareMathSymbol{\thicksim} {\mathrel}{mathdesignA}{"73}
+ \MD@def\DeclareMathSymbol{\thickapprox} {\mathrel}{mathdesignA}{"74}
+ \MD@def\DeclareMathSymbol{\approxeq} {\mathrel}{mathdesignA}{"75}
+ \MD@def\DeclareMathSymbol{\succapprox} {\mathrel}{mathdesignA}{"76}
+ \MD@def\DeclareMathSymbol{\precapprox} {\mathrel}{mathdesignA}{"77}
+ \MD@def\DeclareMathSymbol{\curvearrowleft} {\mathrel}{mathdesignA}{"78}
+ \MD@def\DeclareMathSymbol{\curvearrowright}{\mathrel}{mathdesignA}{"79}
+ \MD@def\DeclareMathSymbol{\digammaup} {\mathord}{mathdesignA}{"7A}
+ \MD@def\DeclareMathSymbol{\varkappaup} {\mathord}{mathdesignA}{"7B}
+ \MD@def\DeclareMathSymbol{\digammait} {\mathord}{mathdesignA}{"62}
+ \MD@def\DeclareMathSymbol{\varkappait} {\mathord}{mathdesignA}{"63}
+ \if@MD@grupright
+ \MD@def\DeclareMathSymbol{\digamma} {\mathord}{mathdesignA}{"7A}
+ \MD@def\DeclareMathSymbol{\varkappa} {\mathord}{mathdesignA}{"7B}
+ \else
+ \MD@def\DeclareMathSymbol{\digamma} {\mathord}{mathdesignA}{"62}
+ \MD@def\DeclareMathSymbol{\varkappa} {\mathord}{mathdesignA}{"63}
+ \fi
+ \MD@def\DeclareMathSymbol{\Bbbk} {\mathord}{mathdesignA}{"7C}
+ \xdef\hslash{\mathord{\mathchar"0\hexnumber@\symmathdesignA 7D h}}
+ \xdef\hbar{\mathord{\mathchar"0\hexnumber@\symmathdesignA 7E h}}%\mkern-13.8mu%
+ \MD@def\DeclareMathSymbol{\backepsilon} {\mathrel}{mathdesignA}{"7F}
+
+ \MD@def\DeclareMathSymbol{\boxdot} {\mathbin}{mathdesignA}{"80}
+ \MD@def\DeclareMathSymbol{\boxplus} {\mathbin}{mathdesignA}{"81}
+ \MD@def\DeclareMathSymbol{\boxtimes} {\mathbin}{mathdesignA}{"82}
+ \MD@def\DeclareMathSymbol{\square} {\mathord}{mathdesignA}{"83}
+ \MD@def\DeclareMathSymbol{\blacksquare} {\mathord}{mathdesignA}{"84}
+ \MD@def\DeclareMathSymbol{\centerdot} {\mathbin}{mathdesignA}{"85}
+ \MD@def\DeclareMathSymbol{\lozenge} {\mathord}{mathdesignA}{"86}
+ \MD@def\DeclareMathSymbol{\blacklozenge} {\mathord}{mathdesignA}{"87}
+ \MD@def\DeclareMathSymbol{\circlearrowright} {\mathrel}{mathdesignA}{"88}
+ \MD@def\DeclareMathSymbol{\circlearrowleft} {\mathrel}{mathdesignA}{"89}
+%% In amsfonts.sty:
+ \MD@def\DeclareMathSymbol{\rightleftharpoons}{\mathrel}{mathdesignA}{"8A}
+ \MD@def\DeclareMathSymbol{\leftrightharpoons} {\mathrel}{mathdesignA}{"8B}
+ \MD@def\DeclareMathSymbol{\boxminus} {\mathbin}{mathdesignA}{"8C}
+ \MD@def\DeclareMathSymbol{\Vdash} {\mathrel}{mathdesignA}{"8D}
+ \MD@def\DeclareMathSymbol{\Vvdash} {\mathrel}{mathdesignA}{"8E}
+ \MD@def\DeclareMathSymbol{\vDash} {\mathrel}{mathdesignA}{"8F}
+ \MD@def\DeclareMathSymbol{\twoheadrightarrow} {\mathrel}{mathdesignA}{"90}
+ \MD@def\DeclareMathSymbol{\twoheadleftarrow} {\mathrel}{mathdesignA}{"91}
+ \MD@def\DeclareMathSymbol{\leftleftarrows} {\mathrel}{mathdesignA}{"92}
+ \MD@def\DeclareMathSymbol{\rightrightarrows} {\mathrel}{mathdesignA}{"93}
+ \MD@def\DeclareMathSymbol{\upuparrows} {\mathrel}{mathdesignA}{"94}
+ \MD@def\DeclareMathSymbol{\downdownarrows} {\mathrel}{mathdesignA}{"95}
+ \MD@def\DeclareMathSymbol{\upharpoonright} {\mathrel}{mathdesignA}{"96}
+ \global\let\restriction\upharpoonright
+ \MD@def\DeclareMathSymbol{\downharpoonright} {\mathrel}{mathdesignA}{"97}
+ \MD@def\DeclareMathSymbol{\upharpoonleft} {\mathrel}{mathdesignA}{"98}
+ \MD@def\DeclareMathSymbol{\downharpoonleft}{\mathrel}{mathdesignA}{"99}
+ \MD@def\DeclareMathSymbol{\rightarrowtail} {\mathrel}{mathdesignA}{"9A}
+ \MD@def\DeclareMathSymbol{\leftarrowtail} {\mathrel}{mathdesignA}{"9B}
+ \MD@def\DeclareMathSymbol{\leftrightarrows}{\mathrel}{mathdesignA}{"9C}
+ \MD@def\DeclareMathSymbol{\rightleftarrows}{\mathrel}{mathdesignA}{"9D}
+ \MD@def\DeclareMathSymbol{\Lsh} {\mathrel}{mathdesignA}{"9E}
+ \MD@def\DeclareMathSymbol{\Rsh} {\mathrel}{mathdesignA}{"9F}
+ \MD@def\DeclareMathSymbol{\rightsquigarrow} {\mathrel}{mathdesignA}{"A0}
+ \MD@def\DeclareMathSymbol{\leftrightsquigarrow}{\mathrel}{mathdesignA}{"A1}
+ \MD@def\DeclareMathSymbol{\looparrowleft} {\mathrel}{mathdesignA}{"A2}
+ \MD@def\DeclareMathSymbol{\looparrowright} {\mathrel}{mathdesignA}{"A3}
+ \MD@def\DeclareMathSymbol{\circeq} {\mathrel}{mathdesignA}{"A4}
+ \MD@def\DeclareMathSymbol{\succsim} {\mathrel}{mathdesignA}{"A5}
+ \MD@def\DeclareMathSymbol{\gtrsim} {\mathrel}{mathdesignA}{"A6}
+ \MD@def\DeclareMathSymbol{\gtrapprox} {\mathrel}{mathdesignA}{"A7}
+ \MD@def\DeclareMathSymbol{\multimap} {\mathrel}{mathdesignA}{"A8}
+ \MD@def\DeclareMathSymbol{\therefore} {\mathrel}{mathdesignA}{"A9}
+ \MD@def\DeclareMathSymbol{\because} {\mathrel}{mathdesignA}{"AA}
+ \MD@def\DeclareMathSymbol{\doteqdot} {\mathrel}{mathdesignA}{"AB}
+ \global\let\Doteq\doteqdot
+ \MD@def\DeclareMathSymbol{\triangleq} {\mathrel}{mathdesignA}{"AC}
+ \MD@def\DeclareMathSymbol{\precsim} {\mathrel}{mathdesignA}{"AD}
+ \MD@def\DeclareMathSymbol{\lesssim} {\mathrel}{mathdesignA}{"AE}
+ \MD@def\DeclareMathSymbol{\lessapprox} {\mathrel}{mathdesignA}{"AF}
+ \MD@def\DeclareMathSymbol{\eqslantless} {\mathrel}{mathdesignA}{"B0}
+ \MD@def\DeclareMathSymbol{\eqslantgtr} {\mathrel}{mathdesignA}{"B1}
+ \MD@def\DeclareMathSymbol{\curlyeqprec} {\mathrel}{mathdesignA}{"B2}
+ \MD@def\DeclareMathSymbol{\curlyeqsucc} {\mathrel}{mathdesignA}{"B3}
+ \MD@def\DeclareMathSymbol{\preccurlyeq} {\mathrel}{mathdesignA}{"B4}
+ \MD@def\DeclareMathSymbol{\leqq} {\mathrel}{mathdesignA}{"B5}
+ \MD@def\DeclareMathSymbol{\leqslant} {\mathrel}{mathdesignA}{"B6}
+ \MD@def\DeclareMathSymbol{\lessgtr} {\mathrel}{mathdesignA}{"B7}
+ \MD@def\DeclareMathSymbol{\backprime} {\mathord}{mathdesignA}{"B8}
+ \MD@def\DeclareMathSymbol{\risingdotseq} {\mathrel}{mathdesignA}{"BA}
+ \MD@def\DeclareMathSymbol{\fallingdotseq}{\mathrel}{mathdesignA}{"BB}
+ \MD@def\DeclareMathSymbol{\succcurlyeq} {\mathrel}{mathdesignA}{"BC}
+ \MD@def\DeclareMathSymbol{\geqq} {\mathrel}{mathdesignA}{"BD}
+ \MD@def\DeclareMathSymbol{\geqslant} {\mathrel}{mathdesignA}{"BE}
+ \MD@def\DeclareMathSymbol{\gtrless} {\mathrel}{mathdesignA}{"BF}
+ \MD@def\DeclareMathSymbol{\sqsubset} {\mathrel}{mathdesignA}{"C0}
+ \MD@def\DeclareMathSymbol{\sqsupset} {\mathrel}{mathdesignA}{"C1}
+ \MD@def\DeclareMathSymbol{\vartriangleright}{\mathrel}{mathdesignA}{"C2}
+ \MD@def\DeclareMathSymbol{\vartriangleleft} {\mathrel}{mathdesignA}{"C3}
+ \MD@def\DeclareMathSymbol{\trianglerighteq} {\mathrel}{mathdesignA}{"C4}
+ \MD@def\DeclareMathSymbol{\trianglelefteq} {\mathrel}{mathdesignA}{"C5}
+ \MD@def\DeclareMathSymbol{\bigstar} {\mathord}{mathdesignA}{"C6}
+ \MD@def\DeclareMathSymbol{\between} {\mathrel}{mathdesignA}{"C7}
+ \MD@def\DeclareMathSymbol{\blacktriangledown} {\mathord}{mathdesignA}{"C8}
+ \MD@def\DeclareMathSymbol{\blacktriangleright} {\mathrel}{mathdesignA}{"C9}
+ \MD@def\DeclareMathSymbol{\blacktriangleleft} {\mathrel}{mathdesignA}{"CA}
+ \MD@def\DeclareMathSymbol{\vartriangle} {\mathrel}{mathdesignA}{"CD}
+ \MD@def\DeclareMathSymbol{\blacktriangle} {\mathord}{mathdesignA}{"CE}
+ \MD@def\DeclareMathSymbol{\triangledown} {\mathord}{mathdesignA}{"CF}
+ \MD@def\DeclareMathSymbol{\eqcirc} {\mathrel}{mathdesignA}{"D0}
+ \MD@def\DeclareMathSymbol{\lesseqgtr} {\mathrel}{mathdesignA}{"D1}
+ \MD@def\DeclareMathSymbol{\gtreqless} {\mathrel}{mathdesignA}{"D2}
+ \MD@def\DeclareMathSymbol{\lesseqqgtr} {\mathrel}{mathdesignA}{"D3}
+ \MD@def\DeclareMathSymbol{\gtreqqless} {\mathrel}{mathdesignA}{"D4}
+ \MD@def\DeclareMathSymbol{\Rrightarrow} {\mathrel}{mathdesignA}{"D6}
+ \MD@def\DeclareMathSymbol{\Lleftarrow} {\mathrel}{mathdesignA}{"D7}
+ \MD@def\DeclareMathSymbol{\veebar} {\mathbin}{mathdesignA}{"D9}
+ \MD@def\DeclareMathSymbol{\barwedge} {\mathbin}{mathdesignA}{"DA}
+ \MD@def\DeclareMathSymbol{\doublebarwedge} {\mathbin}{mathdesignA}{"DB}
+ \MD@def\DeclareMathSymbol{\angle} {\mathord}{mathdesignA}{"DC}
+ \MD@def\DeclareMathSymbol{\measuredangle} {\mathord}{mathdesignA}{"DD}
+ \MD@def\DeclareMathSymbol{\sphericalangle} {\mathord}{mathdesignA}{"DE}
+ \MD@def\DeclareMathSymbol{\varpropto} {\mathrel}{mathdesignA}{"DF}
+ \MD@def\DeclareMathSymbol{\smallsmile} {\mathrel}{mathdesignA}{"E0}
+ \MD@def\DeclareMathSymbol{\smallfrown} {\mathrel}{mathdesignA}{"E1}
+ \MD@def\DeclareMathSymbol{\Subset} {\mathrel}{mathdesignA}{"E2}
+ \MD@def\DeclareMathSymbol{\Supset} {\mathrel}{mathdesignA}{"E3}
+ \MD@def\DeclareMathSymbol{\Cup} {\mathbin}{mathdesignA}{"E4}
+ \global\let\doublecup\Cup
+ \MD@def\DeclareMathSymbol{\Cap} {\mathbin}{mathdesignA}{"E5}
+ \global\let\doublecap\Cap
+ \MD@def\DeclareMathSymbol{\curlywedge} {\mathbin}{mathdesignA}{"E6}
+ \MD@def\DeclareMathSymbol{\curlyvee} {\mathbin}{mathdesignA}{"E7}
+ \MD@def\DeclareMathSymbol{\leftthreetimes} {\mathbin}{mathdesignA}{"E8}
+ \MD@def\DeclareMathSymbol{\rightthreetimes}{\mathbin}{mathdesignA}{"E9}
+ \MD@def\DeclareMathSymbol{\subseteqq} {\mathrel}{mathdesignA}{"EA}
+ \MD@def\DeclareMathSymbol{\supseteqq} {\mathrel}{mathdesignA}{"EB}
+ \MD@def\DeclareMathSymbol{\bumpeq} {\mathrel}{mathdesignA}{"EC}
+ \MD@def\DeclareMathSymbol{\Bumpeq} {\mathrel}{mathdesignA}{"ED}
+ \MD@def\DeclareMathSymbol{\lll} {\mathrel}{mathdesignA}{"EE}
+ \global\let\llless\lll
+ \MD@def\DeclareMathSymbol{\ggg} {\mathrel}{mathdesignA}{"EF}
+ \global\let\gggtr\ggg
+ \MD@def\DeclareMathSymbol{\pitchfork} {\mathrel}{mathdesignA}{"F4}
+ \MD@def\DeclareMathSymbol{\dotplus} {\mathbin}{mathdesignA}{"F5}
+ \MD@def\DeclareMathSymbol{\backsim} {\mathrel}{mathdesignA}{"F6}
+ \MD@def\DeclareMathSymbol{\backsimeq} {\mathrel}{mathdesignA}{"F7}
+ \MD@def\DeclareMathSymbol{\complement} {\mathord}{mathdesignA}{"FB}
+ \MD@def\DeclareMathSymbol{\intercal} {\mathbin}{mathdesignA}{"FC}
+ \MD@def\DeclareMathSymbol{\circledcirc} {\mathbin}{mathdesignA}{"FD}
+ \MD@def\DeclareMathSymbol{\circledast} {\mathbin}{mathdesignA}{"FE}
+ \MD@def\DeclareMathSymbol{\circleddash} {\mathbin}{mathdesignA}{"FF}
+ \global\let\lhd\vartriangleleft
+ \global\let\unlhd\vartriangleleft
+ \global\let\rhd\vartriangleright
+ \global\let\unrhd\trianglerighteq
+ \global\let\Box\square
+ \global\let\Diamond\lozenge
+ \global\let\leadsto\rightsquigarrow
+
+
+\MD@def\DeclareMathSymbol{\smallin}{\mathrel}{mathdesignA}{0}
+\MD@def\DeclareMathSymbol{\smallowns}{\mathrel}{mathdesignA}{1}
+\MD@def\DeclareMathSymbol{\notsmallin}{\mathrel}{mathdesignA}{2}
+\MD@def\DeclareMathSymbol{\notsmallowns}{\mathrel}{mathdesignA}{3}
+\MD@def\DeclareMathSymbol{\rightangle}{\mathord}{mathdesignA}{4}
+\MD@def\DeclareMathSymbol{\intclockwise}{\mathop}{mathdesignB}{128}
+\MD@def\DeclareMathSymbol{\ointclockwise}{\mathop}{mathdesignB}{130}
+\MD@def\DeclareMathSymbol{\ointctrclockwise}{\mathop}{mathdesignB}{132}
+\MD@def\DeclareMathSymbol{\oiint}{\mathop}{mathdesignB}{134}
+\MD@def\DeclareMathSymbol{\oiiint}{\mathop}{mathdesignB}{136}
+
+
+%% -------------------------------------------------------------------
+%% LaTeX Pictures fonts
+%% -------------------------------------------------------------------
+
+%% \font\tenln =mdputrline \font\tenlnw =mdputbline \relax
+%% \font\tencirc=mdputrcirc \font\tencircw=mdputbcirc\relax
+%% \let\@linefnt\tenln
+%% \let\@circlefnt\tencirc
+
+
+%% -------------------------------------------------------------------
+%% Various rule width
+%% -------------------------------------------------------------------
+
+\newlength{\rulethickness}
+\setlength{\rulethickness}{0.500bp}
+\setlength\fboxrule{0.500bp}
+\setlength\fboxsep{7\fboxrule}
+\setlength\arrayrulewidth{0.500bp}
+
+\renewcommand\footnoterule{%
+ \kern-3\p@
+ \hrule\@height \rulethickness \@width.4\columnwidth
+ \kern2.6\p@}
+
+\def\hrulefill{\leaders\hrule height \rulethickness\hfill}
+
+
+%% -------------------------------------------------------------------
+%% mathdesign logo
+%% -------------------------------------------------------------------
+
+\xdef\mdlogo{\noexpand\mathhexbox{\hexnumber@\symmathdesignA}64}
+
+%% -------------------------------------------------------------------
+%% euro currency sign
+%% -------------------------------------------------------------------
+
+\if@MD@euro %
+ \AtBeginDocument{%
+ \xdef\euro{\noexpand\mathhexbox{\hexnumber@\symmathdesignA}65}
+ }
+\fi
+
+%% -------------------------------------------------------------------
+%% Extra configurations, if any
+%% -------------------------------------------------------------------
+
+%
+
+\endinput
diff --git a/fonts/mathdesign/latex/mdput/omlmdput.fd b/fonts/mathdesign/latex/mdput/omlmdput.fd
new file mode 100644
index 0000000000..172cd4b34a
--- /dev/null
+++ b/fonts/mathdesign/latex/mdput/omlmdput.fd
@@ -0,0 +1,34 @@
+%Filename: omlmdput.fd
+%Created by: tex makevp
+%Created using fontinst v1.933
+
+%THIS FILE SHOULD BE PUT IN A TEX INPUTS DIRECTORY
+
+\ProvidesFile{omlmdput.fd}
+ [2013/08/29 Fontinst v1.933 font definitions for OML/mdput.]
+
+\DeclareFontFamily{OML}{mdput}{\skewchar \font =127}
+
+\DeclareFontShape{OML}{mdput}{m}{n}{
+ <->s * [0.94] mdputr7m
+}{}
+
+\DeclareFontShape{OML}{mdput}{m}{it}{
+ <->s * [0.94] mdputri7m
+}{}
+
+\DeclareFontShape{OML}{mdput}{b}{n}{
+ <->s * [0.94] mdputb7m
+}{}
+
+\DeclareFontShape{OML}{mdput}{b}{it}{
+ <->s * [0.94] mdputbi7m
+}{}
+
+\DeclareFontShape{OML}{mdput}{m}{sl}{<->ssub * mdput/m/it}{}
+\DeclareFontShape{OML}{mdput}{bx}{n}{<->ssub * mdput/b/n}{}
+\DeclareFontShape{OML}{mdput}{bx}{it}{<->ssub * mdput/b/it}{}
+\DeclareFontShape{OML}{mdput}{b}{sl}{<->ssub * mdput/b/it}{}
+\DeclareFontShape{OML}{mdput}{bx}{sl}{<->ssub * mdput/b/sl}{}
+
+\endinput
diff --git a/fonts/mathdesign/latex/mdput/omsmdput.fd b/fonts/mathdesign/latex/mdput/omsmdput.fd
new file mode 100644
index 0000000000..0418b259c5
--- /dev/null
+++ b/fonts/mathdesign/latex/mdput/omsmdput.fd
@@ -0,0 +1,22 @@
+%Filename: omsmdput.fd
+%Created by: tex makevp
+%Created using fontinst v1.933
+
+%THIS FILE SHOULD BE PUT IN A TEX INPUTS DIRECTORY
+
+\ProvidesFile{omsmdput.fd}
+ [2013/08/29 Fontinst v1.933 font definitions for OMS/mdput.]
+
+\DeclareFontFamily{OMS}{mdput}{\skewchar \font =48}
+
+\DeclareFontShape{OMS}{mdput}{m}{n}{
+ <->s * [0.94] mdputr7y
+}{}
+
+\DeclareFontShape{OMS}{mdput}{b}{n}{
+ <->s * [0.94] mdputb7y
+}{}
+
+\DeclareFontShape{OMS}{mdput}{bx}{n}{<->ssub * mdput/b/n}{}
+
+\endinput
diff --git a/fonts/mathdesign/latex/mdput/omxmdput.fd b/fonts/mathdesign/latex/mdput/omxmdput.fd
new file mode 100644
index 0000000000..4ffccb8cd3
--- /dev/null
+++ b/fonts/mathdesign/latex/mdput/omxmdput.fd
@@ -0,0 +1,22 @@
+%Filename: omxmdput.fd
+%Created by: tex makevp
+%Created using fontinst v1.933
+
+%THIS FILE SHOULD BE PUT IN A TEX INPUTS DIRECTORY
+
+\ProvidesFile{omxmdput.fd}
+ [2013/08/29 Fontinst v1.933 font definitions for OMX/mdput.]
+
+\DeclareFontFamily{OMX}{mdput}{}
+
+\DeclareFontShape{OMX}{mdput}{m}{n}{
+ <->s * [0.94] mdputr7v
+}{}
+
+\DeclareFontShape{OMX}{mdput}{b}{n}{
+ <->s * [0.94] mdputb7v
+}{}
+
+\DeclareFontShape{OMX}{mdput}{bx}{n}{<->ssub * mdput/b/n}{}
+
+\endinput
diff --git a/fonts/mathdesign/latex/mdput/ot1mdput.fd b/fonts/mathdesign/latex/mdput/ot1mdput.fd
new file mode 100644
index 0000000000..dcb816887b
--- /dev/null
+++ b/fonts/mathdesign/latex/mdput/ot1mdput.fd
@@ -0,0 +1,40 @@
+%Filename: ot1mdput.fd
+%Created by: tex makevp
+%Created using fontinst v1.933
+
+%THIS FILE SHOULD BE PUT IN A TEX INPUTS DIRECTORY
+
+\ProvidesFile{ot1mdput.fd}
+ [2013/08/29 Fontinst v1.933 font definitions for OT1/mdput.]
+
+\DeclareFontFamily{OT1}{mdput}{\hyphenchar \font =45}
+
+\DeclareFontShape{OT1}{mdput}{m}{it}{
+ <->s * [0.94] mdputri7t
+}{}
+
+\DeclareFontShape{OT1}{mdput}{m}{n}{
+ <->s * [0.94] mdputr7t
+}{}
+
+\DeclareFontShape{OT1}{mdput}{m}{sl}{
+ <->s * [0.94] mdputro7t
+}{}
+
+\DeclareFontShape{OT1}{mdput}{b}{it}{
+ <->s * [0.94] mdputbi7t
+}{}
+
+\DeclareFontShape{OT1}{mdput}{b}{n}{
+ <->s * [0.94] mdputb7t
+}{}
+
+\DeclareFontShape{OT1}{mdput}{b}{sl}{
+ <->s * [0.94] mdputbo7t
+}{}
+
+\DeclareFontShape{OT1}{mdput}{bx}{it}{<->ssub * mdput/b/it}{}
+\DeclareFontShape{OT1}{mdput}{bx}{n}{<->ssub * mdput/b/n}{}
+\DeclareFontShape{OT1}{mdput}{bx}{sl}{<->ssub * mdput/b/sl}{}
+
+\endinput
diff --git a/fonts/mathdesign/latex/mdput/t1mdput.fd b/fonts/mathdesign/latex/mdput/t1mdput.fd
new file mode 100644
index 0000000000..12bd66e521
--- /dev/null
+++ b/fonts/mathdesign/latex/mdput/t1mdput.fd
@@ -0,0 +1,69 @@
+%Filename: t1mdput.fd
+%Created by: tex makevp
+%Created using fontinst v1.933
+
+%THIS FILE SHOULD BE PUT IN A TEX INPUTS DIRECTORY
+
+\ProvidesFile{t1mdput.fd}
+ [2013/08/29 Fontinst v1.933 font definitions for T1/mdput.]
+
+\DeclareFontFamily{T1}{mdput}{}
+
+\DeclareFontShape{T1}{mdput}{m}{it}{
+ <->s * [0.94] mdputri8t
+}{}
+
+\DeclareFontShape{T1}{mdput}{m}{fic}{
+ <->s * [0.94] mdputrifc8t
+}{}
+
+\DeclareFontShape{T1}{mdput}{m}{n}{
+ <->s * [0.94] mdputr8t
+}{}
+
+\DeclareFontShape{T1}{mdput}{m}{fsc}{
+ <->s * [0.94] mdputrfc8t
+ <->s * [0.94] mdputrofc8t
+}{}
+
+\DeclareFontShape{T1}{mdput}{m}{sl}{
+ <->s * [0.94] mdputro8t
+}{}
+
+\DeclareFontShape{T1}{mdput}{b}{it}{
+ <->s * [0.94] mdputbi8t
+}{}
+
+\DeclareFontShape{T1}{mdput}{b}{fic}{
+ <->s * [0.94] mdputbifc8t
+}{}
+
+\DeclareFontShape{T1}{mdput}{b}{n}{
+ <->s * [0.94] mdputb8t
+}{}
+
+\DeclareFontShape{T1}{mdput}{b}{fsc}{
+ <->s * [0.94] mdputbfc8t
+ <->s * [0.94] mdputbofc8t
+}{}
+
+\DeclareFontShape{T1}{mdput}{b}{sl}{
+ <->s * [0.94] mdputbo8t
+}{}
+
+\DeclareFontShape{T1}{mdput}{m}{sc}{
+ <-> mdputrc8t
+}{}
+
+\DeclareFontShape{T1}{mdput}{b}{sc}{
+ <-> mdputbc8t
+}{}
+
+\DeclareFontShape{T1}{mdput}{bx}{it}{<->ssub * mdput/b/it}{}
+\DeclareFontShape{T1}{mdput}{bx}{fic}{<->ssub * mdput/b/fic}{}
+\DeclareFontShape{T1}{mdput}{bx}{n}{<->ssub * mdput/b/n}{}
+\DeclareFontShape{T1}{mdput}{bx}{fsc}{<->ssub * mdput/b/fsc}{}
+\DeclareFontShape{T1}{mdput}{bx}{sl}{<->ssub * mdput/b/sl}{}
+\DeclareFontShape{T1}{mdput}{bx}{sc}{<->ssub * mdput/b/sc}{}
+
+\endinput
diff --git a/fonts/mathdesign/latex/mdput/ts1mdput.fd b/fonts/mathdesign/latex/mdput/ts1mdput.fd
new file mode 100644
index 0000000000..e1226d4777
--- /dev/null
+++ b/fonts/mathdesign/latex/mdput/ts1mdput.fd
@@ -0,0 +1,40 @@
+%Filename: ts1mdput.fd
+%Created by: tex makevp
+%Created using fontinst v1.933
+
+%THIS FILE SHOULD BE PUT IN A TEX INPUTS DIRECTORY
+
+\ProvidesFile{ts1mdput.fd}
+ [2013/08/29 Fontinst v1.933 font definitions for TS1/mdput.]
+
+\DeclareFontFamily{TS1}{mdput}{}
+
+\DeclareFontShape{TS1}{mdput}{m}{it}{
+ <->s * [0.94] mdputri8c
+}{}
+
+\DeclareFontShape{TS1}{mdput}{m}{n}{
+ <->s * [0.94] mdputr8c
+}{}
+
+\DeclareFontShape{TS1}{mdput}{m}{sl}{
+ <->s * [0.94] mdputro8c
+}{}
+
+\DeclareFontShape{TS1}{mdput}{b}{it}{
+ <->s * [0.94] mdputbi8c
+}{}
+
+\DeclareFontShape{TS1}{mdput}{b}{n}{
+ <->s * [0.94] mdputb8c
+}{}
+
+\DeclareFontShape{TS1}{mdput}{b}{sl}{
+ <->s * [0.94] mdputbo8c
+}{}
+
+\DeclareFontShape{TS1}{mdput}{bx}{it}{<->ssub * mdput/b/it}{}
+\DeclareFontShape{TS1}{mdput}{bx}{n}{<->ssub * mdput/b/n}{}
+\DeclareFontShape{TS1}{mdput}{bx}{sl}{<->ssub * mdput/b/sl}{}
+
+\endinput
diff --git a/fonts/mathdesign/latex/mdsffont.def b/fonts/mathdesign/latex/mdsffont.def
new file mode 100644
index 0000000000..967e4cfc3c
--- /dev/null
+++ b/fonts/mathdesign/latex/mdsffont.def
@@ -0,0 +1,474 @@
+%% This is file mdfont.def.
+%%
+%% Copyright 2003 Paul Pichaureau for the MathDesign Project
+%% All rights reserved.
+%%
+%% This file is part of the mathdesign package v2.31
+%% --------------------------------------------------
+%%
+%% This program is free software; you can redistribute it and/or
+%% modify it under the terms of the GNU General Public License
+%% as published by the Free Software Foundation; either version 2
+%% of the License, or (at your option) any later version.
+
+%% This program is distributed in the hope that it will be useful,
+%% but WITHOUT ANY WARRANTY; without even the implied warranty of
+%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+%% GNU General Public License for more details.
+
+%% You should have received a copy of the GNU General Public License
+%% along with this program; if not, write to the Free Software
+%% Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+%% Public LaTeX Project Public
+%%
+%% --------------------------------------------------
+%%
+%% These file defined common font families, which can used
+%% with the main family.
+%%
+%% N.B.: These fonts must be correctly installed on your system.
+%%
+
+\ProvidesFile{mdsffont.def}
+[2013/08/29 v2.31 (Math Design Project)]
+
+%% ----------------------------------------------------------------
+%% Adobe Helvetica
+%% ----------------------------------------------------------------
+
+\def\MD@font@name{phv}
+
+\DeclareFontFamily{OT1}{\MD@font@name}{}
+\DeclareFontShape{OT1}{\MD@font@name}{m}{n}{
+ <-> s*[\phv@ratio] phvr7t
+}{}
+\DeclareFontShape{OT1}{\MD@font@name}{m}{sc}{
+ <-> s*[\phv@ratio] phvrc7t
+}{}
+\DeclareFontShape{OT1}{\MD@font@name}{m}{sl}{
+ <-> s*[\phv@ratio] phvro7t
+}{}
+\DeclareFontShape{OT1}{\MD@font@name}{mc}{n}{
+ <-> s*[\phv@ratio] phvr7tn
+}{}
+\DeclareFontShape{OT1}{\MD@font@name}{mc}{sc}{
+ <-> s*[\phv@ratio] phvrc7tn
+}{}
+\DeclareFontShape{OT1}{\MD@font@name}{mc}{sl}{
+ <-> s*[\phv@ratio] phvro7tn
+}{}
+\DeclareFontShape{OT1}{\MD@font@name}{b}{n}{
+ <-> s*[\phv@ratio] phvb7t
+}{}
+\DeclareFontShape{OT1}{\MD@font@name}{b}{sc}{
+ <-> s*[\phv@ratio] phvbc7t
+}{}
+\DeclareFontShape{OT1}{\MD@font@name}{b}{sl}{
+ <-> s*[\phv@ratio] phvbo7t
+}{}
+\DeclareFontShape{OT1}{\MD@font@name}{bc}{n}{
+ <-> s*[\phv@ratio] phvb7tn
+}{}
+\DeclareFontShape{OT1}{\MD@font@name}{bc}{sc}{
+ <-> s*[\phv@ratio] phvbc7tn
+}{}
+\DeclareFontShape{OT1}{\MD@font@name}{bc}{sl}{
+ <-> s*[\phv@ratio] phvbo7tn
+}{}
+\DeclareFontShape{OT1}{\MD@font@name}{m}{it}{<->ssub * \MD@font@name/m/sl}{}
+\DeclareFontShape{OT1}{\MD@font@name}{mc}{it}{<->ssub * \MD@font@name/mc/sl}{}
+\DeclareFontShape{OT1}{\MD@font@name}{bx}{n}{<->ssub * \MD@font@name/b/n}{}
+\DeclareFontShape{OT1}{\MD@font@name}{bx}{sc}{<->ssub * \MD@font@name/b/sc}{}
+\DeclareFontShape{OT1}{\MD@font@name}{bx}{sl}{<->ssub * \MD@font@name/b/sl}{}
+\DeclareFontShape{OT1}{\MD@font@name}{b}{it}{<->ssub * \MD@font@name/b/sl}{}
+\DeclareFontShape{OT1}{\MD@font@name}{bx}{it}{<->ssub * \MD@font@name/b/it}{}
+\DeclareFontShape{OT1}{\MD@font@name}{bc}{it}{<->ssub * \MD@font@name/bc/sl}{}
+\DeclareFontShape{OT1}{\MD@font@name}{m}{ui}{<->ssub * \MD@font@name/m/it}{}
+\DeclareFontShape{OT1}{\MD@font@name}{b}{ui}{<->ssub * \MD@font@name/b/it}{}
+\DeclareFontShape{OT1}{\MD@font@name}{bx}{ui}{<->ssub * \MD@font@name/b/it}{}
+
+\DeclareFontFamily{T1}{\MD@font@name}{}
+\DeclareFontShape{T1}{\MD@font@name}{m}{n}{
+ <-> s*[\phv@ratio] phvr8t
+}{}
+\DeclareFontShape{T1}{\MD@font@name}{m}{sc}{
+ <-> s*[\phv@ratio] phvrc8t
+}{}
+\DeclareFontShape{T1}{\MD@font@name}{m}{sl}{
+ <-> s*[\phv@ratio] phvro8t
+}{}
+\DeclareFontShape{T1}{\MD@font@name}{mc}{n}{
+ <-> s*[\phv@ratio] phvr8tn
+}{}
+\DeclareFontShape{T1}{\MD@font@name}{mc}{sc}{
+ <-> s*[\phv@ratio] phvrc8tn
+}{}
+\DeclareFontShape{T1}{\MD@font@name}{mc}{sl}{
+ <-> s*[\phv@ratio] phvro8tn
+}{}
+\DeclareFontShape{T1}{\MD@font@name}{b}{n}{
+ <-> s*[\phv@ratio] phvb8t
+}{}
+\DeclareFontShape{T1}{\MD@font@name}{b}{sc}{
+ <-> s*[\phv@ratio] phvbc8t
+}{}
+\DeclareFontShape{T1}{\MD@font@name}{b}{sl}{
+ <-> s*[\phv@ratio] phvbo8t
+}{}
+\DeclareFontShape{T1}{\MD@font@name}{bc}{n}{
+ <-> s*[\phv@ratio] phvb8tn
+}{}
+\DeclareFontShape{T1}{\MD@font@name}{bc}{sc}{
+ <-> s*[\phv@ratio] phvbc8tn
+}{}
+\DeclareFontShape{T1}{\MD@font@name}{bc}{sl}{
+ <-> s*[\phv@ratio] phvbo8tn
+}{}
+\DeclareFontShape{T1}{\MD@font@name}{m}{it}{<->ssub * \MD@font@name/m/sl}{}
+\DeclareFontShape{T1}{\MD@font@name}{mc}{it}{<->ssub * \MD@font@name/mc/sl}{}
+\DeclareFontShape{T1}{\MD@font@name}{bx}{n}{<->ssub * \MD@font@name/b/n}{}
+\DeclareFontShape{T1}{\MD@font@name}{bx}{sc}{<->ssub * \MD@font@name/b/sc}{}
+\DeclareFontShape{T1}{\MD@font@name}{bx}{sl}{<->ssub * \MD@font@name/b/sl}{}
+\DeclareFontShape{T1}{\MD@font@name}{bx}{it}{<->ssub * \MD@font@name/b/it}{}
+\DeclareFontShape{T1}{\MD@font@name}{mb}{n}{<->ssub * \MD@font@name/b/n}{}
+\DeclareFontShape{T1}{\MD@font@name}{mb}{sc}{<->ssub * \MD@font@name/b/sc}{}
+\DeclareFontShape{T1}{\MD@font@name}{mb}{sl}{<->ssub * \MD@font@name/b/sl}{}
+\DeclareFontShape{T1}{\MD@font@name}{mb}{it}{<->ssub * \MD@font@name/b/it}{}
+\DeclareFontShape{T1}{\MD@font@name}{b}{it}{<->ssub * \MD@font@name/b/sl}{}
+\DeclareFontShape{T1}{\MD@font@name}{bc}{it}{<->ssub * \MD@font@name/bc/sl}{}
+
+%% ----------------------------------------------------------------
+%% URW Gothic
+%% ----------------------------------------------------------------
+
+\def\MD@font@name{uag}
+
+\DeclareFontFamily{OT1}{\MD@font@name}{}
+\DeclareFontShape{OT1}{\MD@font@name}{m}{n}{
+ <-> s*[\uag@ratio] uagr7t
+ <-> s*[\uag@ratio] uagk7t
+}{}
+\DeclareFontShape{OT1}{\MD@font@name}{m}{sc}{
+ <-> s*[\uag@ratio] uagrc7t
+ <-> s*[\uag@ratio] uagkc7t
+}{}
+\DeclareFontShape{OT1}{\MD@font@name}{m}{sl}{
+ <-> s*[\uag@ratio] uagro7t
+ <-> s*[\uag@ratio] uagko7t
+}{}
+\DeclareFontShape{OT1}{\MD@font@name}{m}{it}{
+ <-> s*[\uag@ratio] uagri7t
+}{}
+\DeclareFontShape{OT1}{\MD@font@name}{b}{n}{
+ <-> s*[\uag@ratio] uagb7t
+}{}
+\DeclareFontShape{OT1}{\MD@font@name}{b}{sc}{
+ <-> s*[\uag@ratio] uagbc7t
+}{}
+\DeclareFontShape{OT1}{\MD@font@name}{b}{sl}{
+ <-> s*[\uag@ratio] uagbo7t
+}{}
+\DeclareFontShape{OT1}{\MD@font@name}{b}{it}{
+ <-> s*[\uag@ratio] uagbi7t
+}{}
+\DeclareFontShape{OT1}{\MD@font@name}{db}{n}{
+ <-> s*[\uag@ratio] uagd7t
+}{}
+\DeclareFontShape{OT1}{\MD@font@name}{db}{sc}{
+ <-> s*[\uag@ratio] uagdc7t
+}{}
+\DeclareFontShape{OT1}{\MD@font@name}{db}{sl}{
+ <-> s*[\uag@ratio] uagdo7t
+}{}
+\DeclareFontShape{OT1}{\MD@font@name}{bx}{n}{<-> ssub * \MD@font@name/b/n}{}
+\DeclareFontShape{OT1}{\MD@font@name}{bx}{sc}{<-> ssub * \MD@font@name/b/sc}{}
+\DeclareFontShape{OT1}{\MD@font@name}{bx}{sl}{<-> ssub * \MD@font@name/b/sl}{}
+\DeclareFontShape{OT1}{\MD@font@name}{bx}{it}{<-> ssub * \MD@font@name/b/it}{}
+\DeclareFontShape{OT1}{\MD@font@name}{db}{it}{<-> ssub * \MD@font@name/db/sl}{}
+\DeclareFontShape{OT1}{\MD@font@name}{m}{ui}{<-> ssub * \MD@font@name/m/it}{}
+\DeclareFontShape{OT1}{\MD@font@name}{b}{ui}{<-> ssub * \MD@font@name/b/it}{}
+%% ----------------------------------------------------------------
+\DeclareFontFamily{T1}{\MD@font@name}{}
+\DeclareFontShape{T1}{\MD@font@name}{m}{n}{
+ % <-> s*[\uag@ratio] uagr8t
+ <-> s*[\uag@ratio] uagk8t
+}{}
+\DeclareFontShape{T1}{\MD@font@name}{m}{sc}{
+ <-> s*[\uag@ratio] uagrc8t
+ <-> s*[\uag@ratio] uagkc8t
+}{}
+\DeclareFontShape{T1}{\MD@font@name}{m}{sl}{
+ <-> s*[\uag@ratio] uagro8t
+ <-> s*[\uag@ratio] uagko8t
+}{}
+\DeclareFontShape{T1}{\MD@font@name}{m}{it}{
+ <-> s*[\uag@ratio] uagri8t
+}{}
+\DeclareFontShape{T1}{\MD@font@name}{b}{n}{
+ <-> s*[\uag@ratio] uagb8t
+}{}
+\DeclareFontShape{T1}{\MD@font@name}{b}{sc}{
+ <-> s*[\uag@ratio] uagbc8t
+}{}
+\DeclareFontShape{T1}{\MD@font@name}{b}{sl}{
+ <-> s*[\uag@ratio] uagbo8t
+}{}
+\DeclareFontShape{T1}{\MD@font@name}{b}{it}{
+ <-> s*[\uag@ratio] uagbi8t
+}{}
+\DeclareFontShape{T1}{\MD@font@name}{db}{n}{
+ <-> s*[\uag@ratio] uagd8t
+}{}
+\DeclareFontShape{T1}{\MD@font@name}{db}{sc}{
+ <-> s*[\uag@ratio] uagdc8t
+}{}
+\DeclareFontShape{T1}{\MD@font@name}{db}{sl}{
+ <-> s*[\uag@ratio] uagdo8t
+}{}
+\DeclareFontShape{T1}{\MD@font@name}{bx}{n}{<-> ssub * \MD@font@name/b/n}{}
+\DeclareFontShape{T1}{\MD@font@name}{bx}{sc}{<-> ssub * \MD@font@name/b/sc}{}
+\DeclareFontShape{T1}{\MD@font@name}{bx}{sl}{<-> ssub * \MD@font@name/b/sl}{}
+\DeclareFontShape{T1}{\MD@font@name}{bx}{it}{<-> ssub * \MD@font@name/b/it}{}
+\DeclareFontShape{T1}{\MD@font@name}{mb}{n}{<-> ssub * \MD@font@name/b/n}{}
+\DeclareFontShape{T1}{\MD@font@name}{mb}{sc}{<-> ssub * \MD@font@name/b/sc}{}
+\DeclareFontShape{T1}{\MD@font@name}{mb}{sl}{<-> ssub * \MD@font@name/b/sl}{}
+\DeclareFontShape{T1}{\MD@font@name}{mb}{it}{<-> ssub * \MD@font@name/b/it}{}
+\DeclareFontShape{T1}{\MD@font@name}{db}{it}{<-> ssub * \MD@font@name/db/sl}{}
+
+%% ----------------------------------------------------------------
+%% URW Helvetica
+%% ----------------------------------------------------------------
+
+\def\MD@font@name{uhv}
+
+\DeclareFontFamily{OT1}{\MD@font@name}{}
+\DeclareFontShape{OT1}{\MD@font@name}{m}{n}{
+ <-> s*[\uhv@ratio] uhvr7t
+}{}
+\DeclareFontShape{OT1}{\MD@font@name}{m}{sc}{
+ <-> s*[\uhv@ratio] uhvrc7t
+}{}
+\DeclareFontShape{OT1}{\MD@font@name}{m}{sl}{
+ <-> s*[\uhv@ratio] uhvro7t
+}{}
+\DeclareFontShape{OT1}{\MD@font@name}{m}{it}{
+ <-> s*[\uhv@ratio] uhvri7t
+}{}
+\DeclareFontShape{OT1}{\MD@font@name}{mc}{n}{
+ <-> s*[\uhv@ratio] uhvr7tn
+}{}
+\DeclareFontShape{OT1}{\MD@font@name}{mc}{sc}{
+ <-> s*[\uhv@ratio] uhvrc7tn
+}{}
+\DeclareFontShape{OT1}{\MD@font@name}{mc}{sl}{
+ <-> s*[\uhv@ratio] uhvro7tn
+}{}
+\DeclareFontShape{OT1}{\MD@font@name}{mc}{it}{
+ <-> s*[\uhv@ratio] uhvri7tn
+}{}
+\DeclareFontShape{OT1}{\MD@font@name}{b}{n}{
+ <-> s*[\uhv@ratio] uhvb7t
+}{}
+\DeclareFontShape{OT1}{\MD@font@name}{b}{sc}{
+ <-> s*[\uhv@ratio] uhvbc7t
+}{}
+\DeclareFontShape{OT1}{\MD@font@name}{b}{sl}{
+ <-> s*[\uhv@ratio] uhvbo7t
+}{}
+\DeclareFontShape{OT1}{\MD@font@name}{b}{it}{
+ <-> s*[\uhv@ratio] uhvbi7t
+}{}
+\DeclareFontShape{OT1}{\MD@font@name}{bc}{n}{
+ <-> s*[\uhv@ratio] uhvb7tn
+}{}
+\DeclareFontShape{OT1}{\MD@font@name}{bc}{sc}{
+ <-> s*[\uhv@ratio] uhvbc7tn
+}{}
+\DeclareFontShape{OT1}{\MD@font@name}{bc}{sl}{
+ <-> s*[\uhv@ratio] uhvbo7tn
+}{}
+\DeclareFontShape{OT1}{\MD@font@name}{bx}{n}{<-> ssub * \MD@font@name/b/n}{}
+\DeclareFontShape{OT1}{\MD@font@name}{bx}{sc}{<-> ssub * \MD@font@name/b/sc}{}
+\DeclareFontShape{OT1}{\MD@font@name}{bx}{sl}{<-> ssub * \MD@font@name/b/sl}{}
+\DeclareFontShape{OT1}{\MD@font@name}{bx}{it}{<-> ssub * \MD@font@name/b/it}{}
+\DeclareFontShape{OT1}{\MD@font@name}{bc}{it}{<-> ssub * \MD@font@name/bc/sl}{}
+\DeclareFontShape{OT1}{\MD@font@name}{m}{ui}{<-> ssub * \MD@font@name/m/it}{}
+\DeclareFontShape{OT1}{\MD@font@name}{b}{ui}{<-> ssub * \MD@font@name/b/it}{}
+%% ----------------------------------------------------------------
+\DeclareFontFamily{T1}{\MD@font@name}{}
+\DeclareFontShape{T1}{\MD@font@name}{m}{n}{
+ <-> s*[\uhv@ratio] uhvr8t
+}{}
+\DeclareFontShape{T1}{\MD@font@name}{m}{sc}{
+ <-> s*[\uhv@ratio] uhvrc8t
+}{}
+\DeclareFontShape{T1}{\MD@font@name}{m}{sl}{
+ <-> s*[\uhv@ratio] uhvro8t
+}{}
+\DeclareFontShape{T1}{\MD@font@name}{m}{it}{
+ <-> s*[\uhv@ratio] uhvri8t
+}{}
+\DeclareFontShape{T1}{\MD@font@name}{mc}{n}{
+ <-> s*[\uhv@ratio] uhvr8tn
+}{}
+\DeclareFontShape{T1}{\MD@font@name}{mc}{sc}{
+ <-> s*[\uhv@ratio] uhvrc8tn
+}{}
+\DeclareFontShape{T1}{\MD@font@name}{mc}{sl}{
+ <-> s*[\uhv@ratio] uhvro8tn
+}{}
+\DeclareFontShape{T1}{\MD@font@name}{mc}{it}{
+ <-> s*[\uhv@ratio] uhvri8tn
+}{}
+\DeclareFontShape{T1}{\MD@font@name}{b}{n}{
+ <-> s*[\uhv@ratio] uhvb8t
+}{}
+\DeclareFontShape{T1}{\MD@font@name}{b}{sc}{
+ <-> s*[\uhv@ratio] uhvbc8t
+}{}
+\DeclareFontShape{T1}{\MD@font@name}{b}{sl}{
+ <-> s*[\uhv@ratio] uhvbo8t
+}{}
+\DeclareFontShape{T1}{\MD@font@name}{b}{it}{
+ <-> s*[\uhv@ratio] uhvbi8t
+}{}
+\DeclareFontShape{T1}{\MD@font@name}{bc}{n}{
+ <-> s*[\uhv@ratio] uhvb8tn
+}{}
+\DeclareFontShape{T1}{\MD@font@name}{bc}{sc}{
+ <-> s*[\uhv@ratio] uhvbc8tn
+}{}
+\DeclareFontShape{T1}{\MD@font@name}{bc}{sl}{
+ <-> s*[\uhv@ratio] uhvbo8tn
+}{}
+\DeclareFontShape{T1}{\MD@font@name}{bx}{n}{<-> ssub * \MD@font@name/b/n}{}
+\DeclareFontShape{T1}{\MD@font@name}{bx}{sc}{<-> ssub * \MD@font@name/b/sc}{}
+\DeclareFontShape{T1}{\MD@font@name}{bx}{sl}{<-> ssub * \MD@font@name/b/sl}{}
+\DeclareFontShape{T1}{\MD@font@name}{bx}{it}{<-> ssub * \MD@font@name/b/it}{}
+\DeclareFontShape{T1}{\MD@font@name}{bc}{it}{<-> ssub * \MD@font@name/bc/sl}{}
+
+%% ----------------------------------------------------------------
+%% Computer Modern Sans
+%% ----------------------------------------------------------------
+\def\MD@font@name{cmss}
+
+ \DeclareFontFamily{OT1}{\MD@font@name}{\hyphenchar\font45 }
+ \DeclareFontShape{OT1}{\MD@font@name}{m}{n}
+ {%
+ <5><6><7><8> s*[\cmss@ratio] cmss8%
+ <9> s*[\cmss@ratio] cmss9%
+ <10><10.95> s*[\cmss@ratio] cmss10%
+ <12><14.4> s*[\cmss@ratio] cmss12%
+ <17.28><20.74><24.88> s*[\cmss@ratio] cmss17%
+ }{}
+\DeclareFontShape{OT1}{\MD@font@name}{m}{it}
+ {<-> ssub*[\cmss@ratio] cmss/m/sl}{}
+\DeclareFontShape{OT1}{\MD@font@name}{m}{sl}
+ {%
+ <5><6><7><8> s*[\cmss@ratio] cmssi8<9> s*[\cmss@ratio] cmssi9%
+ <10><10.95> s*[\cmss@ratio] cmssi10%
+ <12><14.4> s*[\cmss@ratio] cmssi12%
+ <17.28><20.74><24.88> s*[\cmss@ratio] cmssi17%
+ }{}
+\DeclareFontShape{OT1}{\MD@font@name}{m}{sc}
+ {<-> ssub*[\cmss@ratio] cmr/m/sc}{}
+\DeclareFontShape{OT1}{\MD@font@name}{m}{ui}
+ {<-> ssub*[\cmss@ratio] cmr/m/ui}{}
+\DeclareFontShape{OT1}{\MD@font@name}{sbc}{n}
+ {%
+ <5><6><7><8><9> s*[\cmss@ratio] cmssdc10%
+ <10><10.95><12><14.4><17.28><20.74><24.88> s*[\cmss@ratio] cmssdc10%
+ }{}
+\DeclareFontShape{OT1}{\MD@font@name}{bx}{n}
+ {%
+ <5><6><7><8><9> s*[\cmss@ratio] cmssbx10%
+ <10><10.95><12><14.4><17.28><20.74><24.88> s*[\cmss@ratio] cmssbx10%
+ }{}
+\DeclareFontShape{OT1}{\MD@font@name}{bx}{ui}
+ {<-> ssub*[\cmss@ratio] cmr/bx/ui}{}
+%% ----------------------------------------------------------------
+\DeclareFontFamily{T1}{\MD@font@name}{}
+\DeclareFontShape{T1}{\MD@font@name}{m}{n}{<5><6><7><8><9><10><10.95><12><14.4>%
+ <17.28><20.74><24.88><29.86><35.83>sgenb*[\cmss@ratio] ecss}{}
+\DeclareFontShape{T1}{\MD@font@name}{m}{sl}{<5><6><7><8><9><10><10.95><12><14.4>%
+ <17.28><20.74><24.88><29.86><35.83>sgenb*[\cmss@ratio] ecsi}{}
+\DeclareFontShape{T1}{\MD@font@name}{m}{it}{<5><6><7><8><9><10><10.95><12><14.4>%
+ <17.28><20.74><24.88><29.86><35.83>sgenb*[\cmss@ratio] ecsi}{}
+\DeclareFontShape{T1}{\MD@font@name}{bx}{n}{<5><6><7><8><9><10><10.95><12><14.4>%
+ <17.28><20.74><24.88><29.86><35.83>sgenb*[\cmss@ratio] ecsx}{}
+\DeclareFontShape{T1}{\MD@font@name}{bx}{it}{<5><6><7><8><9><10><10.95><12><14.4>%
+ <17.28><20.74><24.88><29.86><35.83>sgenb*[\cmss@ratio] ecso}{}
+\DeclareFontShape{T1}{\MD@font@name}{bx}{sl}{<5><6><7><8><9><10><10.95><12><14.4>%
+ <17.28><20.74><24.88><29.86><35.83>sgenb*[\cmss@ratio] ecso}{}
+\DeclareFontShape{T1}{\MD@font@name}{m}{sc}%
+ {<-> ssub*[\cmss@ratio] cmr/m/sc}{}
+\DeclareFontShape{T1}{\MD@font@name}{sbc}{n}{%
+ <5><6><7><8><9><10><10.95><12><14.4><17.28>%
+ <20.74><24.88> s*[\cmss@ratio] ecssdc10
+ }{}
+\DeclareFontShape{T1}{\MD@font@name}{b}{n}{<-> ssub * \MD@font@name/bx/n}{}
+\DeclareFontShape{T1}{\MD@font@name}{b}{sc}{<-> ssub * \MD@font@name/bx/sc}{}
+\DeclareFontShape{T1}{\MD@font@name}{b}{sl}{<-> ssub * \MD@font@name/bx/sl}{}
+\DeclareFontShape{T1}{\MD@font@name}{b}{it}{<-> ssub * \MD@font@name/bx/it}{}
+
+%% -------------------------------------------------------------------
+%% Bera (aka Bistream Vera)
+%% -------------------------------------------------------------------
+
+ \def\MD@font@name{fve}
+
+\DeclareFontFamily{T1}{\MD@font@name}{}
+
+\DeclareFontShape{T1}{\MD@font@name}{m}{n}{
+ <-> s*[\fve@ratio] fver8t
+}{}
+
+\DeclareFontShape{T1}{\MD@font@name}{m}{sl}{
+ <-> s*[\fve@ratio] fvero8t
+}{}
+
+\DeclareFontShape{T1}{\MD@font@name}{b}{n}{
+ <-> s*[\fve@ratio] fveb8t
+}{}
+
+\DeclareFontShape{T1}{\MD@font@name}{b}{sl}{
+ <-> s*[\fve@ratio] fvebo8t
+}{}
+
+\DeclareFontShape{T1}{\MD@font@name}{m}{it}{<->ssub * \MD@font@name/m/sl}{}
+\DeclareFontShape{T1}{\MD@font@name}{bx}{n}{<->ssub * \MD@font@name/b/n}{}
+\DeclareFontShape{T1}{\MD@font@name}{bx}{sl}{<->ssub * \MD@font@name/b/sl}{}
+\DeclareFontShape{T1}{\MD@font@name}{b}{it}{<->ssub * \MD@font@name/b/sl}{}
+\DeclareFontShape{T1}{\MD@font@name}{bx}{it}{<->ssub * \MD@font@name/b/it}{}
+
+%% -------------------------------------------------------------------
+
+ \def\MD@font@name{fvs}
+
+\DeclareFontFamily{T1}{\MD@font@name}{}
+
+\DeclareFontShape{T1}{\MD@font@name}{b}{n}{
+ <-> s*[\fvs@ratio] fvsb8t
+}{}
+
+\DeclareFontShape{T1}{\MD@font@name}{b}{it}{
+ <-> s*[\fvs@ratio] fvsbo8t
+}{}
+
+\DeclareFontShape{T1}{\MD@font@name}{m}{n}{
+ <-> s*[\fvs@ratio] fvsr8t
+}{}
+
+\DeclareFontShape{T1}{\MD@font@name}{m}{it}{
+ <-> s*[\fvs@ratio] fvsro8t
+}{}
+
+\DeclareFontShape{T1}{\MD@font@name}{bx}{n}{<->ssub * \MD@font@name/b/n}{}
+\DeclareFontShape{T1}{\MD@font@name}{bx}{it}{<->ssub * \MD@font@name/b/it}{}
+\DeclareFontShape{T1}{\MD@font@name}{b}{sl}{<->ssub * \MD@font@name/b/it}{}
+\DeclareFontShape{T1}{\MD@font@name}{bx}{sl}{<->ssub * \MD@font@name/b/sl}{}
+\DeclareFontShape{T1}{\MD@font@name}{m}{sl}{<->ssub * \MD@font@name/m/it}{}
+
+%%\endinput
+%%
+%% End of file `mdfont.def'.
diff --git a/fonts/mathdesign/latex/mdttfont.def b/fonts/mathdesign/latex/mdttfont.def
new file mode 100644
index 0000000000..6be3734285
--- /dev/null
+++ b/fonts/mathdesign/latex/mdttfont.def
@@ -0,0 +1,244 @@
+%% This is file mdfont.def.
+%%
+%% Copyright 2003 Paul Pichaureau for the MathDesign Project
+%% All rights reserved.
+%%
+%% This file is part of the mathdesign package v2.31
+%% --------------------------------------------------
+%%
+%% This program is free software; you can redistribute it and/or
+%% modify it under the terms of the GNU General Public License
+%% as published by the Free Software Foundation; either version 2
+%% of the License, or (at your option) any later version.
+
+%% This program is distributed in the hope that it will be useful,
+%% but WITHOUT ANY WARRANTY; without even the implied warranty of
+%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+%% GNU General Public License for more details.
+
+%% You should have received a copy of the GNU General Public License
+%% along with this program; if not, write to the Free Software
+%% Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+%% Public LaTeX Project Public
+%%
+%% --------------------------------------------------
+%%
+%% These file defined common font families, which can used
+%% with the main family.
+%%
+%% N.B.: These fonts must be correctly installed on your system.
+%%
+
+\ProvidesFile{mdttfont.def}
+[2013/08/29 v2.31 (Math Design Project)]
+
+%% ----------------------------------------------------------------
+%% Adobe Courier
+%% ----------------------------------------------------------------
+
+\def\MD@font@name{pcr}
+\DeclareFontFamily{OT1}{\MD@font@name}{\hyphenchar \font\m@ne}
+\DeclareFontShape{OT1}{\MD@font@name}{m}{n}{
+ <-> s * [\pcr@ratio] pcrr7t
+}{}
+\DeclareFontShape{OT1}{\MD@font@name}{m}{sc}{
+ <-> s * [\pcr@ratio] pcrrc7t
+}{}
+\DeclareFontShape{OT1}{\MD@font@name}{m}{sl}{
+ <-> s * [\pcr@ratio] pcrro7t
+}{}
+\DeclareFontShape{OT1}{\MD@font@name}{b}{n}{
+ <-> s * [\pcr@ratio] pcrb7t
+}{}
+\DeclareFontShape{OT1}{\MD@font@name}{b}{sc}{
+ <-> s * [\pcr@ratio] pcrbc7t
+}{}
+\DeclareFontShape{OT1}{\MD@font@name}{b}{sl}{
+ <-> s * [\pcr@ratio] pcrbo7t
+}{}
+\DeclareFontShape{OT1}{\MD@font@name}{m}{it}{<-> ssub * \MD@font@name/m/sl}{}
+\DeclareFontShape{OT1}{\MD@font@name}{bx}{n}{<-> ssub * \MD@font@name/b/n}{}
+\DeclareFontShape{OT1}{\MD@font@name}{bx}{sc}{<-> ssub * \MD@font@name/b/sc}{}
+\DeclareFontShape{OT1}{\MD@font@name}{bx}{sl}{<-> ssub * \MD@font@name/b/sl}{}
+\DeclareFontShape{OT1}{\MD@font@name}{b}{it}{<-> ssub * \MD@font@name/b/sl}{}
+\DeclareFontShape{OT1}{\MD@font@name}{bx}{it}{<-> ssub * \MD@font@name/b/it}{}
+\DeclareFontShape{OT1}{\MD@font@name}{m}{ui}{<-> ssub * \MD@font@name/m/it}{}
+\DeclareFontShape{OT1}{\MD@font@name}{b}{ui}{<-> ssub * \MD@font@name/b/it}{}
+\DeclareFontShape{OT1}{\MD@font@name}{bx}{ui}{<-> ssub * \MD@font@name/b/it}{}
+%% ----------------------------------------------------------------
+
+\DeclareFontFamily{T1}{\MD@font@name}{\hyphenchar \font\m@ne}
+\DeclareFontShape{T1}{\MD@font@name}{m}{n}{
+ <-> s * [\pcr@ratio] pcrr8t
+}{}
+\DeclareFontShape{T1}{\MD@font@name}{m}{sc}{
+ <-> s * [\pcr@ratio] pcrrc8t
+}{}
+\DeclareFontShape{T1}{\MD@font@name}{m}{sl}{
+ <-> s * [\pcr@ratio] pcrro8t
+}{}
+\DeclareFontShape{T1}{\MD@font@name}{b}{n}{
+ <-> s * [\pcr@ratio] pcrb8t
+}{}
+\DeclareFontShape{T1}{\MD@font@name}{b}{sc}{
+ <-> s * [\pcr@ratio] pcrbc8t
+}{}
+\DeclareFontShape{T1}{\MD@font@name}{b}{sl}{
+ <-> s * [\pcr@ratio] pcrbo8t
+}{}
+\DeclareFontShape{T1}{\MD@font@name}{m}{it}{<-> ssub * \MD@font@name/m/sl}{}
+\DeclareFontShape{T1}{\MD@font@name}{bx}{n}{<-> ssub * \MD@font@name/b/n}{}
+\DeclareFontShape{T1}{\MD@font@name}{bx}{sc}{<-> ssub * \MD@font@name/b/sc}{}
+\DeclareFontShape{T1}{\MD@font@name}{bx}{sl}{<-> ssub * \MD@font@name/b/sl}{}
+\DeclareFontShape{T1}{\MD@font@name}{b}{it}{<-> ssub * \MD@font@name/b/sl}{}
+\DeclareFontShape{T1}{\MD@font@name}{bx}{it}{<-> ssub * \MD@font@name/b/it}{}
+
+%% ----------------------------------------------------------------
+%% URW Courier
+%% ----------------------------------------------------------------
+
+\def\MD@font@name{ucr}
+
+\DeclareFontFamily{OT1}{\MD@font@name}{}
+\DeclareFontShape{OT1}{\MD@font@name}{m}{n}{
+ <-> s * [\ucr@ratio] ucrr7t
+}{}
+\DeclareFontShape{OT1}{\MD@font@name}{m}{sc}{
+ <-> s * [\ucr@ratio] ucrrc7t
+}{}
+\DeclareFontShape{OT1}{\MD@font@name}{m}{sl}{
+ <-> s * [\ucr@ratio] ucrro7t
+}{}
+\DeclareFontShape{OT1}{\MD@font@name}{b}{n}{
+ <-> s * [\ucr@ratio] ucrb7t
+}{}
+\DeclareFontShape{OT1}{\MD@font@name}{b}{sc}{
+ <-> s * [\ucr@ratio] ucrbc7t
+}{}
+\DeclareFontShape{OT1}{\MD@font@name}{b}{sl}{
+ <-> s * [\ucr@ratio] ucrbo7t
+}{}
+\DeclareFontShape{OT1}{\MD@font@name}{m}{it}{<-> ssub * \MD@font@name/m/sl}{}
+\DeclareFontShape{OT1}{\MD@font@name}{bx}{n}{<-> ssub * \MD@font@name/b/n}{}
+\DeclareFontShape{OT1}{\MD@font@name}{bx}{sc}{<-> ssub * \MD@font@name/b/sc}{}
+\DeclareFontShape{OT1}{\MD@font@name}{bx}{sl}{<-> ssub * \MD@font@name/b/sl}{}
+\DeclareFontShape{OT1}{\MD@font@name}{b}{it}{<-> ssub * \MD@font@name/b/sl}{}
+\DeclareFontShape{OT1}{\MD@font@name}{bx}{it}{<-> ssub * \MD@font@name/b/it}{}
+\DeclareFontShape{OT1}{\MD@font@name}{m}{ui}{<-> ssub * \MD@font@name/m/it}{}
+\DeclareFontShape{OT1}{\MD@font@name}{b}{ui}{<-> ssub * \MD@font@name/b/it}{}
+%% ----------------------------------------------------------------
+\DeclareFontFamily{T1}{\MD@font@name}{}
+\DeclareFontShape{T1}{\MD@font@name}{m}{n}{
+ <-> s * [\ucr@ratio] ucrr8t
+}{}
+\DeclareFontShape{T1}{\MD@font@name}{m}{sc}{
+ <-> s * [\ucr@ratio] ucrrc8t
+}{}
+\DeclareFontShape{T1}{\MD@font@name}{m}{sl}{
+ <-> s * [\ucr@ratio] ucrro8t
+}{}
+\DeclareFontShape{T1}{\MD@font@name}{b}{n}{
+ <-> s * [\ucr@ratio] ucrb8t
+}{}
+\DeclareFontShape{T1}{\MD@font@name}{b}{sc}{
+ <-> s * [\ucr@ratio] ucrbc8t
+}{}
+\DeclareFontShape{T1}{\MD@font@name}{b}{sl}{
+ <-> s * [\ucr@ratio] ucrbo8t
+}{}
+\DeclareFontShape{T1}{\MD@font@name}{m}{it}{<-> ssub * \MD@font@name/m/sl}{}
+\DeclareFontShape{T1}{\MD@font@name}{bx}{n}{<-> ssub * \MD@font@name/b/n}{}
+\DeclareFontShape{T1}{\MD@font@name}{bx}{sc}{<-> ssub * \MD@font@name/b/sc}{}
+\DeclareFontShape{T1}{\MD@font@name}{bx}{sl}{<-> ssub * \MD@font@name/b/sl}{}
+\DeclareFontShape{T1}{\MD@font@name}{b}{it}{<-> ssub * \MD@font@name/b/sl}{}
+\DeclareFontShape{T1}{\MD@font@name}{bx}{it}{<-> ssub * \MD@font@name/b/it}{}
+
+%% ----------------------------------------------------------------
+%% Computer Modern Typewriter
+%% ----------------------------------------------------------------
+ \def\MD@font@name{cmtt}
+ \DeclareFontFamily{OT1}{\MD@font@name}{\hyphenchar \font\m@ne}
+ \DeclareFontShape{OT1}{\MD@font@name}{m}{n}
+ {%
+ <5><6><7><8> s * [\cmtt@ratio] cmtt8<9> s * [\cmtt@ratio] cmtt9%
+ <10><10.95> s * [\cmtt@ratio] cmtt10%
+ <12><14.4><17.28><20.74><24.88> s * [\cmtt@ratio] cmtt12%
+ }{}
+ \DeclareFontShape{OT1}{\MD@font@name}{m}{it}
+ {%
+ <5><6><7><8><9>%
+ <10><10.95><12><14.4><17.28><20.74><24.88> s * [\cmtt@ratio]cmitt10%
+ }{}
+ \DeclareFontShape{OT1}{cmtt}{m}{sl}
+ {%
+ <5><6><7><8><9>%
+ <10><10.95><12><14.4><17.28><20.74><24.88> s * [\cmtt@ratio]cmsltt10%
+ }{}
+ \DeclareFontShape{OT1}{cmtt}{m}{sc}
+ {%
+ <5><6><7><8><9>%
+ <10><10.95><12><14.4><17.28><20.74><24.88> s * [\cmtt@ratio]cmtcsc10%
+ }{}
+ \DeclareFontShape{OT1}{\MD@font@name}{m}{ui}
+ {<-> ssub*[\cmtt@ratio]cmtt/m/it}{}
+ \DeclareFontShape{OT1}{\MD@font@name}{bx}{n}
+ {<-> ssub*[\cmtt@ratio]cmtt/m/n}{}
+ \DeclareFontShape{OT1}{\MD@font@name}{bx}{it}
+ {<-> ssub*[\cmtt@ratio]cmtt/m/it}{}
+ \DeclareFontShape{OT1}{\MD@font@name}{bx}{ui}
+ {<-> ssub*[\cmtt@ratio]cmtt/m/it}{}
+%% ----------------------------------------------------------------
+ \DeclareFontFamily{T1}{\MD@font@name}{\hyphenchar \font\m@ne}
+\DeclareFontShape{T1}{\MD@font@name}{m}{n}{<5><6><7><8> s * [\cmtt@ratio]ectt0800%
+ <9><10><10.95><12><14.4><17.28><20.74><24.88><29.86>%
+ <35.83>sgenb*[\cmtt@ratio]ectt}{}
+\DeclareFontShape{T1}{\MD@font@name}{m}{sl}{<5><6><7><8> s * [\cmtt@ratio]ectt0800%
+ <9><10><10.95><12><14.4><17.28><20.74><24.88><29.86>%
+ <35.83>sgenb*[\cmtt@ratio]ectt}{}
+\DeclareFontShape{T1}{\MD@font@name}{m}{it}{<5><6><7><8> s * [\cmtt@ratio]ectt0800%
+ <9><10><10.95><12><14.4><17.28><20.74><24.88><29.86>%
+ <35.83>sgenb*[\cmtt@ratio]ectt}{}
+\DeclareFontShape{T1}{\MD@font@name}{m}{sc}{<5><6><7><8> s * [\cmtt@ratio]ectt0800%
+ <9><10><10.95><12><14.4><17.28><20.74><24.88><29.86>%
+ <35.83>sgenb*[\cmtt@ratio]ectc}{}
+\DeclareFontShape{T1}{\MD@font@name}{bx}{n}%
+ {<-> ssub*[\cmtt@ratio]cmtt/m/n}{}
+\DeclareFontShape{T1}{\MD@font@name}{bx}{it}%
+ {<-> ssub*[\cmtt@ratio]cmtt/m/it}{}
+\DeclareFontShape{T1}{\MD@font@name}{b}{n}{<-> ssub * \MD@font@name/bx/n}{}
+\DeclareFontShape{T1}{\MD@font@name}{b}{sc}{<-> ssub * \MD@font@name/bx/sc}{}
+\DeclareFontShape{T1}{\MD@font@name}{b}{sl}{<-> ssub * \MD@font@name/bx/sl}{}
+\DeclareFontShape{T1}{\MD@font@name}{b}{it}{<-> ssub * \MD@font@name/bx/it}{}
+
+%% -------------------------------------------------------------------
+%% Bera (aka Bistream Vera)
+%% -------------------------------------------------------------------
+
+ \def\MD@font@name{fvm}
+
+\DeclareFontFamily{T1}{\MD@font@name}{\hyphenchar \font -1}
+
+\DeclareFontShape{T1}{\MD@font@name}{m}{n}{
+ <-> s * [\fvm@ratio] fvmr8t
+}{}
+
+\DeclareFontShape{T1}{\MD@font@name}{m}{sl}{
+ <-> s * [\fvm@ratio] fvmro8t
+}{}
+
+\DeclareFontShape{T1}{\MD@font@name}{b}{n}{
+ <-> s * [\fvm@ratio] fvmb8t
+}{}
+
+\DeclareFontShape{T1}{\MD@font@name}{b}{sl}{
+ <-> s * [\fvm@ratio] fvmbo8t
+}{}
+
+\DeclareFontShape{T1}{\MD@font@name}{m}{it}{<->ssub * \MD@font@name/m/sl}{}
+\DeclareFontShape{T1}{\MD@font@name}{bx}{n}{<->ssub * \MD@font@name/b/n}{}
+\DeclareFontShape{T1}{\MD@font@name}{bx}{sl}{<->ssub * \MD@font@name/b/sl}{}
+\DeclareFontShape{T1}{\MD@font@name}{b}{it}{<->ssub * \MD@font@name/b/sl}{}
+\DeclareFontShape{T1}{\MD@font@name}{bx}{it}{<->ssub * \MD@font@name/b/it}{}
+
+%%
+%% End of file `mdfont.def'.
diff --git a/fonts/mathdesign/latex/omlmdgrb.fd b/fonts/mathdesign/latex/omlmdgrb.fd
new file mode 100644
index 0000000000..01f5bcbfc7
--- /dev/null
+++ b/fonts/mathdesign/latex/omlmdgrb.fd
@@ -0,0 +1,13 @@
+%Filename: omlmdgrb.fd
+%Created by: tex installgreek
+%Created using fontinst v1.933
+
+%THIS FILE SHOULD BE PUT IN A TEX INPUTS DIRECTORY
+
+\ProvidesFile{omlmdgrb.fd}
+ [2013/06/29 Fontinst v1.933 font definitions for OML/mdgrb.]
+
+\DeclareFontFamily{OML}{mdgrb}{\skewchar \font =127}
+
+
+\endinput
diff --git a/fonts/mathdesign/latex/omlmdgrbc.fd b/fonts/mathdesign/latex/omlmdgrbc.fd
new file mode 100644
index 0000000000..35f4c877ae
--- /dev/null
+++ b/fonts/mathdesign/latex/omlmdgrbc.fd
@@ -0,0 +1,34 @@
+%Filename: omlmdgrbc.fd
+%Created by: tex installgreek
+%Created using fontinst v1.933
+
+%THIS FILE SHOULD BE PUT IN A TEX INPUTS DIRECTORY
+
+\ProvidesFile{omlmdgrbc.fd}
+ [2013/06/29 Fontinst v1.933 font definitions for OML/mdgrbC.]
+
+\DeclareFontFamily{OML}{mdgrbC}{}
+
+\DeclareFontShape{OML}{mdgrbC}{m}{n}{
+ <-> s*[\MDscale] s*[\MDscale] s*[\MDscale] s*[\MDscale] s*[\MDscale] s*[\MDscale] mdgrbCr7m
+}{}
+
+\DeclareFontShape{OML}{mdgrbC}{m}{it}{
+ <-> s*[\MDscale] s*[\MDscale] s*[\MDscale] s*[\MDscale] s*[\MDscale] s*[\MDscale] mdgrbCri7m
+}{}
+
+\DeclareFontShape{OML}{mdgrbC}{b}{n}{
+ <-> s*[\MDscale] s*[\MDscale] s*[\MDscale] s*[\MDscale] s*[\MDscale] s*[\MDscale] mdgrbCb7m
+}{}
+
+\DeclareFontShape{OML}{mdgrbC}{b}{it}{
+ <-> s*[\MDscale] s*[\MDscale] s*[\MDscale] s*[\MDscale] s*[\MDscale] s*[\MDscale] mdgrbCbi7m
+}{}
+
+\DeclareFontShape{OML}{mdgrbC}{m}{sl}{<->ssub * mdgrbC/m/it}{}
+\DeclareFontShape{OML}{mdgrbC}{bx}{n}{<->ssub * mdgrbC/b/n}{}
+\DeclareFontShape{OML}{mdgrbC}{bx}{it}{<->ssub * mdgrbC/b/it}{}
+\DeclareFontShape{OML}{mdgrbC}{b}{sl}{<->ssub * mdgrbC/b/it}{}
+\DeclareFontShape{OML}{mdgrbC}{bx}{sl}{<->ssub * mdgrbC/b/sl}{}
+
+\endinput
diff --git a/fonts/mathdesign/latex/omlmdgrd.fd b/fonts/mathdesign/latex/omlmdgrd.fd
new file mode 100644
index 0000000000..03647f623d
--- /dev/null
+++ b/fonts/mathdesign/latex/omlmdgrd.fd
@@ -0,0 +1,34 @@
+%Filename: omlmdgrd.fd
+%Created by: tex installgreek
+%Created using fontinst v1.933
+
+%THIS FILE SHOULD BE PUT IN A TEX INPUTS DIRECTORY
+
+\ProvidesFile{omlmdgrd.fd}
+ [2013/06/29 Fontinst v1.933 font definitions for OML/mdgrd.]
+
+\DeclareFontFamily{OML}{mdgrd}{\skewchar \font =127}
+
+\DeclareFontShape{OML}{mdgrd}{m}{n}{
+ <-> s*[\MDscale] s*[\MDscale] s*[\MDscale] s*[\MDscale] s*[\MDscale] s*[\MDscale] mdgrdr7m
+}{}
+
+\DeclareFontShape{OML}{mdgrd}{m}{it}{
+ <-> s*[\MDscale] s*[\MDscale] s*[\MDscale] s*[\MDscale] s*[\MDscale] s*[\MDscale] mdgrdri7m
+}{}
+
+\DeclareFontShape{OML}{mdgrd}{b}{n}{
+ <-> s*[\MDscale] s*[\MDscale] s*[\MDscale] s*[\MDscale] s*[\MDscale] s*[\MDscale] mdgrdb7m
+}{}
+
+\DeclareFontShape{OML}{mdgrd}{b}{it}{
+ <-> s*[\MDscale] s*[\MDscale] s*[\MDscale] s*[\MDscale] s*[\MDscale] s*[\MDscale] mdgrdbi7m
+}{}
+
+\DeclareFontShape{OML}{mdgrd}{m}{sl}{<->ssub * mdgrd/m/it}{}
+\DeclareFontShape{OML}{mdgrd}{bx}{n}{<->ssub * mdgrd/b/n}{}
+\DeclareFontShape{OML}{mdgrd}{bx}{it}{<->ssub * mdgrd/b/it}{}
+\DeclareFontShape{OML}{mdgrd}{b}{sl}{<->ssub * mdgrd/b/it}{}
+\DeclareFontShape{OML}{mdgrd}{bx}{sl}{<->ssub * mdgrd/b/sl}{}
+
+\endinput
diff --git a/fonts/mathdesign/latex/omlmdgrdc.fd b/fonts/mathdesign/latex/omlmdgrdc.fd
new file mode 100644
index 0000000000..8d1a7cdc78
--- /dev/null
+++ b/fonts/mathdesign/latex/omlmdgrdc.fd
@@ -0,0 +1,34 @@
+%Filename: omlmdgrdc.fd
+%Created by: tex installgreek
+%Created using fontinst v1.933
+
+%THIS FILE SHOULD BE PUT IN A TEX INPUTS DIRECTORY
+
+\ProvidesFile{omlmdgrdc.fd}
+ [2013/06/29 Fontinst v1.933 font definitions for OML/mdgrdC.]
+
+\DeclareFontFamily{OML}{mdgrdC}{\skewchar \font =127}
+
+\DeclareFontShape{OML}{mdgrdC}{m}{n}{
+ <-> s*[\MDscale] s*[\MDscale] s*[\MDscale] s*[\MDscale] s*[\MDscale] s*[\MDscale] mdgrdrC7m
+}{}
+
+\DeclareFontShape{OML}{mdgrdC}{m}{it}{
+ <-> s*[\MDscale] s*[\MDscale] s*[\MDscale] s*[\MDscale] s*[\MDscale] s*[\MDscale] mdgrdCri7m
+}{}
+
+\DeclareFontShape{OML}{mdgrdC}{b}{n}{
+ <-> s*[\MDscale] s*[\MDscale] s*[\MDscale] s*[\MDscale] s*[\MDscale] s*[\MDscale] mdgrdCb7m
+}{}
+
+\DeclareFontShape{OML}{mdgrdC}{b}{it}{
+ <-> s*[\MDscale] s*[\MDscale] s*[\MDscale] s*[\MDscale] s*[\MDscale] s*[\MDscale] mdgrdCbi7m
+}{}
+
+\DeclareFontShape{OML}{mdgrdC}{m}{sl}{<->ssub * mdgrdC/m/it}{}
+\DeclareFontShape{OML}{mdgrdC}{bx}{n}{<->ssub * mdgrdC/b/n}{}
+\DeclareFontShape{OML}{mdgrdC}{bx}{it}{<->ssub * mdgrdC/b/it}{}
+\DeclareFontShape{OML}{mdgrdC}{b}{sl}{<->ssub * mdgrdC/b/it}{}
+\DeclareFontShape{OML}{mdgrdC}{bx}{sl}{<->ssub * mdgrdC/b/sl}{}
+
+\endinput