Replace txfonts with newtxmath.
- The newtx package supercedes txfonts - As a side effect, we have to load amsmath as well and it has to be loaded before mathabx and wasysym.
This commit is contained in:
parent
6802d4535f
commit
0c93db954a
|
@ -524,9 +524,10 @@ style:
|
|||
@item{@ltxd[0]{packageHyperref}, defaults to @tt{\usepackage{hyperref}}}
|
||||
@item{@ltxd[0]{renewrmdefault}, defaults to @tt{\renewcommand{\rmdefault}{ptm}}}
|
||||
@item{@ltxd[0]{packageRelsize}, defaults to @tt{\usepackage{relsize}}}
|
||||
@item{@ltxd[0]{packageAmsmath}, defaults to @tt{\usepackage{amsmath}}}
|
||||
@item{@ltxd[0]{packageMathabx}, defaults to @tt{\usepackage{mathabx}}}
|
||||
@item{@ltxd[0]{packageWasysym}, defaults to @tt{\let\leftmoon\relax \let\rightmoon\relax \let\fullmoon\relax \let\newmoon\relax \let\diameter\relax \usepackage{wasysym}}}
|
||||
@item{@ltxd[0]{packageTxfonts}, defaults to @tt{\usepackage{txfonts}}}
|
||||
@item{@ltxd[0]{packageWasysym}, defaults to @tt{\let\leftmoon\relax \let\rightmoon\relax \let\fullmoon\relax \let\newmoon\relax \let\diameter\relax \usepackage[nointegrals]{wasysym}}}
|
||||
@item{@ltxd[0]{packageTxfonts}, defaults to @tt{\let\widering\relax \usepackage{newtxmath}}}
|
||||
@item{@ltxd[0]{packageTextcomp}, defaults to @tt{\usepackage{textcomp}}}
|
||||
@item{@ltxd[0]{packageFramed}, defaults to @tt{\usepackage{framed}}}
|
||||
@item{@ltxd[0]{packageHyphenat}, defaults to @tt{\usepackage[htt]{hyphenat}}}
|
||||
|
@ -534,7 +535,15 @@ style:
|
|||
@item{@ltxd[0]{doHypersetup}, defaults to @tt{\hypersetup{bookmarks=true,bookmarksopen=true,bookmarksnumbered=true}}}
|
||||
@item{@ltxd[0]{packageTocstyle}, defaults to @tt{\IfFileExists{tocstyle.sty}{\usepackage{tocstyle}\usetocstyle{standard}}{}}}
|
||||
@item{@ltxd[0]{packageCJK}, defaults to @tt{\IfFileExists{CJK.sty}{\usepackage{CJK}}{}}}]
|
||||
@history[#:changed "1.36" @list{Added @ltx{packageTxfonts}}]}
|
||||
@history[#:changed "1.36" @list{Added @ltx{packageTxfonts}}]
|
||||
@history[#:changed "1.37" @list{
|
||||
Added @ltx{packageAmsmath};
|
||||
changed @ltx{packageWasysym} to use @tt{nointegrals} option;
|
||||
changed @ltx{packageTxfonts} to load @tt{newtxmath}.
|
||||
Note that documents could look different due to
|
||||
the new @tt{wasysym} option and the inclusion of @tt{newtxmath}.
|
||||
See @hyperlink["https://github.com/racket/scribble/pull/274"]{
|
||||
racket/scribble#274} for examples.}]}
|
||||
|
||||
@item{@ltxd[0]{sectionNewpage} --- called before each top-level
|
||||
section starts; the default does nothing, while the
|
||||
|
|
|
@ -23,4 +23,4 @@
|
|||
|
||||
(define pkg-authors '(mflatt eli))
|
||||
|
||||
(define version "1.36")
|
||||
(define version "1.37")
|
||||
|
|
|
@ -3,12 +3,23 @@
|
|||
\newcommand{\packageHyperref}{\usepackage{hyperref}}
|
||||
\newcommand{\renewrmdefault}{\renewcommand{\rmdefault}{ptm}}
|
||||
\newcommand{\packageRelsize}{\usepackage{relsize}}
|
||||
% amsmath is required for the combination of {mathabx,
|
||||
% wasysym, newtxmath} to work. Otherwise, newtxmath
|
||||
% would load amsmath *after* mathabx and wasysym,
|
||||
% causing command redefinition issues.
|
||||
\newcommand{\packageAmsmath}{\usepackage{amsmath}}
|
||||
\newcommand{\packageMathabx}{\usepackage{mathabx}}
|
||||
% Avoid conflicts between "mathabx" and "wasysym":
|
||||
% Avoid conflicts between "mathabx" and "wasysym",
|
||||
% and between "wasysym" integrals and "amsmath" integrals (iint).
|
||||
\newcommand{\packageWasysym}{
|
||||
\let\leftmoon\relax \let\rightmoon\relax \let\fullmoon\relax \let\newmoon\relax \let\diameter\relax
|
||||
\usepackage{wasysym}}
|
||||
\newcommand{\packageTxfonts}{\usepackage{txfonts}}
|
||||
\usepackage[nointegrals]{wasysym}}
|
||||
% Both newtxmath and mathabx define the \widering command.
|
||||
% The only reason we choose the newtxmath version is that
|
||||
% acmart.cls is also using the one from newtxmath.
|
||||
\newcommand{\packageTxfonts}{
|
||||
\let\widering\relax
|
||||
\usepackage{newtxmath}}
|
||||
\newcommand{\packageTextcomp}{\usepackage{textcomp}}
|
||||
\newcommand{\packageFramed}{\usepackage{framed}}
|
||||
\newcommand{\packageHyphenat}{\usepackage[htt]{hyphenat}}
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
\packageHyperref
|
||||
\renewrmdefault
|
||||
\packageRelsize
|
||||
\packageAmsmath
|
||||
\packageMathabx
|
||||
\packageWasysym
|
||||
\packageTxfonts
|
||||
|
|
Loading…
Reference in New Issue
Block a user