latex how to write an underscore in text code example
Example: underscore latex
\documentclass{article}
\begin{document}
\texttt{Samp\_Dist\_Corr}
\verb|Samp_Dist_Corr|
\texttt{Samp\char`_Dist\char`_Corr}
\end{document}
\documentclass{article}
\begin{document}
\texttt{Samp\_Dist\_Corr}
\verb|Samp_Dist_Corr|
\texttt{Samp\char`_Dist\char`_Corr}
\end{document}