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

Currently I have a TeX document, written using sig-alternate.cls class file. I need to change it and use llncs.cls. However, when I attempt to compile the document with the class changed, I get the following error:

! Undefined control sequence.
<recently read> \mathbb 

If I comment the corresponding line, it gives an error on the next one:

! Undefined control sequence.
<recently read> \rightarrowtail 

and so on, deprecating me of several mathematical symbols' usage, which seems strange to me - aren't \mathbb and \rightarrowtail standard keywords in TeX? And how can it be that some style file prevents me from using them? I have checked this on a simple example:


This leads to an error, but when I change the documentclass to sig-alternate.cls, everything works well. Also, if I write a simple document with llncs.cls without usage of these symbols, everything is OK too. I will be very grateful for your help. Thanks in advance.

share|improve this question

migrated from stackoverflow.com Nov 5 '11 at 8:16

This question came from our site for professional and enthusiast programmers.

up vote 7 down vote accepted

You have to use the amssymb package to use \mathbb and \rightarrowtail. It seems as if sig-alternate.cls loads this package, whereas llncs.cls does not.

From sig-alternate.cls:

share|improve this answer
Thanks, this resolved my problem :) – Grigor Gevorgyan Nov 5 '11 at 9:25
@GrigorGevorgyan: feel free to accept his answer then :) – Axioplase Nov 5 '11 at 10:42
@Axioplase: oops, double-clicked on accept button ))) – Grigor Gevorgyan Nov 5 '11 at 11:39

Your Answer


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.