1

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:

enter image description here

I want it to render it as simply hf=E_{m}-E_{n}

Bernard
  • 271,350
John
  • 185

1 Answers1

1

Okay I got it:

\verb|hf=E_{m}-E_{n}|

does the job

John
  • 185