TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top
\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
up vote 7 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

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.