diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r-- | Master/texmf-dist/tex/latex/newtxsf/newtxsf.sty | 117 |
1 files changed, 75 insertions, 42 deletions
diff --git a/Master/texmf-dist/tex/latex/newtxsf/newtxsf.sty b/Master/texmf-dist/tex/latex/newtxsf/newtxsf.sty index 68f86109569..2b91132f393 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.051} -\def\filedate{2018/06/07} +\def\fileversion{1.052} +\def\filedate{2020/05/02} \ProvidesPackage{newtxsf} [\filedate\space v\fileversion] @@ -157,8 +157,11 @@ amssymbols,uprightGreek} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \def\re@DeclareMathSymbol#1#2#3#4{% - \let#1=\undefined - \DeclareMathSymbol{#1}{#2}{#3}{#4}} +\if\relax\noexpand#1\let#1=\undefined \fi \DeclareMathSymbol{#1}{#2}{#3}{#4}} + +%\def\re@DeclareMathSymbol#1#2#3#4{% +% \let#1=\undefined +% \DeclareMathSymbol{#1}{#2}{#3}{#4}} \def\re@DeclareMathDelimiter#1#2#3#4#5#6{% \let#1=\undefined @@ -225,10 +228,10 @@ amssymbols,uprightGreek} %\DeclareMathSymbol{\mathdollar}{\mathord}{operators}{36} %\def\mathsterling{\mathit{\mathchar"7024}} %Change the following two so we can adjust metrics in math mode - \DeclareMathDelimiter{\lgroup}{\mathopen}{largesymbols}{58}{largesymbols}{58} - \DeclareMathDelimiter{\rgroup}{\mathclose}{largesymbols}{59}{largesymbols}{59} - \DeclareMathDelimiter{\lmoustache}{\mathopen}{largesymbols}{64}{largesymbols}{64} - \DeclareMathDelimiter{\rmoustache}{\mathclose}{largesymbols}{65}{largesymbols}{65} + \re@DeclareMathDelimiter{\lgroup}{\mathopen}{largesymbols}{58}{largesymbols}{58} + \re@DeclareMathDelimiter{\rgroup}{\mathclose}{largesymbols}{59}{largesymbols}{59} + \re@DeclareMathDelimiter{\lmoustache}{\mathopen}{largesymbols}{64}{largesymbols}{64} + \re@DeclareMathDelimiter{\rmoustache}{\mathclose}{largesymbols}{65}{largesymbols}{65} \DeclareMathDelimiter{/}{\mathopen}{symbols}{157}{largesymbols}{14} \DeclareMathDelimiter{(}{\mathopen}{symbols}{185}{largesymbols}{0} \DeclareMathDelimiter{)}{\mathclose}{symbols}{186}{largesymbols}{1} @@ -244,24 +247,24 @@ amssymbols,uprightGreek} %\DeclareMathDelimiter{<}{\mathopen}{letters}{60}{largesymbols}{140} \DeclareMathDelimiter{\rangle}{\mathclose}{symbols}{105}{largesymbols}{11} %\DeclareMathDelimiter{>}{\mathclose}{letters}{62}{largesymbols}{141} - \DeclareMathSymbol{\mid}{\mathrel}{symbols}{106} + \re@DeclareMathSymbol{\mid}{\mathrel}{symbols}{106} \DeclareMathDelimiter{|}{\mathord}{symbols}{106}{largesymbols}{12} \DeclareMathDelimiter{\arrowvert}{\mathord}{symbols}{106}{largesymbols}{60}% 60 \DeclareMathDelimiter{\vert}{\mathord}{symbols}{106}{largesymbols}{12} - \DeclareMathSymbol{\parallel}{\mathrel}{symbols}{107} - \DeclareMathDelimiter{\Arrowvert}{\mathord}{symbols}{107}{largesymbols}{61}%61 - \DeclareMathDelimiter{\Vert}{\mathord}{symbols}{107}{largesymbols}{13} + \re@DeclareMathSymbol{\parallel}{\mathrel}{symbols}{107} + \re@DeclareMathDelimiter{\Arrowvert}{\mathord}{symbols}{107}{largesymbols}{61}%61 + \re@DeclareMathDelimiter{\Vert}{\mathord}{symbols}{107}{largesymbols}{13} \let\|=\Vert - \DeclareMathDelimiter{\updownarrow}{\mathrel}{symbols}{108}{largesymbols}{63} - \DeclareMathDelimiter{\Updownarrow}{\mathrel}{symbols}{109}{largesymbols}{119} - \DeclareMathDelimiter{\llbracket}{\mathopen}{lettersA}{251}{largesymbolsTXA}{18} + \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 - \DeclareMathDelimiter{\rrbracket}{\mathclose}{lettersA}{252}{largesymbolsTXA}{19} + \re@DeclareMathDelimiter{\rrbracket}{\mathclose}{lettersA}{252}{largesymbolsTXA}{19} \let\rBrack=\rrbracket -\DeclareMathDelimiter{\lvert} {\mathopen} {symbols}{106}{largesymbols}{12} -\DeclareMathDelimiter{\rvert} {\mathclose} {symbols}{106}{largesymbols}{12} -\DeclareMathDelimiter{\lVert} {\mathopen} {symbols}{107}{largesymbols}{13} -\DeclareMathDelimiter{\rVert} {\mathclose} {symbols}{107}{largesymbols}{13} +\re@DeclareMathDelimiter{\lvert} {\mathopen} {symbols}{106}{largesymbols}{12} +\re@DeclareMathDelimiter{\rvert} {\mathclose} {symbols}{106}{largesymbols}{12} +\re@DeclareMathDelimiter{\lVert} {\mathopen} {symbols}{107}{largesymbols}{13} +\re@DeclareMathDelimiter{\rVert} {\mathclose} {symbols}{107}{largesymbols}{13} \re@DeclareMathSymbol{\varkappa}{\mathord}{lettersA}{40} \re@DeclareMathSymbol{\varkappaup}{\mathord}{lettersA}{41} \re@DeclareMathSymbol{\nabla}{\mathord}{lettersA}{43} @@ -293,10 +296,10 @@ amssymbols,uprightGreek} \re@DeclareMathAccent{\hat}{\mathord}{lettersA}{223} \re@DeclareMathAccent{\dot}{\mathord}{lettersA}{224} \re@DeclareMathAccent{\tilde}{\mathord}{lettersA}{219} -\re@DeclareMathAccent{\dot}{\mathalpha}{symbols}{219} -\re@DeclareMathAccent{\ddot}{\mathalpha}{symbols}{220} -\re@DeclareMathAccent{\dddot}{\mathord}{symbols}{221} -\re@DeclareMathAccent{\ddddot}{\mathord}{symbols}{222} +\re@DeclareMathAccent{\dot}{\mathalpha}{symbols}{164} +\re@DeclareMathAccent{\ddot}{\mathalpha}{symbols}{165} +\re@DeclareMathAccent{\dddot}{\mathord}{symbols}{168} +\re@DeclareMathAccent{\ddddot}{\mathord}{symbols}{200} % \iftx@slantedG \re@DeclareMathSymbol{\Gamma}{\mathalpha}{letters}{0} @@ -495,17 +498,27 @@ amssymbols,uprightGreek} % \fi %\fi % 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} +\DeclareMathSymbol{\groupld}{\mathord}{largesymbolsTXA}{78} +\DeclareMathSymbol{\grouprd}{\mathord}{largesymbolsTXA}{79} +\DeclareMathSymbol{\grouplu}{\mathord}{largesymbolsTXA}{80} +\DeclareMathSymbol{\groupru}{\mathord}{largesymbolsTXA}{81} +\DeclareMathSymbol{\grouplda}{\mathord}{largesymbolsTXA}{82} +\DeclareMathSymbol{\grouprda}{\mathord}{largesymbolsTXA}{83} +\DeclareMathSymbol{\grouplua}{\mathord}{largesymbolsTXA}{84} +\DeclareMathSymbol{\grouprua}{\mathord}{largesymbolsTXA}{85} +%\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} +\xdef\widehat#1{\mathaccent"0\hexnumber@\symlargesymbols 62{#1}} +\xdef\widetilde#1{\mathaccent"0\hexnumber@\symlargesymbols 65{#1}} +%\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}% @@ -557,8 +570,8 @@ $\hfil\displaystyle{#1}\hfil$\crcr% \hbox{$\mathring{}$}}}}{\overgroup{#1}}} % \widearc, \wideOarc -\DeclareMathAccent{\widearc}{\mathalpha}{largesymbols}{175} -\DeclareMathAccent{\wideOarc}{\mathalpha}{largesymbols}{180} +\DeclareMathAccent{\widearc}{\mathalpha}{symbols}{175} +\DeclareMathAccent{\wideOarc}{\mathalpha}{symbols}{180} \re@DeclareMathSymbol{\smallintsl} {\mathop}{symbols}{"80} \re@DeclareMathSymbol{\smalliintsl} {\mathop}{symbols}{"81} @@ -910,6 +923,9 @@ $\hfil\displaystyle{#1}\hfil$\crcr% \re@DeclareMathSymbol{\lhd}{\mathbin}{AMSm}{195} % LaTeX symbol \re@DeclareMathSymbol{\unrhd}{\mathbin}{AMSm}{196} % LaTeX symbol \re@DeclareMathSymbol{\unlhd}{\mathbin}{AMSm}{197} % LaTeX symbol +\edef\checkmark{\noexpand\mathhexbox{\hexnumber@\symAMSm}D8} +\edef\circledR{\noexpand\mathhexbox{\hexnumber@\symAMSm}F2} +\edef\maltese{\noexpand\mathhexbox{\hexnumber@\symAMSm}FA} %%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Math Symbol B Definitions % AMSb @@ -987,7 +1003,7 @@ $\hfil\displaystyle{#1}\hfil$\crcr% \re@DeclareMathSymbol{\eqsim}{\mathrel}{AMSm}{104} \re@DeclareMathSymbol{\beth}{\mathord}{AMSm}{105} \re@DeclareMathSymbol{\gimel}{\mathord}{AMSm}{106} -\re@DeclareMathSymbol{\daleth}{\mathord}{AMSm}{107} +\re@DeclareMathSymbol{\daleth}{\mathord}{AMSm}{124} \re@DeclareMathSymbol{\lessdot}{\mathbin}{AMSm}{108} \re@DeclareMathSymbol{\gtrdot}{\mathbin}{AMSm}{109} \re@DeclareMathSymbol{\ltimes}{\mathbin}{AMSm}{110} @@ -1004,7 +1020,7 @@ $\hfil\displaystyle{#1}\hfil$\crcr% \re@DeclareMathSymbol{\curvearrowright}{\mathrel}{AMSm}{121} \re@DeclareMathSymbol{\digamma}{\mathord}{AMSm}{122} %\re@DeclareMathSymbol{\varkappa}{\mathord}{AMSm}{123} -\re@DeclareMathSymbol{\Bbbk}{\mathord}{AMSm}{124} +\re@DeclareMathSymbol{\Bbbk}{\mathord}{AMSm}{107} %\re@DeclareMathSymbol{\hslash}{\mathord}{AMSm}{125} %\re@DeclareMathSymbol{\hbar}{\mathord}{AMSm}{126} \re@DeclareMathSymbol{\backepsilon}{\mathrel}{AMSm}{127} @@ -1191,15 +1207,17 @@ $\hfil\displaystyle{#1}\hfil$\crcr% \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}}} +%\def\dlb{\ensuremath\raisebox{.15ex}{\mbox{\usefont{U}{txsyc}{m}{n}\char126}}} +%\def\drb{\ensuremath\raisebox{.15ex}{\mbox{\usefont{U}{txsyc}{m}{n}\char127}}} +\let\dlb\llbracket +\let\drb\rrbracket % Changes to put some symbolsC glyphs into lettersA \re@DeclareMathSymbol{\nsubset}{\mathrel}{lettersA}{54} \re@DeclareMathSymbol{\nsupset}{\mathrel}{lettersA}{55} \re@DeclareMathSymbol{\notin}{\mathrel}{lettersA}{56} \re@DeclareMathSymbol{\notni}{\mathrel}{lettersA}{57} - \let\notowns=\notni + \let\notowns=\notni \let\nni=\notni \re@DeclareMathSymbol{\coloneq}{\mathrel}{lettersA}{58} \re@DeclareMathSymbol{\eqcolon}{\mathrel}{lettersA}{59} \re@DeclareMathSymbol{\neq}{\mathrel}{lettersA}{60} @@ -1273,7 +1291,7 @@ $\hfil\displaystyle{#1}\hfil$\crcr% %\DeclareMathAccent{\vec}{\mathord}{letters}{126} %"7F %Added in version 1.5 -\DeclareMathAccent{\vec}{\mathord}{symbols}{174} +\re@DeclareMathAccent{\vec}{\mathord}{symbols}{174} \DeclareMathAccent{\lvec}{\mathord}{symbols}{169} \DeclareMathAccent{\lrvec}{\mathord}{symbols}{172} \DeclareMathAccent{\harpoonacc}{\mathord}{symbols}{170} @@ -1806,5 +1824,20 @@ $\hfil\displaystyle{#1}\hfil$\crcr% \advance\count@\@ne \repeat \typeout{***}} +%%%%%%% Additional pdf to unicode values not in Ross Moore's collection +% Conditional needed for engines other than pdflatex +\ifx\pdfglyphtounicode\@undefined \else +\pdfglyphtounicode{nPerp}{2AEB 2215}% .. .. +\pdfglyphtounicode{periodcentered.B}{00B7} +\pdfglyphtounicode{periodcentered.BB}{22C5} +\pdfglyphtounicode{openbullet.S}{25CB} +\pdfglyphtounicode{bullet.S}{25C5} +\pdfglyphtounicode{bullet.SS}{2022} +\pdfglyphtounicode{bullet.SSS}{2219} +\pdfglyphtounicode{emptyset.alt1}{2300} +\pdfglyphtounicode{emptyset.alt2}{2205} +\pdfglyphtounicode{transpose}{1D40} +\pdfglyphtounicode{hermitconj}{22B9} +\fi \endinput |