diff options
author | Karl Berry <karl@freefriends.org> | 2009-05-22 23:41:02 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2009-05-22 23:41:02 +0000 |
commit | 8cfb4ff5876f09885a849fc49d1719901f4a1cac (patch) | |
tree | de2669dced9c7172fbf7ce98d7430dc560af8928 /Master/texmf-dist/tex | |
parent | ffb491abf8a482d1a6ba3ec359cda6cc63e4ec4f (diff) |
kpfonts 3.1 (20may09)
git-svn-id: svn://tug.org/texlive/trunk@13394 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r-- | Master/texmf-dist/tex/latex/kpfonts/kpfonts.sty | 115 |
1 files changed, 82 insertions, 33 deletions
diff --git a/Master/texmf-dist/tex/latex/kpfonts/kpfonts.sty b/Master/texmf-dist/tex/latex/kpfonts/kpfonts.sty index cf00a52bd5b..16971f941e0 100644 --- a/Master/texmf-dist/tex/latex/kpfonts/kpfonts.sty +++ b/Master/texmf-dist/tex/latex/kpfonts/kpfonts.sty @@ -1,7 +1,7 @@ \NeedsTeXFormat{LaTeX2e} % \ProvidesPackage{kpfonts} - [ 2009/04/20 v3.02] + [ 2009/05/20 v3.1] \newif\ifkp@math \kp@mathtrue \newif\ifkp@text \kp@texttrue @@ -65,6 +65,19 @@ \DeclareOption{noDcommand} {\kp@Dcommandfalse} \DeclareOption{nofligatures} {\kp@nofligaturestrue} \DeclareOption{widermath} {\kp@widermathtrue} +\DeclareOption{intlimits} {\let\kp@ilimits\displaylimits} +\DeclareOption{fullintlimits} {\let\kp@ilimits\limits} +\DeclareOption{nointlimits} {\let\kp@ilimits\nolimits} +\DeclareOption{sumlimits} {\let\kp@slimits\displaylimits} +\DeclareOption{fullsumlimits} {\let\kp@slimits\limits} +\DeclareOption{nosumlimits} {\let\kp@slimits\nolimits} +\DeclareOption{namelimits} {\PassOptionsToPackage{namelimits}{amsmath}} +\DeclareOption{nonamelimits} {\PassOptionsToPackage{nonamelimits}{amsmath}} +\DeclareOption{leqno} {\PassOptionsToPackage{leqno}{amsmath}} +\DeclareOption{reqno} {\PassOptionsToPackage{reqno}{amsmath}} +\DeclareOption{centertags} {\PassOptionsToPackage{centertags}{amsmath}} +\DeclareOption{tbtags} {\PassOptionsToPackage{tbtags}{amsmath}} +\ExecuteOptions{nointlimits,sumlimits} \ProcessOptions\relax \ifkp@textcomp\RequirePackage[full]{textcomp}\fi @@ -308,8 +321,10 @@ \DeclareSymbolFont{symbols}{OMS}{jkp\kp@famillem\kp@widerm}{m}{n} \SetSymbolFont{symbols}{bold}{OMS}{jkp\kp@famillem\kp@widerm}{bx}{n} \DeclareFontSubstitution{OMS}{jkp\kp@famillem\kp@widerm}{m}{n} + +\ifkp@amsmath{ \renewcommand{\AmSfont}{% - \usefont{OMS}{jkp\kp@famillem\kp@widerm}{\if\@xp\@car\f@series\@nil bb\else m\fi}{n}} + \usefont{OMS}{jkp\kp@famillem\kp@widerm}{\if\@xp\@car\f@series\@nil bb\else m\fi}{n}}}\fi \DeclareSymbolFontAlphabet{\symb@ls@lph@}{symbols} @@ -1183,78 +1198,112 @@ \newcommand{\widering}[1]{\overset{\smash{\vbox to .2ex{% \hbox{$\mathring{}$}}}}{\wideparen{#1}}} + +\renewcommand{\int}{\intop\kp@ilimits} +\renewcommand{\oint}{\ointop\kp@ilimits} + + +\re@DeclareMathSymbol{\coprodop}{\mathop}{largesymbols}{96} + \def\coprod{\coprodop\kp@slimits} +\re@DeclareMathSymbol{\bigveeop}{\mathop}{largesymbols}{87} + \def\bigvee{\bigveeop\kp@slimits} +\re@DeclareMathSymbol{\bigwedgeop}{\mathop}{largesymbols}{86} + \def\bigwedge{\bigwedgeop\kp@slimits} +\re@DeclareMathSymbol{\bigplusop}{\mathop}{largesymbols}{85} + \def\biguplus{\biguplusop\kp@slimits} +\re@DeclareMathSymbol{\bigcapop}{\mathop}{largesymbols}{84} + \def\bigcap{\bigcapop\kp@slimits} +\re@DeclareMathSymbol{\bigcupop}{\mathop}{largesymbols}{83} + \def\bigcup{\bigcupop\kp@slimits} +\re@DeclareMathSymbol{\prodop}{\mathop}{largesymbols}{81} + \def\prod{\prodop\kp@slimits} +\re@DeclareMathSymbol{\sumop}{\mathop}{largesymbols}{80} + \def\sum{\sumop\kp@slimits} +\re@DeclareMathSymbol{\bigotimesop}{\mathop}{largesymbols}{78} + \def\bigotimes{\bigotimesop\kp@slimits} +\re@DeclareMathSymbol{\bigoplusop}{\mathop}{largesymbols}{76} + \def\bigoplus{\bigoplusop\kp@slimits} +\re@DeclareMathSymbol{\bigodotop}{\mathop}{largesymbols}{74} + \def\bigodot{\bigodotop\kp@slimits} +\re@DeclareMathSymbol{\bigsqcupop}{\mathop}{largesymbols}{70} + \def\bigsqcup{\bigsqcupop\kp@slimits} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Math Extension A (jkpexa) Definition % largesymbolsA %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\re@DeclareMathSymbol{\bignplusop}{\mathop}{largesymbolsA}{0} + \def\bignplus{\bignplusop\kp@slimits} +\re@DeclareMathSymbol{\bigsqcupplusop}{\mathop}{largesymbolsA}{2} + \def\bigsqcupplus{\bigsqcupplusop\kp@slimits} +\re@DeclareMathSymbol{\bigsqcapplusop}{\mathop}{largesymbolsA}{4} + \def\bigsqcapplus{\bigsqcapplusop\kp@slimits} +\re@DeclareMathSymbol{\bigsqcapop}{\mathop}{largesymbolsA}{6} + \def\bigsqcap{\bigsqcapop\kp@slimits} + \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\oiint{\oiintop\kp@ilimits} \def\narrowiints{\ifkp@narrowiints1\else0\fi} \re@DeclareMathSymbol{\ointctrclockwiseop}{\mathop}{largesymbolsA}{10} - \def\ointctrclockwise{\ointctrclockwiseop\nolimits} + \def\ointctrclockwise{\ointctrclockwiseop\kp@ilimits} \re@DeclareMathSymbol{\ointclockwiseop}{\mathop}{largesymbolsA}{12} - \def\ointclockwise{\ointclockwiseop\nolimits} + \def\ointclockwise{\ointclockwiseop\kp@ilimits} \re@DeclareMathSymbol{\sqintop}{\mathop}{largesymbolsA}{14} - \def\sqint{\sqintop\nolimits} + \def\sqint{\sqintop\kp@ilimits} \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} + \def\iint{\iintop\kp@ilimits} \re@DeclareMathSymbol{\iiintop}{\mathop}{largesymbolsA}{\narrowiints35} - \def\iiint{\iiintop\nolimits} + \def\iiint{\iiintop\kp@ilimits} \re@DeclareMathSymbol{\iiiintop}{\mathop}{largesymbolsA}{\narrowiints37} - \def\iiiint{\iiiintop\nolimits} + \def\iiiint{\iiiintop\kp@ilimits} \re@DeclareMathSymbol{\idotsintop}{\mathop}{largesymbolsA}{\narrowiints39} - \def\idotsint{\idotsintop\nolimits} + \def\idotsint{\idotsintop\kp@ilimits} \re@DeclareMathSymbol{\oiiintop}{\mathop}{largesymbolsA}{\narrowiints41} - \def\oiiint{\oiiintop\nolimits} + \def\oiiint{\oiiintop\kp@ilimits} \re@DeclareMathSymbol{\varointctrclockwiseop}{\mathop}{largesymbolsA}{43} - \def\varointctrclockwise{\varointctrclockwiseop\nolimits} + \def\varointctrclockwise{\varointctrclockwiseop\kp@ilimits} \re@DeclareMathSymbol{\varointclockwiseop}{\mathop}{largesymbolsA}{45} - \def\varointclockwise{\varointclockwiseop\nolimits} + \def\varointclockwise{\varointclockwiseop\kp@ilimits} \re@DeclareMathSymbol{\fintop}{\mathop}{largesymbolsA}{62} - \def\fint{\fintop\nolimits} + \def\fint{\fintop\kp@ilimits} \re@DeclareMathSymbol{\oiintctrclockwiseop}{\mathop}{largesymbolsA}{\narrowiints64} - \def\oiintctrclockwise{\oiintctrclockwiseop\nolimits} + \def\oiintctrclockwise{\oiintctrclockwiseop\kp@ilimits} \re@DeclareMathSymbol{\varoiintclockwiseop}{\mathop}{largesymbolsA}{\narrowiints66} - \def\varoiintclockwise{\varoiintclockwiseop\nolimits} + \def\varoiintclockwise{\varoiintclockwiseop\kp@ilimits} \re@DeclareMathSymbol{\oiiintctrclockwiseop}{\mathop}{largesymbolsA}{\narrowiints68} - \def\oiiintctrclockwise{\oiiintctrclockwiseop\nolimits} + \def\oiiintctrclockwise{\oiiintctrclockwiseop\kp@ilimits} \re@DeclareMathSymbol{\varoiiintclockwiseop}{\mathop}{largesymbolsA}{\narrowiints70} - \def\varoiiintclockwise{\varoiiintclockwiseop\nolimits} + \def\varoiiintclockwise{\varoiiintclockwiseop\kp@ilimits} \re@DeclareMathSymbol{\oiintclockwiseop}{\mathop}{largesymbolsA}{\narrowiints72} - \def\oiintclockwise{\oiintclockwiseop\nolimits} + \def\oiintclockwise{\oiintclockwiseop\kp@ilimits} \re@DeclareMathSymbol{\varoiintctrclockwiseop}{\mathop}{largesymbolsA}{\narrowiints74} - \def\varoiintctrclockwise{\varoiintctrclockwiseop\nolimits} + \def\varoiintctrclockwise{\varoiintctrclockwiseop\kp@ilimits} \re@DeclareMathSymbol{\oiiintclockwiseop}{\mathop}{largesymbolsA}{\narrowiints76} - \def\oiiintclockwise{\oiiintclockwiseop\nolimits} + \def\oiiintclockwise{\oiiintclockwiseop\kp@ilimits} \re@DeclareMathSymbol{\varoiiintctrclockwiseop}{\mathop}{largesymbolsA}{\narrowiints78} - \def\varoiiintctrclockwise{\varoiiintctrclockwiseop\nolimits} + \def\varoiiintctrclockwise{\varoiiintctrclockwiseop\kp@ilimits} \re@DeclareMathSymbol{\sqiintop}{\mathop}{largesymbolsA}{\narrowiints80} - \def\sqiint{\sqiintop\nolimits} + \def\sqiint{\sqiintop\kp@ilimits} \re@DeclareMathSymbol{\sqiiintop}{\mathop}{largesymbolsA}{\narrowiints82} - \def\sqiiint{\sqiiintop\nolimits} + \def\sqiiint{\sqiiintop\kp@ilimits} \re@DeclareMathSymbol{\varintop}{\mathop}{largesymbolsA}{84} - \def\varint{\varintop\nolimits} + \def\varint{\varintop\kp@ilimits} \re@DeclareMathSymbol{\variintop}{\mathop}{largesymbolsA}{\narrowiints86} - \def\variint{\variintop\nolimits} + \def\variint{\variintop\kp@ilimits} \re@DeclareMathSymbol{\variiintop}{\mathop}{largesymbolsA}{\narrowiints88} - \def\variiint{\variiintop\nolimits} + \def\variiint{\variiintop\kp@ilimits} \re@DeclareMathSymbol{\variiiintop}{\mathop}{largesymbolsA}{\narrowiints90} - \def\variiiint{\variiiintop\nolimits} + \def\variiiint{\variiiintop\kp@ilimits} \re@DeclareMathSymbol{\varidotsintop}{\mathop}{largesymbolsA}{\narrowiints92} - \def\varidotsint{\varidotsintop\nolimits} + \def\varidotsint{\varidotsintop\kp@ilimits} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |