diff options
author | Karl Berry <karl@freefriends.org> | 2011-01-27 18:48:50 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2011-01-27 18:48:50 +0000 |
commit | 14bb501461aeb6885ecd8cb48bb44ef346032246 (patch) | |
tree | 6ce733751c2da8b7f551cd4b65058f9185db5d87 /Master/texmf-dist/tex/latex/mathastext | |
parent | cad1a5c4ccf4ccecf16ba4a6cca0e7c6e8f367ae (diff) |
new latex package mathastext 1.0 (26jan11)
git-svn-id: svn://tug.org/texlive/trunk@21193 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/mathastext')
-rw-r--r-- | Master/texmf-dist/tex/latex/mathastext/mathastext.sty | 646 |
1 files changed, 646 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/mathastext/mathastext.sty b/Master/texmf-dist/tex/latex/mathastext/mathastext.sty new file mode 100644 index 00000000000..d8bd8134bba --- /dev/null +++ b/Master/texmf-dist/tex/latex/mathastext/mathastext.sty @@ -0,0 +1,646 @@ +%% +%% This is file `mathastext.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% mathastext.dtx (with options: `code') +%% This is a generated file. +%% +%% Copyright (C) 2011 by Jean-Francois Burnol +%% +%% Please report errors to jfbu at free dot fr +%% Documentation is also in `mathastext-doc.pdf' +%% 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} +\ProvidesFile{mathastext.sty}[2011/01/25 1.0 use text font also in math] +\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 +\newif\ifmt@need@euler\mt@need@eulerfalse +\newif\ifmt@need@symbol\mt@need@symbolfalse +\newif\ifmt@defaultvec\mt@defaultvecfalse +\newif\ifmt@defaultnormal\mt@defaultnormalfalse +\newif\ifmt@defaultrm\mt@defaultrmfalse +\newif\ifmt@defaultbf\mt@defaultbffalse +\newif\ifmt@defaultsizes\mt@defaultsizesfalse +\newif\ifmt@twelve\mt@twelvefalse +\newif\ifall@OTone +\newif\ifall@Tone +\DeclareOption{noparenthesis}{\let\mt@noparen\@empty} +\DeclareOption{nopunctuation}{\let\mt@nopunct\@empty} +\DeclareOption{noplusnominus}{\let\mt@noplusnominus\@empty} +\DeclareOption{noequal}{\let\mt@noequal\@empty} +\DeclareOption{noexclam}{\let\mt@noexclam\@empty} +\DeclareOption{noasterisk}{\let\mt@noast\@empty} +\DeclareOption{nospecials}{\let\mt@nospecials\@empty} +\DeclareOption{basic}{\ExecuteOptions{noparenthesis,% +nopunctuation,noplusnominus,noequal,noexclam,nospecials}} +\DeclareOption{nodigits}{\let\mt@nodigits\@empty} +\DeclareOption{defaultimath}{\let\mt@defaultimath\@empty} +\DeclareOption{alldelims}{\let\mt@alldelims\@empty} +\DeclareOption{mathaccents}{\let\mt@mathaccents\@empty} +\DeclareOption{selfGreek}{\let\mt@selfGreek\@empty} +\DeclareOption{selfgreek}{\let\mt@selfGreek\@empty} +\DeclareOption{symboldigits}{\mt@need@symboltrue + \let\mt@symboldigits\@empty} +\DeclareOption{symbolgreek}{\mt@need@symboltrue + \let\mt@symbolgreek\@empty} +\DeclareOption{symbolre}{\mt@need@symboltrue + \let\mt@symbolre\@empty} +\DeclareOption{symbolmisc}{\mt@need@symboltrue + \let\mt@symbolmisc\@empty} +\DeclareOption{symbol}{\ExecuteOptions{symbolgreek,symbolmisc,symbolre}} +\DeclareOption{symbolmax}{\ExecuteOptions{symbolgreek,symbolmisc,symbolre} + \let\mt@symbolmax\@empty} +\DeclareOption{eulerdigits}{\mt@need@eulertrue\let\mt@eulerdigits\@empty} +\DeclareOption{eulergreek}{\mt@need@eulertrue\let\mt@eulergreek\@empty} +\DeclareOption{defaultnormal}{\mt@defaultnormaltrue} +\DeclareOption{defaultrm}{\mt@defaultrmtrue} +\DeclareOption{defaultbf}{\mt@defaultbftrue} +\DeclareOption{defaultmathsizes}{\mt@defaultsizestrue} +\DeclareOption{12pt}{\mt@twelvetrue} +\DeclareOption{defaultvec}{\mt@defaultvectrue} +\DeclareOption*{\PackageWarning{mathastext}{Unknown option `\CurrentOption'}} +\ProcessOptions\relax +\DeclareRobustCommand\pmvec[1]{\mathord{\stackrel{\raisebox{-.5ex}% +{\tiny\boldmath$\mathord{\rightarrow}$}}{{}#1}}} +\ifmt@defaultvec\else + \DeclareFontEncoding{FML}{}{} + \DeclareFontSubstitution{FML}{futm}{m}{it} + \DeclareSymbolFont{justepourvec}{FML}{futm}{m}{it} + \SetSymbolFont{justepourvec}{bold}{FML}{futm}{b}{it} + \DeclareMathAccent{\vec}{\mathord}{justepourvec}{"7E} +\fi + \edef\m@stextenc{\encodingdefault} + \edef\m@stextfam{\familydefault} + \edef\m@stextser{\seriesdefault} + \edef\m@stextsh{\shapedefault} + \edef\m@stextbold{\bfdefault} +\DeclareRobustCommand\Mathastextencoding[1]{\edef\m@stextenc{#1}} +\DeclareRobustCommand\Mathastextfamily[1]{\edef\m@stextfam{#1}} +\DeclareRobustCommand\Mathastextseries[1]{\edef\m@stextser{#1}} +\DeclareRobustCommand\Mathastextshape[1]{\edef\m@stextsh{#1}} +\DeclareRobustCommand\Mathastextboldvariant[1]{\edef\m@stextbold{#1}} +\ifmt@need@euler +\DeclareSymbolFont{mteulervm}{U}{zeur}{m}{n} +%% \SetSymbolFont{mteulervm}{bold}{U}{zeur}{\m@stextbold}{n} +\DeclareSymbolFontAlphabet{\MathastextEuler}{mteulervm} +\fi +\newcommand\MathastextEulerScale[1]{\edef\zeu@Scale{#1}} +\ifmt@need@symbol + \def\psy@scale{1} + \DeclareSymbolFont{mtpsymbol}{U}{psy}{m}{n} +%% \SetSymbolFont{mtpsymbol}{bold}{U}{psy}{\m@stextbold}{n} + \DeclareSymbolFontAlphabet{\MathastextSymbol}{mtpsymbol} +\fi +\newcommand\MathastextSymbolScale[1]{\edef\psy@scale{#1}} +\DeclareSymbolFont{mtcurrentfont} + {\m@stextenc}{\m@stextfam}{\m@stextser}{\m@stextsh} +\DeclareSymbolFontAlphabet{\Mathnormal}{mtcurrentfont} +\DeclareRobustCommand\MathastextWillUse[4]{ + \Mathastextencoding{#1} + \Mathastextfamily{#2} + \Mathastextseries{#3} + \Mathastextshape{#4} + \Mathastext} +\DeclareRobustCommand\Mathastext{ + \mt@font@info@off + \def\tmp@a{OT1} + \def\tmp@b{T1} + \ifx\tmp@a\m@stextenc + \all@OTonetrue\else\all@OTonefalse\fi + \ifx\tmp@b\m@stextenc + \all@Tonetrue\else\all@Tonefalse\fi + \edef\mt@encoding@normal{\m@stextenc} + \edef\mt@family@normal{\m@stextfam} + \edef\mt@series@normal{\m@stextser} + \edef\mt@shape@normal{\m@stextsh} + \edef\mt@boldvariant@normal{\m@stextbold} + \edef\mt@encoding@bold{\m@stextenc} + \edef\mt@family@bold{\m@stextfam} + \edef\mt@series@bold{\m@stextbold} + \edef\mt@shape@bold{\m@stextsh} + \edef\mt@boldvariant@bold{\m@stextbold} + \SetSymbolFont{mtcurrentfont}{normal}{\mt@encoding@normal} + {\mt@family@normal} + {\mt@series@normal} + {\mt@shape@normal} + \SetSymbolFont{mtcurrentfont}{bold} {\mt@encoding@bold} + {\mt@family@bold} + {\mt@series@bold} + {\mt@shape@bold} + \DeclareMathAlphabet{\Mathbf} {\mt@encoding@bold} + {\mt@family@bold} + {\mt@series@bold} + {\mt@shape@bold} + \ifmt@need@euler\SetSymbolFont{mteulervm}{bold}{U}{zeur}{\m@stextbold}{n}\fi + \ifmt@need@symbol\SetSymbolFont{mtpsymbol}{bold}{U}{psy}{\m@stextbold}{n}\fi + \typeout{** Latin letters in math versions normal (resp. bold) are now^^J% + ** set up to use fonts +\mt@encoding@normal/\mt@family@normal/\mt@series@normal(\m@stextbold)/\mt@shape@normal} + \mt@font@info@on +} +\def\operator@font{\mathgroup\symmtcurrentfont} +\Mathastext +\newcommand{\Mathrm}{\Mathnormal} +\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 +\ifx\mt@symbolgreek\@empty +\typeout{** Greek letters will use the PostScript Symbol font. Use^^J% +** \protect\MathastextSymbolScale{factor} to scale the font by <factor>.} +\fi +\ifx\mt@eulergreek\@empty +\typeout{** Greek letters will use the Euler font. Use^^J% +** \protect\MathastextEulerScale{factor} to scale the font by <factor>.} +\fi +\ifx\mt@selfGreek\@empty +\typeout{** Capital Greek letters from the fonts declared for latin letters:^^J% +** only for OT1 or compatible encodings; glyphs may be unavailable.} +\fi +\DeclareRobustCommand\MathastextDeclareVersion[5]{ + \mt@font@info@off + \update@the@ifs{#2} + \DeclareMathVersion{#1} + \SetSymbolFont{mtcurrentfont}{#1}{#2}{#3}{#4}{#5} + \SetMathAlphabet{\Mathbf}{#1}{#2}{#3}{\m@stextbold}{#5} + \edef\mt@tmp{@#1} + \expandafter\edef\csname mt@encoding\mt@tmp\endcsname{#2} + \expandafter\edef\csname mt@family\mt@tmp\endcsname{#3} + \expandafter\edef\csname mt@series\mt@tmp\endcsname{#4} + \expandafter\edef\csname mt@shape\mt@tmp\endcsname{#5} + \expandafter\edef\csname mt@boldvariant\mt@tmp\endcsname{\m@stextbold} + \typeout{** Latin letters in math version `#1' will use fonts + #2/#3/#4(\m@stextbold)/#5} + \mt@font@info@on +} +\DeclareRobustCommand\MathastextVersion[2][\@empty]{% + \mathversion{#2}% + \edef\mt@tmp{@#1}% + \ifx\@empty#1\else% + \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\mt@@encoding{\csname mt@encoding\mt@tmp\endcsname}% +\renewcommand{\encodingdefault}{\mt@@encoding}% + \edef\mt@@family{\csname mt@family\mt@tmp\endcsname}% +\renewcommand{\rmdefault}{\mt@@family}% + \edef\mt@@series{\csname mt@series\mt@tmp\endcsname}% +\renewcommand{\mddefault}{\mt@@series}% + \edef\mt@@shape{\csname mt@shape\mt@tmp\endcsname}% +\renewcommand{\updefault}{\mt@@shape}% + \edef\mt@@boldvariant{\csname mt@boldvariant\mt@tmp\endcsname}% +\renewcommand{\bfdefault}{\mt@@boldvariant}% +\fi} +\newcommand\update@the@ifs[1]{ + \edef\tmp@enc{#1} + \def\tmp@a{OT1}\ifall@OTone\ifx\tmp@a\tmp@enc\else\all@OTonefalse\fi\fi + \def\tmp@b{T1}\ifall@Tone\ifx\tmp@b\tmp@enc\else\all@Tonefalse\fi\fi +} +\DeclareMathSymbol{a}{\mathalpha}{mtcurrentfont}{`a} +\DeclareMathSymbol{b}{\mathalpha}{mtcurrentfont}{`b} +\DeclareMathSymbol{c}{\mathalpha}{mtcurrentfont}{`c} +\DeclareMathSymbol{d}{\mathalpha}{mtcurrentfont}{`d} +\DeclareMathSymbol{e}{\mathalpha}{mtcurrentfont}{`e} +\DeclareMathSymbol{f}{\mathalpha}{mtcurrentfont}{`f} +\DeclareMathSymbol{g}{\mathalpha}{mtcurrentfont}{`g} +\DeclareMathSymbol{h}{\mathalpha}{mtcurrentfont}{`h} +\DeclareMathSymbol{i}{\mathalpha}{mtcurrentfont}{`i} +\DeclareMathSymbol{j}{\mathalpha}{mtcurrentfont}{`j} +\DeclareMathSymbol{k}{\mathalpha}{mtcurrentfont}{`k} +\DeclareMathSymbol{l}{\mathalpha}{mtcurrentfont}{`l} +\DeclareMathSymbol{m}{\mathalpha}{mtcurrentfont}{`m} +\DeclareMathSymbol{n}{\mathalpha}{mtcurrentfont}{`n} +\DeclareMathSymbol{o}{\mathalpha}{mtcurrentfont}{`o} +\DeclareMathSymbol{p}{\mathalpha}{mtcurrentfont}{`p} +\DeclareMathSymbol{q}{\mathalpha}{mtcurrentfont}{`q} +\DeclareMathSymbol{r}{\mathalpha}{mtcurrentfont}{`r} +\DeclareMathSymbol{s}{\mathalpha}{mtcurrentfont}{`s} +\DeclareMathSymbol{t}{\mathalpha}{mtcurrentfont}{`t} +\DeclareMathSymbol{u}{\mathalpha}{mtcurrentfont}{`u} +\DeclareMathSymbol{v}{\mathalpha}{mtcurrentfont}{`v} +\DeclareMathSymbol{w}{\mathalpha}{mtcurrentfont}{`w} +\DeclareMathSymbol{x}{\mathalpha}{mtcurrentfont}{`x} +\DeclareMathSymbol{y}{\mathalpha}{mtcurrentfont}{`y} +\DeclareMathSymbol{z}{\mathalpha}{mtcurrentfont}{`z} +\DeclareMathSymbol{A}{\mathalpha}{mtcurrentfont}{`A} +\DeclareMathSymbol{B}{\mathalpha}{mtcurrentfont}{`B} +\DeclareMathSymbol{C}{\mathalpha}{mtcurrentfont}{`C} +\DeclareMathSymbol{D}{\mathalpha}{mtcurrentfont}{`D} +\DeclareMathSymbol{E}{\mathalpha}{mtcurrentfont}{`E} +\DeclareMathSymbol{F}{\mathalpha}{mtcurrentfont}{`F} +\DeclareMathSymbol{G}{\mathalpha}{mtcurrentfont}{`G} +\DeclareMathSymbol{H}{\mathalpha}{mtcurrentfont}{`H} +\DeclareMathSymbol{I}{\mathalpha}{mtcurrentfont}{`I} +\DeclareMathSymbol{J}{\mathalpha}{mtcurrentfont}{`J} +\DeclareMathSymbol{K}{\mathalpha}{mtcurrentfont}{`K} +\DeclareMathSymbol{L}{\mathalpha}{mtcurrentfont}{`L} +\DeclareMathSymbol{M}{\mathalpha}{mtcurrentfont}{`M} +\DeclareMathSymbol{N}{\mathalpha}{mtcurrentfont}{`N} +\DeclareMathSymbol{O}{\mathalpha}{mtcurrentfont}{`O} +\DeclareMathSymbol{P}{\mathalpha}{mtcurrentfont}{`P} +\DeclareMathSymbol{Q}{\mathalpha}{mtcurrentfont}{`Q} +\DeclareMathSymbol{R}{\mathalpha}{mtcurrentfont}{`R} +\DeclareMathSymbol{S}{\mathalpha}{mtcurrentfont}{`S} +\DeclareMathSymbol{T}{\mathalpha}{mtcurrentfont}{`T} +\DeclareMathSymbol{U}{\mathalpha}{mtcurrentfont}{`U} +\DeclareMathSymbol{V}{\mathalpha}{mtcurrentfont}{`V} +\DeclareMathSymbol{W}{\mathalpha}{mtcurrentfont}{`W} +\DeclareMathSymbol{X}{\mathalpha}{mtcurrentfont}{`X} +\DeclareMathSymbol{Y}{\mathalpha}{mtcurrentfont}{`Y} +\DeclareMathSymbol{Z}{\mathalpha}{mtcurrentfont}{`Z} +\ifx\mt@nodigits\@empty\else +\def\mt@font@tbu{mtcurrentfont} +\ifx\mt@symboldigits\@empty \def\mt@font@tbu{mtpsymbol} \fi +\ifx\mt@eulerdigits\@empty \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 +\ifx\mt@symbolmax\@empty +\def\mt@font@tbu{mtpsymbol} +\else +\def\mt@font@tbu{mtcurrentfont} +\fi +\ifx\mt@noexclam\@empty\else +\DeclareMathSymbol{!}{\mathclose}{\mt@font@tbu}{"21} +\DeclareMathSymbol{?}{\mathclose}{\mt@font@tbu}{"3F} +\fi +\ifx\mt@noast\@empty\else +\DeclareMathSymbol{*}{\mathalpha}{\mt@font@tbu}{"2A} +\fi +\ifx\mt@nopunct\@empty\else +\DeclareMathSymbol{,}{\mathpunct}{\mt@font@tbu}{"2C} +\DeclareMathSymbol{.}{\mathord}{\mt@font@tbu}{"2E} +\DeclareMathSymbol{:}{\mathrel}{\mt@font@tbu}{"3A} +\@ifpackageloaded{amsmath} + {} + {\let\colon\undefined + \DeclareMathSymbol{\colon}{\mathpunct}{\mt@font@tbu}{"3A}} +\DeclareMathSymbol{;}{\mathpunct}{\mt@font@tbu}{"3B} +\fi +\DeclareMathSymbol{\inodot}{\mathord}{mtcurrentfont}{"10} +\DeclareMathSymbol{\jnodot}{\mathord}{mtcurrentfont}{"11} +\ifx\mt@defaultimath\@empty\else + \renewcommand{\imath}{\inodot} + \renewcommand{\jmath}{\jnodot} +\fi +\ifx\mt@noplusnominus\@empty\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$} +\DeclareMathSymbol{+}{\mathbin}{\mt@font@tbu}{"2B} +\DeclareMathSymbol{-}{\mathbin}{\mt@font@tbu}{"2D} +\fi +\ifx\mt@noequal\@empty\else +\edef\mt@equal@sign{{\expandafter\mathchar\number\mathcode`\=}} +\DeclareRobustCommand\Relbar{\mathrel{\mt@equal@sign}} +\DeclareMathSymbol{=}{\mathrel}{\mt@font@tbu}{"3D} +\fi +\ifx\mt@noparen\@empty\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 +\ifx\mt@alldelims\@empty +\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}{mtcurrentfont}{"5C}{largesymbols}{"0F} +\DeclareMathDelimiter{\backslash} + {\mathord}{mtcurrentfont}{"5C}{largesymbols}{"0F} +\DeclareMathSymbol\setminus\mathbin{mtcurrentfont}{"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 +\ifx\mt@nospecials\@empty\else +\renewcommand{\#}{\ifmmode\edef\ms@tmp{7\the\symmtcurrentfont23}% +\mathchar\expandafter"\ms@tmp\relax\else\char"23\relax\fi} +\renewcommand{\$}{\ifmmode\edef\ms@tmp{7\the\symmtcurrentfont24}% +\mathchar\expandafter"\ms@tmp\relax\else\char"24\relax\fi} +\renewcommand{\%}{\ifmmode\edef\ms@tmp{7\the\symmtcurrentfont25}% +\mathchar\expandafter"\ms@tmp\relax\else\char"25\relax\fi} +\renewcommand{\&}{\ifmmode\edef\ms@tmp{7\the\symmtcurrentfont26}% +\mathchar\expandafter"\ms@tmp\relax\else\char"26\relax\fi} +\fi +\ifx\mt@symbolmisc\@empty +\let\prod\undefined +\DeclareMathSymbol{\prod}{\mathop}{mtpsymbol}{213} +\let\sum\undefined +\DeclareMathSymbol{\sum}{\mathop}{mtpsymbol}{229} +\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 +\ifx\mt@symbolre\@empty +\DeclareMathSymbol{\Re}{\mathord}{mtpsymbol}{"C2} +\DeclareMathSymbol{\Im}{\mathord}{mtpsymbol}{"C1} +\DeclareMathSymbol{\DotTriangle}{\mathord}{mtpsymbol}{92} +\fi +\ifx\mt@selfGreek\@empty +\DeclareMathSymbol{\Gamma}{\mathalpha}{mtcurrentfont}{"00} +\DeclareMathSymbol{\Delta}{\mathalpha}{mtcurrentfont}{"01} +\DeclareMathSymbol{\Theta}{\mathalpha}{mtcurrentfont}{"02} +\DeclareMathSymbol{\Lambda}{\mathalpha}{mtcurrentfont}{"03} +\DeclareMathSymbol{\Xi}{\mathalpha}{mtcurrentfont}{"04} +\DeclareMathSymbol{\Pi}{\mathalpha}{mtcurrentfont}{"05} +\DeclareMathSymbol{\Sigma}{\mathalpha}{mtcurrentfont}{"06} +\DeclareMathSymbol{\Upsilon}{\mathalpha}{mtcurrentfont}{"07} +\DeclareMathSymbol{\Phi}{\mathalpha}{mtcurrentfont}{"08} +\DeclareMathSymbol{\Psi}{\mathalpha}{mtcurrentfont}{"09} +\DeclareMathSymbol{\Omega}{\mathalpha}{mtcurrentfont}{"0A} +\else +\ifx\mt@eulergreek\@empty +\DeclareMathSymbol\Gamma {\mathord}{mteulervm}{"00} +\DeclareMathSymbol\Delta {\mathord}{mteulervm}{"01} +\DeclareMathSymbol\Theta {\mathord}{mteulervm}{"02} +\DeclareMathSymbol\Lambda {\mathord}{mteulervm}{"03} +\DeclareMathSymbol\Xi {\mathord}{mteulervm}{"04} +\DeclareMathSymbol\Pi {\mathord}{mteulervm}{"05} +\DeclareMathSymbol\Sigma {\mathord}{mteulervm}{"06} +\DeclareMathSymbol\Upsilon {\mathord}{mteulervm}{"07} +\DeclareMathSymbol\Phi {\mathord}{mteulervm}{"08} +\DeclareMathSymbol\Psi {\mathord}{mteulervm}{"09} +\DeclareMathSymbol\Omega {\mathord}{mteulervm}{"0A} +\else +\ifx\mt@symbolgreek\@empty +\DeclareMathSymbol{\Gamma}{\mathord}{mtpsymbol}{"47} +\DeclareMathSymbol{\Delta}{\mathord}{mtpsymbol}{"44} +\DeclareMathSymbol{\Theta}{\mathord}{mtpsymbol}{"51} +\DeclareMathSymbol{\Lambda}{\mathord}{mtpsymbol}{"4C} +\DeclareMathSymbol{\Xi}{\mathord}{mtpsymbol}{"59} +\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} +\fi\fi\fi +\let\omicron\undefined +\newcommand\omicron{\mt@saved@mathnormal{o}} +\ifx\mt@eulergreek\@empty +\DeclareMathSymbol{\alpha} {\mathord}{mteulervm}{"0B} +\DeclareMathSymbol{\beta} {\mathord}{mteulervm}{"0C} +\DeclareMathSymbol{\gamma} {\mathord}{mteulervm}{"0D} +\DeclareMathSymbol{\delta} {\mathord}{mteulervm}{"0E} +\DeclareMathSymbol{\epsilon}{\mathord}{mteulervm}{"0F} +\DeclareMathSymbol{\zeta} {\mathord}{mteulervm}{"10} +\DeclareMathSymbol{\eta} {\mathord}{mteulervm}{"11} +\DeclareMathSymbol{\theta} {\mathord}{mteulervm}{"12} +\DeclareMathSymbol{\iota} {\mathord}{mteulervm}{"13} +\DeclareMathSymbol{\kappa} {\mathord}{mteulervm}{"14} +\DeclareMathSymbol{\lambda} {\mathord}{mteulervm}{"15} +\DeclareMathSymbol{\mu} {\mathord}{mteulervm}{"16} +\DeclareMathSymbol{\nu} {\mathord}{mteulervm}{"17} +\DeclareMathSymbol{\xi} {\mathord}{mteulervm}{"18} +\renewcommand\omicron{\mathord{\MathastextEuler{o}}} +\DeclareMathSymbol{\pi} {\mathord}{mteulervm}{"19} +\DeclareMathSymbol{\rho} {\mathord}{mteulervm}{"1A} +\DeclareMathSymbol{\sigma} {\mathord}{mteulervm}{"1B} +\DeclareMathSymbol{\tau} {\mathord}{mteulervm}{"1C} +\DeclareMathSymbol{\upsilon}{\mathord}{mteulervm}{"1D} +\DeclareMathSymbol{\phi} {\mathord}{mteulervm}{"1E} +\DeclareMathSymbol{\chi} {\mathord}{mteulervm}{"1F} +\DeclareMathSymbol{\psi} {\mathord}{mteulervm}{"20} +\DeclareMathSymbol{\omega} {\mathord}{mteulervm}{"21} +\DeclareMathSymbol{\varepsilon}{\mathord}{mteulervm}{"22} +\DeclareMathSymbol{\vartheta}{\mathord}{mteulervm}{"23} +\DeclareMathSymbol{\varpi} {\mathord}{mteulervm}{"24} +\let\varrho=\rho +\let\varsigma=\sigma +\DeclareMathSymbol{\varphi} {\mathord}{mteulervm}{"27} +\DeclareMathSymbol{\partial}{\mathord}{mteulervm}{"40} +\DeclareMathSymbol{\wp}{\mathord}{mteulervm}{"7D} +\DeclareMathSymbol{\ell}{\mathord}{mteulervm}{"60} +\else +\ifx\mt@symbolgreek\@empty +\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} +\renewcommand\omicron{\mathord{\MathastextSymbol{o}}} +\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 +\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{ +\ifx\mt@alldelims\@empty +\ifx\mt@symbolmax\@empty\else +\ifall@OTone +\typeout{** mathastext: option `alldelims', and OT1 encodings; characters + <,>,{,},| ^^J% +** will display correctly only for the fixed-width fonts.} +\else +\ifall@Tone\else +\typeout{** mathastext: option `alldelims'; <,>,{,},| have been assumed + to be located^^J% +** as in T1 (or OT1 fixed-width) fonts.)} +\fi\fi\fi\fi +\ifall@OTone\else +\DeclareMathSymbol{\inodot}{\mathord}{mtcurrentfont}{"19} +\DeclareMathSymbol{\jnodot}{\mathord}{mtcurrentfont}{"1A} +\fi +} +\AtBeginDocument{ +\ifx\mt@mathaccents\@empty +\ifall@OTone +\DeclareMathAccent{\acute}{\mathalpha}{mtcurrentfont}{"13} +\DeclareMathAccent{\grave}{\mathalpha}{mtcurrentfont}{"12} +\DeclareMathAccent{\ddot}{\mathalpha}{mtcurrentfont}{"7F} +\DeclareMathAccent{\tilde}{\mathalpha}{mtcurrentfont}{"7E} +\DeclareMathAccent{\bar}{\mathalpha}{mtcurrentfont}{"16} +\DeclareMathAccent{\breve}{\mathalpha}{mtcurrentfont}{"15} +\DeclareMathAccent{\check}{\mathalpha}{mtcurrentfont}{"14} +\DeclareMathAccent{\hat}{\mathalpha}{mtcurrentfont}{"5E} +\DeclareMathAccent{\dot}{\mathalpha}{mtcurrentfont}{"5F} +\DeclareMathAccent{\mathring}{\mathalpha}{mtcurrentfont}{"17} +\else +\DeclareMathAccent{\acute}{\mathalpha}{mtcurrentfont}{"01} +\DeclareMathAccent{\grave}{\mathalpha}{mtcurrentfont}{"00} +\DeclareMathAccent{\ddot}{\mathalpha}{mtcurrentfont}{"04} +\DeclareMathAccent{\tilde}{\mathalpha}{mtcurrentfont}{"03} +\DeclareMathAccent{\bar}{\mathalpha}{mtcurrentfont}{"09} +\DeclareMathAccent{\breve}{\mathalpha}{mtcurrentfont}{"08} +\DeclareMathAccent{\check}{\mathalpha}{mtcurrentfont}{"07} +\DeclareMathAccent{\hat}{\mathalpha}{mtcurrentfont}{"02} +\DeclareMathAccent{\dot}{\mathalpha}{mtcurrentfont}{"0A} +\DeclareMathAccent{\mathring}{\mathalpha}{mtcurrentfont}{"06} +\ifall@Tone +\else\typeout{** mathastext: option `mathaccents'; accents have been assumed + to be^^J% + ** as in T1 encoding but one of the math versions has a non-T1 encoding.} +\fi +\fi +\fi +} +\AtBeginDocument{ + \ifmt@need@symbol + \DeclareFontFamily{U}{psy}{} + \DeclareFontShape{U}{psy}{m}{n}{<->s*[\psy@scale] psyr}{} + \fi +} +\mt@font@info@on +\endinput +%% +%% End of file `mathastext.sty'. |