\NeedsTeXFormat{LaTeX2e}
%
\ProvidesPackage{kpfonts}
	[ 2008/07/07 v2.22]
	
\newif\ifkp@math	  \kp@mathtrue
\newif\ifkp@text  	\kp@texttrue
\newif\ifkp@sf      \kp@sftrue
\newif\ifkp@tt      \kp@tttrue
\newif\ifkp@upgrk
\newif\ifkp@slGrk
\newif\ifkp@upRm
\newif\ifkp@mathscr	\kp@mathscrtrue
\newif\ifkp@calasscr
\newif\ifkp@oldReIm
\newif\ifkp@osn
\newif\ifkp@osnm
\newif\ifkp@os
\newif\ifkp@osm
\newif\ifkp@vos
\newif\ifkp@vosm
\newif\ifkp@light
\newif\ifkp@rmx
\newif\ifkp@warning \kp@warningtrue
\newif\ifkp@amsmath \kp@amsmathtrue
\newif\ifkp@textcomp \kp@textcomptrue
\newif\ifkp@narrowiints
\newif\ifkp@largesmallcaps

\DeclareOption{nomath}         		{\kp@mathfalse}
\DeclareOption{notext}         		{\kp@textfalse}
\DeclareOption{nosf}           		{\kp@sffalse}
\DeclareOption{nott}           		{\kp@ttfalse}
\DeclareOption{onlyrm}						{\kp@ttfalse\kp@sffalse}
\DeclareOption{uprightgreeks}  		{\kp@upgrktrue}
\DeclareOption{slantedGreeks}  		{\kp@slGrktrue}
\DeclareOption{uprightRoman}   		{\kp@upRmtrue}
\DeclareOption{upright}        		{\kp@upRmtrue\kp@upgrktrue}
\DeclareOption{frenchstyle}    		{\kp@upRmtrue\kp@upgrktrue}
\DeclareOption{nomathscript}  	  {\kp@mathscrfalse}
\DeclareOption{mathcalasscript}		{\kp@calasscrtrue}
\DeclareOption{classicReIm}    		{\kp@oldReImtrue}
\DeclareOption{oldstylenums}      {\kp@osntrue}
\DeclareOption{oldstyle}       		{\kp@ostrue}
\DeclareOption{oldstylemath}   		{\kp@osmtrue}
\DeclareOption{oldstylenumsmath}  {\kp@osnmtrue}
\DeclareOption{fulloldstylenums}  {\kp@osntrue\kp@osnmtrue}
\DeclareOption{fulloldstyle}   		{\kp@ostrue\kp@osmtrue}
\DeclareOption{veryoldstyle}      {\kp@vostrue}
\DeclareOption{veryoldstylemath}  {\kp@vosmtrue}
\DeclareOption{fullveryoldstyle}  {\kp@vostrue\kp@vosmtrue}
\DeclareOption{light}          		{\kp@lighttrue}
\DeclareOption{rmx}            		{\kp@rmxtrue}
\DeclareOption{nowarning}         {\kp@warningfalse}
\DeclareOption{noamsmath}         {\kp@amsmathfalse}
\DeclareOption{notextcomp}        {\kp@textcompfalse}
\DeclareOption{narrowiints}       {\kp@narrowiintstrue}
\DeclareOption{largesmallcaps}    {\kp@largesmallcapstrue}
\ProcessOptions\relax

\ifkp@textcomp\RequirePackage[full]{textcomp}\fi
\ifkp@amsmath\RequirePackage{amsmath}\fi

\renewcommand{\bfdefault}{b}

%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Stupid oldstyle options %
%%%%%%%%%%%%%%%%%%%%%%%%%%%

\ifkp@osn\ifkp@os\kp@osnfalse\fi\fi
\ifkp@osn\ifkp@vos\kp@osnfalse\fi\fi
\ifkp@os\ifkp@vos\kp@osfalse\fi\fi

\ifkp@osnm\ifkp@osm\kp@osnmfalse\fi\fi
\ifkp@osnm\ifkp@vosm\kp@osnmfalse\fi\fi
\ifkp@osm\ifkp@vosm\kp@osmfalse\fi\fi

\ifkp@math\else\kp@osnmfalse\kp@osmfalse\kp@vosmfalse\fi
\ifkp@text\else\kp@osnfalse\kp@osfalse\kp@vosfalse\fi

%%%%%%%%
% Text %
%%%%%%%%

\ifkp@text
	\ifkp@warning
		\ifkp@os
%%%    					To prevent this warning, use the 'nowarning' option    %%%
 			   				\PackageWarning{kpfonts}%
         			  {With 'oldstyle' or 'fulloldstyle' option and T1 encoding,\MessageBreak
         			  'Thorn' and 'thorn' are unavailable.}
%%%    					To prevent this warning, use the 'nowarning' option    %%%
		\fi % end os
		\ifkp@vos
%%%    					To prevent this warning, use the 'nowarning' option    %%%
 			   				\PackageWarning{kpfonts}%
         			  {With 'veryoldstyle' or 'fullveryoldstyle' option and T1 encoding,\MessageBreak
         			  'Ng', 'Thorn', 'thorn' and 'eth' are unavailable.}
%%%    					To prevent this warning, use the 'nowarning' option    %%%
		\fi % end vos
	\fi % end warning
%
%%% famille, petitesmajuscules and style
%
		\ifkp@rmx\def\kp@famille{x}
			\else
				\ifkp@light\def\kp@famille{l}
					\else\def\kp@famille{}
						\fi\fi
		\ifkp@vos\def\kp@style{vos}
			\else\ifkp@os\def\kp@style{os}
				\else\ifkp@osn\def\kp@style{osn}
					\else\def\kp@style{}
						\fi\fi\fi
		\ifkp@largesmallcaps\def\kp@petitesmajuscules{k}\else\def\kp@petitesmajuscules{}\fi
%
%%% start rm
%
		\renewcommand{\rmdefault}{jkp\kp@famille\kp@petitesmajuscules\kp@style}
%
%%% start sf
%
		\renewcommand{\sfdefault}{jkpss\kp@petitesmajuscules\kp@style}
%
%%% start tt
%
		\renewcommand{\ttdefault}{jkptt\kp@style}
%
\fi	% end text
%


%%%%%%%%
% Math %
%%%%%%%%

\ifkp@math


%
%%% \kp@famillem and \kp@stylem
%
		
		\ifkp@light\def\kp@famillem{l}
			\else\def\kp@famillem{}
				\fi
		\ifkp@vosm\def\kp@stylem{vos}
			\else\ifkp@osm\def\kp@stylem{os}
				\else\ifkp@osnm\def\kp@stylem{osn}
					\else\def\kp@stylem{}
						\fi\fi\fi

% Roman

			\DeclareSymbolFont{operators}{OT1}{jkp\kp@famillem\kp@stylem}{m}{n}
				\SetSymbolFont{operators}{bold}{OT1}{jkp\kp@famillem\kp@stylem}{b}{n}
			\def\operator@font{\mathgroup\symoperators}	
			\DeclareSymbolFontAlphabet{\mathrm}{operators}
			
			\DeclareMathAlphabet{\mathbf}{OT1}{jkp\kp@famillem\kp@stylem}{b}{n}
			\DeclareMathAlphabet{\mathit}{OT1}{jkp\kp@famillem\kp@stylem}{m}{it}
				\SetMathAlphabet{\mathit}{bold}{OT1}{jkp\kp@famillem\kp@stylem}{b}{it}


% Sans Serif

		\DeclareMathAlphabet{\mathsf}{OT1}{jkpss\kp@stylem}{m}{n}
			\SetMathAlphabet{\mathsf}{bold}{OT1}{jkpss\kp@stylem}{b}{n}

% Typewriter

		\DeclareMathAlphabet{\mathtt}{OT1}{jkptt\kp@stylem}{m}{n}
			\SetMathAlphabet{\mathtt}{bold}{OT1}{jkptt\kp@stylem}{b}{n}


%
%%% \kp@stylemi
%
		
		\ifkp@vosm\def\kp@stylemi{vos}
			\else\def\kp@stylemi{}\fi

% Math Italic

		\DeclareSymbolFont{letters}{OML}{jkp\kp@famillem\kp@stylemi}{m}{it}
			\SetSymbolFont{letters}{bold}{OML}{jkp\kp@famillem\kp@stylemi}{bx}{it}
			\DeclareFontSubstitution{OML}{jkp\kp@famillem\kp@stylemi}{m}{it}

% Math Italic A

		\DeclareSymbolFont{lettersA}{U}{jkp\kp@famillem mia}{m}{it}
			\SetSymbolFont{lettersA}{bold}{U}{jkp\kp@famillem mia}{bx}{it}
			\DeclareFontSubstitution{U}{jkp\kp@famillem mia}{m}{it}

		\DeclareSymbolFontAlphabet{\mathfrak}{lettersA}


% Math Symbol

		\DeclareSymbolFont{symbols}{OMS}{jkp\kp@famillem}{m}{n}
			\SetSymbolFont{symbols}{bold}{OMS}{jkp\kp@famillem}{bx}{n}
			\DeclareFontSubstitution{OMS}{jkp\kp@famillem}{m}{n}
		\renewcommand{\AmSfont}{%
			\usefont{OMS}{jkp\kp@famillem}{\if\@xp\@car\f@series\@nil bb\else m\fi}{n}}

		\DeclareSymbolFontAlphabet{\symb@ls@lph@}{symbols}


% Math Symbols A (AMSa)


   \DeclareSymbolFont{AMSa}{U}{jkpsya}{m}{n}
     \SetSymbolFont{AMSa}{bold}{U}{jkpsya}{bx}{n}
     \DeclareFontSubstitution{U}{jkpsya}{m}{n}


% Math Symbols B (AMSb)

		\DeclareSymbolFont{AMSb}{U}{jkp\kp@famillem syb}{m}{n}
			\SetSymbolFont{AMSb}{bold}{U}{jkp\kp@famillem syb}{bx}{n}
			\DeclareFontSubstitution{U}{jkp\kp@famillem syb}{m}{n}

		\DeclareSymbolFontAlphabet{\mathbb}{AMSb}


% Math Symbols C

		\DeclareSymbolFont{symbolsC}{U}{jkp\kp@famillem syc}{m}{n}
		\SetSymbolFont{symbolsC}{bold}{U}{jkp\kp@famillem syc}{bx}{n}
		\DeclareFontSubstitution{U}{jkp\kp@famillem syc}{m}{n}


% Math Symbols D

\ifkp@calasscr
	\let\mathcal\undefined
			\DeclareMathAlphabet{\mathcal}{U}{jkp\kp@famillem syd}{m}{n}
				\SetMathAlphabet{\mathcal}{bold}{U}{jkp\kp@famillem syd}{bx}{n}
		\ifkp@mathscr
			\DeclareSymbolFontAlphabet{\mathscr}{symbols}
		\fi
