21

I can use \mathbb{Z} to represent an integer type but what symbol I should denote a set of integer?

3
  • 1
    A set or the set of? Usually, in maths \mathbb Ndenotes the set of natural numbers. You also can use \mathbf N, but then, you must use the same notation for all sets of numbers.
    – Bernard
    Commented Mar 12, 2014 at 1:00
  • 7
    your question appears to be about notation rather than tex so may be off topic, but I'd normally denote the set of integers by \mathbb{Z} (with N being natural numbers rather than integers. Commented Mar 12, 2014 at 1:01
  • I believe the author is asking A set of integer instead of THE set of integers.
    – Hi271
    Commented Jun 11, 2020 at 14:37

2 Answers 2

33

You could use \mathbb{Z} to represent the Set of Integers!

3
  • 2
    Welcome to TeX.SX! A tip: You can use backticks ` to mark your inline code as I did in my edit.
    – Adam Liter
    Commented Mar 12, 2014 at 1:25
  • 8
    Downvoters should leave a comment clarifying how the post could be improved.
    – Adam Liter
    Commented Mar 12, 2014 at 1:25
  • 1
    Downvotes (at least in my case) are because the answerer didn't read the question. OP knows about \mathbb{Z} for the set of (all) integers; he's asking for a notation that means a set of integers. For example, the Python function sum maps a set of integers to their sum; it is a function of type $?\rightarrow\mathbb{Z}$ where $?$ represents the symbol OP is looking for. That said, this being a question about math notation, OP should have asked on MathOverflow. TeX StackExchange is for questions like "MathOverflow told me I want this symbol: ?. How do I typeset it in TeX?" Commented Mar 1 at 14:59
1

Can use the following:

$\mathcal {P} (\mathbb{Z})$
2
  • 5
    It's useful here to mention that \mathbb is defined in the package amfonts. Commented Jan 24, 2020 at 20:40
  • 10
    package amsfonts and not amfonts
    – AntoineP
    Commented Mar 10, 2020 at 10:49

Not the answer you're looking for? Browse other questions tagged .