TeXipedia

textgreater

Represents the greater-than symbol (>) in text mode, ensuring proper typesetting within mathematical or regular text contexts.

Overview

Provides a typographically correct greater-than symbol that maintains consistent formatting across different LaTeX environments and fonts. Particularly useful when:

  • Writing mathematical inequalities in text mode
  • Creating comparison operators in technical documentation
  • Formatting programming or logical expressions
  • Ensuring proper spacing and alignment in technical writing

Unlike the direct use of the > character, this command ensures proper spacing and font consistency, especially important in professional documents and academic publications.

Examples

Comparing numerical values in an equation.

x>5x \text{\textgreater} 5
x \text{\textgreater} 5

Defining a range in mathematical notation.

{xR:x>0}\{x \in \mathbb{R} : x \text{\textgreater} 0\}
\{x \in \mathbb{R} : x \text{\textgreater} 0\}

Expressing a logical condition in an equation.

f(x)>g(x)    x>2f(x) \text{\textgreater} g(x) \implies x \text{\textgreater} 2
f(x) \text{\textgreater} g(x) \implies x \text{\textgreater} 2