\style - Tex Command


Advertisements

style

\style - Used to apply CSS styling to mathematics.

SYNOPSIS

{ \style #1 #2}

DESCRIPTION

\style command applies CSS styling to mathematics.

OPTIONS

InputDescription
#1CSS style declaration.
#2mathematics to be styled.

EXAMPLE

  1. \frac{\style{color:red}{x+1}}{y+2}
    $ \frac{\style{color:red}{x+1}}{y+2} $
  2. \style{background-color:yellow}{\frac{x+1}{y+2}}
    $ \style{background-color:yellow}{\frac{x+1}{y+2}} $
Print