\else
		\ifkp@mathscr
			\DeclareMathAlphabet{\mathscr}{U}{jkp\kp@famillem syd}{m}{n}
				\SetMathAlphabet{\mathscr}{bold}{U}{jkp\kp@famillem syd}{bx}{n}
		\fi
\fi

% Math Extension

		\DeclareSymbolFont{largesymbols}{OMX}{jkp\kp@famillem}{m}{n}
			\SetSymbolFont{largesymbols}{bold}{OMX}{jkp\kp@famillem}{bx}{n}
			\DeclareFontSubstitution{OMX}{jkp\kp@famillem}{m}{n}


% Math Extension A

		\DeclareSymbolFont{largesymbolsA}{U}{jkp\kp@famillem exa}{m}{n}
			\SetSymbolFont{largesymbolsA}{bold}{U}{jkp\kp@famillem exa}{bx}{n}
			\DeclareFontSubstitution{U}{jkp\kp@famillem exa}{m}{n}


% Mat fonts Sizes and Additional Math Spaces


\def\defaultscriptratio{.76}
\def\defaultscriptscriptratio{.6}
\DeclareMathSizes{5}    {6}    {6}   {6}
\DeclareMathSizes{6}    {6}    {6}   {6}
\DeclareMathSizes{7}    {6.8}  {6}   {6}
\DeclareMathSizes{8}    {8}    {6.8} {6}
\DeclareMathSizes{9}    {9}    {7.6} {6}
\DeclareMathSizes{10}   {10}   {7.6} {6}
\DeclareMathSizes{10.95}{10.95}{8.3} {6}
\DeclareMathSizes{11}   {11}   {8.3} {6}
\DeclareMathSizes{12}   {12}   {9}   {7}
\DeclareMathSizes{14.4} {14.4} {10}  {8}
\DeclareMathSizes{17.28}{17.28}{12}  {9}
\DeclareMathSizes{20.74}{20.74}{14.4}{10}
\DeclareMathSizes{24.88}{24.88}{17.28}{12}
\thinmuskip=2mu
\medmuskip=3mu plus 1.5mu minus 3mu
\thickmuskip=4mu plus 3mu


% Common Macros


