I'm trying to write a pdf with formulas for my physics class. After the rendered formula, for example:
$$hf=E_{m}-E_{n}$$
I would like to print the raw latex math notation so that for someone that knows how to write in latex searching this pdf would be very easy because they would have to just go ctrl+f and write hf=E_{m}-E_{n}. So it would look something like that:
* rendered equation * - (hf=E_{m}-E_{n}) - *what it means etc)
But when I do that it still tries to render that math in the () brackets. How can I stop it from doing so?
As you can see it still tried to render it even tho I'm using \text:
I want it to render it as simply hf=E_{m}-E_{n}

$$, see Why is\[ … \]preferable to$$? – egreg Jun 19 '20 at 20:00hf=E_{m}-E_{n}so that it can be search withctrl+fby typinghf=E_{m}-E_{n}inctrl+f– John Jun 19 '20 at 20:07texdoc tcolorbox, sec16 Libraries Listings, listingsutf8, and Minted – sikouhjw Jun 20 '20 at 16:06