I am obviously using amsmath and on compilation it gives me this annoying
warning which I cant seem to find any references on the net:
"Package amsmath Warning: Unable ot redefine math accent \vec"
The funny thing is that I stripped down the entire document to an empty document
and it still shows this message. If I replace declaration \documentclass{llncs}
with a regular \documentclass{article} the message disappears.
Anyone else encountered this bizzar problem? Because I cannot see to find
a way to fix it and would really appreciate your help.
Cheers :)
This is a warning not an error. Do you have any problems in the document
with \vec that need to be fixed?
--
Ulrike Fischer
> This is a warning not an error. Do you have any problems in the
> document with \vec that need to be fixed?
>
Not really, but I usually like to have everything cleaned up before the final
draft is done.
There are a lot of warnings which are only messages and are quite normal
(and which you can't clean up).
--
Ulrike Fischer
\vec is normaly a math accent that puts an arrow over the symbol,
while Springer define it as an upright bold symbol. You can ignore it
warning and use Springer's def, but if you want both, then do the
following (just make sure the spesific journal allows used defs)
\let\accentvec\vec
\documentclass{svjour2}
\let\spvec\vec
\let\vec\accentvec
\usepackage{amsmath}
\begin{document}
$\vec{x} \quad \spvec{x}$
\end{document}
Danie Els
Package amsmath tries to modify all math accent commands
so that they can be nested and get the top one exactly aligned
with the one below. For this modification to work on a command,
it has to be defined directly as a \mathaccent command.
Apparently, Springer's class redefines \vec so that it no longer
is a plain \mathaccent. Amsmath detects this and prints a
message that it cannot perform its magic trick on \vec.
Amsmath will leave the \vec command alone and it will produce
whatever the Springer class defined it to produce (perhaps
a font change).
I think amsmath calling this a warning is excessive. It's really
just an informational message.
Dan