21

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

william007
  • 4,781
  • 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 Mar 12 '14 at 01: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. – David Carlisle Mar 12 '14 at 01:01
  • I believe the author is asking A set of integer instead of THE set of integers. – Hi271 Jun 11 '20 at 14:37

2 Answers2

33

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

Adam Liter
  • 12,567
Mauramz
  • 1,464
  • 2
    Welcome to TeX.SX! A tip: You can use backticks ``` to mark your inline code as I did in my edit. – Adam Liter Mar 12 '14 at 01:25
  • 8
    Downvoters should leave a comment clarifying how the post could be improved. – Adam Liter Mar 12 '14 at 01: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?" – Quuxplusone Mar 01 '24 at 14:59
1

Can use the following:

$\mathcal {P} (\mathbb{Z})$
Adam Liter
  • 12,567
william007
  • 4,781