When using ArsClassica
package with tcolorbox
, there is an error related to amsmath
even when no math is used:
Package amsmath Warning: Unable to redefine \Umathaccent \hat.
Package amsmath Warning: Unable to redefine \Umathaccent \check.
Package amsmath Warning: Unable to redefine \Umathaccent \tilde.
Package amsmath Warning: Unable to redefine \Umathaccent \acute.
Package amsmath Warning: Unable to redefine \Umathaccent \grave.
Package amsmath Warning: Unable to redefine \Umathaccent \dot.
Package amsmath Warning: Unable to redefine \Umathaccent \ddot.
Package amsmath Warning: Unable to redefine \Umathaccent \breve.
Package amsmath Warning: Unable to redefine \Umathaccent \bar.
Package amsmath Warning: Unable to redefine \Umathaccent \vec.
Package amsmath Warning: Unable to redefine math accent \mathring.
! Extended mathchar used as mathchar (4203026).
<to be read again>
\relax
l.893 \mathchardef\std@minus\mathcode`\-\relax
Minimal non-working code:
\documentclass{article}
\usepackage{savesym} %1
\usepackage{arsclassica} %Comment this out to make it compilable
\savesymbol{dddot} %1
\savesymbol{ddddot} %1
\usepackage[many]{tcolorbox}
\usepackage[noendash]{mathastext} %2
\title{Quả cầu}
\author{}
\restoresymbol{TXF}{dddot} %1
\restoresymbol{TXF}{ddddot} %1
\begin{document}
\maketitle
test
\end{document}
- Fix for
command already defined
. Related withamsmath
. - Fix for
Extended mathchar used as mathchar
. Also related withamsmath
.
Is there a way to disable amsmath
? The engine is XeLaTeX
_
,^
, and$
? Please advise.amsmath
package, so it's not clear how or why the warning messages (not error messages) arise. Please make your code compilable, and do please indicate which TeX engine you employ.\documentclass{...}
,\begin{document}
, and\end{document}
statements.pdflatex
.