- Tex Commands Reference
- Tex - Tutorial Home
\style - Tex Command
style
\style - Used to apply CSS styling to mathematics.
SYNOPSIS
{ \style #1 #2}
DESCRIPTION
\style command applies CSS styling to mathematics.
OPTIONS
Input | Description |
---|---|
#1 | CSS style declaration. |
#2 | mathematics to be styled. |
EXAMPLE
\frac{\style{color:red}{x+1}}{y+2}
$ \frac{\style{color:red}{x+1}}{y+2} $\style{background-color:yellow}{\frac{x+1}{y+2}}
$ \style{background-color:yellow}{\frac{x+1}{y+2}} $
Advertisements