\def\re@DeclareMathSymbol#1#2#3#4{%
    \let#1=\undefined
    \DeclareMathSymbol{#1}{#2}{#3}{#4}}

\def\re@DeclareMathDelimiter#1#2#3#4#5#6{%
    \let#1=\undefined
    \DeclareMathDelimiter{#1}{#2}{#3}{#4}{#5}{#6}}

\def\re@DeclareMathAccent#1#2#3#4{%
    \let#1=\undefined
    \DeclareMathAccent{#1}{#2}{#3}{#4}}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Math Symbol (jkpsy) Definition % synomymes and \Re, \Im
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
   \let\circledplus\oplus
   \let\circledminus\ominus
   \let\circledtimes\otimes
   \let\circledslash\oslash
   \let\circleddot\odot
   
\ifkp@oldReIm
	\re@DeclareMathSymbol{\Re}{\mathord}{lettersA}{82}
	\re@DeclareMathSymbol{\Im}{\mathord}{lettersA}{73}
\fi


\re@DeclareMathSymbol{\varemptyset}{\mathord}{symbols}{128}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Math Symbol A Definitions % AMSa
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\re@DeclareMathSymbol{\boxdot}{\mathbin}{AMSa}{0}
\re@DeclareMathSymbol{\boxplus}{\mathbin}{AMSa}{1}
\re@DeclareMathSymbol{\boxtimes}{\mathbin}{AMSa}{2}
\re@DeclareMathSymbol{\square}{\mathord}{AMSa}{3}
\re@DeclareMathSymbol{\blacksquare}{\mathord}{AMSa}{4}
\re@DeclareMathSymbol{\centerdot}{\mathbin}{AMSa}{5}
\re@DeclareMathSymbol{\lozenge}{\mathord}{AMSa}{6}
\re@DeclareMathSymbol{\blacklozenge}{\mathord}{AMSa}{7}
\re@DeclareMathSymbol{\circlearrowright}{\mathrel}{AMSa}{8}
\re@DeclareMathSymbol{\circlearrowleft}{\mathrel}{AMSa}{9}
\re@DeclareMathSymbol{\rightleftharpoons}{\mathrel}{AMSa}{10}
\re@DeclareMathSymbol{\leftrightharpoons}{\mathrel}{AMSa}{11}
\re@DeclareMathSymbol{\boxminus}{\mathbin}{AMSa}{12}
\re@DeclareMathSymbol{\Vdash}{\mathrel}{AMSa}{13}
\re@DeclareMathSymbol{\Vvdash}{\mathrel}{AMSa}{14}
\re@DeclareMathSymbol{\vDash}{\mathrel}{AMSa}{15}
\re@DeclareMathSymbol{\twoheadrightarrow}{\mathrel}{AMSa}{16}
\re@DeclareMathSymbol{\twoheadleftarrow}{\mathrel}{AMSa}{17}
\re@DeclareMathSymbol{\leftleftarrows}{\mathrel}{AMSa}{18}
\re@DeclareMathSymbol{\rightrightarrows}{\mathrel}{AMSa}{19}
\re@DeclareMathSymbol{\upuparrows}{\mathrel}{AMSa}{20}
\re@DeclareMathSymbol{\downdownarrows}{\mathrel}{AMSa}{21}
\re@DeclareMathSymbol{\upharpoonright}{\mathrel}{AMSa}{22}
   \let\restriction\upharpoonright
\re@DeclareMathSymbol{\downharpoonright}{\mathrel}{AMSa}{23}
\re@DeclareMathSymbol{\upharpoonleft}{\mathrel}{AMSa}{24}
\re@DeclareMathSymbol{\downharpoonleft}{\mathrel}{AMSa}{25}
\re@DeclareMathSymbol{\rightarrowtail}{\mathrel}{AMSa}{26}
\re@DeclareMathSymbol{\leftarrowtail}{\mathrel}{AMSa}{27}
\re@DeclareMathSymbol{\leftrightarrows}{\mathrel}{AMSa}{28}
\re@DeclareMathSymbol{\rightleftarrows}{\mathrel}{AMSa}{29}
\re@DeclareMathSymbol{\Lsh}{\mathrel}{AMSa}{30}
\re@DeclareMathSymbol{\Rsh}{\mathrel}{AMSa}{31}
\re@DeclareMathSymbol{\rightsquigarrow}{\mathrel}{AMSa}{32}
\re@DeclareMathSymbol{\leftrightsquigarrow}{\mathrel}{AMSa}{33}
\re@DeclareMathSymbol{\looparrowleft}{\mathrel}{AMSa}{34}
\re@DeclareMathSymbol{\looparrowright}{\mathrel}{AMSa}{35}
\re@DeclareMathSymbol{\circeq}{\mathrel}{AMSa}{36}
\re@DeclareMathSymbol{\succsim}{\mathrel}{AMSa}{37}
\re@DeclareMathSymbol{\gtrsim}{\mathrel}{AMSa}{38}
\re@DeclareMathSymbol{\gtrapprox}{\mathrel}{AMSa}{39}
\re@DeclareMathSymbol{\multimap}{\mathrel}{AMSa}{40}
\re@DeclareMathSymbol{\therefore}{\mathrel}{AMSa}{41}
\re@DeclareMathSymbol{\because}{\mathrel}{AMSa}{42}
\re@DeclareMathSymbol{\doteqdot}{\mathrel}{AMSa}{43}
   \let\Doteq\doteqdot
\re@DeclareMathSymbol{\triangleq}{\mathrel}{AMSa}{44}
\re@DeclareMathSymbol{\precsim}{\mathrel}{AMSa}{45}
\re@DeclareMathSymbol{\lesssim}{\mathrel}{AMSa}{46}
\re@DeclareMathSymbol{\lessapprox}{\mathrel}{AMSa}{47}
\re@DeclareMathSymbol{\eqslantless}{\mathrel}{AMSa}{48}
\re@DeclareMathSymbol{\eqslantgtr}{\mathrel}{AMSa}{49}
\re@DeclareMathSymbol{\curlyeqprec}{\mathrel}{AMSa}{50}
\re@DeclareMathSymbol{\curlyeqsucc}{\mathrel}{AMSa}{51}
\re@DeclareMathSymbol{\preccurlyeq}{\mathrel}{AMSa}{52}
\re@DeclareMathSymbol{\leqq}{\mathrel}{AMSa}{53}
\re@DeclareMathSymbol{\leqslant}{\mathrel}{AMSa}{54}
\re@DeclareMathSymbol{\lessgtr}{\mathrel}{AMSa}{55}
\re@DeclareMathSymbol{\backprime}{\mathord}{AMSa}{56}
\re@DeclareMathSymbol{\risingdotseq}{\mathrel}{AMSa}{58}
\re@DeclareMathSymbol{\fallingdotseq}{\mathrel}{AMSa}{59}
\re@DeclareMathSymbol{\succcurlyeq}{\mathrel}{AMSa}{60}
\re@DeclareMathSymbol{\geqq}{\mathrel}{AMSa}{61}
\re@DeclareMathSymbol{\geqslant}{\mathrel}{AMSa}{62}
\re@DeclareMathSymbol{\gtrless}{\mathrel}{AMSa}{63}
\re@DeclareMathSymbol{\sqsubset}{\mathrel}{AMSa}{64}
\re@DeclareMathSymbol{\sqsupset}{\mathrel}{AMSa}{65}
\re@DeclareMathSymbol{\vartriangleright}{\mathrel}{AMSa}{66}
\re@DeclareMathSymbol{\vartriangleleft}{\mathrel}{AMSa}{67}
\re@DeclareMathSymbol{\trianglerighteq}{\mathrel}{AMSa}{68}
\re@DeclareMathSymbol{\trianglelefteq}{\mathrel}{AMSa}{69}
\re@DeclareMathSymbol{\bigstar}{\mathord}{AMSa}{70}
\re@DeclareMathSymbol{\between}{\mathrel}{AMSa}{71}
\re@DeclareMathSymbol{\blacktriangledown}{\mathord}{AMSa}{72}
\re@DeclareMathSymbol{\blacktriangleright}{\mathrel}{AMSa}{73}
\re@DeclareMathSymbol{\blacktriangleleft}{\mathrel}{AMSa}{74}
\re@DeclareMathSymbol{\vartriangle}{\mathrel}{AMSa}{77}
\re@DeclareMathSymbol{\blacktriangle}{\mathord}{AMSa}{78}
\re@DeclareMathSymbol{\triangledown}{\mathord}{AMSa}{79}
\re@DeclareMathSymbol{\eqcirc}{\mathrel}{AMSa}{80}
\re@DeclareMathSymbol{\lesseqgtr}{\mathrel}{AMSa}{81}
\re@DeclareMathSymbol{\gtreqless}{\mathrel}{AMSa}{82}
\re@DeclareMathSymbol{\lesseqqgtr}{\mathrel}{AMSa}{83}
\re@DeclareMathSymbol{\gtreqqless}{\mathrel}{AMSa}{84}
\re@DeclareMathSymbol{\Rrightarrow}{\mathrel}{AMSa}{86}
\re@DeclareMathSymbol{\Lleftarrow}{\mathrel}{AMSa}{87}
\re@DeclareMathSymbol{\veebar}{\mathbin}{AMSa}{89}
\re@DeclareMathSymbol{\barwedge}{\mathbin}{AMSa}{90}
\re@DeclareMathSymbol{\doublebarwedge}{\mathbin}{AMSa}{91}
\re@DeclareMathSymbol{\angle}{\mathord}{AMSa}{92}
\re@DeclareMathSymbol{\measuredangle}{\mathord}{AMSa}{93}
\re@DeclareMathSymbol{\sphericalangle}{\mathord}{AMSa}{94}
\re@DeclareMathSymbol{\varpropto}{\mathrel}{AMSa}{95}
\re@DeclareMathSymbol{\smallsmile}{\mathrel}{AMSa}{96}
\re@DeclareMathSymbol{\smallfrown}{\mathrel}{AMSa}{97}
\re@DeclareMathSymbol{\Subset}{\mathrel}{AMSa}{98}
\re@DeclareMathSymbol{\Supset}{\mathrel}{AMSa}{99}
\re@DeclareMathSymbol{\Cup}{\mathbin}{AMSa}{100}
   \let\doublecup\Cup
\re@DeclareMathSymbol{\Cap}{\mathbin}{AMSa}{101}
   \let\doublecap\Cap
\re@DeclareMathSymbol{\curlywedge}{\mathbin}{AMSa}{102}
\re@DeclareMathSymbol{\curlyvee}{\mathbin}{AMSa}{103}
\re@DeclareMathSymbol{\leftthreetimes}{\mathbin}{AMSa}{104}
\re@DeclareMathSymbol{\rightthreetimes}{\mathbin}{AMSa}{105}
\re@DeclareMathSymbol{\subseteqq}{\mathrel}{AMSa}{106}
\re@DeclareMathSymbol{\supseteqq}{\mathrel}{AMSa}{107}
\re@DeclareMathSymbol{\bumpeq}{\mathrel}{AMSa}{108}
\re@DeclareMathSymbol{\Bumpeq}{\mathrel}{AMSa}{109}
\re@DeclareMathSymbol{\lll}{\mathrel}{AMSa}{110}
   \let\llless\lll
\re@DeclareMathSymbol{\ggg}{\mathrel}{AMSa}{111}
   \let\gggtr\ggg
\re@DeclareMathDelimiter\ulcorner{\mathopen}{AMSa}{112}{AMSa}{112}
\re@DeclareMathDelimiter\urcorner{\mathclose}{AMSa}{113}{AMSa}{113}
\re@DeclareMathSymbol{\circledS}{\mathord}{AMSa}{115}
\re@DeclareMathSymbol{\pitchfork}{\mathrel}{AMSa}{116}
\re@DeclareMathSymbol{\dotplus}{\mathbin}{AMSa}{117}
\re@DeclareMathSymbol{\backsim}{\mathrel}{AMSa}{118}
\re@DeclareMathSymbol{\backsimeq}{\mathrel}{AMSa}{119}
\re@DeclareMathDelimiter\llcorner{\mathopen}{AMSa}{120}{AMSa}{120}
\re@DeclareMathDelimiter\lrcorner{\mathclose}{AMSa}{121}{AMSa}{121}
\re@DeclareMathSymbol{\complement}{\mathord}{AMSa}{123}
\re@DeclareMathSymbol{\intercal}{\mathbin}{AMSa}{124}
\re@DeclareMathSymbol{\circledcirc}{\mathbin}{AMSa}{125}
\re@DeclareMathSymbol{\circledast}{\mathbin}{AMSa}{126}
\re@DeclareMathSymbol{\circleddash}{\mathbin}{AMSa}{127}

\let\Box=\square % LaTeX symbol
\re@DeclareMathSymbol{\rhd}{\mathbin}{AMSa}{66} % LaTeX symbol
\re@DeclareMathSymbol{\lhd}{\mathbin}{AMSa}{67} % LaTeX symbol
\re@DeclareMathSymbol{\unrhd}{\mathbin}{AMSa}{68} % LaTeX symbol
\re@DeclareMathSymbol{\unlhd}{\mathbin}{AMSa}{69} % LaTeX symbol

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Math Symbol B Definitions % AMSb
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\re@DeclareMathSymbol{\lvertneqq}{\mathrel}{AMSb}{0}
\re@DeclareMathSymbol{\gvertneqq}{\mathrel}{AMSb}{1}
\re@DeclareMathSymbol{\nleq}{\mathrel}{AMSb}{2}
\re@DeclareMathSymbol{\ngeq}{\mathrel}{AMSb}{3}
\re@DeclareMathSymbol{\nless}{\mathrel}{AMSb}{4}
\re@DeclareMathSymbol{\ngtr}{\mathrel}{AMSb}{5}
\re@DeclareMathSymbol{\nprec}{\mathrel}{AMSb}{6}
\re@DeclareMathSymbol{\nsucc}{\mathrel}{AMSb}{7}
\re@DeclareMathSymbol{\lneqq}{\mathrel}{AMSb}{8}
\re@DeclareMathSymbol{\gneqq}{\mathrel}{AMSb}{9}
\re@DeclareMathSymbol{\nleqslant}{\mathrel}{AMSb}{10}
\re@DeclareMathSymbol{\ngeqslant}{\mathrel}{AMSb}{11}
\re@DeclareMathSymbol{\lneq}{\mathrel}{AMSb}{12}
\re@DeclareMathSymbol{\gneq}{\mathrel}{AMSb}{13}
\re@DeclareMathSymbol{\npreceq}{\mathrel}{AMSb}{14}
\re@DeclareMathSymbol{\nsucceq}{\mathrel}{AMSb}{15}
\re@DeclareMathSymbol{\precnsim}{\mathrel}{AMSb}{16}
\re@DeclareMathSymbol{\succnsim}{\mathrel}{AMSb}{17}
\re@DeclareMathSymbol{\lnsim}{\mathrel}{AMSb}{18}
\re@DeclareMathSymbol{\gnsim}{\mathrel}{AMSb}{19}
\re@DeclareMathSymbol{\nleqq}{\mathrel}{AMSb}{20}
\re@DeclareMathSymbol{\ngeqq}{\mathrel}{AMSb}{21}
\re@DeclareMathSymbol{\precneqq}{\mathrel}{AMSb}{22}
\re@DeclareMathSymbol{\succneqq}{\mathrel}{AMSb}{23}
\re@DeclareMathSymbol{\precnapprox}{\mathrel}{AMSb}{24}
\re@DeclareMathSymbol{\succnapprox}{\mathrel}{AMSb}{25}
\re@DeclareMathSymbol{\lnapprox}{\mathrel}{AMSb}{26}
\re@DeclareMathSymbol{\gnapprox}{\mathrel}{AMSb}{27}
\re@DeclareMathSymbol{\nsim}{\mathrel}{AMSb}{28}
\re@DeclareMathSymbol{\ncong}{\mathrel}{AMSb}{29}
\re@DeclareMathSymbol{\diagup}{\mathord}{AMSb}{30}
\re@DeclareMathSymbol{\diagdown}{\mathord}{AMSb}{31}
\re@DeclareMathSymbol{\varsubsetneq}{\mathrel}{AMSb}{32}
\re@DeclareMathSymbol{\varsupsetneq}{\mathrel}{AMSb}{33}
\re@DeclareMathSymbol{\nsubseteqq}{\mathrel}{AMSb}{34}
\re@DeclareMathSymbol{\nsupseteqq}{\mathrel}{AMSb}{35}
\re@DeclareMathSymbol{\subsetneqq}{\mathrel}{AMSb}{36}
\re@DeclareMathSymbol{\supsetneqq}{\mathrel}{AMSb}{37}
\re@DeclareMathSymbol{\varsubsetneqq}{\mathrel}{AMSb}{38}
\re@DeclareMathSymbol{\varsupsetneqq}{\mathrel}{AMSb}{39}
\re@DeclareMathSymbol{\subsetneq}{\mathrel}{AMSb}{40}
\re@DeclareMathSymbol{\supsetneq}{\mathrel}{AMSb}{41}
\re@DeclareMathSymbol{\nsubseteq}{\mathrel}{AMSb}{42}
\re@DeclareMathSymbol{\nsupseteq}{\mathrel}{AMSb}{43}
\re@DeclareMathSymbol{\nparallel}{\mathrel}{AMSb}{44}
\re@DeclareMathSymbol{\nmid}{\mathrel}{AMSb}{45}
\re@DeclareMathSymbol{\nshortmid}{\mathrel}{AMSb}{46}
\re@DeclareMathSymbol{\nshortparallel}{\mathrel}{AMSb}{47}
\re@DeclareMathSymbol{\nvdash}{\mathrel}{AMSb}{48}
\re@DeclareMathSymbol{\nVdash}{\mathrel}{AMSb}{49}
\re@DeclareMathSymbol{\nvDash}{\mathrel}{AMSb}{50}
\re@DeclareMathSymbol{\nVDash}{\mathrel}{AMSb}{51}
\re@DeclareMathSymbol{\ntrianglerighteq}{\mathrel}{AMSb}{52}
\re@DeclareMathSymbol{\ntrianglelefteq}{\mathrel}{AMSb}{53}
\re@DeclareMathSymbol{\ntriangleleft}{\mathrel}{AMSb}{54}
\re@DeclareMathSymbol{\ntriangleright}{\mathrel}{AMSb}{55}
\re@DeclareMathSymbol{\nleftarrow}{\mathrel}{AMSb}{56}
\re@DeclareMathSymbol{\nrightarrow}{\mathrel}{AMSb}{57}
\re@DeclareMathSymbol{\nLeftarrow}{\mathrel}{AMSb}{58}
\re@DeclareMathSymbol{\nRightarrow}{\mathrel}{AMSb}{59}
\re@DeclareMathSymbol{\nLeftrightarrow}{\mathrel}{AMSb}{60}
\re@DeclareMathSymbol{\nleftrightarrow}{\mathrel}{AMSb}{61}
\re@DeclareMathSymbol{\divideontimes}{\mathbin}{AMSb}{62}
\re@DeclareMathSymbol{\varnothing}{\mathord}{AMSb}{63}
\re@DeclareMathSymbol{\nexists}{\mathord}{AMSb}{64}
\re@DeclareMathSymbol{\Finv}{\mathord}{AMSb}{96}
\re@DeclareMathSymbol{\Game}{\mathord}{AMSb}{97}
\re@DeclareMathSymbol{\mho}{\mathord}{AMSb}{102}
\re@DeclareMathSymbol{\eth}{\mathord}{AMSb}{103}
\re@DeclareMathSymbol{\eqsim}{\mathrel}{AMSb}{104}
\re@DeclareMathSymbol{\beth}{\mathord}{AMSb}{105}
\re@DeclareMathSymbol{\gimel}{\mathord}{AMSb}{106}
\re@DeclareMathSymbol{\daleth}{\mathord}{AMSb}{107}
\re@DeclareMathSymbol{\lessdot}{\mathbin}{AMSb}{108}
\re@DeclareMathSymbol{\gtrdot}{\mathbin}{AMSb}{109}
\re@DeclareMathSymbol{\ltimes}{\mathbin}{AMSb}{110}
\re@DeclareMathSymbol{\rtimes}{\mathbin}{AMSb}{111}
\re@DeclareMathSymbol{\shortmid}{\mathrel}{AMSb}{112}
\re@DeclareMathSymbol{\shortparallel}{\mathrel}{AMSb}{113}
\re@DeclareMathSymbol{\smallsetminus}{\mathbin}{AMSb}{114}
\re@DeclareMathSymbol{\thicksim}{\mathrel}{AMSb}{115}
\re@DeclareMathSymbol{\thickapprox}{\mathrel}{AMSb}{116}
\re@DeclareMathSymbol{\approxeq}{\mathrel}{AMSb}{117}
\re@DeclareMathSymbol{\succapprox}{\mathrel}{AMSb}{118}
\re@DeclareMathSymbol{\precapprox}{\mathrel}{AMSb}{119}
\re@DeclareMathSymbol{\curvearrowleft}{\mathrel}{AMSb}{120}
\re@DeclareMathSymbol{\curvearrowright}{\mathrel}{AMSb}{121}
\re@DeclareMathSymbol{\digamma}{\mathord}{AMSb}{122}
\re@DeclareMathSymbol{\varkappa}{\mathord}{AMSb}{123}
\re@DeclareMathSymbol{\Bbbk}{\mathord}{AMSb}{124}
\re@DeclareMathSymbol{\hslash}{\mathord}{AMSb}{125}
\re@DeclareMathSymbol{\hbar}{\mathord}{AMSb}{126}
\re@DeclareMathSymbol{\backepsilon}{\mathrel}{AMSb}{127}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Math Symbol C Definitions % symbolsC
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\re@DeclareMathSymbol{\mappedfromchar}{\mathrel}{symbolsC}{0}
   \def\mappedfrom{\leftarrow\mappedfromchar}
   \def\longmappedfrom{\longleftarrow\mappedfromchar}
\re@DeclareMathSymbol{\Mapstochar}{\mathrel}{symbolsC}{1}
   \def\Mapsto{\Mapstochar\Rightarrow}
   \def\Longmapsto{\Mapstochar\Longrightarrow}
\re@DeclareMathSymbol{\Mappedfromchar}{\mathrel}{symbolsC}{2}
   \def\Mappedfrom{\Leftarrow\Mappedfromchar}
   \def\Longmappedfrom{\Longleftarrow\Mappedfromchar}
\re@DeclareMathSymbol{\mmapstochar}{\mathrel}{symbolsC}{3}
   \def\mmapsto{\mmapstochar\rightarrow}
   \def\longmmapsto{\mmapstochar\longrightarrow}
\re@DeclareMathSymbol{\mmappedfromchar}{\mathrel}{symbolsC}{4}
   \def\mmappedfrom{\leftarrow\mmappedfromchar}
   \def\longmmappedfrom{\longleftarrow\mmappedfromchar}
\re@DeclareMathSymbol{\Mmapstochar}{\mathrel}{symbolsC}{5}
   \def\Mmapsto{\Mmapstochar\Rightarrow}
   \def\Longmmapsto{\Mmapstochar\Longrightarrow}
\re@DeclareMathSymbol{\Mmappedfromchar}{\mathrel}{symbolsC}{6}
   \def\Mmappedfrom{\Leftarrow\Mmappedfromchar}
   \def\Longmmappedfrom{\Longleftarrow\Mmappedfromchar}
\re@DeclareMathSymbol{\medcirc}{\mathbin}{symbolsC}{7}
\re@DeclareMathSymbol{\medbullet}{\mathbin}{symbolsC}{8}
\re@DeclareMathSymbol{\varparallel}{\mathrel}{symbolsC}{9}
\re@DeclareMathSymbol{\varparallelinv}{\mathrel}{symbolsC}{10}
\re@DeclareMathSymbol{\nvarparallel}{\mathrel}{symbolsC}{11}
\re@DeclareMathSymbol{\nvarparallelinv}{\mathrel}{symbolsC}{12}
\re@DeclareMathSymbol{\colonapprox}{\mathrel}{symbolsC}{13}
\re@DeclareMathSymbol{\colonsim}{\mathrel}{symbolsC}{14}
\re@DeclareMathSymbol{\Colonapprox}{\mathrel}{symbolsC}{15}
\re@DeclareMathSymbol{\Colonsim}{\mathrel}{symbolsC}{16}
\re@DeclareMathSymbol{\doteq}{\mathrel}{symbolsC}{17}
\re@DeclareMathSymbol{\multimapinv}{\mathrel}{symbolsC}{18}
\re@DeclareMathSymbol{\multimapboth}{\mathrel}{symbolsC}{19}
\re@DeclareMathSymbol{\multimapdot}{\mathrel}{symbolsC}{20}
\re@DeclareMathSymbol{\multimapdotinv}{\mathrel}{symbolsC}{21}
\re@DeclareMathSymbol{\multimapdotboth}{\mathrel}{symbolsC}{22}
\re@DeclareMathSymbol{\multimapdotbothA}{\mathrel}{symbolsC}{23}
\re@DeclareMathSymbol{\multimapdotbothB}{\mathrel}{symbolsC}{24}
\re@DeclareMathSymbol{\VDash}{\mathrel}{symbolsC}{25}
\re@DeclareMathSymbol{\VvDash}{\mathrel}{symbolsC}{26}
\re@DeclareMathSymbol{\cong}{\mathrel}{symbolsC}{27}
\re@DeclareMathSymbol{\preceqq}{\mathrel}{symbolsC}{28}
\re@DeclareMathSymbol{\succeqq}{\mathrel}{symbolsC}{29}
\re@DeclareMathSymbol{\nprecsim}{\mathrel}{symbolsC}{30}
\re@DeclareMathSymbol{\nsuccsim}{\mathrel}{symbolsC}{31}
\re@DeclareMathSymbol{\nlesssim}{\mathrel}{symbolsC}{32}
\re@DeclareMathSymbol{\ngtrsim}{\mathrel}{symbolsC}{33}
\re@DeclareMathSymbol{\nlessapprox}{\mathrel}{symbolsC}{34}
\re@DeclareMathSymbol{\ngtrapprox}{\mathrel}{symbolsC}{35}
\re@DeclareMathSymbol{\npreccurlyeq}{\mathrel}{symbolsC}{36}
\re@DeclareMathSymbol{\nsucccurlyeq}{\mathrel}{symbolsC}{37}
\re@DeclareMathSymbol{\ngtrless}{\mathrel}{symbolsC}{38}
\re@DeclareMathSymbol{\nlessgtr}{\mathrel}{symbolsC}{39}
\re@DeclareMathSymbol{\nbumpeq}{\mathrel}{symbolsC}{40}
\re@DeclareMathSymbol{\nBumpeq}{\mathrel}{symbolsC}{41}
\re@DeclareMathSymbol{\nbacksim}{\mathrel}{symbolsC}{42}
\re@DeclareMathSymbol{\nbacksimeq}{\mathrel}{symbolsC}{43}
\re@DeclareMathSymbol{\neq}{\mathrel}{symbolsC}{44}
   \let\ne=\neq
\re@DeclareMathSymbol{\nasymp}{\mathrel}{symbolsC}{45}
\re@DeclareMathSymbol{\nequiv}{\mathrel}{symbolsC}{46}
\re@DeclareMathSymbol{\nsim}{\mathrel}{symbolsC}{47}
\re@DeclareMathSymbol{\napprox}{\mathrel}{symbolsC}{48}
\re@DeclareMathSymbol{\nsubset}{\mathrel}{symbolsC}{49}
\re@DeclareMathSymbol{\nsupset}{\mathrel}{symbolsC}{50}
\re@DeclareMathSymbol{\nll}{\mathrel}{symbolsC}{51}
\re@DeclareMathSymbol{\ngg}{\mathrel}{symbolsC}{52}
\re@DeclareMathSymbol{\nthickapprox}{\mathrel}{symbolsC}{53}
\re@DeclareMathSymbol{\napproxeq}{\mathrel}{symbolsC}{54}
\re@DeclareMathSymbol{\nprecapprox}{\mathrel}{symbolsC}{55}
\re@DeclareMathSymbol{\nsuccapprox}{\mathrel}{symbolsC}{56}
\re@DeclareMathSymbol{\npreceqq}{\mathrel}{symbolsC}{57}
\re@DeclareMathSymbol{\nsucceqq}{\mathrel}{symbolsC}{58}
\re@DeclareMathSymbol{\nsimeq}{\mathrel}{symbolsC}{59}
\re@DeclareMathSymbol{\notin}{\mathrel}{symbolsC}{60}
\re@DeclareMathSymbol{\notni}{\mathrel}{symbolsC}{61}
   \let\notowns=\notni
\re@DeclareMathSymbol{\nSubset}{\mathrel}{symbolsC}{62}
\re@DeclareMathSymbol{\nSupset}{\mathrel}{symbolsC}{63}
\re@DeclareMathSymbol{\nsqsubseteq}{\mathrel}{symbolsC}{64}
\re@DeclareMathSymbol{\nsqsupseteq}{\mathrel}{symbolsC}{65}
\re@DeclareMathSymbol{\coloneqq}{\mathrel}{symbolsC}{66}
\re@DeclareMathSymbol{\eqqcolon}{\mathrel}{symbolsC}{67}
\re@DeclareMathSymbol{\coloneq}{\mathrel}{symbolsC}{68}
\re@DeclareMathSymbol{\eqcolon}{\mathrel}{symbolsC}{69}
\re@DeclareMathSymbol{\Coloneqq}{\mathrel}{symbolsC}{70}
\re@DeclareMathSymbol{\Eqqcolon}{\mathrel}{symbolsC}{71}
\re@DeclareMathSymbol{\Coloneq}{\mathrel}{symbolsC}{72}
\re@DeclareMathSymbol{\Eqcolon}{\mathrel}{symbolsC}{73}
\re@DeclareMathSymbol{\strictif}{\mathrel}{symbolsC}{74}
\re@DeclareMathSymbol{\strictfi}{\mathrel}{symbolsC}{75}
\re@DeclareMathSymbol{\strictiff}{\mathrel}{symbolsC}{76}
\re@DeclareMathSymbol{\invamp}{\mathbin}{symbolsC}{77}
\re@DeclareMathDelimiter{\lbag}{\mathopen}{symbolsC}{78}{largesymbolsA}{48}
\re@DeclareMathDelimiter{\rbag}{\mathclose}{symbolsC}{79}{largesymbolsA}{49}
\re@DeclareMathSymbol{\Lbag}{\mathopen}{symbolsC}{80}
\re@DeclareMathSymbol{\Rbag}{\mathclose}{symbolsC}{81}
\re@DeclareMathSymbol{\circledless}{\mathrel}{symbolsC}{82}
\re@DeclareMathSymbol{\circledgtr}{\mathrel}{symbolsC}{83}
\re@DeclareMathSymbol{\circledwedge}{\mathbin}{symbolsC}{84}
\re@DeclareMathSymbol{\circledvee}{\mathbin}{symbolsC}{85}
\re@DeclareMathSymbol{\circledbar}{\mathbin}{symbolsC}{86}
\re@DeclareMathSymbol{\circledbslash}{\mathbin}{symbolsC}{87}
\re@DeclareMathSymbol{\lJoin}{\mathrel}{symbolsC}{88}
\re@DeclareMathSymbol{\rJoin}{\mathrel}{symbolsC}{89}
\re@DeclareMathSymbol{\Join}{\mathrel}{symbolsC}{90}
   \let\lrJoin=\Join
\re@DeclareMathSymbol{\openJoin}{\mathrel}{symbolsC}{91}
\re@DeclareMathSymbol{\lrtimes}{\mathrel}{symbolsC}{92}
%   \let\bowtie\lrtimes
\re@DeclareMathSymbol{\opentimes}{\mathrel}{symbolsC}{93}
\re@DeclareMathSymbol{\Diamond}{\mathord}{symbolsC}{94}
\re@DeclareMathSymbol{\Diamondblack}{\mathord}{symbolsC}{95}
\re@DeclareMathSymbol{\nplus}{\mathbin}{symbolsC}{96}
\re@DeclareMathSymbol{\nsqsubset}{\mathrel}{symbolsC}{97}
\re@DeclareMathSymbol{\nsqsupset}{\mathrel}{symbolsC}{98}
\re@DeclareMathSymbol{\dashleftarrow}{\mathrel}{symbolsC}{99}
\re@DeclareMathSymbol{\dashrightarrow}{\mathrel}{symbolsC}{100}
   \let\dasharrow\dashrightarrow
\re@DeclareMathSymbol{\dashleftrightarrow}{\mathrel}{symbolsC}{101}
\re@DeclareMathSymbol{\leftsquigarrow}{\mathrel}{symbolsC}{102}
\re@DeclareMathSymbol{\ntwoheadrightarrow}{\mathrel}{symbolsC}{103}
\re@DeclareMathSymbol{\ntwoheadleftarrow}{\mathrel}{symbolsC}{104}
\re@DeclareMathSymbol{\boxast}{\mathbin}{symbolsC}{105}
\re@DeclareMathSymbol{\boxbslash}{\mathbin}{symbolsC}{106}
\re@DeclareMathSymbol{\boxbar}{\mathbin}{symbolsC}{107}
\re@DeclareMathSymbol{\boxslash}{\mathbin}{symbolsC}{108}
\re@DeclareMathSymbol{\Wr}{\mathbin}{symbolsC}{109}
\re@DeclareMathSymbol{\lambdaslash}{\mathord}{symbolsC}{110}
\re@DeclareMathSymbol{\lambdabar}{\mathord}{symbolsC}{111}
\re@DeclareMathSymbol{\varclubsuit}{\mathord}{symbolsC}{112}
\re@DeclareMathSymbol{\vardiamondsuit}{\mathord}{symbolsC}{113}
\re@DeclareMathSymbol{\varheartsuit}{\mathord}{symbolsC}{114}
\re@DeclareMathSymbol{\varspadesuit}{\mathord}{symbolsC}{115}
\re@DeclareMathSymbol{\Nearrow}{\mathrel}{symbolsC}{116}
\re@DeclareMathSymbol{\Searrow}{\mathrel}{symbolsC}{117}
\re@DeclareMathSymbol{\Nwarrow}{\mathrel}{symbolsC}{118}
\re@DeclareMathSymbol{\Swarrow}{\mathrel}{symbolsC}{119}
\re@DeclareMathSymbol{\Top}{\mathord}{symbolsC}{120}
\re@DeclareMathSymbol{\Bot}{\mathord}{symbolsC}{121}
\re@DeclareMathSymbol{\Perp}{\mathrel}{symbolsC}{121}
\re@DeclareMathSymbol\leadstoext{\mathrel}{symbolsC}{122}
\re@DeclareMathSymbol\leadsto{\mathrel}{symbolsC}{123}
\re@DeclareMathSymbol{\sqcupplus}{\mathbin}{symbolsC}{124}
\re@DeclareMathSymbol{\sqcapplus}{\mathbin}{symbolsC}{125}
\re@DeclareMathDelimiter{\llbracket}{\mathopen}{symbolsC}{126}{largesymbolsA}{18}
\re@DeclareMathDelimiter{\rrbracket}{\mathclose}{symbolsC}{127}{largesymbolsA}{19}
\re@DeclareMathSymbol{\boxright}{\mathrel}{symbolsC}{128}
\re@DeclareMathSymbol{\boxleft}{\mathrel}{symbolsC}{129}
\re@DeclareMathSymbol{\boxdotright}{\mathrel}{symbolsC}{130}
\re@DeclareMathSymbol{\boxdotleft}{\mathrel}{symbolsC}{131}
\re@DeclareMathSymbol{\Diamondright}{\mathrel}{symbolsC}{132}
\re@DeclareMathSymbol{\Diamondleft}{\mathrel}{symbolsC}{133}
\re@DeclareMathSymbol{\Diamonddotright}{\mathrel}{symbolsC}{134}
\re@DeclareMathSymbol{\Diamonddotleft}{\mathrel}{symbolsC}{135}
\re@DeclareMathSymbol{\boxRight}{\mathrel}{symbolsC}{136}
\re@DeclareMathSymbol{\boxLeft}{\mathrel}{symbolsC}{137}
\re@DeclareMathSymbol{\boxdotRight}{\mathrel}{symbolsC}{138}
\re@DeclareMathSymbol{\boxdotLeft}{\mathrel}{symbolsC}{139}
\re@DeclareMathSymbol{\DiamondRight}{\mathrel}{symbolsC}{140}
\re@DeclareMathSymbol{\DiamondLeft}{\mathrel}{symbolsC}{141}
\re@DeclareMathSymbol{\DiamonddotRight}{\mathrel}{symbolsC}{142}
\re@DeclareMathSymbol{\DiamonddotLeft}{\mathrel}{symbolsC}{143}
\re@DeclareMathSymbol{\Diamonddot}{\mathord}{symbolsC}{144}
\re@DeclareMathSymbol{\circleright}{\mathrel}{symbolsC}{145}
\re@DeclareMathSymbol{\circleleft}{\mathrel}{symbolsC}{146}
\re@DeclareMathSymbol{\circleddotright}{\mathrel}{symbolsC}{147}
   \let\circledotright\circleddotright
\re@DeclareMathSymbol{\circleddotleft}{\mathrel}{symbolsC}{148}
   \let\circledotleft\circleddotleft
\re@DeclareMathSymbol{\multimapbothvert}{\mathrel}{symbolsC}{149}
\re@DeclareMathSymbol{\multimapdotbothvert}{\mathrel}{symbolsC}{150}
\re@DeclareMathSymbol{\multimapdotbothBvert}{\mathrel}{symbolsC}{151}
\re@DeclareMathSymbol{\multimapdotbothAvert}{\mathrel}{symbolsC}{152}


%%%%%%%%%%%%%%%%%%%%%%%%%%
% Greek letter's options %
%%%%%%%%%%%%%%%%%%%%%%%%%%

% Absolute reference

\re@DeclareMathSymbol{\Gammasl}{\mathord}{letters}{0}
\re@DeclareMathSymbol{\Deltasl}{\mathord}{letters}{1}
\re@DeclareMathSymbol{\Thetasl}{\mathord}{letters}{2}
\re@DeclareMathSymbol{\Lambdasl}{\mathord}{letters}{3}
\re@DeclareMathSymbol{\Xisl}{\mathord}{letters}{4}
\re@DeclareMathSymbol{\Pisl}{\mathord}{letters}{5}
\re@DeclareMathSymbol{\Sigmasl}{\mathord}{letters}{6}
\re@DeclareMathSymbol{\Upsilonsl}{\mathord}{letters}{7}
\re@DeclareMathSymbol{\Phisl}{\mathord}{letters}{8}
\re@DeclareMathSymbol{\Psisl}{\mathord}{letters}{9}
\re@DeclareMathSymbol{\Omegasl}{\mathord}{letters}{10}

\re@DeclareMathSymbol{\Gammaup}{\mathalpha}{lettersA}{0}
\re@DeclareMathSymbol{\Deltaup}{\mathalpha}{lettersA}{1}
\re@DeclareMathSymbol{\Thetaup}{\mathalpha}{lettersA}{2}
\re@DeclareMathSymbol{\Lambdaup}{\mathalpha}{lettersA}{3}
\re@DeclareMathSymbol{\Xiup}{\mathalpha}{lettersA}{4}
\re@DeclareMathSymbol{\Piup}{\mathalpha}{lettersA}{5}
\re@DeclareMathSymbol{\Sigmaup}{\mathalpha}{lettersA}{6}
\re@DeclareMathSymbol{\Upsilonup}{\mathalpha}{lettersA}{7}
\re@DeclareMathSymbol{\Phiup}{\mathalpha}{lettersA}{8}
\re@DeclareMathSymbol{\Psiup}{\mathalpha}{lettersA}{9}
\re@DeclareMathSymbol{\Omegaup}{\mathalpha}{lettersA}{10}

\re@DeclareMathSymbol{\alphaup}{\mathord}{lettersA}{11}
\re@DeclareMathSymbol{\betaup}{\mathord}{lettersA}{12}
\re@DeclareMathSymbol{\gammaup}{\mathord}{lettersA}{13}
\re@DeclareMathSymbol{\deltaup}{\mathord}{lettersA}{14}
\re@DeclareMathSymbol{\epsilonup}{\mathord}{lettersA}{15}
\re@DeclareMathSymbol{\zetaup}{\mathord}{lettersA}{16}
\re@DeclareMathSymbol{\etaup}{\mathord}{lettersA}{17}
\re@DeclareMathSymbol{\thetaup}{\mathord}{lettersA}{18}
\re@DeclareMathSymbol{\iotaup}{\mathord}{lettersA}{19}
\re@DeclareMathSymbol{\kappaup}{\mathord}{lettersA}{20}
\re@DeclareMathSymbol{\lambdaup}{\mathord}{lettersA}{21}
\re@DeclareMathSymbol{\muup}{\mathord}{lettersA}{22}
\re@DeclareMathSymbol{\nuup}{\mathord}{lettersA}{23}
\re@DeclareMathSymbol{\xiup}{\mathord}{lettersA}{24}
\re@DeclareMathSymbol{\piup}{\mathord}{lettersA}{25}
\re@DeclareMathSymbol{\rhoup}{\mathord}{lettersA}{26}
\re@DeclareMathSymbol{\sigmaup}{\mathord}{lettersA}{27}
\re@DeclareMathSymbol{\tauup}{\mathord}{lettersA}{28}
\re@DeclareMathSymbol{\upsilonup}{\mathord}{lettersA}{29}
\re@DeclareMathSymbol{\phiup}{\mathord}{lettersA}{30}
\re@DeclareMathSymbol{\chiup}{\mathord}{lettersA}{31}
\re@DeclareMathSymbol{\psiup}{\mathord}{lettersA}{32}
\re@DeclareMathSymbol{\omegaup}{\mathord}{lettersA}{33}
\re@DeclareMathSymbol{\varepsilonup}{\mathord}{lettersA}{34}
\re@DeclareMathSymbol{\varthetaup}{\mathord}{lettersA}{35}
\re@DeclareMathSymbol{\varpiup}{\mathord}{lettersA}{36}
\re@DeclareMathSymbol{\varrhoup}{\mathord}{lettersA}{37}
\re@DeclareMathSymbol{\varsigmaup}{\mathord}{lettersA}{38}
\re@DeclareMathSymbol{\varphiup}{\mathord}{lettersA}{39}

\re@DeclareMathSymbol{\alphasl}{\mathord}{letters}{11}
\re@DeclareMathSymbol{\betasl}{\mathord}{letters}{12}
\re@DeclareMathSymbol{\gammasl}{\mathord}{letters}{13}
\re@DeclareMathSymbol{\deltasl}{\mathord}{letters}{14}
\re@DeclareMathSymbol{\epsilonsl}{\mathord}{letters}{15}
\re@DeclareMathSymbol{\zetasl}{\mathord}{letters}{16}
\re@DeclareMathSymbol{\etasl}{\mathord}{letters}{17}
\re@DeclareMathSymbol{\thetasl}{\mathord}{letters}{18}
\re@DeclareMathSymbol{\iotasl}{\mathord}{letters}{19}
\re@DeclareMathSymbol{\kappasl}{\mathord}{letters}{20}
\re@DeclareMathSymbol{\lambdasl}{\mathord}{letters}{21}
\re@DeclareMathSymbol{\musl}{\mathord}{letters}{22}
\re@DeclareMathSymbol{\nusl}{\mathord}{letters}{23}
\re@DeclareMathSymbol{\xisl}{\mathord}{letters}{24}
\re@DeclareMathSymbol{\pisl}{\mathord}{letters}{25}
\re@DeclareMathSymbol{\rhosl}{\mathord}{letters}{26}
\re@DeclareMathSymbol{\sigmasl}{\mathord}{letters}{27}
\re@DeclareMathSymbol{\tausl}{\mathord}{letters}{28}
\re@DeclareMathSymbol{\slsilonsl}{\mathord}{letters}{29}
\re@DeclareMathSymbol{\phisl}{\mathord}{letters}{30}
\re@DeclareMathSymbol{\chisl}{\mathord}{letters}{31}
\re@DeclareMathSymbol{\psisl}{\mathord}{letters}{32}
\re@DeclareMathSymbol{\omegasl}{\mathord}{letters}{33}
\re@DeclareMathSymbol{\varepsilonsl}{\mathord}{letters}{34}
\re@DeclareMathSymbol{\varthetasl}{\mathord}{letters}{35}
\re@DeclareMathSymbol{\varpisl}{\mathord}{letters}{36}
\re@DeclareMathSymbol{\varrhosl}{\mathord}{letters}{37}
\re@DeclareMathSymbol{\varsigmasl}{\mathord}{letters}{38}
\re@DeclareMathSymbol{\varphisl}{\mathord}{letters}{39}

% Relative reference

\ifkp@upgrk % lowercase
		
	\re@DeclareMathSymbol{\alpha}{\mathord}{lettersA}{11}
	\re@DeclareMathSymbol{\beta}{\mathord}{lettersA}{12}
	\re@DeclareMathSymbol{\gamma}{\mathord}{lettersA}{13}
	\re@DeclareMathSymbol{\delta}{\mathord}{lettersA}{14}
	\re@DeclareMathSymbol{\epsilon}{\mathord}{lettersA}{15}
	\re@DeclareMathSymbol{\zeta}{\mathord}{lettersA}{16}
	\re@DeclareMathSymbol{\eta}{\mathord}{lettersA}{17}
	\re@DeclareMathSymbol{\theta}{\mathord}{lettersA}{18}
	\re@DeclareMathSymbol{\iota}{\mathord}{lettersA}{19}
	\re@DeclareMathSymbol{\kappa}{\mathord}{lettersA}{20}
	\re@DeclareMathSymbol{\lambda}{\mathord}{lettersA}{21}
	\re@DeclareMathSymbol{\mu}{\mathord}{lettersA}{22}
	\re@DeclareMathSymbol{\nu}{\mathord}{lettersA}{23}
	\re@DeclareMathSymbol{\xi}{\mathord}{lettersA}{24}
	\re@DeclareMathSymbol{\pi}{\mathord}{lettersA}{25}
	\re@DeclareMathSymbol{\rho}{\mathord}{lettersA}{26}
	\re@DeclareMathSymbol{\sigma}{\mathord}{lettersA}{27}
	\re@DeclareMathSymbol{\tau}{\mathord}{lettersA}{28}
	\re@DeclareMathSymbol{\upsilon}{\mathord}{lettersA}{29}
	\re@DeclareMathSymbol{\phi}{\mathord}{lettersA}{30}
	\re@DeclareMathSymbol{\chi}{\mathord}{lettersA}{31}
	\re@DeclareMathSymbol{\psi}{\mathord}{lettersA}{32}
	\re@DeclareMathSymbol{\omega}{\mathord}{lettersA}{33}
	\re@DeclareMathSymbol{\varepsilon}{\mathord}{lettersA}{34}
	\re@DeclareMathSymbol{\vartheta}{\mathord}{lettersA}{35}
	\re@DeclareMathSymbol{\varpi}{\mathord}{lettersA}{36}
	\re@DeclareMathSymbol{\varrho}{\mathord}{lettersA}{37}
	\re@DeclareMathSymbol{\varsigma}{\mathord}{lettersA}{38}
	\re@DeclareMathSymbol{\varphi}{\mathord}{lettersA}{39}

	\re@DeclareMathSymbol{\otheralpha}{\mathord}{letters}{11}
	\re@DeclareMathSymbol{\otherbeta}{\mathord}{letters}{12}
	\re@DeclareMathSymbol{\othergamma}{\mathord}{letters}{13}
	\re@DeclareMathSymbol{\otherdelta}{\mathord}{letters}{14}
	\re@DeclareMathSymbol{\otherepsilon}{\mathord}{letters}{15}
	\re@DeclareMathSymbol{\otherzeta}{\mathord}{letters}{16}
	\re@DeclareMathSymbol{\othereta}{\mathord}{letters}{17}
	\re@DeclareMathSymbol{\othertheta}{\mathord}{letters}{18}
	\re@DeclareMathSymbol{\otheriota}{\mathord}{letters}{19}
	\re@DeclareMathSymbol{\otherkappa}{\mathord}{letters}{20}
	\re@DeclareMathSymbol{\otherlambda}{\mathord}{letters}{21}
	\re@DeclareMathSymbol{\othermu}{\mathord}{letters}{22}
	\re@DeclareMathSymbol{\othernu}{\mathord}{letters}{23}
	\re@DeclareMathSymbol{\otherxi}{\mathord}{letters}{24}
	\re@DeclareMathSymbol{\otherpi}{\mathord}{letters}{25}
	\re@DeclareMathSymbol{\otherrho}{\mathord}{letters}{26}
	\re@DeclareMathSymbol{\othersigma}{\mathord}{letters}{27}
	\re@DeclareMathSymbol{\othertau}{\mathord}{letters}{28}
	\re@DeclareMathSymbol{\otherupsilon}{\mathord}{letters}{29}
	\re@DeclareMathSymbol{\otherphi}{\mathord}{letters}{30}
	\re@DeclareMathSymbol{\otherchi}{\mathord}{letters}{31}
	\re@DeclareMathSymbol{\otherpsi}{\mathord}{letters}{32}
	\re@DeclareMathSymbol{\otheromega}{\mathord}{letters}{33}
	\re@DeclareMathSymbol{\othervarepsilon}{\mathord}{letters}{34}
	\re@DeclareMathSymbol{\othervartheta}{\mathord}{letters}{35}
	\re@DeclareMathSymbol{\othervarpi}{\mathord}{letters}{36}
	\re@DeclareMathSymbol{\othervarrho}{\mathord}{letters}{37}
	\re@DeclareMathSymbol{\othervarsigma}{\mathord}{letters}{38}
	\re@DeclareMathSymbol{\othervarphi}{\mathord}{letters}{39}

\else
	
	\re@DeclareMathSymbol{\alpha}{\mathord}{letters}{11}
	\re@DeclareMathSymbol{\beta}{\mathord}{letters}{12}
	\re@DeclareMathSymbol{\gamma}{\mathord}{letters}{13}
	\re@DeclareMathSymbol{\delta}{\mathord}{letters}{14}
	\re@DeclareMathSymbol{\epsilon}{\mathord}{letters}{15}
	\re@DeclareMathSymbol{\zeta}{\mathord}{letters}{16}
	\re@DeclareMathSymbol{\eta}{\mathord}{letters}{17}
	\re@DeclareMathSymbol{\theta}{\mathord}{letters}{18}
	\re@DeclareMathSymbol{\iota}{\mathord}{letters}{19}
	\re@DeclareMathSymbol{\kappa}{\mathord}{letters}{20}
	\re@DeclareMathSymbol{\lambda}{\mathord}{letters}{21}
	\re@DeclareMathSymbol{\mu}{\mathord}{letters}{22}
	\re@DeclareMathSymbol{\nu}{\mathord}{letters}{23}
	\re@DeclareMathSymbol{\xi}{\mathord}{letters}{24}
	\re@DeclareMathSymbol{\pi}{\mathord}{letters}{25}
	\re@DeclareMathSymbol{\rho}{\mathord}{letters}{26}
	\re@DeclareMathSymbol{\sigma}{\mathord}{letters}{27}
	\re@DeclareMathSymbol{\tau}{\mathord}{letters}{28}
	\re@DeclareMathSymbol{\upsilon}{\mathord}{letters}{29}
	\re@DeclareMathSymbol{\phi}{\mathord}{letters}{30}
	\re@DeclareMathSymbol{\chi}{\mathord}{letters}{31}
	\re@DeclareMathSymbol{\psi}{\mathord}{letters}{32}
	\re@DeclareMathSymbol{\omega}{\mathord}{letters}{33}
	\re@DeclareMathSymbol{\varepsilon}{\mathord}{letters}{34}
	\re@DeclareMathSymbol{\vartheta}{\mathord}{letters}{35}
	\re@DeclareMathSymbol{\varpi}{\mathord}{letters}{36}
	\re@DeclareMathSymbol{\varrho}{\mathord}{letters}{37}
	\re@DeclareMathSymbol{\varsigma}{\mathord}{letters}{38}
	\re@DeclareMathSymbol{\varphi}{\mathord}{letters}{39}

	\re@DeclareMathSymbol{\otheralpha}{\mathord}{lettersA}{11}
	\re@DeclareMathSymbol{\otherbeta}{\mathord}{lettersA}{12}
	\re@DeclareMathSymbol{\othergamma}{\mathord}{lettersA}{13}
	\re@DeclareMathSymbol{\otherdelta}{\mathord}{lettersA}{14}
	\re@DeclareMathSymbol{\otherepsilon}{\mathord}{lettersA}{15}
	\re@DeclareMathSymbol{\otherzeta}{\mathord}{lettersA}{16}
	\re@DeclareMathSymbol{\othereta}{\mathord}{lettersA}{17}
	\re@DeclareMathSymbol{\othertheta}{\mathord}{lettersA}{18}
	\re@DeclareMathSymbol{\otheriota}{\mathord}{lettersA}{19}
	\re@DeclareMathSymbol{\otherkappa}{\mathord}{lettersA}{20}
	\re@DeclareMathSymbol{\otherlambda}{\mathord}{lettersA}{21}
	\re@DeclareMathSymbol{\othermu}{\mathord}{lettersA}{22}
	\re@DeclareMathSymbol{\othernu}{\mathord}{lettersA}{23}
	\re@DeclareMathSymbol{\otherxi}{\mathord}{lettersA}{24}
	\re@DeclareMathSymbol{\otherpi}{\mathord}{lettersA}{25}
	\re@DeclareMathSymbol{\otherrho}{\mathord}{lettersA}{26}
	\re@DeclareMathSymbol{\othersigma}{\mathord}{lettersA}{27}
	\re@DeclareMathSymbol{\othertau}{\mathord}{lettersA}{28}
	\re@DeclareMathSymbol{\otherupsilon}{\mathord}{lettersA}{29}
	\re@DeclareMathSymbol{\otherphi}{\mathord}{lettersA}{30}
	\re@DeclareMathSymbol{\otherchi}{\mathord}{lettersA}{31}
	\re@DeclareMathSymbol{\otherpsi}{\mathord}{lettersA}{32}
	\re@DeclareMathSymbol{\otheromega}{\mathord}{lettersA}{33}
	\re@DeclareMathSymbol{\othervarepsilon}{\mathord}{lettersA}{34}
	\re@DeclareMathSymbol{\othervartheta}{\mathord}{lettersA}{35}
	\re@DeclareMathSymbol{\othervarpi}{\mathord}{lettersA}{36}
	\re@DeclareMathSymbol{\othervarrho}{\mathord}{lettersA}{37}
	\re@DeclareMathSymbol{\othervarsigma}{\mathord}{lettersA}{38}
	\re@DeclareMathSymbol{\othervarphi}{\mathord}{lettersA}{39}
	
\fi

\ifkp@slGrk % uppercase

	\re@DeclareMathSymbol{\Gamma}{\mathord}{letters}{0}
	\re@DeclareMathSymbol{\Delta}{\mathord}{letters}{1}
	\re@DeclareMathSymbol{\Theta}{\mathord}{letters}{2}
	\re@DeclareMathSymbol{\Lambda}{\mathord}{letters}{3}
	\re@DeclareMathSymbol{\Xi}{\mathord}{letters}{4}
	\re@DeclareMathSymbol{\Pi}{\mathord}{letters}{5}
	\re@DeclareMathSymbol{\Sigma}{\mathord}{letters}{6}
	\re@DeclareMathSymbol{\Upsilon}{\mathord}{letters}{7}
	\re@DeclareMathSymbol{\Phi}{\mathord}{letters}{8}
	\re@DeclareMathSymbol{\Psi}{\mathord}{letters}{9}
	\re@DeclareMathSymbol{\Omega}{\mathord}{letters}{10}
	
	\re@DeclareMathSymbol{\otherGamma}{\mathord}{lettersA}{0}
	\re@DeclareMathSymbol{\otherDelta}{\mathord}{lettersA}{1}
	\re@DeclareMathSymbol{\otherTheta}{\mathord}{lettersA}{2}
	\re@DeclareMathSymbol{\otherLambda}{\mathord}{lettersA}{3}
	\re@DeclareMathSymbol{\otherXi}{\mathord}{lettersA}{4}
	\re@DeclareMathSymbol{\otherPi}{\mathord}{lettersA}{5}
	\re@DeclareMathSymbol{\otherSigma}{\mathord}{lettersA}{6}
	\re@DeclareMathSymbol{\otherUpsilon}{\mathord}{lettersA}{7}
	\re@DeclareMathSymbol{\otherPhi}{\mathord}{lettersA}{8}
	\re@DeclareMathSymbol{\otherPsi}{\mathord}{lettersA}{9}
	\re@DeclareMathSymbol{\otherOmega}{\mathord}{lettersA}{10}	
	
	\re@DeclareMathSymbol{\varGamma}{\mathord}{lettersA}{0}
	\re@DeclareMathSymbol{\varDelta}{\mathord}{lettersA}{1}
	\re@DeclareMathSymbol{\varTheta}{\mathord}{lettersA}{2}
	\re@DeclareMathSymbol{\varLambda}{\mathord}{lettersA}{3}
	\re@DeclareMathSymbol{\varXi}{\mathord}{lettersA}{4}
	\re@DeclareMathSymbol{\varPi}{\mathord}{lettersA}{5}
	\re@DeclareMathSymbol{\varSigma}{\mathord}{lettersA}{6}
	\re@DeclareMathSymbol{\varUpsilon}{\mathord}{lettersA}{7}
	\re@DeclareMathSymbol{\varPhi}{\mathord}{lettersA}{8}
	\re@DeclareMathSymbol{\varPsi}{\mathord}{lettersA}{9}
	\re@DeclareMathSymbol{\varOmega}{\mathord}{lettersA}{10}	

\else
	
	\re@DeclareMathSymbol{\Gamma}{\mathalpha}{lettersA}{0}
	\re@DeclareMathSymbol{\Delta}{\mathalpha}{lettersA}{1}
	\re@DeclareMathSymbol{\Theta}{\mathalpha}{lettersA}{2}
	\re@DeclareMathSymbol{\Lambda}{\mathalpha}{lettersA}{3}
	\re@DeclareMathSymbol{\Xi}{\mathalpha}{lettersA}{4}
	\re@DeclareMathSymbol{\Pi}{\mathalpha}{lettersA}{5}
	\re@DeclareMathSymbol{\Sigma}{\mathalpha}{lettersA}{6}
	\re@DeclareMathSymbol{\Upsilon}{\mathalpha}{lettersA}{7}
	\re@DeclareMathSymbol{\Phi}{\mathalpha}{lettersA}{8}
	\re@DeclareMathSymbol{\Psi}{\mathalpha}{lettersA}{9}
	\re@DeclareMathSymbol{\Omega}{\mathalpha}{lettersA}{10}

	\re@DeclareMathSymbol{\otherGamma}{\mathord}{letters}{0}
	\re@DeclareMathSymbol{\otherDelta}{\mathord}{letters}{1}
	\re@DeclareMathSymbol{\otherTheta}{\mathord}{letters}{2}
	\re@DeclareMathSymbol{\otherLambda}{\mathord}{letters}{3}
	\re@DeclareMathSymbol{\otherXi}{\mathord}{letters}{4}
	\re@DeclareMathSymbol{\otherPi}{\mathord}{letters}{5}
	\re@DeclareMathSymbol{\otherSigma}{\mathord}{letters}{6}
	\re@DeclareMathSymbol{\otherUpsilon}{\mathord}{letters}{7}
	\re@DeclareMathSymbol{\otherPhi}{\mathord}{letters}{8}
	\re@DeclareMathSymbol{\otherPsi}{\mathord}{letters}{9}
	\re@DeclareMathSymbol{\otherOmega}{\mathord}{letters}{10}

	\re@DeclareMathSymbol{\varGamma}{\mathord}{letters}{0}
	\re@DeclareMathSymbol{\varDelta}{\mathord}{letters}{1}
	\re@DeclareMathSymbol{\varTheta}{\mathord}{letters}{2}
	\re@DeclareMathSymbol{\varLambda}{\mathord}{letters}{3}
	\re@DeclareMathSymbol{\varXi}{\mathord}{letters}{4}
	\re@DeclareMathSymbol{\varPi}{\mathord}{letters}{5}
	\re@DeclareMathSymbol{\varSigma}{\mathord}{letters}{6}
	\re@DeclareMathSymbol{\varUpsilon}{\mathord}{letters}{7}
	\re@DeclareMathSymbol{\varPhi}{\mathord}{letters}{8}
	\re@DeclareMathSymbol{\varPsi}{\mathord}{letters}{9}
	\re@DeclareMathSymbol{\varOmega}{\mathord}{letters}{10}
	
\fi

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Math Extension A (jkpexa) Definition % largesymbolsA
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\def\narrowiints{\ifkp@narrowiints10\else0\fi}

\re@DeclareMathSymbol{\bignplus}{\mathop}{largesymbolsA}{0}
\re@DeclareMathSymbol{\bigsqcupplus}{\mathop}{largesymbolsA}{2}
\re@DeclareMathSymbol{\bigsqcapplus}{\mathop}{largesymbolsA}{4}
\re@DeclareMathSymbol{\bigsqcap}{\mathop}{largesymbolsA}{6}
\re@DeclareMathSymbol{\oiintop}{\mathop}{largesymbolsA}{\narrowiints8}
   \def\oiint{\oiintop\nolimits}

\def\narrowiints{\ifkp@narrowiints1\else0\fi}   
   
\re@DeclareMathSymbol{\ointctrclockwiseop}{\mathop}{largesymbolsA}{10}
   \def\ointctrclockwise{\ointctrclockwiseop\nolimits}
\re@DeclareMathSymbol{\ointclockwiseop}{\mathop}{largesymbolsA}{12}
   \def\ointclockwise{\ointclockwiseop\nolimits}
\re@DeclareMathSymbol{\sqintop}{\mathop}{largesymbolsA}{14}
   \def\sqint{\sqintop\nolimits}
\re@DeclareMathSymbol{\varprod}{\mathop}{largesymbolsA}{16}
%\re@DeclareMathDelimiter{\llbracket}{\mathopen}{symbolsC}{126}{largesymbolsA}{18}
%\re@DeclareMathDelimiter{\rrbracket}{\mathclose}{symbolsC}{127}{largesymbolsA}{19}
\re@DeclareMathSymbol{\br@cext}{\mathord}{largesymbolsA}{32}
\re@DeclareMathSymbol{\iintop}{\mathop}{largesymbolsA}{\narrowiints33}
   \def\iint{\iintop\nolimits}
\re@DeclareMathSymbol{\iiintop}{\mathop}{largesymbolsA}{\narrowiints35}
   \def\iiint{\iiintop\nolimits}
\re@DeclareMathSymbol{\iiiintop}{\mathop}{largesymbolsA}{\narrowiints37}
   \def\iiiint{\iiiintop\nolimits}
\re@DeclareMathSymbol{\idotsintop}{\mathop}{largesymbolsA}{\narrowiints39}
   \def\idotsint{\idotsintop\nolimits}
\re@DeclareMathSymbol{\oiiintop}{\mathop}{largesymbolsA}{\narrowiints41}
   \def\oiiint{\oiiintop\nolimits}
\re@DeclareMathSymbol{\varointctrclockwiseop}{\mathop}{largesymbolsA}{43}
   \def\varointctrclockwise{\varointctrclockwiseop\nolimits}
\re@DeclareMathSymbol{\varointclockwiseop}{\mathop}{largesymbolsA}{45}
   \def\varointclockwise{\varointclockwiseop\nolimits}
\re@DeclareMathSymbol{\fintop}{\mathop}{largesymbolsA}{62}
   \def\fint{\fintop\nolimits}
\re@DeclareMathSymbol{\oiintctrclockwiseop}{\mathop}{largesymbolsA}{\narrowiints64}
   \def\oiintctrclockwise{\oiintctrclockwiseop\nolimits}
\re@DeclareMathSymbol{\varoiintclockwiseop}{\mathop}{largesymbolsA}{\narrowiints66}
   \def\varoiintclockwise{\varoiintclockwiseop\nolimits}
\re@DeclareMathSymbol{\oiiintctrclockwiseop}{\mathop}{largesymbolsA}{\narrowiints68}
   \def\oiiintctrclockwise{\oiiintctrclockwiseop\nolimits}
\re@DeclareMathSymbol{\varoiiintclockwiseop}{\mathop}{largesymbolsA}{\narrowiints70}
   \def\varoiiintclockwise{\varoiiintclockwiseop\nolimits}
\re@DeclareMathSymbol{\oiintclockwiseop}{\mathop}{largesymbolsA}{\narrowiints72}
   \def\oiintclockwise{\oiintclockwiseop\nolimits}
\re@DeclareMathSymbol{\varoiintctrclockwiseop}{\mathop}{largesymbolsA}{\narrowiints74}
   \def\varoiintctrclockwise{\varoiintctrclockwiseop\nolimits}
\re@DeclareMathSymbol{\oiiintclockwiseop}{\mathop}{largesymbolsA}{\narrowiints76}
   \def\oiiintclockwise{\oiiintclockwiseop\nolimits}
\re@DeclareMathSymbol{\varoiiintctrclockwiseop}{\mathop}{largesymbolsA}{\narrowiints78}
   \def\varoiiintctrclockwise{\varoiiintctrclockwiseop\nolimits}
\re@DeclareMathSymbol{\sqiintop}{\mathop}{largesymbolsA}{\narrowiints80}
   \def\sqiint{\sqiintop\nolimits}
\re@DeclareMathSymbol{\sqiiintop}{\mathop}{largesymbolsA}{\narrowiints82}
   \def\sqiiint{\sqiiintop\nolimits}
\re@DeclareMathSymbol{\varintop}{\mathop}{largesymbolsA}{84}
   \def\varint{\varintop\nolimits}
\re@DeclareMathSymbol{\variintop}{\mathop}{largesymbolsA}{\narrowiints86}
   \def\variint{\variintop\nolimits}
\re@DeclareMathSymbol{\variiintop}{\mathop}{largesymbolsA}{\narrowiints88}
   \def\variiint{\variiintop\nolimits}
\re@DeclareMathSymbol{\variiiintop}{\mathop}{largesymbolsA}{\narrowiints90}
   \def\variiiint{\variiiintop\nolimits}
\re@DeclareMathSymbol{\varidotsintop}{\mathop}{largesymbolsA}{\narrowiints92}
   \def\varidotsint{\varidotsintop\nolimits}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Common Macros, too
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%%% Use math italic, not text, version of dot, in \vdots and \ddots definitions
\def\vdots{\vbox{\baselineskip4\p@ \lineskiplimit\z@
    \kern6\p@\hbox{$\m@th.$}\hbox{$\m@th.$}\hbox{$\m@th.$}}}
\def\ddots{\mathinner{\mkern1mu\raise7\p@
    \vbox{\kern7\p@\hbox{$\m@th.$}}\mkern2mu
    \raise4\p@\hbox{$\m@th.$}\mkern2mu\raise\p@\hbox{$\m@th.$}\mkern1mu}}


%%% For \underbrace and \overbrace:
%%% use brace extenstion bar (in "20 of jkpexa) instead of vrule (Acroread Bug...)
\re@DeclareMathSymbol{\br@cext}{\mathord}{largesymbolsA}{32}
\def\downbracefill{$\m@th%
   \braceld\mkern-1mu\cleaders\hbox{$\mkern-.5mu\br@cext\mkern-.5mu$}\hfill\mkern-1mu%
   \braceru\bracelu%
   \mkern-1mu\cleaders\hbox{$\mkern-.5mu\br@cext\mkern-.5mu$}\hfill\mkern-1mu\bracerd$}
\def\upbracefill{$\m@th%
   \bracelu\mkern-1mu\cleaders\hbox{$\mkern-.5mu\br@cext\mkern-.5mu$}\hfill\mkern-1mu%
   \bracerd\braceld%
   \mkern-1mu\cleaders\hbox{$\mkern-.5mu\br@cext\mkern-.5mu$}\hfill\mkern-1mu\braceru$}

%%% \not redefined:
%%%    \not= becomes \ne
%%%    \not< becomes \nless
%%%    \not> becomes \ngtr
%%%    if \notXXX is defined, \not\XXX becomes \notXXX;
%%%    if \nXXX is defined, \not\XXX becomes \nXXX;
%%%    otherwise, \not\XXX is done in the usual way.
\DeclareMathSymbol{\n@tch@r}{\mathrel}{symbols}{54}

\DeclareRobustCommand*{\not}[1]{%
   \ifx #1=\ne\else
   \ifx #1<\nless\else
   \ifx #1>\ngtr\else
   \n@t@@n{#1}\fi\fi\fi}

\def\n@t@@n#1{%
  \begingroup \escapechar\m@ne\xdef\@gtempa{not\string#1}\endgroup%
  \expandafter\@ifundefined{\@gtempa}%
     {\not@n@{#1}}%
     {\@nameuse{\@gtempa}}}
\def\not@n@#1{%
  \begingroup \escapechar\m@ne\xdef\@gtempa{n\string#1}\endgroup%
  \expandafter\@ifundefined{\@gtempa}%
     {\n@tch@r #1}%
     {\@nameuse{\@gtempa}}}

%%%%%%%%%%%%%%%%%%%
% \D close integral
%%%%%%%%%%%%%%%%%%%

\def\D#1{\mathclose{\,\ifkp@upRm\mathrm{d}%
		\else\mathit{d}%
		\fi}#1}

%%%%%%%%%%%%
% new arrows
%%%%%%%%%%%%

\let\kp@ora\overrightarrow
\def\overrightarrow#1{\,\kp@ora{#1\:}}

\let\kp@ura\underrightarrow
\def\underrightarrow#1{\,\kp@ura{#1\,}}

\let\kp@ola\overleftarrow
\def\overleftarrow#1{\kp@ola{\:#1}\,}

\let\kp@ula\underleftarrow
\def\underleftarrow#1{\kp@ula{\,#1}\,}
     
%%%
\fi %%% End of no-math option
%%%

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% \classicstylenums and \olstylenums
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\ifkp@light
		\def\classicstylenums#1{{\fontfamily{jkpl}\selectfont #1}}
\else
		\def\classicstylenums#1{{\fontfamily{jkp}\selectfont #1}}
\fi

%%%

\let\kp@osn\oldstylenums

\ifkp@os
		\ifkp@osm % fulloldstyle
			\def\oldstylenums#1{#1}
		\else
			\ifkp@vosm % oldstyle and veryoldstylemath
				\def\oldstylenums#1{#1}
			\else % oldstyle
				\def\oldstylenums#1{%
						\relax\ifmmode\kp@osn{#1}%
						\else#1\fi}
			\fi
		\fi
\else
		 \ifkp@vos
				\ifkp@vosm % fullveryoldstyle
					\def\oldstylenums#1{#1}
				\else
					\ifkp@osm % veryoldstyle and oldstylemath
						\def\oldstylenums#1{#1}
					\else % veryoldstyle
						\def\oldstylenums#1{%
								\relax\ifmmode\kp@osn{#1}%
								\else#1\fi}
					\fi
				\fi
		 \else
		 	 \ifkp@osm % oldstylemath
					\def\oldstylenums#1{%
							\relax\ifmmode#1%
							\else\kp@osn{#1}\fi}
			 \else
			 		\ifkp@vosm % veryoldstylemath
						\def\oldstylenums#1{%
								\relax\ifmmode#1%
								\else\kp@osn{#1}\fi}
					\fi
			 \fi
		 \fi
\fi

\endinput