I want to write clean underscores without backslashes and hyphenate words by underscores.
I tried to use underscore
package, but it doesn't work with clean underscores and also breaks includegraphics
, when there are underscores in picture name.
MWE:
\documentclass{article}
\usepackage{array}
\begin{document}
\begin{center}
\begin{tabular}{ | m{3cm}| }
\hline
SOME\_LONG\_COMMAND \\\hline
SOME\_LONG \_COMMAND \\\hline % looks as I want, but stiil have backslashes before underscore
\detokenize{SOME_LONG_COMMAND} \\\hline
\end{tabular}
\end{center}
\end{document}