summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-10-03 21:48:11 +0000
committerKarl Berry <karl@freefriends.org>2020-10-03 21:48:11 +0000
commitaeaa89f4ad2c919e85e247b365de32062f1326f9 (patch)
treeb05369bc51338cdfc5eaa1022f9d255e8e4c22fe /Master/texmf-dist/tex/latex
parent510a8caf2c454b03d40a5da6e315c3f4feb49de2 (diff)
newtxsf (3oct20)
git-svn-id: svn://tug.org/texlive/trunk@56527 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r--Master/texmf-dist/tex/latex/newtxsf/newtxsf.sty50
1 files changed, 39 insertions, 11 deletions
diff --git a/Master/texmf-dist/tex/latex/newtxsf/newtxsf.sty b/Master/texmf-dist/tex/latex/newtxsf/newtxsf.sty
index 2b91132f393..a908967ac70 100644
--- a/Master/texmf-dist/tex/latex/newtxsf/newtxsf.sty
+++ b/Master/texmf-dist/tex/latex/newtxsf/newtxsf.sty
@@ -2,8 +2,8 @@
%
% Michael Sharpe, msharpe at ucsd dot edu
-\def\fileversion{1.052}
-\def\filedate{2020/05/02}
+\def\fileversion{1.053}
+\def\filedate{2020/10/03}
\ProvidesPackage{newtxsf}
[\filedate\space v\fileversion]
@@ -15,6 +15,10 @@
\input{binhex}
\let\ntxmath@scaled\@empty
\define@key{ntxmath}{scaled}[1.0]{\def\ntxmath@scaled{s*[#1]}}
+\def\ntxmath@vecsep{.25ex}
+\define@key{ntxmath}{vecsep}[.25ex]{\def\ntxmath@vecsep{#1}}
+
+
\DeclareOption*{%
\begingroup
\edef\x{\endgroup
@@ -257,10 +261,10 @@ amssymbols,uprightGreek}
\let\|=\Vert
\re@DeclareMathDelimiter{\updownarrow}{\mathrel}{symbols}{108}{largesymbols}{63}
\re@DeclareMathDelimiter{\Updownarrow}{\mathrel}{symbols}{109}{largesymbols}{119}
- \re@DeclareMathDelimiter{\llbracket}{\mathopen}{lettersA}{251}{largesymbolsTXA}{18}
- \let\lBrack=\llbracket
- \re@DeclareMathDelimiter{\rrbracket}{\mathclose}{lettersA}{252}{largesymbolsTXA}{19}
- \let\rBrack=\rrbracket
+ \re@DeclareMathDelimiter{\llbracket}{\mathopen}{symbols}{201}{largesymbolsTXA}{18}
+ \let\lBrack=\llbracket \let\dlb=\llbracket
+ \re@DeclareMathDelimiter{\rrbracket}{\mathclose}{symbols}{202}{largesymbolsTXA}{19}
+ \let\rBrack=\rrbracket \let\drb=\rrbracket
\re@DeclareMathDelimiter{\lvert} {\mathopen} {symbols}{106}{largesymbols}{12}
\re@DeclareMathDelimiter{\rvert} {\mathclose} {symbols}{106}{largesymbols}{12}
\re@DeclareMathDelimiter{\lVert} {\mathopen} {symbols}{107}{largesymbols}{13}
@@ -273,7 +277,7 @@ amssymbols,uprightGreek}
\re@DeclareMathSymbol{\hbar}{\mathord}{lettersA}{53}
%\DeclareMathSymbol{+}{\mathbin}{operators}{43}
-\DeclareMathSymbol{+}{\mathbin}{lettersA}{253}
+\DeclareMathSymbol{+}{\mathbin}{symbols}{207}
%\DeclareMathDelimiter{/}{\mathord}{operators}{47}{largesymbols}{14}
%\DeclareMathSymbol{:}{\mathrel}{operators}{58}
%\DeclareMathSymbol{\colon}{\mathpunct}{operators}{58}
@@ -341,6 +345,11 @@ amssymbols,uprightGreek}
% Math Symbol (txsy) Definition % symbols
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\DeclareMathSymbol{\transp}{\mathord}{symbols}{203}
+\DeclareMathSymbol{\hermtransp}{\mathord}{symbols}{204}
+ \let\htransp=\hermtransp
+\re@DeclareMathSymbol{\Perp}{\mathrel}{symbols}{205} % was symbolsC
+\re@DeclareMathSymbol{\nPerp}{\mathrel}{symbols}{206} % was symbolsC
%\DeclareMathSymbol{-}{\mathbin}{symbols}{0}
%\DeclareMathSymbol{\cdotp}{\mathpunct}{symbols}{1}
%\DeclareMathSymbol{\cdot}{\mathbin}{symbols}{1}
@@ -717,6 +726,25 @@ $\hfil\displaystyle{#1}\hfil$\crcr%
\def\fintup{\DOTSI\fintupop\ilimits@}
\def\sqintup{\DOTSI\sqintupop\ilimits@}
+%%%%%%% Begin txvec code 2019-07-31 (adaptive vec)
+\DeclareMathSymbol{\rVec@h}{\mathrel}{symbols}{198}% vector head
+\DeclareMathSymbol{\rVec@x}{\mathrel}{symbols}{199}% vector extension
+%% borrow interfacefrom esvect
+\def\vv{\@ifstar{\vvstar}{\txvec}}
+\def\vvstar#1#2{{\txvec{#1}}_{\mkern-1mu\relax#2}}
+%%
+\newcommand{\txvec}{\mathpalette{\overVec@\Vecfill@}}
+%
+\def\Vecfill@{\@rrowfill@\rVec@x\rVec@h}
+%
+\def\@rrowfill@#1#2#3{$\m@th\mkern2mu%
+\relax#3#1\mkern-1.5mu\cleaders\hbox{$#3\mkern-.4mu#1\mkern-.4mu$}\hfill\mkern-1.5mu#2$}
+%
+\def\overVec@#1#2#3{\mathop{\vbox{\ialign{##\crcr\noalign{\kern-.2ex}%
+#1#2\crcr\noalign{\kern\ntxmath@vecsep\nointerlineskip}% kern controls sep to arrow
+$\m@th\hfil #2#3\hfil$\crcr}}}}
+%%%%%%%% End txvec code
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Math extension options
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -995,7 +1023,7 @@ $\hfil\displaystyle{#1}\hfil$\crcr%
\re@DeclareMathSymbol{\nleftrightarrow}{\mathrel}{AMSm}{61}
\re@DeclareMathSymbol{\divideontimes}{\mathbin}{AMSm}{62}
%\re@DeclareMathSymbol{\varnothing}{\mathord}{AMSm}{63}
-\re@DeclareMathSymbol{\nexists}{\mathord}{AMSm}{64}
+\re@DeclareMathSymbol{\nexists}{\mathord}{symbols}{"9A}
\re@DeclareMathSymbol{\Finv}{\mathord}{AMSm}{96}
\re@DeclareMathSymbol{\Game}{\mathord}{AMSm}{97}
\re@DeclareMathSymbol{\mho}{\mathord}{AMSm}{102}
@@ -1172,7 +1200,7 @@ $\hfil\displaystyle{#1}\hfil$\crcr%
\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{\Perp}{\mathrel}{symbolsC}{121}
\re@DeclareMathSymbol\leadstoext{\mathrel}{symbolsC}{122}
\re@DeclareMathSymbol\leadsto{\mathrel}{symbolsC}{123}
\re@DeclareMathSymbol{\sqcupplus}{\mathbin}{symbolsC}{124}
@@ -1463,8 +1491,8 @@ $\hfil\displaystyle{#1}\hfil$\crcr%
\DeclareMathSymbol{\forallAlt}{\mathord}{lettersA}{91}%added 20130726
\DeclareMathSymbol{\existsAlt}{\mathord}{lettersA}{92}%added 20130726
\DeclareMathSymbol{\nexistsAlt}{\mathord}{lettersA}{93}%added 20130726
-\DeclareMathSymbol{\emptysetAlt}{\mathord}{lettersA}{94}%added 20130726
-\re@DeclareMathSymbol{\varnothing}{\mathord}{lettersA}{95}%added 20130807
+\DeclareMathSymbol{\emptysetAlt}{\mathord}{symbols}{"9B}%added 20130726
+\re@DeclareMathSymbol{\varnothing}{\mathord}{symbols}{"9C}%added 20130807
% changes for newtxsf
\re@DeclareMathSymbol{\emptyset}{\mathord}{lettersA}{95}
\let\forall\forallAlt