- Tex Commands Reference
- Tex - Tutorial Home
\class - Tex Command
NAME
\class - Used to specify a CSS class for styling mathematics.
SYNOPSIS
{ \class #1 #2 }
OPTIONS
Input | Description |
---|---|
#1 | CSS class name (without quotes) |
#2 | Mathematics to be styled |
DESCRIPTION
\class command is used to specify a CSS class for styling mathematics.
EXAMPLE
-
Add following style in header of html page.
.smHighlightRed { font-size:small; background-color:yellow; color:red; }
Use the style in Tex command.
ab\class{smHighlightRed}{cdef}gh
$ ab\class{smHighlightRed}{cdef}gh $
Advertisements
To Continue Learning Please Login
Login with Google