%%
%% This is file `mathastext.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% mathastext.dtx  (with options: `package')
%% This is a generated file.
%% 
%%     Copyright (C) 2011 by Jean-Francois Burnol
%% 
%%     Please report errors to jfbu (at) free.fr
%%     Many examples available here:
%%        http://jf.burnol.free.fr/mathastext.html
%% 
%%     This file may be distributed and/or modified under the
%%     conditions of the LaTeX Project Public License, either
%%     version 1.3 of this license or (at your option) any
%%     later version.  The latest version of this license is in
%%       http://www.latex-project.org/lppl.txt
%%     and version 1.3 or later is part of all distributions of
%%     LaTeX version 2003/12/01 or later.
%% 
%%     NO PERMISSION is granted to distribute a modified
%%     version of this file under its original name.
%% 
%%     The list of derived (unpacked) files belonging to the
%%     distribution and covered by LPPL is defined by the
%%     unpacking scripts (with extension .ins) which are part
%%     of the distribution.
%% 
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{mathastext}
         [2011/04/04 v1.14c Use the text font in simple mathematics]
\newif\ifXeTeX
\begingroup\expandafter\expandafter\expandafter\endgroup
\expandafter\ifx\csname XeTeXinterchartoks\endcsname\relax
  \XeTeXfalse
\else
  \XeTeXtrue
\fi
\newif\ifLuaTeX
\begingroup\expandafter\expandafter\expandafter\endgroup
\expandafter\ifx\csname directlua\endcsname\relax
  \LuaTeXfalse
\else
  \LuaTeXtrue
\fi
\def\mt@font@info@off{
\let\m@stext@info\@font@info
\let\m@stext@warning\@font@warning
\let\@font@info\@gobble
\let\@font@warning\@gobble}
\def\mt@font@info@on{
\let\@font@info\m@stext@info
\let\@font@warning\m@stext@warning}
\mt@font@info@off
  \def\m@t@enc{\encodingdefault}
  \def\m@t@fam{\familydefault}
  \def\m@t@ser{\seriesdefault}
  \def\m@t@opsh{\shapedefault}  %% will be default shape for operator names
  \def\m@t@bold{\bfdefault}
  \def\m@t@ltsh{\shapedefault}  %% will be default shape for letters
\newif\ifmt@proceed
\newif\ifmt@failed
\def\mt@oti{OT1}\def\mt@ti{T1}
\def\mt@eui{EU1}\def\mt@euii{EU2}
\def\mt@lyi{LY1}
\newif\ifmt@italic
    \DeclareOption{italic}{\mt@italictrue\def\m@t@ltsh{\itdefault}}
\newif\ifmt@frenchmath
    \DeclareOption{frenchmath}{\mt@frenchmathtrue\ExecuteOptions{italic}}
%%
\newif\ifmt@endash\mt@endashtrue
    \DeclareOption{endash}{\mt@endashtrue}
    \DeclareOption{noendash}{\mt@endashfalse}
\newif\ifmt@emdash
    \DeclareOption{emdash}{\mt@emdashtrue\mt@endashfalse}
%%
\newif\ifmt@alldelims
    \DeclareOption{alldelims}{\mt@alldelimstrue}
\edef\mt@tmp{\encodingdefault}\ifx\mt@oti\mt@tmp\else\mt@alldelimstrue\fi
    \DeclareOption{nolessnomore}{\mt@alldelimsfalse}
%%
\newif\ifmt@noplus
    \DeclareOption{noplus}{\mt@noplustrue}
\newif\ifmt@nominus
    \DeclareOption{nominus}{\mt@nominustrue}
\DeclareOption{noplusnominus}{\ExecuteOptions{noplus,nominus}}
%%
\newif\ifmt@noparen
    \DeclareOption{noparenthesis}{\mt@noparentrue}
\newif\ifmt@nopunct
    \DeclareOption{nopunctuation}{\mt@nopuncttrue}
\newif\ifmt@noequal
    \DeclareOption{noequal}{\mt@noequaltrue}
\newif\ifmt@noexclam
    \DeclareOption{noexclam}{\mt@noexclamtrue}
\newif\ifmt@noast
    \DeclareOption{noasterisk}{\mt@noasttrue}
\newif\ifmt@nospecials
    \DeclareOption{nospecials}{\mt@nospecialstrue}
\DeclareOption{basic}{\ExecuteOptions{noparenthesis,nopunctuation,%
noplusnominus,noequal,noexclam,noasterisk,nospecials,nolessnomore}}
%%
\newif\ifmt@nohbar
    \DeclareOption{nohbar}{\mt@nohbartrue}
\newif\ifmt@nodigits
    \DeclareOption{nodigits}{\mt@nodigitstrue}
\newif\ifmt@defaultimath
    \DeclareOption{defaultimath}{\mt@defaultimathtrue}
\newif\ifmt@mathaccents
    \DeclareOption{mathaccents}{\mt@mathaccentstrue}
%%
\newif\ifmt@needsymbol
\newif\ifmt@symboldelimiters
    \DeclareOption{symboldelimiters}{\mt@needsymboltrue\mt@symboldelimiterstrue}
\newif\ifmt@symboldigits
    \DeclareOption{symboldigits}{\mt@needsymboltrue\mt@symboldigitstrue}
\newif\ifmt@symbolgreek
    \DeclareOption{symbolgreek}{\mt@needsymboltrue\mt@symbolgreektrue}
\newif\ifmt@symbolre
    \DeclareOption{symbolre}{\mt@needsymboltrue\mt@symbolretrue}
\newif\ifmt@symbolmisc
    \DeclareOption{symbolmisc}{\mt@needsymboltrue\mt@symbolmisctrue}
\DeclareOption{symbol}{\ExecuteOptions{symbolgreek,symbolmisc,symbolre}}
\DeclareOption{symbolmax}{\ExecuteOptions{symbol,symboldelimiters}}
%%
\newif\ifmt@needeuler
\newif\ifmt@eulerdigits
    \DeclareOption{eulerdigits}{\mt@needeulertrue\mt@eulerdigitstrue}
\newif\ifmt@eulergreek
    \DeclareOption{eulergreek}{\mt@needeulertrue\mt@eulergreektrue}
%%
\newif\ifmt@selfGreek
    \DeclareOption{selfGreek}{\mt@selfGreektrue}
\newif\ifmt@selfGreeks
    \DeclareOption{selfGreeks}{\mt@selfGreekstrue\mt@selfGreektrue}
\newif\ifmt@LGRgreek
    \DeclareOption{LGRgreek}{\mt@LGRgreektrue}
\newif\ifmt@LGRgreeks
    \DeclareOption{LGRgreeks}{\mt@LGRgreekstrue\mt@LGRgreektrue}
%%
\def\mt@greek@select{0}
\newif\ifmt@itgreek
\newif\ifmt@upgreek
    \DeclareOption{itgreek}{\mt@itgreektrue}
    \DeclareOption{upgreek}{\mt@upgreektrue}
    \DeclareOption{itGreek}{\def\mt@greek@select{1}}
    \DeclareOption{upGreek}{\def\mt@greek@select{2}}
%%
\newif\ifmt@defaultnormal
    \DeclareOption{defaultnormal}{\mt@defaultnormaltrue}
\newif\ifmt@defaultrm
    \DeclareOption{defaultrm}{\mt@defaultrmtrue}
\newif\ifmt@defaultbf
    \DeclareOption{defaultbf}{\mt@defaultbftrue}
\newif\ifmt@defaultit
    \DeclareOption{defaultit}{\mt@defaultittrue}
\newif\ifmt@defaultsf
    \DeclareOption{defaultsf}{\mt@defaultsftrue}
\newif\ifmt@defaulttt
    \DeclareOption{defaulttt}{\mt@defaulttttrue}
\DeclareOption{defaultalphabets}{\ExecuteOptions{defaultnormal,defaultrm,%
defaultbf,defaultit,defaultsf,defaulttt}}
\newif\ifmt@defaultsizes
    \DeclareOption{defaultmathsizes}{\mt@defaultsizestrue}
\newif\ifmt@twelve
    \DeclareOption{12pt}{\mt@twelvetrue}
\newif\ifmt@fouriervec
    \DeclareOption{fouriervec}{\mt@fouriervectrue}
