From: tconiam@aol.com (TConiam)
Subject: Re: type setting Ada code in MS Word
Date: 1998/01/15
Date: 1998-01-15T00:00:00+00:00 [thread overview]
Message-ID: <19980115232000.SAA18083@ladder03.news.aol.com> (raw)
In-Reply-To: 01bd1fca$5c249c80$24326489@Westley-PC.calspan.com
>You've probably noticed the common use of Courier font
>for Ada code embedded in written documents. In addition,
>Ada keywords are often bold-faced.
>
>Does anyone know of an MS Word macro (or VB program) that
>will do this? Sort of like vgrind in TeX.
I just set up a paragraph style called "code" that uses courier new, etc. Then
I apply it to the code text in the document. Works reasonbly well.
Of course if your looking to bold-face keywords you could write a macro or VBA
module to do a search and replace based on style and affecting only text with
the "code" style.
In that case I would suggest also creating character styles for keywords,
comments, etc. that only affect the font and style (bold, italic, etc.)
I may just try this myself...hmm
-------------------------------------------------------------------------
Todd Coniam tconiam@aol.com
Ada 95 - The international standard in OO languages
-------------------------------------------------------------------------
Check: http://lglwww.epfl.ch/Ada/ Free compiler: http://www.gnat.com/
next parent reply other threads:[~1998-01-15 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 ` TConiam [this message]
[not found] ` <01bd2288$9de0e460$24326489@Westley-PC.calspan.com>
1998-01-21 0:00 ` type setting Ada code in MS Word 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
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox