Re: Setting up Tabs and Indentation to write programs in Word.



Create a style in which you have the paragraph formatted with tabs and
indents that meet your requirements. You will also need to define the font
used by the style to a non-proportional spaced font (such as Courier New)

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

"Anand" <aanandgAThotmail.nospam.com> wrote in message
news:C8BE0B10-C09F-4335-B5F0-92E5470CC852@xxxxxxxxxxxxxxxx
> Hi,
>
> Is it possible to set up a style that is convenient for writing programs
> in
> MS Word ? In particular, I have two requirements not satisfied by the
> "Plain
> Text" style:
> 1) I want the tab key to correspond to 4 spaces
> 2) When say enter from a given line, the cursor should position itself
> where
> the previous line started, with spaces upto that point. To understand my
> context, the code I want to type out is going to look like this:
> FunctionName() {
> Line1();
> Line2();
> }
>
> Any help or pointers most appreciated.
>
> Thanks,
> Anand.


.



Relevant Pages

  • Re: Setting up Tabs and Indentation to write programs in Word.
    ... I think Doug's point is that if you use a monospaced font, ... instead of using spaces OR tabs to indent the text, ... Word MVP FAQ site: http://word.mvps.org ... I cannot seem to replace tabs with spaces. ...
    (microsoft.public.word.formatting.longdocs)
  • Re: Form Creation Issue - Attached without virus
    ... It appears that you cannot use the \* charformat switch with a formfield. ... Doug Robbins - Word MVP ... apply the desired font. ... in protected mode, it gets filled out under Net Times Roman, Size-12. ...
    (microsoft.public.word.pagelayout)
  • Re: Change many different size fonts by one click
    ... Graham Mayor - Word MVP ... Word MVP web site http://word.mvps.org ... the first ones increase/decrease the font size to the next listed ...
    (microsoft.public.word.docmanagement)
  • FORMATTING NORMAL and TEMPLATES
    ... numbering every single line or bulleting every single line, changing the font ... LEFT MARGIN. ... AUTOMATICALLY TABS ALL THE NUMBERING OVER. ... If I hit Ctrl Z to undo it, ...
    (microsoft.public.word.docmanagement)
  • Re: Change many different size fonts by one click
    ... Not only I had both Word and Outlook totaly closed when I deleted Normal.dot ... Word MVP web site http://word.mvps.org ... the first ones increase/decrease the font size to the next listed ...
    (microsoft.public.word.docmanagement)