Subject: Re: Latex and Tabs

>>>>> "Jonathan" == Jonathan Hill  writes:

   Jonathan> When I format the latex document that is my assignment I
   Jonathan> find that the tabs in my code do not appear.  How can I fix
   Jonathan> this problem ? is this problem in fact fixable?  I ask this
   Jonathan> because the code is certainly less readable in this format
   Jonathan> ie without tabs, and because the tabs in your code do come
   Jonathan> out so I assume you know how to fix this problem.

LaTeX source is usually edited in Emacs latex-mode, which removes any
tabs before saving.  If you are editing in text-mode, try selecting the
whole buffer (C-x h) and running M-x untabify RET.

You can stop TABs happening at all by placing the following line in your
.emacs file:

(setq-default indent-tabs-mode nil)

The TAB key will then insert the right number of spaces rather than a
TAB character.

-- 
-- John Hamer                                Email: J.Hamer@cs.auckland.ac.nz
-- Department of Computer Science            Phone: +64 9 3737 599 x8758
-- University of Auckland                    Fax:   +64 9 3737 453
-- Private Bag 92019, Auckland, New Zealand.