Most of the things I wanted to do in LaTeX were either straightforward or easily detectable on the Internet, but that pushed me.
I have a โsolutionโ macro: apply some general formatting to each solution:
\newcommand\solution[1]{{\\ \\* \bf Solution.}
This works well so far, but now I wanted to include a drawing that I made quickly using "ASCII Art", so I would like to use \ verbatim. But it does not work, it causes the following errors:
Runaway argument? ... ! File ended while scanning use of \@xverbatim.
From what I read in "Not So Short Introduction to LaTeX", \ verbatim cannot be used that way. I guess there is a better way to do what I'm trying to do?
source share