Search found 2 matches

by MechWright
Fri Nov 06, 2020 2:47 pm
Forum: Text Formatting
Topic: Writing long file names with many underlines
Replies: 3
Views: 2513

Writing long file names with many underlines

\verb|filename___with_many___underscores| works perfectly for my purposes. Thanks!

Out of curiousity, what is this | instead of { ?
I have never seen LaTeX commands used in this way.
by MechWright
Fri Nov 06, 2020 1:46 pm
Forum: Text Formatting
Topic: Writing long file names with many underlines
Replies: 3
Views: 2513

Writing long file names with many underlines

Hi,

I have to write many file names with many underlines; this can be done in many ways, but all seem quite clumsy.

1. The obvious way is to replace every _ with \_
2. The another one is to use \begin{verbatim} and \end{verbatim}
3. I also tried
\newcommand{\bv}{\begin{vertabim}}
\newcommand{\ev ...