Tag Info

New answers tagged

4

You can use \verb as \verb!$x^2 + y^2 = r^2$! Or better use listings package \lstinline[language={[LaTeX]TeX},basicstyle=\ttfamily]{$\sin^2\theta+\cos^2\theta=1$} Full code: \documentclass{article} \usepackage{amsmath} \usepackage{listings} \begin{document} Using \verb|\verb|: \verb!$x^2 + y^2 = r^2$! \quad $\longrightarrow$ \quad $x^2 + y^2 = ...



Top 50 recent answers are included