The accepted answer in this question shows a neat redefinition of \textvisiblespace, which I like to use because it doesn't produce a warning in math mode. However, I use it with monospace in an ...
I'm trying to typeset some computer code which involves a caret (for powers); for example \verb!x^3+x^2-1! The trouble here is that the caret produced is rather flat. I could use a wedge instead: ...
I am trying to typeset some mathematics all in typewriter font; aiming to emulate the appearance of a particular computing environment. However, \mathtt in math mode doesn't appear to affect the ...
I'm typesetting source code, and I want to replace cmtt10's \char32 with something easier on the eyes. I came up with something that I like, but I'm not pleased with the implementation. Here's how ...
Background The text contains programming variable names such as report_city and SUBREPORT_FILE. All such variables are marked up with \texttt. Problem Some variable names are hyphenated: ...
I have some C source code and would like to show the circumflex or caret (^) in the way it is typically shown in source code -- as a full-size character. The source code will be appearing in ...