🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text
Article #4796

Help re: LaTeX 'verbose' and font changes

#4796
From: Steve Tynor
Date: Tue, 14 Jun 1988 20:08
27 lines
1570 bytes
	I'm seriously considering converting our software documentation from
a text formatter I wrote a couple of years ago to LaTeX.  Unfortunately, I
can't figure out how best to convert our BNF examples. I need to get output
such as:

    non-terminal ::= non-terminal <KEYWORD> non-terminal

where the non-terminals are in tt (typewriter font) and the <KEYWORD> is a
bold faced tt.  The problem is of course that in verbose mode (which is the
only environment that will preserve spacing and end-of-line), one cannot
change fonts.  The only way to do it seems to be a 'tabbing' environment,
but that is difficult to encode (I'm writing an automatic translation
utility, but eventually humans will have to maintain the documentation, so
I'd like it to be as easy to write/read as possible.)

	Any ideas, suggestions?

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Progress means replacing something wrong with something more subtly wrong.
                     
    Steve Tynor
    Georgia Instutute of Technology

 ...{akgua, allegra, amd, harpo, hplabs,
     ihnp4, masscomp, ut-ngp, rlgvax, sb1,
     uf-cgrl, unmvax, ut-sally}  !gatech!gitpyr!tynor
Technical Details
Message-ID: <5928@pyr.gatech.EDU>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!husc6!mailrus!tut.cis.ohio-state.edu!mandrill!gatech!gitpyr!tynor

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!husc6!mailrus!tut.cis.ohio-state.edu!mandrill!gatech!gitpyr!tynor
From: tynor@pyr.gatech.EDU (Steve Tynor)
Newsgroups: comp.text
Subject: Help re: LaTeX 'verbose' and font changes
Keywords: LaTeX verbose fonts bold tt
Message-ID: <5928@pyr.gatech.EDU>
Date: 14 Jun 88 20:08:54 GMT
Organization: Georgia Institute of Technology
Lines: 27