comp.lang.ada
 help / color / mirror / Atom feed
From: "Terry J. Westley" <westley@calspan.com>
Subject: Re: type setting Ada code in MS Word
Date: 1998/01/16
Date: 1998-01-16T00:00:00+00:00	[thread overview]
Message-ID: <01bd2287$89b34b00$24326489@Westley-PC.calspan.com> (raw)
In-Reply-To: 01bd2200$4005aca0$95fc82c1@xhv46.dial.pipex.com


Nick Roberts <Nick.Roberts@dial.pipex.com> wrote in article
<01bd2200$4005aca0$95fc82c1@xhv46.dial.pipex.com>...
> The simple trick I use to is to define a named style, with the requisite
> font (usu Courier New), paragraph spacing (usu 10), indentation, etc.  I
> also set the language to 'none' to switch off spell checking.  I also
> define a 'spacing' paragraph style, with a small font size, to go just
> before and after program code, to get nice spacing.  I then simply set
> program code paragraphs to the above named style.

Agreed.  This is the easy part.

> Bold is easy to get: Ctrl+B to switch it on/off when typing; highlight
text
> then Ctrl+B to do it retroactively.

This is the hard part.  I don't have the patience (or accuracy) to
select several hundred keywords in a hundred lines of code and press
Ctrl+B for each one.  That's what I'd like a macro or VB script to
do for me.

-- 
Terry J. Westley, Principal Engineer
Calspan SRL Corp, P.O. Box 400, Buffalo, NY 14225
westley@calspan.com   http://www.calspan.com/





      reply	other threads:[~1998-01-16  0:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <01bd1fca$5c249c80$24326489@Westley-PC.calspan.com>
1998-01-15  0:00 ` type setting Ada code in MS Word TConiam
     [not found]   ` <01bd2288$9de0e460$24326489@Westley-PC.calspan.com>
1998-01-21  0:00     ` Mats Weber
1998-01-23  0:00       ` TConiam
1998-01-26  0:00       ` Georg Bauhaus
1998-01-15  0:00 ` Nick Roberts
1998-01-16  0:00   ` Terry J. Westley [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox