Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing

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.

  • This Question is Closed
  1. thomaster
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 1

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

  2. .Sam.
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    Yoy mean like \(\color{blue}{this}\)?

  3. thomaster
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 1

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

  4. SnuggieLad
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    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
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 1

    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
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 1

    @satellite73

  7. thomaster
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 1

    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} \) ```

  8. Not the answer you are looking for?
    Search for more explanations.

    • Attachments:

Ask your own question

Sign Up
Find more explanations on OpenStudy
Privacy Policy