4

I have read that \ge and \geq are the same, but I have also seen \geqslant in various contexts before. What is the preference between \ge (AKA \geq) and \geqslant? Similarly, what is the preference between \le (AKA \leq) and \leqslant?

EDIT: I am aware that \le and \leq are the same, and similarly with \ge and \geq. My question is about the preference between using those and \leqslant & \geqslant.

Mel
  • 97
  • Does this answer your question? Why does \leq show up as \le? (partial duplicate) – Dr. Manuel Kuehner Apr 01 '20 at 18:46
  • 3
    it's just the difference between ≤ and ⩽ – David Carlisle Apr 01 '20 at 18:50
  • 3
    asking for preference is like asking for a preference between red and blue, there is no general answer – David Carlisle Apr 01 '20 at 18:51
  • @DavidCarlisle The general mathematical community, as I understand it, still usually preferences one over the other for these sorts of related commands, at least for certain contexts. Some clarification on why both exist, for example, might be helpful. – Mel Apr 01 '20 at 18:54
  • @Mel as a side note, you can write code by using only one single ` at each side of the code instead of three of them ;). – manooooh Apr 01 '20 at 18:57
  • @manooooh thanks for the info. In the documentation for writing the posts, it always says `code`, and so I assumed you needed three. – Mel Apr 01 '20 at 18:59
  • As far as I know, the slanted version is mainly used in France. – Bernard Apr 01 '20 at 19:13
  • 2
    I don't think so. I see both used interchangeably. I prefer the slanted one myself, but the default tex version (without ams fonts) is the non slant one with an end result that you see a compete mixture of both. – David Carlisle Apr 01 '20 at 19:19
  • the three back ticks are for code blocks singe backticks are for inline code – David Carlisle Apr 01 '20 at 19:19
  • @DavidCarlisle that clarifies the difference between the two ways to use backticks well. Thanks! – Mel Apr 01 '20 at 19:33
  • 4
    You can use the variant you prefer, so long as you always use the same across the whole document. You may even say in the document preamble \renewcommand{\ge}{\geqslant}\renewcommand{\geq}{\geqslant}, so you can use \ge or \geq and be sure you'll always come up with the same symbol. And this allows you to change your mind: commenting out those instructions, the symbols will change their shape at the next LaTeX run. – egreg Apr 01 '20 at 19:45
  • @egreg would that be a good idea for general-purpose writing in LaTeX or might it be confusing to people trying to check my code? – Mel Apr 15 '20 at 00:05
  • @Mel To the contrary: if somebody checks your code, they’ll see \leq, say, and understand what you mean, independently of the typographic realization. – egreg Apr 15 '20 at 07:33
  • @egreg That helps a lot. Thanks! – Mel Apr 15 '20 at 17:47

2 Answers2

10

The symbols \leq (\le) and \leqslant have exactly the same meaning; similarly for \geq (\ge) and \geqslant. The preference for one or the other is basically subjective, but this is also affected by the house styles of major publishers of mathematics, which presumably traces back to the founding editors of journals handled by those publishers.

The four commands representing forms with horizontal equal member are all defined in plain.tex, and brought from there into LaTeX. This was a Knuth decision; the reason isn't known, but may be a desire to minimize typing. The slant forms were added in amsfonts by "popular demand", i.e., author pressure.

All four shapes have unique Unicode ids. The slanted forms were added as part of the STIX effort, as requested by publishers.

5

Taken from the answer to Why does \leq show up as \le?:

These symbols are defined in fontmath.ltx, part of the LaTeX kernel:

\DeclareMathSymbol{\leq}{\mathrel}{symbols}{"14}
   \let\le=\leq
\DeclareMathSymbol{\geq}{\mathrel}{symbols}{"15}
   \let\ge=\geq

Meaning that \le is identical to \leq (a synonym). Same is true for \ge and \geq.


Taken from the answer to Slanted greater than and equal to, less than and equal to:

You need the amssymb package in order to use the \leqslant and \geqslant symbols.


My "answer" was before the edit to the question was made:

EDIT: I am aware that \le and \leq are the same, and similarly with ge and \geq. My question is about the preference between using those and \leqslant & \geqslant.

  • This clarification is helpful as to how exactly these commands work, even if it did not answer my question completely. Thanks! – Mel Apr 02 '20 at 23:37