# Which package is required for \Z to work as the symbol for the set of integers? [duplicate]

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

## marked as duplicate by mafp, yo', Mensch, T. Verron, Martin SchröderFeb 22 '13 at 18:26

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

\usepackage{amsfonts}

• @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