TransWikia.com

Incompatible color definition when using tikz with svgraybox (from svmono)

TeX - LaTeX Asked on September 30, 2021

With the following code I get the warning “Incompatible color definition”. When I remove the package tikz, the warning disappears. But I need this package. Can I avoid the warning?
I have to use the class svmono from
https://www.springer.com/engineering?SGWID=0-175-6-1381428-0

Thanks!

RequirePackage{amsmath}            % Instead of usepackage{amsmath} in order to avoid Warning: Unable to redefine math accent vec
documentclass[graybox,envcountchap,sectrefs]{svmono}

usepackage{newtxtext,newtxmath}    % Instead of mathptmx, since with mathptmx Warning: there are no bold math fonts 
usepackage{graphicx}
usepackage{tikz}
begin{document}
begin{svgraybox}
Hello.
end{svgraybox}
end{document}

One Answer

Now I could resolve it. The solution was replacing in svmono.cls itself the command Requirepackage{color} by Requirepackage{xcolor}.

Correct answer by Thales on September 30, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP