\text - Tex Command



text

\text - Used to produce text-mode material within a mathematical expression.

SYNOPSIS

{ \text #1}

DESCRIPTION

\text command is used to produce text-mode material (in a given font) within a mathematical expression.

EXAMPLE

  1. |x| = x \text{ for all \(x \ge 0\)}
    $ |x| = x \text{ for all \(x \ge 0\)} $
  2. \text{\alpha in text mode }\alpha
    $ \text{\alpha in text mode }\alpha $
Advertisements