diff options
author | Karl Berry <karl@freefriends.org> | 2013-11-19 00:56:32 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2013-11-19 00:56:32 +0000 |
commit | 0c16ddd29d43c785b867739f9b8fad8885ee548b (patch) | |
tree | 7402f2695ae367f7c96dba3224b4f1158900f077 /Master/texmf-dist/tex/latex/xymtex/chemist/chemtimes.sty | |
parent | 717e7ac16b923e6683f358eab146a2a96a46d7e4 (diff) |
xymtex (now lppl, minus manuals without sources)
git-svn-id: svn://tug.org/texlive/trunk@32182 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/xymtex/chemist/chemtimes.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/xymtex/chemist/chemtimes.sty | 515 |
1 files changed, 515 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/xymtex/chemist/chemtimes.sty b/Master/texmf-dist/tex/latex/xymtex/chemist/chemtimes.sty new file mode 100644 index 00000000000..514cefa7504 --- /dev/null +++ b/Master/texmf-dist/tex/latex/xymtex/chemist/chemtimes.sty @@ -0,0 +1,515 @@ +%% +%% This is file `chemtimes.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% chemtimes.dtx (with options: `chemtimes') +%% +%% This is a generated file. +%% +%% Copyright (C) 2009, 2010 by Shinsaku Fujita all rights reserved. +%% +%% This file is part of the ChemSci system. +%% ======================================= +%% Version 1.00 Released on October 20, 2009 +%% Released on November 21, 2010 (v5.00a) +%% +%% Copying of this file is authorized only if either +%% +%% (1) you make absolutely no changes to your copy, including name and +%% directory name +%% (2) if you do make changes, +%% (a) you name it something other than the names included in the +%% ``macro-sahou-pac'' directory and +%% (b) you acknowledge the original name. +%% This restriction ensures that all standard styles are identical. +%% +%% ======================================= +%% +%% This file contains several codes modified from latex.tex (LaTeX2.09) +%% and from latex.ltx (a LaTeX2e), the reused parts of which are subject to +%% Copyright 1994 the LaTeX3 project and the individual authors (For further +%% copyright information see the file legal.txt of the LaTeX2e standard +%% distribution, and any other copyright indicated in this file.) +%% +%% File: chemtimes.dtx +%% \CharacterTable +%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z +%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z +%% Digits \0\1\2\3\4\5\6\7\8\9 +%% Exclamation \! Double quote \" Hash (number) \# +%% Dollar \$ Percent \% Ampersand \& +%% Acute accent \' Left paren \( Right paren \) +%% Asterisk \* Plus \+ Comma \, +%% Minus \- Point \. Solidus \/ +%% Colon \: Semicolon \; Less than \< +%% Equals \= Greater than \> Question mark \? +%% Commercial at \@ Left bracket \[ Backslash \\ +%% Right bracket \] Circumflex \^ Underscore \_ +%% Grave accent \` Left brace \{ Vertical bar \| +%% Right brace \} Tilde \~} +\typeout{Package `chemtimes' (v. 5.00a) Shinsaku Fujita 2010/11/21} +\@ifundefined{chemcorr}{}{% + \PackageError{chemtimes} + {The ``chemist'' or ``chmst-ps'' package is not permitted here} + {The ``chemist'' or ``chmst-ps'' package will be automatically loaded \MessageBreak + when the ``chemtimes'' package is loaded.} +} +\newif\ifchemtimes%% +\newif\if@chemtimes%%for chemist package +\newif\if@@@chemtimes%%for chmst-ps package +\newif\if@@chemtimes%%for chmst-ps package +\DeclareOption{chemist}{\chemtimestrue} +\chemtimesfalse +\ProcessOptions +\ifchemtimes +\RequirePackage[chemtimes]{chemist}% +\else +\@@chemtimestrue +\RequirePackage[chemtimes]{chmst-ps}% +\fi +\renewcommand{\rmdefault}{ptm} +\def\Hv@scale{0.90}%scalable font +\renewcommand{\sfdefault}{phv} +%% change the defalt values (\thinmuskip 3mu to 2mu etc.) +\thinmuskip=2mu +\medmuskip=2.5mu plus 1mu minus 1mu +\thickmuskip=4mu plus 1.5mu minus 1mu +\DeclareSymbolFont{letters} {OML}{ztmcm}{m}{it} +\DeclareSymbolFont{operators} {OT1}{ztmcm}{m}{n} +\DeclareSymbolFont{symbols} {OMS}{ztmcm}{m}{n} +\DeclareSymbolFont{largesymbols}{OMX}{ztmcm}{m}{n} +\DeclareSymbolFont{bold} {OT1}{ptm}{bx}{n} +\DeclareSymbolFont{italic} {OT1}{ptm}{m}{it} +\DeclareMathAlphabet{\mathbf}{OT1}{ptm}{bx}{n} +\DeclareMathAlphabet{\mathit}{OT1}{ptm}{m}{it} +\DeclareMathAlphabet{\mathbfit}{OT1}{ptm}{b}{it}%2009/11/22 +\DeclareMathAlphabet{\mathsf}{OT1}{phv}{m}{n} +\DeclareMathAlphabet{\mathtt}{OT1}{cmtt}{m}{n} + \DeclareMathSymbol{\Gamma}{\mathalpha}{letters}{0} + \DeclareMathSymbol{\Delta}{\mathalpha}{letters}{1} + \DeclareMathSymbol{\Theta}{\mathalpha}{letters}{2} + \DeclareMathSymbol{\Lambda}{\mathalpha}{letters}{3} + \DeclareMathSymbol{\Xi}{\mathalpha}{letters}{4} + \DeclareMathSymbol{\Pi}{\mathalpha}{letters}{5} + \DeclareMathSymbol{\Sigma}{\mathalpha}{letters}{6} + \DeclareMathSymbol{\Upsilon}{\mathalpha}{letters}{7} + \DeclareMathSymbol{\Phi}{\mathalpha}{letters}{8} + \DeclareMathSymbol{\Psi}{\mathalpha}{letters}{9} + \DeclareMathSymbol{\Omega}{\mathalpha}{letters}{10} +\SetSymbolFont{letters} {bold}{OT1}{ptm}{b}{it}% +\SetSymbolFont{operators} {bold}{OT1}{ptm}{b}{n}% +\SetSymbolFont{symbols} {bold}{OMS}{ptm}{b}{n}% +\SetSymbolFont{largesymbols}{bold}{OMX}{ztmcm}{m}{n}% +\def\defaultscriptratio{.74} +\def\defaultscriptscriptratio{.6} +\DeclareMathSizes{5}{5}{5}{5} +\DeclareMathSizes{6}{6}{5}{5} +\DeclareMathSizes{7}{7}{5}{5} +\DeclareMathSizes{8}{8}{6}{5} +\DeclareMathSizes{9}{9}{7}{5} +\DeclareMathSizes{10}{10}{7.4}{6} +\DeclareMathSizes{10.95}{10.95}{8}{6} +\DeclareMathSizes{12}{12}{9}{7} +\DeclareMathSizes{14.4}{14.4}{10.95}{8} +\DeclareMathSizes{17.28}{17.28}{12}{10} +\DeclareMathSizes{20.74}{20.74}{14.4}{12} +\DeclareMathSizes{24.88}{24.88}{17.28}{14.4} +\newif\ifnewl@tex \newl@textrue +\@ifundefined{DeclareMathVersion}% + {\global\newl@texfalse}{\global\newl@textrue}% +\def\math@chem{chem} +\def\math@boldchem{boldchem} +\def\math@bold{bold} +\def\math@normal{normal} +%%added 2005/09/02 +\let\oldalpha=\alpha +\let\oldbeta=\beta +\let\oldgamma=\gamma +\let\olddelta=\delta +\let\oldepsilon=\epsilon +\let\oldzeta=\zeta +\let\oldeta=\eta +\let\oldtheta=\theta +\let\oldiota=\iota +\let\oldkappa=\kappa +\let\oldlambda=\lambda +\let\oldmu=\mu +\let\oldnu=\nu +\let\oldxi=\xi +\let\oldpi=\pi +\let\oldrho=\rho +\let\oldsigma=\sigma +\let\oldtau=\tau +\let\oldupsilon=\upsilon +\let\oldphi=\phi +\let\oldchi=\chi +\let\oldpsi=\psi +\let\oldomega=\omega +\let\oldvarepsilon=\varepsilon +\let\oldvartheta=\vartheta +\let\oldvarpi=\varpi +\let\oldvarrho=\varrho +\let\oldvarsigma=\varsigma +\let\oldvarphi=\varphi +\let\oldGamma=\Gamma +\let\oldDelta=\Delta +\let\oldTheta=\Theta +\let\oldLamda=\Lambda +\let\oldXi=\Xi +\let\oldPi=\Pi +\let\oldSigma=\Sigma +\let\oldUpsilon=\Upsilon +\let\oldPhi=\Phi +\let\oldPsi=\Psi +\let\oldOmega=\Omega +\def\chemGreekpalette#1#2#3{% +\mathchoice% +{\mathord{\hbox{\usefont{OML}{#1}{#3}{it}\char"#2}}}% +{\mathord{\hbox{\usefont{OML}{#1}{#3}{it}\char"#2}}}% +{\mathord{\hbox{\scriptsize\usefont{OML}{#1}{#3}{it}\char"#2}}}% +{\mathord{\hbox{\tiny\usefont{OML}{#1}{#3}{it}\char"#2}}}}% +\def\chemGreekletter#1#2{% +\expandafter\def\csname #1\endcsname{\bgroup%added 2010/11/21 by S. Fujita +\ifx\math@version\math@chem +\chemGreekpalette{ztmcm}{#2}{m}% +\else +\ifx\math@version\math@boldchem +\chemGreekpalette{cmm}{#2}{b}% +\else +\ifx\math@version\math@bold +\chemGreekpalette{cmm}{#2}{b}% +\else +\csname old#1\endcsname +\fi\fi\fi\egroup}}%added 2010/11/21 by S. Fujita +\def\ChemAccent#1#2#3{% +\expandafter\def\csname #1\endcsname{% +\ifx\math@version\math@chem +#2{\hbox{\kern-0.15em\usefont{OML}{cmm}{m}{it}\char"#3}}\else +\ifx\math@version\math@boldchem +#2{\hbox{\kern-0.2em\usefont{OML}{cmm}{b}{it}\char"#3}}\else +\ifx\math@version\math@bold +\ifupgreekrm +#2{\hbox{\usefont{OML}{cmm}{b}{it}\char"#3}}% +\upgreekrmfalse +\else +#2{\hbox{\usefont{OML}{cmm}{b}{it}\char"#3}}% +\fi +\else +#2{\hbox{\usefont{OML}{cmm}{m}{it}\char"#3}}% +\fi\fi\fi}} +\newif\ifupgreekrm \upgreekrmfalse +\DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm\upgreekrmtrue} +\DeclareOldFontCommand{\bfit}{\normalfont\itshape\bfseries}{\mathbfit}%2009/11/22 +\let\oldmathrm=\mathrm +\def\mathrm#1{\oldmathrm{\upgreekrmtrue #1}} +\newif\ifm@thnorm@l +\def\chemUpGreekletter#1#2{% +\expandafter\def\csname #1\endcsname{\bgroup%2010/11/21 by S. Fujita +\ensuremath{% +\ifx\math@version\math@chem +\ifm@thnorm@l +\mathord{\hbox{\usefont{OML}{cmm}{m}{it}\char"#2}}% +\else +\mathord{\hbox{\usefont{OT1}{cmr}{m}{n}\char"#2}}% +\fi +\else +\ifx\math@version\math@boldchem +\ifm@thnorm@l +\mathord{\hbox{\usefont{OML}{cmm}{b}{it}\char"#2}}% +\else +\mathord{\hbox{\usefont{OT1}{cmr}{b}{n}\char"#2}}% +\fi +\else +\ifx\math@version\math@bold +\ifupgreekrm +\ifm@thnorm@l +\mathord{\hbox{\usefont{OML}{cmm}{b}{it}\char"#2}}% +\else +\mathord{\hbox{\usefont{OT1}{cmr}{b}{n}\char"#2}}% +\fi +%%%\upgreekrmfalse +\else +\mathord{\hbox{\usefont{OML}{cmm}{b}{it}\char"#2}}% +\fi +\else +\csname old#1\endcsname +\fi\fi\fi}\egroup}}%added 2010/11/21 by S. Fujita +\def\ctSFOpalette#1#2#3{% +\mathchoice +{#2{\hbox{\usefont{OML}{cmm}{#1}{it}\char"#3}}}% +{#2{\hbox{\usefont{OML}{cmm}{#1}{it}\char"#3}}}% +{#2{\hbox{\scriptsize\usefont{OML}{cmm}{#1}{it}\char"#3}}}% +{#2{\hbox{\tiny\usefont{OML}{cmm}{#1}{it}\char"#3}}}% +} +\def\chemtimesSubFontOrd#1#2#3{% +\expandafter\def\csname #1\endcsname{\bgroup%added 2010/11/21 by S. Fujita + \PackageWarning{chemtimes} + {The symbol \expandafter\string\csname #1\endcsname\space + is not available with this package. + This font will be substituted by an appropriate commputer modern font}% +\ifx\math@version\math@chem +\ctSFOpalette{m}{#2}{#3}% +\else\ifx\math@version\math@boldchem +\ctSFOpalette{b}{#2}{#3}% +\else\ifx\math@version\math@bold +\ctSFOpalette{b}{#2}{#3}% +\else\ifx\math@version\math@normal +\ctSFOpalette{m}{#2}{#3}% +\else +\ctSFOpalette{m}{#2}{#3}% +\fi\fi\fi\fi\egroup}}%added 2010/11/21 by S. Fujita +\def\ctSFBpalette#1#2#3{% +\mathchoice +{#2{\hbox{\usefont{OMS}{cmsy}{#1}{n}\char"#3}}}% +{#2{\hbox{\usefont{OMS}{cmsy}{#1}{n}\char"#3}}}% +{#2{\hbox{\scriptsize\usefont{OMS}{cmsy}{#1}{n}\char"#3}}}% +{#2{\hbox{\tiny\usefont{OMS}{cmsy}{#1}{n}\char"#3}}}% +} +\def\ctSFBBpalette#1#2#3{% +\mathchoice +{#2{\hbox{\usefont{OMS}{cmm}{#1}{n}\char"#3}}}% +{#2{\hbox{\usefont{OMS}{cmm}{#1}{n}\char"#3}}}% +{#2{\hbox{\scriptsize\usefont{OMS}{cmm}{#1}{n}\char"#3}}}% +{#2{\hbox{\tiny\usefont{OMS}{cmm}{#1}{n}\char"#3}}}% +} +\def\chemtimesSubFontBin#1#2#3{% +\expandafter\def\csname #1\endcsname{\bgroup%added 2010/11/21 by S. Fujita + \PackageWarning{chemtimes} + {The symbol \expandafter\string\csname #1\endcsname\space + is not available with this package. + This font will be substituted by an appropriate commputer modern font}% +\ifx\math@version\math@chem +\ctSFBpalette{m}{#2}{#3}% +\else\ifx\math@version\math@boldchem +\ctSFBpalette{b}{#2}{#3}% +\else\ifx\math@version\math@bold +\ctSFBpalette{b}{#2}{#3}% +\else\ifx\math@version\math@normal +\ctSFBpalette{m}{#2}{#3}% +\else +\ctSFBBpalette{m}{#2}{#3}% +\fi\fi\fi\fi\egroup}}%added 2010/11/21 by S. Fujita +\def\chemtimesSubFontLOp#1#2#3{% +\expandafter\def\csname #1\endcsname{\bgroup%%added 2010/11/21 by S. Fujita + \PackageWarning{chemtimes} + {The symbol \expandafter\string\csname #1\endcsname\space + is not available with this package. + This font will be substituted by an appropriate commputer modern font}% +\ifx\math@version\math@chem +\mathop{\mathchoice% +{\raise2.2ex\hbox{\usefont{OMX}{cmex}{m}{n}\char"#3}}% +{\raise1.8ex\hbox{\usefont{OMX}{cmex}{m}{n}\char"#2}}{}{}% +}% +\else\ifx\math@version\math@boldchem +\mathop{\mathchoice% +{\raise2.2ex\hbox{\usefont{OMX}{cmex}{b}{n}\char"#3}}% +{\raise1.8ex\hbox{\usefont{OMX}{cmex}{b}{n}\char"#2}}{}{}% +}% +\else\ifx\math@version\math@bold +\mathop{\mathchoice% +{\raise2.2ex\hbox{\usefont{OMX}{cmex}{b}{n}\char"#3}}% +{\raise1.8ex\hbox{\usefont{OMX}{cmex}{b}{n}\char"#2}}{}{}% +}% +\else\ifx\math@version\math@normal +\mathop{\mathchoice% +{\raise2.2ex\hbox{\usefont{OMX}{cmex}{m}{n}\char"#3}}% +{\raise1.8ex\hbox{\usefont{OMX}{cmex}{m}{n}\char"#2}}{}{}% +}% +\else +\mathop{\mathchoice% +{\raise2.2ex\hbox{\usefont{OMX}{cmex}{m}{n}\char"#3}}% +{\raise1.8ex\hbox{\usefont{OMX}{cmex}{m}{n}\char"#2}}{}{}% +}% +\fi\fi\fi\fi\egroup}}%%added 2010/11/21 by S. Fujita +\def\SetChemSymbol{% +\chemGreekletter{alpha}{0B}% +\chemGreekletter{beta}{0C}% +\chemGreekletter{gamma}{0D}% +\chemGreekletter{delta}{0E}% +\chemGreekletter{epsilon}{0F}% +\chemGreekletter{zeta}{10}% +\chemGreekletter{eta}{11}% +\chemGreekletter{theta}{12}% +\chemGreekletter{iota}{13}% +\chemGreekletter{kappa}{14}% +\chemGreekletter{lambda}{15}% +\chemGreekletter{mu}{16}% +\chemGreekletter{nu}{17}% +\chemGreekletter{xi}{18}% +\chemGreekletter{pi}{19}% +\chemGreekletter{rho}{1A}% +\chemGreekletter{sigma}{1B}% +\chemGreekletter{tau}{1C}% +\chemGreekletter{upsilon}{1D}% +\chemGreekletter{phi}{1E}% +\chemGreekletter{chi}{1F}% +\chemGreekletter{psi}{20}% +\chemGreekletter{omega}{21}% +\chemGreekletter{varepsilon}{22}% +\chemGreekletter{vartheta}{23}% +\chemGreekletter{varpi}{24}% +\chemGreekletter{varrho}{25}% +\chemGreekletter{varsigma}{26}% +\chemGreekletter{varphi}{27}% +\chemUpGreekletter{Gamma}{00}% +\chemUpGreekletter{Delta}{01}% +\chemUpGreekletter{Theta}{02}% +\chemUpGreekletter{Lambda}{03}% +\chemUpGreekletter{Xi}{04}% +\chemUpGreekletter{Pi}{05}% +\chemUpGreekletter{Sigma}{06}% +\chemUpGreekletter{Upsilon}{07}% +\chemUpGreekletter{Phi}{08}% +\chemUpGreekletter{Psi}{09}% +\chemUpGreekletter{Omega}{0A}% +\chemtimesSubFontOrd{imath}{\mathord}{7B}% +\chemtimesSubFontOrd{jmath}{\mathord}{7C}% +\chemtimesSubFontBin{amalg}{\mathbin}{71}% +\chemtimesSubFontLOp{coprod}{60}{61}% +\chemtimesSubFontOrd{mathless}{\mathrel}{3C}% +\chemtimesSubFontOrd{mathgreater}{\mathrel}{3E}% +\chemtimesSubFontOrd{leftharpoonup}{\mathrel}{28}% +\chemtimesSubFontOrd{leftharpoondown}{\mathrel}{29}% +\chemtimesSubFontOrd{rightharpoonup}{\mathrel}{2A}% +\chemtimesSubFontOrd{rightharpoondown}{\mathrel}{2B}% +\chemtimesSubFontOrd{ell}{\mathord}{60}% +\chemtimesSubFontOrd{wp}{\mathord}{7D}% +\chemtimesSubFontOrd{partial}{\mathord}{40}% +\chemtimesSubFontOrd{flat}{\mathord}{5B}% +\chemtimesSubFontOrd{natural}{\mathord}{5C}% +\chemtimesSubFontOrd{sharp}{\mathord}{5D}% +\chemtimesSubFontOrd{triangleleft}{\mathbin}{2F}% +\chemtimesSubFontOrd{triangleright}{\mathbin}{2E}% +\chemtimesSubFontOrd{smile}{\mathrel}{5E}% +\chemtimesSubFontOrd{frown}{\mathrel}{5F}% +\chemtimesSubFontOrd{star}{\mathbin}{3F}% +\ChemAccent{vec}{\rlap}{7E}% +} +\DeclareRobustCommand\mathversion[1] + {\@nomath\mathversion + \expandafter\ifx\csname mv@#1\endcsname\relax + \@latex@error{Math version `#1' is not defined}\@eha\else + \edef\math@version{#1}% + \gdef\glb@currsize{}% +%%%%%%2002/5/30 and 2004/11/17 +\ifx\math@version\math@chem + \mathcode`\.="012E + \mathcode`\,="612C + \mathcode`\/="012F + \SetChemSymbol +\else\ifx\math@version\math@boldchem + \mathcode`\.="012E + \mathcode`\,="612C + \mathcode`\/="012F + \SetChemSymbol +\else\ifx\math@version\math@bold + \mathcode`\.="012E + \mathcode`\,="612C + \mathcode`\/="012F + \SetChemSymbol% +\else + \mathcode`\.="013A + \mathcode`\,="613B + \mathcode`\/="013D + \SetChemSymbol% +\fi\fi\fi +%%%%%% + \aftergroup\glb@settings + \fi} +\ifnewl@tex +\@ifundefined{mv@chem}{% +\DeclareMathVersion{chem}% +\SetSymbolFont{letters}{chem} {OT1}{ptm}{m}{n}% +\SetSymbolFont{operators}{chem} {OT1}{ztmcm} {m}{n}% +\SetSymbolFont{symbols} {chem} {OMS}{ztmcm}{m}{n}% +\SetSymbolFont{largesymbols}{chem}{OMX}{ztmcm}{b}{n}% +\DeclareMathVersion{boldchem}%2009/10/23<--2002/5/30 +\SetSymbolFont{letters}{boldchem} {OT1}{ptm}{b}{n}% +\SetSymbolFont{operators}{boldchem} {OT1}{ptm}{b}{n}% +\SetSymbolFont{symbols}{boldchem} {OMS}{ptm}{b}{n}% +\SetSymbolFont{largesymbols}{boldchem}{OMX}{ztmcm}{b}{n}% +}{% + \PackageWarning% + {chemtimes}% + {The mathversion "chem" or "boldchem" has been already defined. ^^J% + The old mathversion remains effective unless it is removed. }% +} +\else + \PackageWarning% + {chemtimes}% + {Mathversions cannot be defined. Use LaTeX2e or a later version.}% +\fi +\DeclareRobustCommand\hbar{{%from mathptmx package +\dimen@.06em \dimen@ii.06em% +\def\@tempa##1##2{% + \lower##1\dimen@\rlap{\kern##1\dimen@ii\the##2 0\char22}}% + \mathchoice{\@tempa{\@ne}{\textfont}}% + {\@tempa{\@ne}{\textfont}}% + {\@tempa{\defaultscriptratio}{\scriptfont}}% + {\@tempa{\defaultscriptscriptratio}{\scriptscriptfont}}% + h}} +\let\oldmathnormal=\mathnormal +\def\mathnormal#1{% +\ifx\math@version\math@chem +\m@thnorm@ltrue +\ensuremath{\it \usefont{OML}{cmm}{m}{it}#1}% +\else\ifx\math@version\math@boldchem +\m@thnorm@ltrue +\ensuremath{\bfit \usefont{OML}{cmm}{b}{it}#1}% +\else\ifx\math@version\math@bold +\ifupgreekrm +\m@thnorm@ltrue +\ensuremath{\bfit \usefont{OML}{cmm}{b}{it}#1}% +\else +\ensuremath{\usefont{OML}{cmm}{b}{it}#1}% +\fi +\else +\oldmathnormal{#1}% +\fi\fi\fi% +\m@thnorm@lfalse +}% +\def\oldstyle{\egroup% +\ifx\math@version\math@chem +\hbox\bgroup\usefont{OML}{cmm}{m}{it}% +\else\ifx\math@version\math@boldchem +\hbox\bgroup\usefont{OML}{cmm}{b}{it}% +\else\ifx\math@version\math@bold +\ifupgreekrm +\oldmathnormal\bgroup% +\upgreekrmfalse +\else +\hbox\bgroup\usefont{OML}{cmm}{b}{it}% +\fi +\else +\oldmathnormal\bgroup% +\fi\fi\fi}% +\let\oldmathcal=\mathcal +\def\mathcal#1{% +\ifx\math@version\math@chem +\mathgroup\tw@{\usefont{OMS}{cmsy}{m}{n}#1}% +\else\ifx\math@version\math@boldchem +\mathgroup\tw@{\usefont{OMS}{cmsy}{b}{n}#1}% +\else\ifx\math@version\math@bold +\ifupgreekrm \oldmathcal{#1}%\upgreekrmfalse +\else \oldmathcal{#1}\fi +\else +\oldmathcal{#1}% +\fi\fi\fi}% +\let\oldcal=\cal +\def\cal{% +\ifx\math@version\math@chem +\mathgroup\tw@\usefont{OMS}{cmsy}{m}{n}% +\else\ifx\math@version\math@boldchem +\mathgroup\tw@\usefont{OMS}{cmsy}{b}{n}% +\else\ifx\math@version\math@bold +\ifupgreekrm \oldcal\upgreekrmfalse +\else\oldcal\fi +\else +\oldcal% +\fi\fi\fi}% +\mathversion{normal}%default setting +\endinput +%% +%% End of file `chemtimes.sty'. |