how to escape underscore in overleaf 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}