Using the Symbol \Z for Integers in LaTex

  • Context: LaTeX 
  • Thread starter Thread starter Stephen Tashi
  • Start date Start date
  • Tags Tags
    Integers Latex Symbol
Click For Summary

Discussion Overview

The discussion revolves around the appropriate usage of the symbol for integers in LaTeX, specifically the representation of the set of integers as \Z. Participants explore various methods to achieve this, including the use of \mathbb Z and the implications of different notations for subsets of integers.

Discussion Character

  • Technical explanation
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • One participant suggests using \Z for integers based on a web source, but notes that it currently displays as two characters on the forum.
  • Another participant proposes using \mathbb Z as the standard representation for blackboard bold Z, indicating that \Z may not be widely recognized in LaTeX packages.
  • A different viewpoint raises the possibility that \Z could be a user-defined macro in a personal package, suggesting a workaround to define it as \mathbb Z for convenience.
  • One participant expresses approval for the deprecation of the notation Z_+ in favor of Z_{\ge 0}, sharing their confusion about whether Z_+ includes zero.
  • Another participant mentions using \mathbb Z^+ for positive integers and questions the common placement of the plus sign in notation.

Areas of Agreement / Disagreement

Participants express differing opinions on the best way to represent integers in LaTeX. There is no consensus on the use of \Z versus \mathbb Z, and the discussion includes various interpretations of the notation for positive integers.

Contextual Notes

Some participants reference specific LaTeX packages and templates, indicating that the definitions and conventions may vary based on individual setups and preferences. The discussion highlights the lack of standardization in the use of certain symbols.

Stephen Tashi
Science Advisor
Homework Helper
Education Advisor
Messages
7,864
Reaction score
1,605
What's the best way to use Z as a symbol for the integers on the forum's LaTex?

One source on the web (http://www.proofwiki.org/wiki/Symbols:Z) says the symbols for the integers can be written in LaTex as backslash Z. On the forum, that currently shows up as the two characters. \Z

That source also say the notation Z_+ is deprecated in favor of Z_{\ge 0}. I approve! I never can remember whether Z_+ includes zero or not.
 
Physics news on Phys.org
Maybe there is some obscure LaTeX package where \Z prints as blackboard bold Z, but not in anyone that I know of. Just use \mathbb Z: \mathbb Z.
 
Maybe somebody defined the macro \Z to do that in their own package of "useful math stuff", and then forgot it was their own definition.

If you don't care about annoying the LaTeX style police, or getting nice error messages if you use it in the wrong context etc, all you need to do is

\def\Z{\mathbb Z}

... and do the same for everything else that you type repeatedly!

EDIT: It's defined in a template file in "Getting up and running with AMS LaTeX", which might be in your system called amshelp.pdf. So I guess it's "sort of official", but not actually in a LxTeX package.
 
Last edited:
Stephen Tashi said:
What's the best way to use Z as a symbol for the integers on the forum's LaTex?
I use \mathbb Z. ##\mathbb Z##.

Stephen Tashi said:
That source also say the notation Z_+ is deprecated in favor of Z_{\ge 0}. I approve! I never can remember whether Z_+ includes zero or not.
I've been using ##\mathbb Z^+## for the positive integers. Is the plus usually written downstairs?

If we use the convention that the natural numbers ##\mathbb N## includes zero, then it wouldn't make much sense to include 0 in ##\mathbb Z^+##, since we can write ##\mathbb N## when we want to include it.
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
5K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 17 ·
Replies
17
Views
7K
  • · Replies 3 ·
Replies
3
Views
11K
  • · Replies 766 ·
26
Replies
766
Views
744K
Replies
13
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
Replies
11
Views
12K