I'm using multicols to show the content of a text file, however I need to use the \ttfamily
font. As in \texttt{}
but that doesn't allow line breaks.
Since is a very extensive file I don't want to use \allowbreak
every time.
Tried putting {\ttfamily}
in and out of the code but it doesn't work.
Any suggestion about how to show text without using multicols is appreciated as well, however my main issue is being able to use typewriter text in that part of my article.
Thank you.
This is what I've got:
\begin{multicols}{3}[
Example Text.
]
A B C D E F G H I J
A J
A B 7 0
A C 9 0
A D 7 0
A E 10 0
A F 7 0
A G 10 0
A H 6 0
A I 10 0
A J 5 0
B C 3 0
B D 3 0
B E 8 0
B F 4 0
B G 8 0
B H 2 0
B I 10 0
\end{multicols}
{\ttfamily whatever}
\ttfamily
after]
? Not with braces, of course.\texttt
and\ttfamily
both allow line breaking? even though an answer is accepted it may still be useful for the site if the question is clarified.