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.

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

My latex code is $(X_i)_{i \in \N}$ and I get this error:

! Undefined control sequence. of $(X_i)_{i \in \N

Can anybody tell me why?

I have included the amssymb package:

share|improve this question
Welcome to TeX.SE. I do not think that \N is defined. You have to define your own symbol for that. – Peter Grill Feb 14 '13 at 22:31

You need to define what symbol you want to use. One option would be something like this:

enter image description here




    $(X_i)_{i \in \field{N}}$ 
share|improve this answer
Hey Peter, thank you very much! :) – yoanab Feb 14 '13 at 22:36
Using \field for the natural numbers seems a bit odd:) – Marc van Dongen Feb 15 '13 at 7:45
@MarcvanDongen: Well I use it for all the number sets: Q, R, C, Z, etc. Do you have a better name in mind? – Peter Grill Feb 15 '13 at 8:08
Perhaps \AsField of \blackboard? – Marc van Dongen Feb 15 '13 at 8:10
When you see a good answer to your question the best way to thank the author is to accept it. That adds to his or her reputation (and yours). You can vote it up, too. And you can vote up other good answers besides the one you accept. – Ethan Bolker Feb 15 '13 at 22:44

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.