Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!samsung!uakari.primate.wisc.edu!sdd.hp.com!spool.mu.edu!munnari.oz.au!cluster!metro!kwanon!andy From: andy@research.canon.oz.au (Andy Newman) Newsgroups: aus.tex,comp.text.tex Subject: ASCII tabs in verbatim sections Keywords: verbatim tabs Message-ID: <1991Mar27.004537.6481@research.canon.oz.au> Date: 27 Mar 91 00:45:37 GMT Followup-To: andy@research.canon.oz.au Organization: Canon Information Systems Research Australia Lines: 16 We use LaTeX for software documentation and often need to include pieces of source code in our documents, this is usually placed between \begin{verbatim}, \end{verbatim} pairs, so far so good. What is really annoying us is the treatment of ASCII tabs. Has anyone made modifications to LaTeX's verbatim handling to process ASCII tabs in a ``correct'' manner? i.e., tab stops every eight spaces. I've had a look a style called cprog but this simply replaces a tab with four spaces regardless of the current position on the line, this is not really good enough for our purposes. Any help would be appreciated. -- Andy Newman (andy@research.canon.oz.au) Canon Info. Systems Research Australia "X: 2. An over-sized, over-featured, over-engineered window system developed at MIT and widely used on UNIX systems." from the jargon file.