Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I need to render an ASCII file for printing in a way that removes ambiguity if (very unlikely) one decides to type it in and validate the signatures.

Essentially, I need a monospace typesetter that would typeset a 'blank space' symbol for space, a CR/LF symbol (and proceed to the next line for readability) whenever a CR/LF is encountered, etc., making it obvious if there are any trailing whitespaces before the CR/LF, if there is a character present, etc.

Is there a font that already accomplishes that goal? *nix utility? TeX module/package/derived system?

Is this even the proper SE site for this kind of questions? Would you think I'd have better luck at SuperUser? StackOverflow?

share|improve this question
the standard verbatim* environment does spaces (but not by default end of line) although could easily be added –  David Carlisle Jun 3 '14 at 13:07
Have you considered the a2ps *nix utility. As far as I remember it is configurable to fulfill your needs. –  Christian Hupfer Jun 3 '14 at 13:45
I've looked at a2ps - I haven't seen a good example on how that could be done - do you know of a good documentation for it? –  qdot Jun 3 '14 at 14:28

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.