summaryrefslogtreecommitdiff
path: root/fonts/newpx/tex/newpxmath.sty
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2023-11-11 03:03:26 +0000
committerNorbert Preining <norbert@preining.info>2023-11-11 03:03:26 +0000
commite4ccc7921b6518e670428990524161b3ddbfebd2 (patch)
treecc5e3d265c59f5f5031b2b085a4621d13f0b1af6 /fonts/newpx/tex/newpxmath.sty
parentd8b5161942976a522cdb1a7b580fe3886eea6bc6 (diff)
CTAN sync 202311110303
Diffstat (limited to 'fonts/newpx/tex/newpxmath.sty')
-rw-r--r--fonts/newpx/tex/newpxmath.sty19
1 files changed, 14 insertions, 5 deletions
diff --git a/fonts/newpx/tex/newpxmath.sty b/fonts/newpx/tex/newpxmath.sty
index 5e58789a63..90af727111 100644
--- a/fonts/newpx/tex/newpxmath.sty
+++ b/fonts/newpx/tex/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}