summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/newpx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-12-30 23:34:18 +0000
committerKarl Berry <karl@freefriends.org>2013-12-30 23:34:18 +0000
commitdf6614b51ee8eacfa27b2e1f37b7b7f138a43f2a (patch)
tree31c817a691205fea74ab26a1b0b5edfa85c26e59 /Master/texmf-dist/tex/latex/newpx
parenta735192b8064a28473fe52270470ac57a555aedb (diff)
newpx (29dec)
git-svn-id: svn://tug.org/texlive/trunk@32511 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/newpx')
-rw-r--r--Master/texmf-dist/tex/latex/newpx/newpxmath.sty72
-rw-r--r--Master/texmf-dist/tex/latex/newpx/newpxtext.sty4
2 files changed, 72 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/latex/newpx/newpxmath.sty b/Master/texmf-dist/tex/latex/newpx/newpxmath.sty
index d9c5e481a49..2b049802820 100644
--- a/Master/texmf-dist/tex/latex/newpx/newpxmath.sty
+++ b/Master/texmf-dist/tex/latex/newpx/newpxmath.sty
@@ -11,8 +11,8 @@
% of glyph collisions.
% These modifications are by Michael Sharpe, msharpe at ucsd dot edu
-\def\fileversion{1.061}
-\def\filedate{2013/12/12}
+\def\fileversion{1.07}
+\def\filedate{2013/12/28}
\ProvidesPackage{newpxmath}
[\filedate\space v\fileversion]
\@ifundefined{newpxmathLoaded}{}{\endinput}
@@ -471,6 +471,69 @@ amssymbols,uprightGreek}
%\DeclareMathSymbol{\heartsuit}{\mathord}{symbols}{126}
%\DeclareMathSymbol{\spadesuit}{\mathord}{symbols}{127}
+% Define \overgroup, \undergroup, like \overbrace, \underbrace
+\DeclareMathSymbol{\groupld}{\mathord}{largesymbols}{160}
+\DeclareMathSymbol{\grouprd}{\mathord}{largesymbols}{161}
+\DeclareMathSymbol{\grouplu}{\mathord}{largesymbols}{162}
+\DeclareMathSymbol{\groupru}{\mathord}{largesymbols}{163}
+\DeclareMathSymbol{\grouplda}{\mathord}{largesymbols}{164}
+\DeclareMathSymbol{\grouprda}{\mathord}{largesymbols}{165}
+\DeclareMathSymbol{\grouplua}{\mathord}{largesymbols}{166}
+\DeclareMathSymbol{\grouprua}{\mathord}{largesymbols}{167}
+% Override default definitions of \widehat and \widetilde
+\re@DeclareMathAccent{\widehat}{\mathalpha}{largesymbols}{98}
+\re@DeclareMathAccent{\widetilde}{\mathalpha}{largesymbols}{101}
+
+\def\overgroup#1{\mathop{\vbox{\ialign{##\crcr\noalign{\kern.4\p@}%
+\downgroupfill\crcr\noalign{\kern1.5\p@\nointerlineskip}%
+$\hfil\displaystyle{#1}\hfil$\crcr}}}\limits}
+%
+\def\undergroup#1{\mathop{\vtop{\ialign{##\crcr%
+$\hfil\displaystyle{#1}\hfil$\crcr%
+\noalign{\kern1.5\p@\nointerlineskip}%
+\upgroupfill\crcr\noalign{\kern.5\p@}}}}\limits}
+%
+\def\downgroupfill{$\m@th%
+ \groupld\mkern-1mu\cleaders\hbox{$\mkern-.5mu\br@cext\mkern-.5mu$}\hfill\mkern-1mu\grouprd$}
+%
+\def\upgroupfill{$\m@th%
+ \grouplu\mkern-1mu\cleaders\hbox{$\mkern-.5mu\br@cext\mkern-.5mu$}\hfill\mkern-1mu\groupru$}
+% same thing but with arrows
+\def\overgroupra#1{\mathop{\vbox{\ialign{##\crcr\noalign{\kern.4\p@}%
+\downgroupfillra\crcr\noalign{\kern1.5\p@\nointerlineskip}%
+$\hfil\displaystyle{#1}\hfil$\crcr}}}\limits}
+%
+\def\undergroupra#1{\mathop{\vtop{\ialign{##\crcr%
+$\hfil\displaystyle{#1}\hfil$\crcr%
+\noalign{\kern1.5\p@\nointerlineskip}%
+\upgroupfillra\crcr\noalign{\kern.5\p@}}}}\limits}
+%
+\def\overgroupla#1{\mathop{\vbox{\ialign{##\crcr\noalign{\kern.4\p@}%
+\downgroupfillla\crcr\noalign{\kern1.5\p@\nointerlineskip}%
+$\hfil\displaystyle{#1}\hfil$\crcr}}}\limits}
+%
+\def\undergroupla#1{\mathop{\vtop{\ialign{##\crcr%
+$\hfil\displaystyle{#1}\hfil$\crcr%
+\noalign{\kern1.5\p@\nointerlineskip}%
+\upgroupfillla\crcr\noalign{\kern.5\p@}}}}\limits}
+%
+\def\downgroupfillra{$\m@th%
+ \groupld\mkern-1mu\cleaders\hbox{$\mkern-.5mu\br@cext\mkern-.5mu$}\hfill\mkern-1mu\grouprda$}
+%
+\def\upgroupfillra{$\m@th%
+ \grouplu\mkern-1mu\cleaders\hbox{$\mkern-.5mu\br@cext\mkern-.5mu$}\hfill\mkern-1mu\grouprua$}
+%
+\def\downgroupfillla{$\m@th%
+ \grouplda\mkern-1mu\cleaders\hbox{$\mkern-.5mu\br@cext\mkern-.5mu$}\hfill\mkern-1mu\grouprd$}
+%
+\def\upgroupfillla{$\m@th%
+ \grouplua\mkern-1mu\cleaders\hbox{$\mkern-.5mu\br@cext\mkern-.5mu$}\hfill\mkern-1mu\groupru$}
+
+
+% Place a ring over an overgroup symbol, like yhmath \widering
+\newcommand{\widering}[1]{\overset{\smash{\vbox to .2ex{%
+ \hbox{$\mathring{}$}}}}{\overgroup{#1}}}
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Math Symbol A Definitions % AMSa
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -887,6 +950,9 @@ amssymbols,uprightGreek}
\re@DeclareMathSymbol{\multimapdotbothBvert}{\mathrel}{symbolsC}{151}
\re@DeclareMathSymbol{\multimapdotbothAvert}{\mathrel}{symbolsC}{152}
\fi
+% The following may be used for [[ and ]] without loading symbolsC as a math family. They replace \llbracket and \rrbracket.
+\def\dlb{\ensuremath\raisebox{.15ex}{\mbox{\usefont{U}{txsyc}{m}{n}\char126}}}
+\def\drb{\ensuremath\raisebox{.15ex}{\mbox{\usefont{U}{txsyc}{m}{n}\char127}}}
% Changes to put some symbolsC glyphs into lettersA
\re@DeclareMathSymbol{\nsubset}{\mathrel}{lettersA}{54}
\re@DeclareMathSymbol{\nsupset}{\mathrel}{lettersA}{55}
@@ -1269,6 +1335,8 @@ amssymbols,uprightGreek}
%%% For \underbrace and \overbrace:
%%% use brace extension bar (in "20 of npxexa) instead of vrule
%\re@DeclareMathSymbol{\br@cext}{\mathord}{largesymbolsPXA}{32}
+\re@DeclareMathSymbol{\br@cext}{\mathord}{largesymbols}{168}
+%
\def\downbracefill{$\m@th%
\braceld\mkern-1mu\cleaders\hbox{$\mkern-.5mu\br@cext\mkern-.5mu$}\hfill\mkern-1mu%
\braceru\bracelu%
diff --git a/Master/texmf-dist/tex/latex/newpx/newpxtext.sty b/Master/texmf-dist/tex/latex/newpx/newpxtext.sty
index 0ea703dae30..85aafaab291 100644
--- a/Master/texmf-dist/tex/latex/newpx/newpxtext.sty
+++ b/Master/texmf-dist/tex/latex/newpx/newpxtext.sty
@@ -8,8 +8,8 @@
% Modified the definition of \k to bypass problem with grouping.
% Text is now directed to a small modification of TeXGyrePagella rather than ppl.
-\def\fileversion{1.061}
-\def\filedate{2013/12/12}
+\def\fileversion{1.07}
+\def\filedate{2013/12/28}
\ProvidesPackage{newpxtext}[\filedate\space v\fileversion]
\message{`newpxtext' v\fileversion, \filedate\space Text macros based on pxfonts (msharpe)}