## thomaster 2 years ago Is there a way go get highlighted text in mathjax? There are several commands for this (like \hl{text} \hlc{text} \hilight{text}) but none of them seem to work here.

1. thomaster

@.Sam. @AravindG @SnuggieLad @mathslover @UnkleRhaukus

2. .Sam.

Yoy mean like $$\color{blue}{this}$$?

3. thomaster

no that's just $$\sf \color{red}{coloring}$$ text :P I mean like this (image)

When using any type of colors whether it be highlighting or just text colors try using: \commandhere{colorhere}{words here} when i say command here you would either use color or hi,hl,hlc,hilight etc

5. thomaster

I know how the syntax works :P But i guess they don't have the correct packages. $$\usepackage{soul}$$ \newcommand{\hilight}[1]{\colorbox{red}{#1}}\\ $$\hilight{red}{hello}\\ \hi{red}{hello}\\ \hl{red}{hello}\\ \hlc{red}{hello}$$

6. thomaster

@satellite73

7. thomaster

omg I finally found the answer to this! $$\Large\sf\bbox[yellow]{The\ quick\ brown\ fox\ jumps\ over\ the\ lazy\ dog.}$$ $$\Large\sf\bbox[magenta]{The\ quick\ brown\ fox\ jumps\ over\ the\ lazy\ dog.}$$ $$\Large\sf\bbox[lime]{The\ quick\ brown\ fox\ jumps\ over\ the\ lazy\ dog.}$$  $$\Large \sf \bbox[color]{text}$$