Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

amsmath conflicts with llncs style for Springer?

4,075 views
Skip to first unread message

pretentious_indifference

unread,
May 14, 2008, 2:51:15 AM5/14/08
to
Just encounterd this strange behaviour when writing a paper using Springer's
llncs documentclass.

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 :)


Ulrike Fischer

unread,
May 14, 2008, 3:06:34 AM5/14/08
to
Am Wed, 14 May 2008 06:51:15 +0000 (UTC) schrieb
pretentious_indifference:

This is a warning not an error. Do you have any problems in the document
with \vec that need to be fixed?

--
Ulrike Fischer

pretentious_indifference

unread,
May 14, 2008, 3:12:46 AM5/14/08
to
Hello Ulrike,

> 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.


Ulrike Fischer

unread,
May 14, 2008, 3:53:02 AM5/14/08
to
Am Wed, 14 May 2008 07:12:46 +0000 (UTC) schrieb
pretentious_indifference:

There are a lot of warnings which are only messages and are quite normal
(and which you can't clean up).


--
Ulrike Fischer

Danie

unread,
May 15, 2008, 2:00:23 AM5/15/08
to
On May 14, 8:51 am, pretentious_indifference <smart.spo...@gmail.com>
wrote:

\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

Dan

unread,
May 15, 2008, 3:45:12 PM5/15/08
to
On May 14, 2:12 am, pretentious_indifference <smart.spo...@gmail.com>
wrote:

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

0 new messages