From c2d1af7de907333dbb44f6687de92751dce79ff8 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Fri, 25 Oct 2019 03:00:46 +0000 Subject: CTAN sync 201910250300 --- fonts/newtx/tex/newtxmath.sty | 26 +++++++++++++++++++++++--- 1 file changed, 23 insertions(+), 3 deletions(-) (limited to 'fonts/newtx/tex/newtxmath.sty') diff --git a/fonts/newtx/tex/newtxmath.sty b/fonts/newtx/tex/newtxmath.sty index ce72d71b6c..d03ae102a4 100644 --- a/fonts/newtx/tex/newtxmath.sty +++ b/fonts/newtx/tex/newtxmath.sty @@ -1,5 +1,6 @@ \NeedsTeXFormat{LaTeX2e}[1997/06/01] % +%: % Based on Young Ryu's txfonts.sty, v.3.2.1 % Text and math are now loaded in separate sty files---the text % font family need not be txtext. The text font loaded when this package @@ -10,8 +11,8 @@ % of glyph collisions. % These modifications are by Michael Sharpe, msharpe at ucsd dot edu -\def\fileversion{1.602} -\def\filedate{2019/10/09} +\def\fileversion{1.605} +\def\filedate{2019/10/23} \ProvidesPackage{newtxmath}[\filedate\space v\fileversion ] \@ifundefined{newtxmathLoaded}{}{\endinput} @@ -83,7 +84,9 @@ \newif\iftx@sbc %\newif\iftx@spc \newif\iftx@isenh % the math style is enhanced and can make use of new macros -% Currently (2019-0921) only txmath, libertine and XCharter have been enhanced. +% Currently (2019-10-15) only txmath, libertine, XCharter, ebgaramond, stickstoo and cochineal have been enhanced. +\newif\iftx@cochf % switch to long f +\newif\iftx@cochrho % switch to long rho %\show\rmdefault \edef\tx@rmdefault{\rmdefault} \edef\tx@encdefault{\encodingdefault} @@ -227,6 +230,9 @@ \DeclareOption{noXchvw}{\tx@nozchvwtrue} \DeclareOption{stix2}{\tx@stxtwotrue\tx@ntxmathfalse} % added in 1.55 \DeclareOption{stickstoo}{\tx@stxtwotrue\tx@ntxmathfalse} % added in 1.55 +\DeclareOption{cochf}{\tx@cochftrue} % added in 1.604 +\DeclareOption{cochrho}{\tx@cochrhotrue} % added in 1.604 + \ExecuteOptions{% amssymbols,uprightGreek,nosubscriptcorrection} \ProcessOptions* @@ -236,6 +242,10 @@ amssymbols,uprightGreek,nosubscriptcorrection} \iftx@ch\tx@isenhtrue\else \iftx@ebgm\tx@isenhtrue\else \iftx@stxtwo\tx@isenhtrue\else + \iftx@coch\tx@isenhtrue\else + \iftx@ut\tx@isenhtrue\else + \fi + \fi \fi \fi \fi @@ -419,6 +429,16 @@ amssymbols,uprightGreek,nosubscriptcorrection} \DeclareMathSymbol{\jmathscr}{\mathord}{letters}{195} \fi \fi +\iftx@coch + \DeclareMathSymbol{\fAlt}{\mathord}{letters}{250} + \DeclareMathSymbol{\rhoAlt}{\mathord}{letters}{251} + \iftx@cochf + \DeclareMathSymbol{f}{\mathord}{letters}{250} + \fi + \iftx@cochrho + \let\rho\rhoAlt + \fi +\fi %%%%%%%%%%%%%%%%% % Math Italic A % %%%%%%%%%%%%%%%%% -- cgit v1.2.3