Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.
\documentclass{svmono}
\usepackage{amsmath}

\begin{document}
\end{document}

generates the warning

Package amsmath Warning: Unable to redefine math accent \vec.

Is there any way to remove this warning?

share|improve this question
add comment

1 Answer

up vote 6 down vote accepted

The svmono class by default redefines the \vec command, so amsmath emits its warning, because it finds a different definition than expected.

Just call

\documentclass[vecarrow]{svmono}

If you prefer to have the svmono default definition, do

\renewcommand{\vec}[1]{\mathbf{#1}}

while if you prefer the "italic bold" one that conforms to ISO regulations, do

\usepackage{bm}
\renewcommand{\vec}[1]{\bm{#1}}

In both cases this should go after having loaded amsmath. Both are more efficient than the clumsy definitions in svmono.cls.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.