Is there a LaTeX macro that just compiles whatever I type into it? Something like \text or \textnormal. I want to display a LaTeX code inline without any formatting, but don't want to escape everything. Especially I want to display the text in caption as well.
This is the LaTeX code I want to have as regular text.
x = \frac{-b\pm\sqrt{b^2-4ac}}{2a}
\verb:\verb!x = \frac{-b\pm\sqrt{b^2-4ac}}{2a}!– egreg Jul 25 '14 at 09:38