diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r-- | Master/texmf-dist/tex/latex/newpx/newpx.sty | 6 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/newpx/newpxmath.sty | 19 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/newpx/newpxtext.sty | 10 |
3 files changed, 25 insertions, 10 deletions
diff --git a/Master/texmf-dist/tex/latex/newpx/newpx.sty b/Master/texmf-dist/tex/latex/newpx/newpx.sty index f83d2c746c0..6cb08a9a825 100644 --- a/Master/texmf-dist/tex/latex/newpx/newpx.sty +++ b/Master/texmf-dist/tex/latex/newpx/newpx.sty @@ -2,8 +2,8 @@ %Package to simplify loading of newpxmath with a text font family such as newpxtext for all latex engines, or for newpxtext and an otf math package. -\def\fileversion{1.532} -\def\filedate{2023/10/26} +\def\fileversion{1.533} +\def\filedate{2023/11/08} \ProvidesPackage{newpx}[% \filedate\space v\fileversion (Michael Sharpe) latex and unicode latex support for newpxmath and newpxtext, or for newpxtext and an otf math package] @@ -13,7 +13,7 @@ \RequirePackage{fontenc,fontaxes} \RequirePackage{ifthen,iftex,etoolbox,scalefnt,trimspaces} -\forcsvlist{\listadd\zpl@mathlst}{vecsep,amsthm,nosubscriptcorrection,subscriptcorrection,varbb,vvarbb,nosymbolsc,noamssymbols,amssymbols,uprightscript,uprightGreek,slantedGreek,frenchmath,upint,smallerops,useBImacros,varg,varvw,noOT1,fracspacing,subscriptcorrectionfile} +\forcsvlist{\listadd\zpl@mathlst}{vecsep,amsthm,nosubscriptcorrection,subscriptcorrection,varbb,vvarbb,nosymbolsc,noamssymbols,amssymbols,uprightscript,uprightGreek,slantedGreek,frenchmath,upint,smallerops,useBImacros,varg,varvw,noOT1,fracspacing,subscriptcorrectionfile,curlybraces} %\show\zpl@mathlst \RequirePackage{kvoptions} diff --git a/Master/texmf-dist/tex/latex/newpx/newpxmath.sty b/Master/texmf-dist/tex/latex/newpx/newpxmath.sty index 5e58789a632..90af727111b 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.532} -\def\filedate{2023/10/26} +\def\fileversion{1.533} +\def\filedate{2023/11/08} \ProvidesPackage{newpxmath} [\filedate\space v\fileversion] @@ -152,7 +152,7 @@ \newif\ifpx@smops %default is large binary operators \newcount\px@Isdigit \newif\ifpx@ams \newif\ifpx@slantedG \newif\ifpx@cmint \newif\ifpx@braces \newif\ifpx@upscr - +\newif\ifpx@curlybraces \newif\ifpx@varbb \newif\ifpx@vvarbb \newif\ifpx@symbolsC \newif\ifpx@bigdelims \newif\ifpx@frenchm % french math \px@symbolsCtrue \DeclareOption{subscriptcorrectionfile}{\def\px@subs{#1}} @@ -164,6 +164,7 @@ \DeclareOption{nosymbolsc}{\px@symbolsCfalse} \DeclareOption{cmintegrals}{\px@cminttrue} \DeclareOption{cmbraces}{\px@bracestrue} +\DeclareOption{curlybraces}{\px@curlybracestrue} \DeclareOption{noamssymbols}{\px@amsfalse} \DeclareOption{amssymbols}{\px@amstrue} \DeclareOption{uprightscript}{\px@upscrtrue} @@ -500,8 +501,13 @@ amssymbols,uprightGreek} \DeclareMathDelimiter{\rfloor}{\mathclose}{symbols}{99}{largesymbols}{5} \DeclareMathDelimiter{\lceil}{\mathopen}{symbols}{100}{largesymbols}{6} \DeclareMathDelimiter{\rceil}{\mathclose}{symbols}{101}{largesymbols}{7} - \DeclareMathDelimiter{\lbrace}{\mathopen}{symbols}{102}{largesymbols}{8} - \DeclareMathDelimiter{\rbrace}{\mathclose}{symbols}{103}{largesymbols}{9} + \ifpx@curlybraces + \DeclareMathDelimiter{\lbrace}{\mathopen}{symbols}{215}{largesymbols}{142} + \DeclareMathDelimiter{\rbrace}{\mathclose}{symbols}{216}{largesymbols}{143} + \else + \DeclareMathDelimiter{\lbrace}{\mathopen}{symbols}{102}{largesymbols}{8} + \DeclareMathDelimiter{\rbrace}{\mathclose}{symbols}{103}{largesymbols}{9} + \fi \DeclareMathDelimiter{\langle}{\mathopen}{symbols}{104}{largesymbols}{10} %\DeclareMathDelimiter{<}{\mathopen}{letters}{60}{largesymbols}{140} \DeclareMathDelimiter{\rangle}{\mathclose}{symbols}{105}{largesymbols}{11} @@ -733,6 +739,9 @@ amssymbols,uprightGreek} %\DeclareMathRadical{\sqrtsign}{symbols}{112}{largesymbols}{112} %\DeclareMathSymbol{\amalg}{\mathbin}{symbols}{113} %\DeclareMathSymbol{\nabla}{\mathord}{symbols}{114} +\DeclareMathSymbol{\laplace}{\mathord}{symbols}{217} +\DeclareMathSymbol{\laplac}{\mathord}{symbols}{218} +\DeclareMathSymbol{\dAlembertian}{\mathord}{symbols}{219} %\DeclareMathSymbol{\smallint}{\mathop}{symbols}{115} %\DeclareMathSymbol{\sqcup}{\mathbin}{symbols}{116} %\DeclareMathSymbol{\sqcap}{\mathbin}{symbols}{117} diff --git a/Master/texmf-dist/tex/latex/newpx/newpxtext.sty b/Master/texmf-dist/tex/latex/newpx/newpxtext.sty index a0e74cd63d0..e15ffc0212a 100644 --- a/Master/texmf-dist/tex/latex/newpx/newpxtext.sty +++ b/Master/texmf-dist/tex/latex/newpx/newpxtext.sty @@ -8,8 +8,8 @@ % Text is now directed to an extension of TeXGyrePagella rather than ppl. % 1.5 is first version of newpxtext to support both [pdf]latex and unicode latex. -\def\fileversion{1.532} -\def\filedate{2023/10/26} +\def\fileversion{1.533} +\def\filedate{2023/11/07} \ProvidesPackage{newpxtext}[% \filedate\space v\fileversion (Michael Sharpe) latex and unicode latex support for TeXGyrePagellaX] @@ -725,6 +725,12 @@ \renewcommand*{\rmdefault}{zpl\zpl@figurealign% \zpl@figurestyle} + + \ifthenelse{\equal{\familydefault}{\sfdefault} \OR + \equal{\familydefault}{\ttdefault}}% + {}{\renewcommand{\familydefault}{\rmdefault}} + + %\ifzpl@scosf % %\DeclareRobustCommand{\textsc}[1]{% %{\fontfamily{zpl\zpl@figurealign osf}\scshape\selectfont #1}% |