underscore in latex text code example
Example 1: underline in latex
\underline{science}
Example 2: underscore latex
\documentclass{article}
\begin{document}
\texttt{Samp\_Dist\_Corr}
\verb|Samp_Dist_Corr|
\texttt{Samp\char`_Dist\char`_Corr}
\end{document}