\color - Tex Command



NAME

\color - Used to specify color for mathematics.

SYNOPSIS

{ \color #1 #2 }

OPTIONS

InputDescription
#1color
#2Mathematics to be colored

DESCRIPTION

\color command is used to specify color for mathematics.

EXAMPLE

  1. \color{red}{ \frac{1+\sqrt{5}}{2} }
    $ \color{red}{ \frac{1+\sqrt{5}}{2} } $
  2. \color{#0000FF}AB
    $ \color{#0000FF}AB $
Advertisements