I'm using typewriter text to highlight program code within my writing, however, long method names without spaces don't seem to wrap to the next line (see Figure 1).
It is possible to make typewriter text automatically wrap when reaching the edge of a page?
Thanks
% Preview source code for paragraph 1
This is a long method name which does not wrap: \texttt{void ThisIsAnExmpleOfALongMethodNameWhichDoesNotWrap()}
Normal text wraps as expected, though.
