Sign up ×
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.

This question already has an answer here:

According to,

\Z should produce the symbol for the set of integers, but I have not been able to find the package that enables this feature.

I have tried dsfont as well as amsmath,amsfonts,amsthm,amssymb but none of them seem to have it.

share|improve this question

marked as duplicate by mafp, yo', Kurt, T. Verron, Martin Schröder Feb 22 '13 at 18:26

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

Can you show the code that you tried to use? – soandos Feb 22 '13 at 17:59

1 Answer 1

up vote 4 down vote accepted

What about using


and then using it in equations?

EDIT: forgot, that it needs amsfonts package.

share|improve this answer
I actually ended up doing that just now, but I still wonder whether there's a package that predefines them. – merlin2011 Feb 22 '13 at 17:52
@merlin2011 If there is such, it is definitely not a good one. For me, \Z refers to \mathcal{Z} as I don't work with integers, but I do work with a "zero machine" called this way. Predefining shortcuts like this if you don't use them is a bad idea. Define only such symbols you really use. – yo' Feb 22 '13 at 18:06
Either amsfonts or amssymb; the latter loads the former, and is usually recommended. – egreg Feb 22 '13 at 18:19

Not the answer you're looking for? Browse other questions tagged or ask your own question.