From 6e00000bb5a1db1f1cf1827ab9710b4eced8f1a8 Mon Sep 17 00:00:00 2001 From: Ben Greenman Date: Wed, 28 Mar 2018 22:19:30 -0400 Subject: [PATCH] acmart: avoid mathabx '\bigtimes' The 'acmart' class includes a '\bigtimes' command from the 'newtxmath' package, if available. Scribble includes a '\bigtimes' command from the 'mathabx' package. These cannot co-exist. If `newtxmath` is available, this PR does not import `mathabx` in acmart documents. If `newtxmath` is not available, this PR includes `mathabx` like normal (same as all previous versions of `scribble/acmart`) --- scribble-lib/scribble/acmart/acmart-load.tex | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scribble-lib/scribble/acmart/acmart-load.tex b/scribble-lib/scribble/acmart/acmart-load.tex index 80764311..36996658 100644 --- a/scribble-lib/scribble/acmart/acmart-load.tex +++ b/scribble-lib/scribble/acmart/acmart-load.tex @@ -3,6 +3,8 @@ % Avoid package option conflict \renewcommand\packageColor\relax \renewcommand\packageTocstyle\relax +\renewcommand\packageMathabx{\ifx\bigtimes\undefined \usepackage{mathabx} \else \relax \fi} +% Both 'mathabx' and 'newtxmath' (required by the 'acmart' class) define a '\bigtimes' command. \let\Footnote\undefined \let\captionwidth\undefined \renewcommand{\renewrmdefault}{}