diff options
author | Norbert Preining <norbert@preining.info> | 2023-11-09 03:02:39 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2023-11-09 03:02:39 +0000 |
commit | 3425ad695d75cc781b0fe3412db3aa2ad5985959 (patch) | |
tree | 9ec65bca1de4085db47511e67369ea2b71a488fa /fonts | |
parent | dada699771828d1aa3c78ecf55a2131e5f5799f3 (diff) |
CTAN sync 202311090302
Diffstat (limited to 'fonts')
-rw-r--r-- | fonts/newtx/README | 5 | ||||
-rw-r--r-- | fonts/newtx/tex/newtx.sty | 6 | ||||
-rw-r--r-- | fonts/newtx/tex/newtxmath.sty | 20 | ||||
-rw-r--r-- | fonts/newtx/tex/newtxtext.sty | 14 |
4 files changed, 29 insertions, 16 deletions
diff --git a/fonts/newtx/README b/fonts/newtx/README index af0a4693a6..fa87745c61 100644 --- a/fonts/newtx/README +++ b/fonts/newtx/README @@ -1,10 +1,13 @@ This package, initially based on txfonts, provides many fixes and enhancements to the txfonts package, splitting it into two separate packages---newtxtext and newtxmath, which may be run independently of one another. It provides scaling, improved metrics, and other options. In particular, newtxmath offers a libertine option which substitutes Linux Libertine (provided with TeXLive and MikTeX) italic and Greek letters for the default Times letters, providing a good match for the Libertine text font, which is heavier than Computer Modern but lighter than Times, and in my experience, looks very sharp and clear on the screen. -Current version: 1.732 2023-11-06 +Current version: 1.733 2023-11-08 This material is subject to the LaTeX Project Public License. See http://www.ctan.org/license/lppl1.3 for the details of that license. +Changes in version 1.733 +Version 1.732 did not contain the most recent versions of the sty files. Corrected. + Changes in version 1.732 1. Introduced a sequence of curly braces to replace standard braces if you specify the option curlybraces to newtxmath. diff --git a/fonts/newtx/tex/newtx.sty b/fonts/newtx/tex/newtx.sty index b6ecfbd759..c080939912 100644 --- a/fonts/newtx/tex/newtx.sty +++ b/fonts/newtx/tex/newtx.sty @@ -2,8 +2,8 @@ %Package to simplify loading of newtxmath with a text font family such as newtxtext for all latex engines, or for newtxtext and an otf math package. -\def\fileversion{1.725} -\def\filedate{2023/09/14} +\def\fileversion{1.732} +\def\filedate{2023/11/05} \ProvidesPackage{newtx}[% \filedate\space v\fileversion (Michael Sharpe) latex and unicode latex support for newtxmath and a supported text font family, or for newtxtext and an otf math package] @@ -54,7 +54,7 @@ % options for newtxmath as etoolbox internal list allowing \ifinlist %\def\ntx@mathlstr{vecsep,amsthm,nosubscriptcorrection,subscriptcorrection,timesmathacc,varbb,vvarbb,nosymbolsc,noamssymbols,amssymbols,uprightscript,uprightGreek,slantedGreek,frenchmath,nonewtxmathopt,upint,smallerops,useBImacros,varg,varvw,noOT1} -\forcsvlist{\listadd\ntx@mathlst}{vecsep,amsthm,nosubscriptcorrection,subscriptcorrection,timesmathacc,varbb,vvarbb,nosymbolsc,noamssymbols,amssymbols,uprightscript,uprightGreek,slantedGreek,frenchmath,nonewtxmathopt,upint,smallerops,useBImacros,varg,varvw,noOT1,propmathfigs} +\forcsvlist{\listadd\ntx@mathlst}{vecsep,amsthm,nosubscriptcorrection,subscriptcorrection,timesmathacc,varbb,vvarbb,nosymbolsc,noamssymbols,amssymbols,uprightscript,uprightGreek,slantedGreek,frenchmath,nonewtxmathopt,upint,smallerops,useBImacros,varg,varvw,noOT1,propmathfigs,curlybraces} %\show\ntx@mathlst % Note that subscriptcorrectionfile is not on the list---we process it in this sty file diff --git a/fonts/newtx/tex/newtxmath.sty b/fonts/newtx/tex/newtxmath.sty index 2a32fec003..b624d0c7aa 100644 --- a/fonts/newtx/tex/newtxmath.sty +++ b/fonts/newtx/tex/newtxmath.sty @@ -11,8 +11,8 @@ % of glyph collisions. % These modifications are by Michael Sharpe, msharpe at ucsd dot edu -\def\fileversion{1.725} -\def\filedate{2023/09/14} +\def\fileversion{1.732} +\def\filedate{2023/11/05} \ProvidesPackage{newtxmath}[\filedate\space v\fileversion ] \@ifundefined{newtxmathLoaded}{}{\endinput} @@ -60,6 +60,7 @@ \newcount\tx@Isdigit \newcount\tx@IsAlNum \newif\iftx@ams \newif\iftx@slantedG \newif\iftx@cmint \newif\iftx@braces +\newif\iftx@curlybraces \newif\iftx@libertine \newif\iftx@libertinus \newif\iftx@vvarbb\newif\iftx@varbb \newif\iftx@symbolsC \newif\iftx@gm @@ -232,6 +233,7 @@ \DeclareOption{xcharter}{\tx@chtrue\tx@ntxmathfalse} \DeclareOption{cmintegrals}{\tx@cminttrue} \DeclareOption{cmbraces}{\tx@bracestrue} +\DeclareOption{curlybraces}{\tx@curlybracestrue} \DeclareOption{noamssymbols}{\tx@amsfalse} \DeclareOption{amssymbols}{\tx@amstrue} \DeclareOption{uprightscript}{\tx@upscrtrue} @@ -880,9 +882,14 @@ amssymbols,uprightGreek,nosubscriptcorrection} \DeclareMathDelimiter{\lfloor}{\mathopen}{symbols}{98}{largesymbols}{4} \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} + \DeclareMathDelimiter{\rceil}{\mathclose}{symbols}{101}{largesymbols}{7} + \iftx@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} %\re@DeclareMathDelimiter{<}{\mathopen}{letters}{60}{largesymbols}{140} \DeclareMathDelimiter{\rangle}{\mathclose}{symbols}{105}{largesymbols}{11} @@ -1143,6 +1150,9 @@ amssymbols,uprightGreek,nosubscriptcorrection} %\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/fonts/newtx/tex/newtxtext.sty b/fonts/newtx/tex/newtxtext.sty index 7e0234555f..16a475b3f5 100644 --- a/fonts/newtx/tex/newtxtext.sty +++ b/fonts/newtx/tex/newtxtext.sty @@ -11,8 +11,8 @@ %\def\ntx@state{0} % 0 for both, 1 for tutex only, 2 for legacy only \def\setstate#1{\if 1\ntx@showstate\typeout{State=#1}\fi} -\def\fileversion{1.73} -\def\filedate{2023/10/29} +\def\fileversion{1.733} +\def\filedate{2023/11/08} \ProvidesPackage{newtxtext}[% \filedate\space v\fileversion (Michael Sharpe) latex and unicode latex support for TeXGyreTermesX] @@ -231,8 +231,8 @@ \providecommand*{\ntx@minfam}{minntx} % won't override value from newtx %\RequirePackage[T1]{fontenc} % do we need this? -\renewcommand*{\rmdefault}{\ntx@minfam} % the default until end of preamble -\renewcommand*{\familydefault}{\rmdefault} % Cause the fd files to load +\renewcommand{\rmdefault}{\ntx@minfam} % the default until end of preamble +\renewcommand{\familydefault}{\rmdefault} % Cause the fd files to load \def\re@DeclareTextSymbol#1#2#3{% \let#1=\undefined @@ -775,10 +775,10 @@ \else \def\ntx@figurealign{} \fi - - \renewcommand*{\rmdefault}{ntx\ntx@figurealign% + \renewcommand{\rmdefault}{ntx\ntx@figurealign% \ntx@figurestyle} - \let\familydefault\rmdefault + \ifthenelse{\equal{\familydefault}{\sfdefault}\OR \equal{\familydefault}{\ttdefault}}% + {}{\renewcommand{\familydefault}{\rmdefault}} \def\ntx@thfigurestyle{\ntx@figurestyle} \ifx\ntx@figurestyle\ntx@dfltfigurestyle |