\DeclareOption*{\PackageWarning{mathastext}{Unknown option `\CurrentOption'}}
%%
\ProcessOptions\relax
\DeclareSymbolFont{mtoperatorfont}
    {\m@t@enc}{\m@t@fam}{\m@t@ser}{\m@t@opsh}
\DeclareSymbolFont{mtletterfont}
       {\m@t@enc}{\m@t@fam}{\m@t@ser}{\m@t@ltsh}
\DeclareSymbolFontAlphabet{\Mathnormal}{mtletterfont}
\DeclareSymbolFontAlphabet{\Mathrm}{mtoperatorfont}
   \DeclareMathAlphabet{\Mathbf}{\m@t@enc}{\m@t@fam}{\m@t@bold}{\m@t@opsh}
   \DeclareMathAlphabet{\Mathit}{\m@t@enc}{\m@t@fam}{\m@t@ser}{\itdefault}
   \DeclareMathAlphabet{\Mathsf}{\m@t@enc}{\sfdefault}{\m@t@ser}{\m@t@opsh}
   \DeclareMathAlphabet{\Mathtt}{\m@t@enc}{\ttdefault}{\m@t@ser}{\m@t@opsh}
   \DeclareMathAlphabet{\mathnormalbold}
                          {\m@t@enc}{\m@t@fam}{\m@t@bold}{\m@t@ltsh}
  \def\m@t@greek@lsh{\m@t@ltsh} %% default behavior
  \def\m@t@greek@ush{\m@t@opsh}
    \ifmt@itgreek\def\m@t@greek@lsh{\itdefault}
                     \def\m@t@greek@ush{\itdefault}\fi
    \ifmt@upgreek\def\m@t@greek@lsh{\updefault}
                     \def\m@t@greek@ush{\updefault}\fi
    \ifmt@frenchmath
      \ifmt@itgreek\else
      \ifmt@upgreek\else
        \def\m@t@greek@lsh{\m@t@opsh}
        \def\m@t@greek@ush{\m@t@opsh}
      \fi\fi
    \fi
    \ifcase\mt@greek@select
        \or\def\m@t@greek@ush{\itdefault}
        \or\def\m@t@greek@ush{\updefault}
    \fi
\ifmt@LGRgreek
    \DeclareFontEncoding{LGR}{}{}
    \DeclareSymbolFont{mtlgrfontlower}{LGR}
            {\m@t@fam}{\m@t@ser}{\m@t@greek@lsh}
    \DeclareSymbolFont{mtlgrfontupper}{LGR}
            {\m@t@fam}{\m@t@ser}{\m@t@greek@ush}
\else
\ifmt@selfGreek
        \DeclareSymbolFont{mtselfGreekfont}{OT1}
            {\m@t@fam}{\m@t@ser}{\m@t@greek@ush}
\fi\fi
\ifmt@needeuler
\DeclareSymbolFont{mteulervm}{U}{zeur}{m}{n}
\DeclareSymbolFontAlphabet{\MathEuler}{mteulervm}
\DeclareMathAlphabet{\MathEulerBold}{U}{zeur}{\m@t@bold}{n}
\fi
\newcommand\MTEulerScale[1]{\edef\zeu@Scale{#1}}
\let\MathastextEulerScale\MTEulerScale
\ifmt@needsymbol
 \def\psy@scale{1}
 \DeclareSymbolFont{mtpsymbol}{U}{psy}{m}{n}
 \DeclareSymbolFontAlphabet{\MathPSymbol}{mtpsymbol}
\fi
\newcommand\MTSymbolScale[1]{\edef\psy@scale{#1}}
\let\MathastextSymbolScale\MTSymbolScale
\DeclareRobustCommand\pmvec[1]{\mathord{\stackrel{\raisebox{-.5ex}%
{\tiny\boldmath$\mathord{\rightarrow}$}}{{}#1}}}
\ifmt@fouriervec
  \DeclareFontEncoding{FML}{}{}
  \DeclareFontSubstitution{FML}{futm}{m}{it}
  \DeclareSymbolFont{mtfourierpourvec}{FML}{futm}{m}{it}
  \SetSymbolFont{mtfourierpourvec}{bold}{FML}{futm}{b}{it}
  \DeclareMathAccent{\fouriervec}{\mathord}{mtfourierpourvec}{"7E}
\fi
\DeclareRobustCommand\MTencoding[1]{\def\m@t@enc{#1}}
\DeclareRobustCommand\MTfamily[1]{\def\m@t@fam{#1}}
\DeclareRobustCommand\MTseries[1]{\def\m@t@ser{#1}}
\DeclareRobustCommand\MTshape[1]{\def\m@t@opsh{#1}
  \ifmt@italic\else\def\m@t@ltsh{#1}\fi}
\DeclareRobustCommand\MTboldvariant[1]{\def\m@t@bold{#1}}
\DeclareRobustCommand\MTlettershape[1]{\def\m@t@ltsh{#1}}
\let\Mathastextencoding\MTencoding
\let\Mathastextfamily\MTfamily
\let\Mathastextseries\MTseries
\let\Mathastextshape\MTshape
\let\Mathastextboldvariant\MTboldvariant
\let\Mathastextlettershape\MTlettershape
\DeclareRobustCommand\MTWillUse[5][\@empty]{
  \MTencoding{#2}
  \MTfamily{#3}
  \MTseries{#4}
  \MTshape{#5}
    \ifmt@italic\MTlettershape{\itdefault}\fi % was missing in v 1.14 and prior
  \ifx\@empty#1
  \else
%% we check if optional argument was [],  this does not detect [ ]
  \def\mt@empty{}\def\mt@tmp{#1}
   \ifx\mt@empty\mt@tmp     \else     \MTlettershape{#1}\fi
  \fi
  \Mathastext}
\let\MathastextWillUse\MTWillUse
\let\Mathastextwilluse\MTWillUse
\DeclareRobustCommand\Mathastext[1][\@empty]{
  \mt@font@info@off
\ifx\@empty#1 % no optional argument
  \edef\mt@encoding@normal{\m@t@enc}
  \edef\mt@family@normal{\m@t@fam}
  \edef\mt@series@normal{\m@t@ser}
  \edef\mt@shape@normal{\m@t@opsh}
  \edef\mt@ltshape@normal{\m@t@ltsh}
  \edef\mt@itdefault@normal{\itdefault}
  \edef\mt@sfdefault@normal{\sfdefault}
  \edef\mt@ttdefault@normal{\ttdefault}
  \edef\mt@boldvariant@normal{\m@t@bold}
  \edef\mt@encoding@bold{\m@t@enc}
  \edef\mt@family@bold{\m@t@fam}
  \edef\mt@series@bold{\m@t@bold}
  \edef\mt@shape@bold{\m@t@opsh}
  \edef\mt@ltshape@bold{\m@t@ltsh}
  \edef\mt@boldvariant@bold{\m@t@bold}
  \edef\mt@itdefault@bold{\itdefault}
  \edef\mt@sfdefault@bold{\sfdefault}
  \edef\mt@ttdefault@bold{\ttdefault}
%%
   \SetSymbolFont{mtletterfont}{normal}{\mt@encoding@normal}
                                       {\mt@family@normal}
                                       {\mt@series@normal}
                                       {\mt@ltshape@normal}
   \SetSymbolFont{mtletterfont}{bold}  {\mt@encoding@bold}
                                       {\mt@family@bold}
                                       {\mt@series@bold}
                                       {\mt@ltshape@bold}
  \SetSymbolFont{mtoperatorfont}{normal}{\mt@encoding@normal}
                                       {\mt@family@normal}
                                       {\mt@series@normal}
                                       {\mt@shape@normal}
  \SetSymbolFont{mtoperatorfont}{bold} {\mt@encoding@bold}
                                       {\mt@family@bold}
                                       {\mt@series@bold}
                                       {\mt@shape@bold}
   \SetMathAlphabet{\Mathbf}{normal}{\mt@encoding@normal}
                                 {\mt@family@normal}
                                 {\mt@series@bold}
                                 {\mt@shape@normal}
   \SetMathAlphabet{\Mathit}{normal}{\mt@encoding@normal}
                                 {\mt@family@normal}
                                 {\mt@series@normal}
                                 {\mt@itdefault@normal}
   \SetMathAlphabet{\Mathsf}{normal}{\mt@encoding@normal}
                                 {\mt@sfdefault@normal}
                                 {\mt@series@normal}
                                 {\mt@shape@normal}
   \SetMathAlphabet{\Mathtt}{normal}{\mt@encoding@normal}
                                 {\mt@ttdefault@normal}
                                 {\mt@series@normal}
                                 {\mt@shape@normal}
   \SetMathAlphabet{\Mathbf}{bold}{\mt@encoding@bold}
                                 {\mt@family@bold}
                                 {\mt@series@bold}
                                 {\mt@shape@bold}
   \SetMathAlphabet{\Mathit}{bold}{\mt@encoding@bold}
                                 {\mt@family@bold}
                                 {\mt@series@bold}
                                 {\mt@itdefault@bold}
   \SetMathAlphabet{\Mathsf}{bold}{\mt@encoding@bold}
                                 {\mt@sfdefault@bold}
                                 {\mt@series@bold}
                                 {\mt@shape@bold}
   \SetMathAlphabet{\Mathtt}{bold}{\mt@encoding@bold}
                                 {\mt@ttdefault@bold}
                                 {\mt@series@bold}
                                 {\mt@shape@bold}
   \SetMathAlphabet{\mathnormalbold}{normal}{\mt@encoding@normal}
                                 {\mt@family@normal}
                                 {\mt@boldvariant@normal}
                                 {\mt@ltshape@normal}
   \SetMathAlphabet{\mathnormalbold}{bold}{\mt@encoding@bold}
                                 {\mt@family@bold}
                                 {\mt@boldvariant@bold}
                                 {\mt@ltshape@bold}
 \ifmt@needeuler
    \SetSymbolFont{mteulervm}{bold}{U}{zeur}{\mt@boldvariant@normal}{n}
    \SetMathAlphabet{\MathEulerBold}{normal}
               {U}{zeur}{\mt@boldvariant@normal}{n}
    \SetMathAlphabet{\MathEulerBold}{bold}
               {U}{zeur}{\mt@boldvariant@normal}{n}
 \fi
 \ifmt@needsymbol\SetSymbolFont{mtpsymbol}{bold}
                     {U}{psy}{\mt@boldvariant@normal}{n}
 \fi
\ifmt@LGRgreek
   \SetSymbolFont{mtlgrfontlower}{normal}{LGR}
            {\mt@family@normal}{\mt@series@normal}{\m@t@greek@lsh}
   \SetSymbolFont{mtlgrfontlower}{bold}{LGR}
            {\mt@family@bold}{\mt@boldvariant@normal}{\m@t@greek@lsh}
   \SetSymbolFont{mtlgrfontupper}{normal}{LGR}
            {\mt@family@normal}{\mt@series@normal}{\m@t@greek@ush}
   \SetSymbolFont{mtlgrfontupper}{bold}{LGR}
            {\mt@family@bold}{\mt@boldvariant@bold}{\m@t@greek@ush}
 \else
\ifmt@selfGreek
   \SetSymbolFont{mtselfGreekfont}{normal}{OT1}
            {\mt@family@normal}{\mt@series@normal}{\m@t@greek@ush}
   \SetSymbolFont{mtselfGreekfont}{bold}{OT1}
            {\mt@family@bold}{\mt@boldvariant@bold}{\m@t@greek@ush}
\fi\fi
\typeout{** Latin letters in math versions normal (resp. bold) are now^^J%
    ** set up to use the fonts
\mt@encoding@normal/\mt@family@normal/\mt@series@normal%
(\mt@boldvariant@normal)/\mt@ltshape@normal}
\ifmt@nodigits\else
  \typeout{** Other characters (digits, ...) and
    \protect\log-like names will be^^J%
** typeset with the \expandafter`\mt@shape@normal' shape.}
 \fi
\else % optional argument, then we rather do DeclareVersion
 \edef\mt@tmp{#1}\def\mt@empty{}
 \ifx\mt@tmp\mt@empty
    \Mathastext  % no infinite loop!
  \else
    \MTDeclareVersion[\m@t@ltsh]{#1}
         {\m@t@enc}{\m@t@fam}{\m@t@ser}{\m@t@opsh}
 \fi
\fi
\mt@font@info@on
}
\DeclareRobustCommand\MTDeclareVersion[6][\@empty]{
  \mt@font@info@off
  \edef\mt@version{#2}
  \DeclareMathVersion{\mt@version}
  \expandafter\edef\csname mt@encoding@\mt@version\endcsname{#3}
  \expandafter\edef\csname mt@family@\mt@version\endcsname{#4}
  \expandafter\edef\csname mt@series@\mt@version\endcsname{#5}
  \expandafter\edef\csname mt@shape@\mt@version\endcsname{#6}
  \expandafter\edef\csname mt@boldvariant@\mt@version\endcsname{\m@t@bold}
  \expandafter\edef\csname mt@itdefault@\mt@version\endcsname{\itdefault}
  \expandafter\edef\csname mt@sfdefault@\mt@version\endcsname{\sfdefault}
  \expandafter\edef\csname mt@ttdefault@\mt@version\endcsname{\ttdefault}
  \newif\ifmt@reallynoopt\mt@reallynoopttrue
    \ifx\@empty#1
    \else % we check nevertheless for [] situation, will not work with [ ]
       \def\m@t@@tmp{#1}\def\mt@empty{}
       \ifx\m@t@@tmp\mt@empty\else\mt@reallynooptfalse\fi
    \fi
  \ifmt@reallynoopt
    \ifmt@italic
      \SetSymbolFont{mtletterfont}{#2}{#3}{#4}{#5}{\m@t@ltsh}
    \typeout{** Latin letters in math version `#2' will use the font
    #3/#4/#5/\m@t@ltsh^^J%
    ** Other characters (digits, ...) and \protect\log-like names
                    will be in `#6' shape.}
      \expandafter\edef\csname mt@ltshape@\mt@version\endcsname{\m@t@ltsh}
    \else
      \SetSymbolFont{mtletterfont}{#2}{#3}{#4}{#5}{#6}
    \typeout{** Latin letters in math version `#2' will use the fonts
    #3/#4/#5(\m@t@bold)/#6}
      \expandafter\edef\csname mt@ltshape@\mt@version\endcsname{#6}
    \fi
  \else
      \SetSymbolFont{mtletterfont}{#2}{#3}{#4}{#5}{#1}
    \typeout{** Latin letters in math version `#2' will use the font
    #3/#4/#5/#1^^J%
    ** Other characters (digits, ...) and \protect\log-like
    names will be in `#6' shape.}
      \expandafter\edef\csname mt@ltshape@\mt@version\endcsname{#1}
  \fi
   \SetMathAlphabet{\Mathbf}{#2}{#3}{#4}{\m@t@bold}{#6}
   \SetMathAlphabet{\Mathit}{#2}{#3}{#4}{#5}{\itdefault}
   \SetMathAlphabet{\Mathsf}{#2}{#3}{\sfdefault}{#5}{#6}
   \SetMathAlphabet{\Mathtt}{#2}{#3}{\ttdefault}{#5}{#6}
   \SetMathAlphabet{\mathnormalbold}{#2}{#3}{#4}{\m@t@bold}
                                 {\csname mt@ltshape@\mt@version\endcsname}
   \SetSymbolFont{mtoperatorfont}{#2}{#3}{#4}{#5}{#6}
  \ifmt@needeuler
      \SetMathAlphabet{\MathEulerBold}{#2}{U}{zeur}{\m@t@bold}{n}
  \fi
  \def\m@t@greek@lsh@loc{\csname mt@ltshape@\mt@version\endcsname}
  \def\m@t@greek@ush@loc{\csname mt@shape@\mt@version\endcsname}
    \ifmt@itgreek\def\m@t@greek@lsh@loc{\itdefault}
                     \def\m@t@greek@ush@loc{\itdefault}\fi
    \ifmt@upgreek\def\m@t@greek@lsh@loc{\updefault}
                     \def\m@t@greek@ush@loc{\updefault}\fi
    \ifmt@frenchmath
      \ifmt@itgreek\else
      \ifmt@upgreek\else
        \def\m@t@greek@lsh@loc{\csname mt@shape@\mt@version\endcsname}
        \def\m@t@greek@ush@loc{\csname mt@shape@\mt@version\endcsname}
      \fi\fi
    \fi
    \ifcase\mt@greek@select
        \or\def\m@t@greek@ush@loc{\itdefault}
        \or\def\m@t@greek@ush@loc{\updefault}
    \fi
 \ifmt@LGRgreeks
      \SetSymbolFont{mtlgrfontlower}{#2}{LGR}{#4}{#5}{\m@t@greek@lsh@loc}
      \SetSymbolFont{mtlgrfontupper}{#2}{LGR}{#4}{#5}{\m@t@greek@ush@loc}
 \else
 \ifmt@selfGreeks
      \SetSymbolFont{mtselfGreekfont}{#2}{OT1}{#4}{#5}{\m@t@greek@ush@loc}
 \fi\fi
  \mt@font@info@on
}
\let\MathastextDeclareVersion\MTDeclareVersion
\Mathastext
\def\operator@font{\mathgroup\symmtoperatorfont}
\let\mt@saved@mathnormal\mathnormal
\@ifpackageloaded{fourier}{\ifsloped\else\let\mt@saved@mathnormal\mathrm\fi}{}
\ifmt@defaultnormal\else\renewcommand{\mathnormal}{\Mathnormal}\fi
\ifmt@defaultrm\else\renewcommand{\mathrm}{\Mathrm}\fi
\ifmt@defaultbf\else\renewcommand{\mathbf}{\Mathbf}\fi
\ifmt@defaultit\else\renewcommand{\mathit}{\Mathit}\fi
\ifmt@defaultsf\else\renewcommand{\mathsf}{\Mathsf}\fi
\ifmt@defaulttt\else\renewcommand{\mathtt}{\Mathtt}\fi
\ifmt@eulergreek
      \typeout{** Greek letters will use the Euler font. Use^^J%
** \protect\MathastextEulerScale{<factor>} to scale the font.}
\else
\ifmt@symbolgreek
       \typeout{** Greek letters will use the PostScript Symbol font. Use^^J%
** \protect\MathastextSymbolScale{<factor>} to scale the font.}
\fi\fi
\DeclareRobustCommand\MTVersion[2][\@empty]{%
    \mathversion{#2}%
    \ifx\@empty#1% no optional argument
        \edef\mt@tmp{#2}
    \else% we check nevertheless for [] situation, will not work with [ ]
       \def\m@t@@tmp{#1}\def\mt@empty{}%
       \ifx\m@t@@tmp\mt@empty\edef\mt@tmp{#2}%
       \else\edef\mt@tmp{#1}%
       \fi%
    \fi%
    \usefont{\csname mt@encoding@\mt@tmp\endcsname}%
        {\csname mt@family@\mt@tmp\endcsname}%
        {\csname mt@series@\mt@tmp\endcsname}%
        {\csname mt@shape@\mt@tmp\endcsname}%
    \edef\m@t@@encoding{\csname mt@encoding@\mt@tmp\endcsname}%
        \renewcommand{\encodingdefault}{\m@t@@encoding}%
    \edef\m@t@@family{\csname mt@family@\mt@tmp\endcsname}%
        \renewcommand{\rmdefault}{\m@t@@family}%
    \edef\m@t@@series{\csname mt@series@\mt@tmp\endcsname}%
        \renewcommand{\mddefault}{\m@t@@series}%
    \edef\m@t@@shape{\csname mt@shape@\mt@tmp\endcsname}%
        \renewcommand{\shapedefault}{\m@t@@shape}%
    \edef\m@t@@boldvariant{\csname mt@boldvariant@\mt@tmp\endcsname}%
        \renewcommand{\bfdefault}{\m@t@@boldvariant}%
    \edef\m@t@@itdefault{\csname mt@itdefault@\mt@tmp\endcsname}%
        \renewcommand{\itdefault}{\m@t@@itdefault}%
    \edef\m@t@@sfdefault{\csname mt@sfdefault@\mt@tmp\endcsname}%
        \renewcommand{\sfdefault}{\m@t@@sfdefault}%
    \edef\m@t@@ttdefault{\csname mt@ttdefault@\mt@tmp\endcsname}%
        \renewcommand{\ttdefault}{\m@t@@ttdefault}%
}
\let\MathastextVersion\MTVersion
\let\Mathastextversion\MTVersion
\let\MTversion\MTVersion
\DeclareMathSymbol{a}{\mathalpha}{mtletterfont}{`a}
\DeclareMathSymbol{b}{\mathalpha}{mtletterfont}{`b}
\DeclareMathSymbol{c}{\mathalpha}{mtletterfont}{`c}
\DeclareMathSymbol{d}{\mathalpha}{mtletterfont}{`d}
\DeclareMathSymbol{e}{\mathalpha}{mtletterfont}{`e}
\DeclareMathSymbol{f}{\mathalpha}{mtletterfont}{`f}
\DeclareMathSymbol{g}{\mathalpha}{mtletterfont}{`g}
\DeclareMathSymbol{h}{\mathalpha}{mtletterfont}{`h}
\DeclareMathSymbol{i}{\mathalpha}{mtletterfont}{`i}
\DeclareMathSymbol{j}{\mathalpha}{mtletterfont}{`j}
\DeclareMathSymbol{k}{\mathalpha}{mtletterfont}{`k}
\DeclareMathSymbol{l}{\mathalpha}{mtletterfont}{`l}
\DeclareMathSymbol{m}{\mathalpha}{mtletterfont}{`m}
\DeclareMathSymbol{n}{\mathalpha}{mtletterfont}{`n}
\DeclareMathSymbol{o}{\mathalpha}{mtletterfont}{`o}
\DeclareMathSymbol{p}{\mathalpha}{mtletterfont}{`p}
\DeclareMathSymbol{q}{\mathalpha}{mtletterfont}{`q}
\DeclareMathSymbol{r}{\mathalpha}{mtletterfont}{`r}
\DeclareMathSymbol{s}{\mathalpha}{mtletterfont}{`s}
\DeclareMathSymbol{t}{\mathalpha}{mtletterfont}{`t}
\DeclareMathSymbol{u}{\mathalpha}{mtletterfont}{`u}
\DeclareMathSymbol{v}{\mathalpha}{mtletterfont}{`v}
\DeclareMathSymbol{w}{\mathalpha}{mtletterfont}{`w}
\DeclareMathSymbol{x}{\mathalpha}{mtletterfont}{`x}
\DeclareMathSymbol{y}{\mathalpha}{mtletterfont}{`y}
\DeclareMathSymbol{z}{\mathalpha}{mtletterfont}{`z}
\ifmt@frenchmath\def\mt@font@tbu{mtoperatorfont}
   \else\def\mt@font@tbu{mtletterfont}\fi
\DeclareMathSymbol{A}{\mathalpha}{\mt@font@tbu}{`A}
\DeclareMathSymbol{B}{\mathalpha}{\mt@font@tbu}{`B}
\DeclareMathSymbol{C}{\mathalpha}{\mt@font@tbu}{`C}
\DeclareMathSymbol{D}{\mathalpha}{\mt@font@tbu}{`D}
\DeclareMathSymbol{E}{\mathalpha}{\mt@font@tbu}{`E}
\DeclareMathSymbol{F}{\mathalpha}{\mt@font@tbu}{`F}
\DeclareMathSymbol{G}{\mathalpha}{\mt@font@tbu}{`G}
\DeclareMathSymbol{H}{\mathalpha}{\mt@font@tbu}{`H}
\DeclareMathSymbol{I}{\mathalpha}{\mt@font@tbu}{`I}
\DeclareMathSymbol{J}{\mathalpha}{\mt@font@tbu}{`J}
\DeclareMathSymbol{K}{\mathalpha}{\mt@font@tbu}{`K}
\DeclareMathSymbol{L}{\mathalpha}{\mt@font@tbu}{`L}
\DeclareMathSymbol{M}{\mathalpha}{\mt@font@tbu}{`M}
\DeclareMathSymbol{N}{\mathalpha}{\mt@font@tbu}{`N}
\DeclareMathSymbol{O}{\mathalpha}{\mt@font@tbu}{`O}
\DeclareMathSymbol{P}{\mathalpha}{\mt@font@tbu}{`P}
\DeclareMathSymbol{Q}{\mathalpha}{\mt@font@tbu}{`Q}
\DeclareMathSymbol{R}{\mathalpha}{\mt@font@tbu}{`R}
\DeclareMathSymbol{S}{\mathalpha}{\mt@font@tbu}{`S}
\DeclareMathSymbol{T}{\mathalpha}{\mt@font@tbu}{`T}
\DeclareMathSymbol{U}{\mathalpha}{\mt@font@tbu}{`U}
\DeclareMathSymbol{V}{\mathalpha}{\mt@font@tbu}{`V}
\DeclareMathSymbol{W}{\mathalpha}{\mt@font@tbu}{`W}
\DeclareMathSymbol{X}{\mathalpha}{\mt@font@tbu}{`X}
\DeclareMathSymbol{Y}{\mathalpha}{\mt@font@tbu}{`Y}
\DeclareMathSymbol{Z}{\mathalpha}{\mt@font@tbu}{`Z}
%%
\ifmt@nodigits\else
\def\mt@font@tbu{mtoperatorfont}
\ifmt@symboldigits \def\mt@font@tbu{mtpsymbol} \fi
\ifmt@eulerdigits \def\mt@font@tbu{mteulervm} \fi
\DeclareMathSymbol{0}{\mathalpha}{\mt@font@tbu}{`0}
\DeclareMathSymbol{1}{\mathalpha}{\mt@font@tbu}{`1}
\DeclareMathSymbol{2}{\mathalpha}{\mt@font@tbu}{`2}
\DeclareMathSymbol{3}{\mathalpha}{\mt@font@tbu}{`3}
\DeclareMathSymbol{4}{\mathalpha}{\mt@font@tbu}{`4}
\DeclareMathSymbol{5}{\mathalpha}{\mt@font@tbu}{`5}
\DeclareMathSymbol{6}{\mathalpha}{\mt@font@tbu}{`6}
\DeclareMathSymbol{7}{\mathalpha}{\mt@font@tbu}{`7}
\DeclareMathSymbol{8}{\mathalpha}{\mt@font@tbu}{`8}
\DeclareMathSymbol{9}{\mathalpha}{\mt@font@tbu}{`9}
\fi
\ifmt@symboldelimiters
\def\mt@font@tbu{mtpsymbol}
\mt@endashfalse
\mt@emdashfalse
\else
\def\mt@font@tbu{mtoperatorfont}
\fi
%%
\ifmt@noexclam\else
\DeclareMathSymbol{!}{\mathclose}{\mt@font@tbu}{"21}
\DeclareMathSymbol{?}{\mathclose}{\mt@font@tbu}{"3F}
\fi
%%
\ifmt@noast\else
\DeclareMathSymbol{*}{\mathalpha}{\mt@font@tbu}{"2A}
\fi
\ifmt@nopunct\else
\DeclareMathSymbol{,}{\mathpunct}{\mt@font@tbu}{"2C}
\DeclareMathSymbol{.}{\mathord}{\mt@font@tbu}{"2E}
\DeclareMathSymbol{:}{\mathrel}{\mt@font@tbu}{"3A} % relation spacing
\@ifpackageloaded{amsmath}
    {} % \colon defined in amsmath.sty (enlarged punctuation spacing)
    {\let\colon\undefined  % no amsmath, use punctuation spacing
    \DeclareMathSymbol{\colon}{\mathpunct}{\mt@font@tbu}{"3A}}
\DeclareMathSymbol{;}{\mathpunct}{\mt@font@tbu}{"3B}
\fi
\ifmt@nominus\else
\edef\mt@minus@sign{\mathord{\expandafter\mathchar\number\mathcode`\-}}
\def\relbar{\mathrel{\smash\mt@minus@sign}}
\def\rightarrowfill{$\m@th\mt@minus@sign\mkern-7mu%
  \cleaders\hbox{$\mkern-2mu\mt@minus@sign\mkern-2mu$}\hfill
  \mkern-7mu\mathord\rightarrow$}
\def\leftarrowfill{$\m@th\mathord\leftarrow\mkern-7mu%
  \cleaders\hbox{$\mkern-2mu\mt@minus@sign\mkern-2mu$}\hfill
  \mkern-7mu\smash\mt@minus@sign$}
\fi
\def\do@the@endashstuff{\edef\mt@tmp@enc{\encodingdefault}
\ifx\mt@tmp@enc\mt@eui % xetex+fontspec
  \XeTeXmathcode`\-="2 \symmtoperatorfont "2013 \relax
\else
\ifx\mt@tmp@enc\mt@euii % luatex+fontspec
   \luatexUmathcode`\-="2 \symmtoperatorfont "2013 \relax
\else
\ifx\mt@tmp@enc\mt@ti % T1
   \DeclareMathSymbol{-}{\mathbin}{mtoperatorfont}{21}
\else
\ifx\mt@tmp@enc\mt@oti % OT1
   \DeclareMathSymbol{-}{\mathbin}{mtoperatorfont}{123}
\else
\ifx\mt@tmp@enc\mt@lyi % LY1
   \DeclareMathSymbol{-}{\mathbin}{mtoperatorfont}{150}
\else % make sure we have neither xetex nor luatex
   \ifXeTeX\mt@failedtrue\else\ifLuaTeX\mt@failedtrue\else
   \DeclareMathSymbol{-}{\mathbin}{mtoperatorfont}
{\expandafter\the\expandafter\csname\mt@tmp@enc\string\textendash\endcsname}
   \fi\fi
\fi\fi\fi\fi\fi}
\def\do@the@emdashstuff{\edef\mt@tmp@enc{\encodingdefault}
\ifx\mt@tmp@enc\mt@eui % xetex+fontspec
  \XeTeXmathcode`\-="2 \symmtoperatorfont "2014 \relax
\else
\ifx\mt@tmp@enc\mt@euii % luatex+fontspec
   \luatexUmathcode`\-="2 \symmtoperatorfont "2014 \relax
\ifx\mt@tmp@enc\mt@ti % T1
   \DeclareMathSymbol{-}{\mathbin}{mtoperatorfont}{22}
\else
\ifx\mt@tmp@enc\mt@oti % OT1
   \DeclareMathSymbol{-}{\mathbin}{mtoperatorfont}{124}
\else
\ifx\mt@tmp@enc\mt@lyi % LY1
   \DeclareMathSymbol{-}{\mathbin}{mtoperatorfont}{151}
\else % make sure we have neither xetex nor luatex
   \ifXeTeX\mt@failedtrue\else\ifLuaTeX\mt@failedtrue\else
   \DeclareMathSymbol{-}{\mathbin}{mtoperatorfont}
{\expandafter\the\expandafter\csname\mt@tmp@enc\string\textemdash\endcsname}
   \fi\fi
\fi\fi\fi\fi\fi}
\ifmt@nominus\else
\mt@failedfalse
\ifmt@endash\do@the@endashstuff\else
\ifmt@emdash\do@the@emdashstuff\else
   \DeclareMathSymbol{-}{\mathbin}{\mt@font@tbu}{"2D}
\fi\fi
\ifmt@failed\DeclareMathSymbol{-}{\mathbin}{\mt@font@tbu}{"2D}\fi
\fi
%%\def\hbar{{\mathchar'26\mkern-9muh}}
%% (original definition from latex.ltx)
\def\mathrlap{\mathpalette\mathrlapinternal}
\def\mathrlapinternal#1#2{\rlap{$\mathsurround=0pt#1{#2}$}}
\def\do@the@hbarstuff{\edef\mt@tmp@enc{\encodingdefault}
\ifx\mt@tmp@enc\mt@eui % xetex and unicode font
  \XeTeXmathchardef\hbar="7 \symmtletterfont "0127 \relax
\else
\ifx\mt@tmp@enc\mt@euii % luatex and unicode font
   \luatexUmathchardef\hbar="7 \symmtletterfont "0127 \relax %% or 210F?
\else % I must leave open the T1, OT1 possibility also for XeTeX or LuaTeX
    \ifx\mt@ti\mt@tmp@enc
    \DeclareMathAccent{\mt@ltbar}{\mathalpha}{mtletterfont}{9}
       \else  %% assume OT1. Bad idea? Should not provoke an error anyhow
    \DeclareMathAccent{\mt@ltbar}{\mathalpha}{mtletterfont}{22}
    \fi
    \def\hbar{\mathrlap{\mt@ltbar{\ }}h}
\fi\fi}
\ifmt@nohbar\else\do@the@hbarstuff\fi
\ifmt@noplus\else
\DeclareMathSymbol{+}{\mathbin}{\mt@font@tbu}{"2B}
\fi
\ifmt@noequal\else
\edef\mt@equal@sign{{\expandafter\mathchar\number\mathcode`\=}}
\DeclareRobustCommand\Relbar{\mathrel{\mt@equal@sign}}
\DeclareMathSymbol{=}{\mathrel}{\mt@font@tbu}{"3D}
\fi
\ifmt@noparen\else
\DeclareMathDelimiter{(}{\mathopen} {\mt@font@tbu}{"28}{largesymbols}{"00}
\DeclareMathDelimiter{)}{\mathclose}{\mt@font@tbu}{"29}{largesymbols}{"01}
\DeclareMathDelimiter{[}{\mathopen} {\mt@font@tbu}{"5B}{largesymbols}{"02}
\DeclareMathDelimiter{]}{\mathclose}{\mt@font@tbu}{"5D}{largesymbols}{"03}
\DeclareMathDelimiter{/}{\mathord}{\mt@font@tbu}{"2F}{largesymbols}{"0E}
\DeclareMathSymbol{/}{\mathord}{\mt@font@tbu}{"2F}
\fi
\ifmt@alldelims
\DeclareMathDelimiter{<}{\mathopen}{\mt@font@tbu}{"3C}{largesymbols}{"0A}
\DeclareMathDelimiter{>}{\mathclose}{\mt@font@tbu}{"3E}{largesymbols}{"0B}
\DeclareMathSymbol{<}{\mathrel}{\mt@font@tbu}{"3C}
\DeclareMathSymbol{>}{\mathrel}{\mt@font@tbu}{"3E}
\expandafter\DeclareMathDelimiter\@backslashchar
                        {\mathord}{mtoperatorfont}{"5C}{largesymbols}{"0F}
\DeclareMathDelimiter{\backslash}
    {\mathord}{mtoperatorfont}{"5C}{largesymbols}{"0F}
\DeclareMathSymbol\setminus\mathbin{mtoperatorfont}{"5C}
\DeclareMathSymbol{|}\mathord{\mt@font@tbu}{"7C}
\DeclareMathDelimiter{|}{\mt@font@tbu}{"7C}{largesymbols}{"0C}
\DeclareMathDelimiter\vert
                 \mathord{\mt@font@tbu}{"7C}{largesymbols}{"0C}
\DeclareMathSymbol\mid\mathrel{\mt@font@tbu}{"7C}
\DeclareMathDelimiter{\lbrace}
   {\mathopen}{\mt@font@tbu}{"7B}{largesymbols}{"08}
\DeclareMathDelimiter{\rbrace}
   {\mathclose}{\mt@font@tbu}{"7D}{largesymbols}{"09}
\fi
\ifmt@nospecials\else
\ifXeTeX % more than 16 math families possible
  \XeTeXmathchardef\mt@mmode@hash=7 \symmtoperatorfont "0023 \relax
  \XeTeXmathchardef\mt@mmode@dollar=7 \symmtoperatorfont "0024 \relax
  \XeTeXmathchardef\mt@mmode@percent=7 \symmtoperatorfont "0025 \relax
  \XeTeXmathchardef\mt@mmode@ampersand=7 \symmtoperatorfont "0026 \relax
\else
\ifLuaTeX % I think no more than 16 math families are possible but this way I
%%           can check the stuff (as I can't install xetex on my system)
  \luatexUmathchardef\mt@mmode@hash=7 \symmtoperatorfont "0023 \relax
  \luatexUmathchardef\mt@mmode@dollar=7 \symmtoperatorfont "0024 \relax
  \luatexUmathchardef\mt@mmode@percent=7 \symmtoperatorfont "0025 \relax
  \luatexUmathchardef\mt@mmode@ampersand=7 \symmtoperatorfont "0026 \relax
\else % hope that there are no more than 16 math families!
\count255=\symmtoperatorfont
\multiply\count255 by 256
\advance\count255 by 28707 % "7023
    \mathchardef\mt@mmode@hash\count255
\advance\count255 by 1
    \mathchardef\mt@mmode@dollar\count255
\advance\count255 by 1
    \mathchardef\mt@mmode@percent\count255
\advance\count255 by 1
    \mathchardef\mt@mmode@ampersand\count255
\fi\fi
\renewcommand{\#}{\ifmmode\mt@mmode@hash\else\char35\relax\fi}
\renewcommand{\$}{\ifmmode\mt@mmode@dollar\else\char36\relax\fi}
\renewcommand{\%}{\ifmmode\mt@mmode@percent\else\char37\relax\fi}
\renewcommand{\&}{\ifmmode\mt@mmode@ampersand\else\char38\relax\fi}
\fi
\ifmt@symbolmisc
\let\mst@prod\prod
\let\defaultprod\prod
\DeclareMathSymbol{\prodpsy}{\mathop}{mtpsymbol}{213}
\renewcommand{\prod}{\ifinner\prodpsy\else\mst@prod\fi}
\let\mst@sum\sum
\let\defaultsum\sum
\DeclareMathSymbol{\sumpsy}{\mathop}{mtpsymbol}{229}
\renewcommand{\sum}{\ifinner\sumpsy\else\mst@sum\fi}
\DeclareMathSymbol{\mt@implies}{\mathrel}{mtpsymbol}{222}
\DeclareRobustCommand{\implies}{\;\mt@implies\;}
\DeclareMathSymbol{\mt@impliedby}{\mathrel}{mtpsymbol}{220}
\DeclareRobustCommand{\impliedby}{\;\mt@impliedby\;}
\DeclareRobustCommand{\iff}{\;\mt@impliedby\mathrel{\mkern-3mu}\mt@implies\;}
\DeclareMathSymbol{\mt@iff}{\mathrel}{mtpsymbol}{219}
\DeclareRobustCommand{\shortiff}{\;\mt@iff\;}
\DeclareMathSymbol{\mt@to}{\mathrel}{mtpsymbol}{174}
\DeclareMathSymbol{\mt@trait}{\mathrel}{mtpsymbol}{190}
\DeclareRobustCommand\to{\mt@to}
\DeclareRobustCommand\longto{\mkern2mu\mt@trait\mathrel{\mkern-10mu}\mt@to}
\DeclareRobustCommand\mapsto{\mapstochar\mathrel{\mkern0.2mu}\mt@to}
\DeclareRobustCommand\longmapsto{%
\mapstochar\mathrel{\mkern2mu}\mt@trait\mathrel{\mkern-10mu}\mt@to}
\DeclareMathSymbol{\aleph}{\mathord}{mtpsymbol}{192}
\DeclareMathSymbol{\inftypsy}{\mathord}{mtpsymbol}{165}
\DeclareMathSymbol{\emptyset}{\mathord}{mtpsymbol}{198}
\let\varnothing\emptyset
\DeclareMathSymbol{\nabla}{\mathord}{mtpsymbol}{209}
\DeclareMathSymbol{\surd}{\mathop}{mtpsymbol}{214}
\let\angle\undefined
\DeclareMathSymbol{\angle}{\mathord}{mtpsymbol}{208}
\DeclareMathSymbol{\forall}{\mathord}{mtpsymbol}{34}
\DeclareMathSymbol{\exists}{\mathord}{mtpsymbol}{36}
\DeclareMathSymbol{\neg}{\mathord}{mtpsymbol}{216}
\DeclareMathSymbol{\clubsuit}{\mathord}{mtpsymbol}{167}
\DeclareMathSymbol{\diamondsuit}{\mathord}{mtpsymbol}{168}
\DeclareMathSymbol{\heartsuit}{\mathord}{mtpsymbol}{169}
\DeclareMathSymbol{\spadesuit}{\mathord}{mtpsymbol}{170}
\DeclareMathSymbol{\smallint}{\mathop}{mtpsymbol}{242}
\DeclareMathSymbol{\wedge}{\mathbin}{mtpsymbol}{217}
\DeclareMathSymbol{\vee}{\mathbin}{mtpsymbol}{218}
\DeclareMathSymbol{\cap}{\mathbin}{mtpsymbol}{199}
\DeclareMathSymbol{\cup}{\mathbin}{mtpsymbol}{200}
\DeclareMathSymbol{\bullet}{\mathbin}{mtpsymbol}{183}
\DeclareMathSymbol{\div}{\mathbin}{mtpsymbol}{184}
\DeclareMathSymbol{\otimes}{\mathbin}{mtpsymbol}{196}
\DeclareMathSymbol{\oplus}{\mathbin}{mtpsymbol}{197}
\DeclareMathSymbol{\pm}{\mathbin}{mtpsymbol}{177}
%%\DeclareMathSymbol{*}{\mathbin}{mtpsymbol}{42}
\DeclareMathSymbol{\ast}{\mathbin}{mtpsymbol}{42}
\DeclareMathSymbol{\times}{\mathbin}{mtpsymbol}{180}
\DeclareMathSymbol{\proptopsy}{\mathrel}{mtpsymbol}{181}
\DeclareMathSymbol{\mid}{\mathrel}{mtpsymbol}{124}
\DeclareMathSymbol{\leq}{\mathrel}{mtpsymbol}{163}
\DeclareMathSymbol{\geq}{\mathrel}{mtpsymbol}{179}
\DeclareMathSymbol{\approx}{\mathrel}{mtpsymbol}{187}
\DeclareMathSymbol{\supset}{\mathrel}{mtpsymbol}{201}
\DeclareMathSymbol{\subset}{\mathrel}{mtpsymbol}{204}
\DeclareMathSymbol{\supseteq}{\mathrel}{mtpsymbol}{202}
\DeclareMathSymbol{\subseteq}{\mathrel}{mtpsymbol}{205}
\DeclareMathSymbol{\in}{\mathrel}{mtpsymbol}{206}
\DeclareMathSymbol{\sim}{\mathrel}{mtpsymbol}{126}
\let\cong\undefined
\DeclareMathSymbol{\cong}{\mathrel}{mtpsymbol}{64}
\DeclareMathSymbol{\perp}{\mathrel}{mtpsymbol}{94}
\DeclareMathSymbol{\equiv}{\mathrel}{mtpsymbol}{186}
\let\notin\undefined
\DeclareMathSymbol{\notin}{\mathrel}{mtpsymbol}{207}
\DeclareMathDelimiter{\rangle}
   {\mathclose}{mtpsymbol}{241}{largesymbols}{"0B}
\DeclareMathDelimiter{\langle}
   {\mathopen}{mtpsymbol}{225}{largesymbols}{"0A}
\fi
\ifmt@symbolre
\DeclareMathSymbol{\Re}{\mathord}{mtpsymbol}{"C2}
\DeclareMathSymbol{\Im}{\mathord}{mtpsymbol}{"C1}
\DeclareMathSymbol{\DotTriangle}{\mathord}{mtpsymbol}{92}
\fi
\let\mt@mathord\mathalpha
\mt@proceedtrue
\ifmt@selfGreek
    \def\mt@font@tbu{mtselfGreekfont}
 \else
\ifmt@eulergreek
    \def\mt@font@tbu{mteulervm}
 \else
\ifmt@symbolgreek
    \def\mt@font@tbu{mtpsymbol}
    \let\mt@mathord\mathord
 \else
\ifmt@LGRgreek
     \mt@proceedfalse
 \else
       \mt@proceedfalse
       \ifx\omicron\undefined
       \newcommand{\omicron}{\mt@saved@mathnormal{o}}
       \fi
\fi\fi\fi\fi
\ifmt@proceed
\DeclareMathSymbol{\Alpha}{\mt@mathord}{\mt@font@tbu}{"41}
\DeclareMathSymbol{\Beta}{\mt@mathord}{\mt@font@tbu}{"42}
\DeclareMathSymbol{\Epsilon}{\mt@mathord}{\mt@font@tbu}{"45}
\DeclareMathSymbol{\Zeta}{\mt@mathord}{\mt@font@tbu}{"5A}
\DeclareMathSymbol{\Eta}{\mt@mathord}{\mt@font@tbu}{"48}
\DeclareMathSymbol{\Iota}{\mt@mathord}{\mt@font@tbu}{"49}
\DeclareMathSymbol{\Kappa}{\mt@mathord}{\mt@font@tbu}{"4B}
\DeclareMathSymbol{\Mu}{\mt@mathord}{\mt@font@tbu}{"4D}
\DeclareMathSymbol{\Nu}{\mt@mathord}{\mt@font@tbu}{"4E}
\DeclareMathSymbol{\Omicron}{\mt@mathord}{\mt@font@tbu}{"4F}
\DeclareMathSymbol{\Rho}{\mt@mathord}{\mt@font@tbu}{"50}
\DeclareMathSymbol{\Tau}{\mt@mathord}{\mt@font@tbu}{"54}
\DeclareMathSymbol{\Chi}{\mt@mathord}{\mt@font@tbu}{"58}
\ifx\mt@mathord\mathord
%% attention le P de Symbol est un \Pi pas un \Rho
\DeclareMathSymbol{\Rho}{\mathord}{mtpsymbol}{"52}
%% attention le X de Symbol est un \Xi pas un \Chi
\DeclareMathSymbol{\Chi}{\mathord}{mtpsymbol}{"43}
%% attention le F de Symbol est un \Phi. Il n'y a pas de \Digamma
\DeclareMathSymbol{\Gamma}{\mathord}{mtpsymbol}{"47}
\DeclareMathSymbol{\Delta}{\mathord}{mtpsymbol}{"44}
\DeclareMathSymbol{\Theta}{\mathord}{mtpsymbol}{"51}
\DeclareMathSymbol{\Lambda}{\mathord}{mtpsymbol}{"4C}
\DeclareMathSymbol{\Xi}{\mathord}{mtpsymbol}{"58}
\DeclareMathSymbol{\Pi}{\mathord}{mtpsymbol}{"50}
\DeclareMathSymbol{\Sigma}{\mathord}{mtpsymbol}{"53}
\DeclareMathSymbol{\Upsilon}{\mathord}{mtpsymbol}{"A1}
\DeclareMathSymbol{\Phi}{\mathord}{mtpsymbol}{"46}
\DeclareMathSymbol{\Psi}{\mathord}{mtpsymbol}{"59}
\DeclareMathSymbol{\Omega}{\mathord}{mtpsymbol}{"57}
\else
\DeclareMathSymbol{\Digamma}{\mathalpha}{\mt@font@tbu}{"46}
\DeclareMathSymbol\Gamma    {\mathalpha}{\mt@font@tbu}{"00}
\DeclareMathSymbol\Delta    {\mathalpha}{\mt@font@tbu}{"01}
\DeclareMathSymbol\Theta    {\mathalpha}{\mt@font@tbu}{"02}
\DeclareMathSymbol\Lambda   {\mathalpha}{\mt@font@tbu}{"03}
\DeclareMathSymbol\Xi       {\mathalpha}{\mt@font@tbu}{"04}
\DeclareMathSymbol\Pi       {\mathalpha}{\mt@font@tbu}{"05}
\DeclareMathSymbol\Sigma    {\mathalpha}{\mt@font@tbu}{"06}
\DeclareMathSymbol\Upsilon  {\mathalpha}{\mt@font@tbu}{"07}
\DeclareMathSymbol\Phi      {\mathalpha}{\mt@font@tbu}{"08}
\DeclareMathSymbol\Psi      {\mathalpha}{\mt@font@tbu}{"09}
\DeclareMathSymbol\Omega    {\mathalpha}{\mt@font@tbu}{"0A}
\fi
\fi
\ifmt@proceed
\ifmt@eulergreek
\DeclareMathSymbol{\alpha}  {\mathalpha}{mteulervm}{"0B}
\DeclareMathSymbol{\beta}   {\mathalpha}{mteulervm}{"0C}
\DeclareMathSymbol{\gamma}  {\mathalpha}{mteulervm}{"0D}
\DeclareMathSymbol{\delta}  {\mathalpha}{mteulervm}{"0E}
\DeclareMathSymbol{\epsilon}{\mathalpha}{mteulervm}{"0F}
\DeclareMathSymbol{\zeta}   {\mathalpha}{mteulervm}{"10}
\DeclareMathSymbol{\eta}    {\mathalpha}{mteulervm}{"11}
\DeclareMathSymbol{\theta}  {\mathalpha}{mteulervm}{"12}
\DeclareMathSymbol{\iota}   {\mathalpha}{mteulervm}{"13}
\DeclareMathSymbol{\kappa}  {\mathalpha}{mteulervm}{"14}
\DeclareMathSymbol{\lambda} {\mathalpha}{mteulervm}{"15}
\DeclareMathSymbol{\mu}     {\mathalpha}{mteulervm}{"16}
\DeclareMathSymbol{\nu}     {\mathalpha}{mteulervm}{"17}
\DeclareMathSymbol{\xi}     {\mathalpha}{mteulervm}{"18}
\let\omicron\undefined
\DeclareMathSymbol{\omicron}{\mathalpha}{mteulervm}{"6F}
\DeclareMathSymbol{\pi}     {\mathalpha}{mteulervm}{"19}
\DeclareMathSymbol{\rho}    {\mathalpha}{mteulervm}{"1A}
\DeclareMathSymbol{\sigma}  {\mathalpha}{mteulervm}{"1B}
\DeclareMathSymbol{\tau}    {\mathalpha}{mteulervm}{"1C}
\DeclareMathSymbol{\upsilon}{\mathalpha}{mteulervm}{"1D}
\DeclareMathSymbol{\phi}    {\mathalpha}{mteulervm}{"1E}
\DeclareMathSymbol{\chi}    {\mathalpha}{mteulervm}{"1F}
\DeclareMathSymbol{\psi}    {\mathalpha}{mteulervm}{"20}
\DeclareMathSymbol{\omega}  {\mathalpha}{mteulervm}{"21}
\DeclareMathSymbol{\varepsilon}{\mathalpha}{mteulervm}{"22}
\DeclareMathSymbol{\vartheta}{\mathalpha}{mteulervm}{"23}
\DeclareMathSymbol{\varpi}  {\mathalpha}{mteulervm}{"24}
\let\varrho=\rho
\let\varsigma=\sigma
\DeclareMathSymbol{\varphi} {\mathalpha}{mteulervm}{"27}
\DeclareMathSymbol{\partial}{\mathalpha}{mteulervm}{"40}
\DeclareMathSymbol{\wp}{\mathalpha}{mteulervm}{"7D}
\DeclareMathSymbol{\ell}{\mathalpha}{mteulervm}{"60}
\else
\ifmt@symbolgreek
\DeclareMathSymbol{\alpha}{\mathord}{mtpsymbol}{"61}
\DeclareMathSymbol{\beta}{\mathord}{mtpsymbol}{"62}
\DeclareMathSymbol{\gamma}{\mathord}{mtpsymbol}{"67}
\DeclareMathSymbol{\delta}{\mathord}{mtpsymbol}{"64}
\DeclareMathSymbol{\epsilon}{\mathord}{mtpsymbol}{"65}
\DeclareMathSymbol{\zeta}{\mathord}{mtpsymbol}{"7A}
\DeclareMathSymbol{\eta}{\mathord}{mtpsymbol}{"68}
\DeclareMathSymbol{\theta}{\mathord}{mtpsymbol}{"71}
\DeclareMathSymbol{\iota}{\mathord}{mtpsymbol}{"69}
\DeclareMathSymbol{\kappa}{\mathord}{mtpsymbol}{"6B}
\DeclareMathSymbol{\lambda}{\mathord}{mtpsymbol}{"6C}
\DeclareMathSymbol{\mu}{\mathord}{mtpsymbol}{"6D}
\DeclareMathSymbol{\nu}{\mathord}{mtpsymbol}{"6E}
\DeclareMathSymbol{\xi}{\mathord}{mtpsymbol}{"78}
\let\omicron\undefined
\DeclareMathSymbol{\omicron}{\mathord}{mtpsymbol}{"6F}
\DeclareMathSymbol{\pi}{\mathord}{mtpsymbol}{"70}
\DeclareMathSymbol{\rho}{\mathord}{mtpsymbol}{"72}
\DeclareMathSymbol{\sigma}{\mathord}{mtpsymbol}{"73}
\DeclareMathSymbol{\tau}{\mathord}{mtpsymbol}{"74}
\DeclareMathSymbol{\upsilon}{\mathord}{mtpsymbol}{"75}
\DeclareMathSymbol{\phi}{\mathord}{mtpsymbol}{"66}
\DeclareMathSymbol{\chi}{\mathord}{mtpsymbol}{"63}
\DeclareMathSymbol{\psi}{\mathord}{mtpsymbol}{"79}
\DeclareMathSymbol{\omega}{\mathord}{mtpsymbol}{"77}
\let\varepsilon=\epsilon
\DeclareMathSymbol{\vartheta}{\mathord}{mtpsymbol}{"4A}
\DeclareMathSymbol{\varpi}{\mathord}{mtpsymbol}{"76}
\let\varrho=\rho
\DeclareMathSymbol{\varsigma}{\mathord}{mtpsymbol}{"56}
\DeclareMathSymbol{\varphi}{\mathord}{mtpsymbol}{"6A}
\DeclareMathSymbol{\partial}{\mathord}{mtpsymbol}{"B6}
\DeclareMathSymbol{\wp}{\mathord}{mtpsymbol}{"C3}
\fi\fi\fi
%%
\ifmt@LGRgreek
\DeclareMathSymbol{\Alpha}{\mathalpha}{mtlgrfontupper}{65}
\DeclareMathSymbol{\Beta}{\mathalpha}{mtlgrfontupper}{66}
\DeclareMathSymbol{\Gamma}{\mathalpha}{mtlgrfontupper}{71}
\DeclareMathSymbol{\Delta}{\mathalpha}{mtlgrfontupper}{68}
\DeclareMathSymbol{\Epsilon}{\mathalpha}{mtlgrfontupper}{69}
\DeclareMathSymbol{\Zeta}{\mathalpha}{mtlgrfontupper}{90}
\DeclareMathSymbol{\Eta}{\mathalpha}{mtlgrfontupper}{72}
\DeclareMathSymbol{\Theta}{\mathalpha}{mtlgrfontupper}{74}
\DeclareMathSymbol{\Iota}{\mathalpha}{mtlgrfontupper}{73}
\DeclareMathSymbol{\Kappa}{\mathalpha}{mtlgrfontupper}{75}
\DeclareMathSymbol{\Lambda}{\mathalpha}{mtlgrfontupper}{76}
\DeclareMathSymbol{\Mu}{\mathalpha}{mtlgrfontupper}{77}
\DeclareMathSymbol{\Nu}{\mathalpha}{mtlgrfontupper}{78}
\DeclareMathSymbol{\Xi}{\mathalpha}{mtlgrfontupper}{88}
\DeclareMathSymbol{\Omicron}{\mathalpha}{mtlgrfontupper}{79}
\DeclareMathSymbol{\Pi}{\mathalpha}{mtlgrfontupper}{80}
\DeclareMathSymbol{\Rho}{\mathalpha}{mtlgrfontupper}{82}
\DeclareMathSymbol{\Sigma}{\mathalpha}{mtlgrfontupper}{83}
\DeclareMathSymbol{\Tau}{\mathalpha}{mtlgrfontupper}{84}
\DeclareMathSymbol{\Upsilon}{\mathalpha}{mtlgrfontupper}{85}
\DeclareMathSymbol{\Phi}{\mathalpha}{mtlgrfontupper}{70}
\DeclareMathSymbol{\Chi}{\mathalpha}{mtlgrfontupper}{81}
\DeclareMathSymbol{\Psi}{\mathalpha}{mtlgrfontupper}{89}
\DeclareMathSymbol{\Omega}{\mathalpha}{mtlgrfontupper}{87}
\DeclareMathSymbol{\alpha}{\mathalpha}{mtlgrfontlower}{97}
\DeclareMathSymbol{\beta}{\mathalpha}{mtlgrfontlower}{98}
\DeclareMathSymbol{\gamma}{\mathalpha}{mtlgrfontlower}{103}
\DeclareMathSymbol{\delta}{\mathalpha}{mtlgrfontlower}{100}
\DeclareMathSymbol{\epsilon}{\mathalpha}{mtlgrfontlower}{101}
\DeclareMathSymbol{\zeta}{\mathalpha}{mtlgrfontlower}{122}
\DeclareMathSymbol{\eta}{\mathalpha}{mtlgrfontlower}{104}
\DeclareMathSymbol{\theta}{\mathalpha}{mtlgrfontlower}{106}
\DeclareMathSymbol{\iota}{\mathalpha}{mtlgrfontlower}{105}
\DeclareMathSymbol{\kappa}{\mathalpha}{mtlgrfontlower}{107}
\DeclareMathSymbol{\lambda}{\mathalpha}{mtlgrfontlower}{108}
\DeclareMathSymbol{\mu}{\mathalpha}{mtlgrfontlower}{109}
\DeclareMathSymbol{\nu}{\mathalpha}{mtlgrfontlower}{110}
\DeclareMathSymbol{\xi}{\mathalpha}{mtlgrfontlower}{120}
\DeclareMathSymbol{\omicron}{\mathalpha}{mtlgrfontlower}{111}
\DeclareMathSymbol{\pi}{\mathalpha}{mtlgrfontlower}{112}
\DeclareMathSymbol{\rho}{\mathalpha}{mtlgrfontlower}{114}
\DeclareMathSymbol{\varsigma}{\mathalpha}{mtlgrfontlower}{99}
\DeclareMathSymbol{\sigma}{\mathalpha}{mtlgrfontlower}{115}
\DeclareMathSymbol{\tau}{\mathalpha}{mtlgrfontlower}{116}
\DeclareMathSymbol{\upsilon}{\mathalpha}{mtlgrfontlower}{117}
\DeclareMathSymbol{\phi}{\mathalpha}{mtlgrfontlower}{102}
\DeclareMathSymbol{\chi}{\mathalpha}{mtlgrfontlower}{113}
\DeclareMathSymbol{\psi}{\mathalpha}{mtlgrfontlower}{121}
\DeclareMathSymbol{\omega}{\mathalpha}{mtlgrfontlower}{119}
\DeclareMathSymbol{\digamma}{\mathalpha}{mtlgrfontlower}{147}
\DeclareMathSymbol{\Digamma}{\mathalpha}{mtlgrfontlower}{195}
\fi
\edef\mt@tmp@enc{\encodingdefault}
\mt@proceedtrue
\ifx\mt@tmp@enc\mt@eui % xetex and unicode font
  \XeTeXmathchardef\inodot="7 \symmtletterfont "0131 \relax
  \XeTeXmathchardef\jnodot="7 \symmtletterfont "0237 \relax
\else
\ifx\mt@tmp@enc\mt@euii % luatex and unicode font
   \luatexUmathchardef\inodot="7 \symmtletterfont "0131 \relax
   \luatexUmathchardef\jnodot="7 \symmtletterfont "0237 \relax
\else
\ifx\mt@tmp@enc\mt@ti % T1
   \DeclareMathSymbol{\inodot}{\mathalpha}{mtletterfont}{25}
   \DeclareMathSymbol{\jnodot}{\mathalpha}{mtletterfont}{26}
\else
\ifx\mt@tmp@enc\mt@oti % OT1
   \DeclareMathSymbol{\inodot}{\mathalpha}{mtletterfont}{16}
   \DeclareMathSymbol{\jnodot}{\mathalpha}{mtletterfont}{17}
\else
\ifx\mt@tmp@enc\mt@lyi % LY1
   \DeclareMathSymbol{\inodot}{\mathalpha}{mtletterfont}{16}
   \DeclareMathSymbol{\jnodot}{\mathalpha}{mtletterfont}{17}
\else
   \ifXeTeX\mt@proceedfalse\else\ifLuaTeX\mt@proceedfalse\else
   \DeclareMathSymbol{\inodot}{\mathalpha}{mtletterfont}
{\expandafter\the\expandafter\csname\mt@tmp@enc\string\i\endcsname}
   \DeclareMathSymbol{\jnodot}{\mathalpha}{mtletterfont}
{\expandafter\the\expandafter\csname\mt@tmp@enc\string\j\endcsname}
   \fi\fi
\fi\fi\fi\fi\fi
\ifmt@defaultimath\else
  \ifmt@proceed
    \renewcommand{\imath}{\inodot}
    \renewcommand{\jmath}{\jnodot}
    \let\mt@oldi\i \let\mt@oldj\j
    \DeclareRobustCommand{\i}{\ifmmode\inodot\else\mt@oldi\fi}
    \DeclareRobustCommand{\j}{\ifmmode\jnodot\else\mt@oldj\fi}
  \fi
\fi
\edef\mt@tmp@enc{\encodingdefault} %% rather one too many than sorry
\ifmt@mathaccents
\ifx\mt@ti\mt@tmp@enc
\DeclareMathAccent{\acute}{\mathalpha}{mtoperatorfont}{1}
\DeclareMathAccent{\grave}{\mathalpha}{mtoperatorfont}{0}
\DeclareMathAccent{\ddot}{\mathalpha}{mtoperatorfont}{4}
\DeclareMathAccent{\tilde}{\mathalpha}{mtoperatorfont}{3}
\DeclareMathAccent{\bar}{\mathalpha}{mtoperatorfont}{9}
\DeclareMathAccent{\breve}{\mathalpha}{mtoperatorfont}{8}
\DeclareMathAccent{\check}{\mathalpha}{mtoperatorfont}{7}
\DeclareMathAccent{\hat}{\mathalpha}{mtoperatorfont}{2}
\DeclareMathAccent{\dot}{\mathalpha}{mtoperatorfont}{10}
\DeclareMathAccent{\mathring}{\mathalpha}{mtoperatorfont}{6}
\else
\DeclareMathAccent{\acute}{\mathalpha}{mtoperatorfont}{19}
\DeclareMathAccent{\grave}{\mathalpha}{mtoperatorfont}{18}
\DeclareMathAccent{\ddot}{\mathalpha}{mtoperatorfont}{127}
\DeclareMathAccent{\tilde}{\mathalpha}{mtoperatorfont}{126}
\DeclareMathAccent{\bar}{\mathalpha}{mtoperatorfont}{22}
\DeclareMathAccent{\breve}{\mathalpha}{mtoperatorfont}{21}
\DeclareMathAccent{\check}{\mathalpha}{mtoperatorfont}{20}
\DeclareMathAccent{\hat}{\mathalpha}{mtoperatorfont}{94}
\DeclareMathAccent{\dot}{\mathalpha}{mtoperatorfont}{95}
\DeclareMathAccent{\mathring}{\mathalpha}{mtoperatorfont}{23}
  \ifx\mt@lyi\mt@tmp@enc   % LY1 encoding
    \DeclareMathAccent{\dot}{\mathalpha}{mtoperatorfont}{5}
  \else
     \ifx\mt@oti\mt@tmp@enc\else
      \typeout{** mathastext: math accents have been assumed to be^^J%
        ** as in OT1 encoding.}
      \fi
   \fi
\fi\fi
\ifmt@defaultsizes\else
\providecommand\@xxxpt{29.86}
\providecommand\@xxxvipt{35.83}
\ifmt@twelve
  \def\Huge{\@setfontsize\Huge\@xxxpt{36}}
  \def\HUGE{\@setfontsize\HUGE\@xxxvipt{43}}
\typeout{** \protect\Huge\space and \protect\HUGE\space have been (re)-defined.}
\else
  \def\HUGE{\@setfontsize\HUGE\@xxxpt{36}}
\typeout{** \protect\HUGE\space has been (re)-defined.}
\fi
\def\defaultscriptratio{.8333}
\def\defaultscriptscriptratio{.7}
\DeclareMathSizes{9}{9}{7}{5}
\DeclareMathSizes{\@xpt}{\@xpt}{8}{6}
\DeclareMathSizes{\@xipt}{\@xipt}{9}{7}
\DeclareMathSizes{\@xiipt}{\@xiipt}{10}{8}
\DeclareMathSizes{\@xivpt}{\@xivpt}{\@xiipt}{10}
\DeclareMathSizes{\@xviipt}{\@xviipt}{\@xivpt}{\@xiipt}
\DeclareMathSizes{\@xxpt}{\@xxpt}{\@xviipt}{\@xivpt}
\DeclareMathSizes{\@xxvpt}{\@xxvpt}{\@xxpt}{\@xviipt}
\DeclareMathSizes{\@xxxpt}{\@xxxpt}{\@xxvpt}{\@xxpt}
\DeclareMathSizes{\@xxxvipt}{\@xxxvipt}{\@xxxpt}{\@xxvpt}
\typeout{** mathastext has declared larger sizes for subscripts.^^J%
** To keep LaTeX defaults, use option `defaultmathsizes'.}
\fi
\AtBeginDocument{
  \ifmt@needsymbol
  \DeclareFontFamily{U}{psy}{}
  \DeclareFontShape{U}{psy}{m}{n}{<->s*[\psy@scale] psyr}{}
  \fi
}
\mt@font@info@on
\endinput
%%
%% End of file `mathastext.sty'.
