This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: cppinternals.texi: Document MI optimization


On Fri, 5 Oct 2001, Neil Booth wrote:

> > Why (here and elsewhere) are you using @display rather than @example for
> > code examples?
> 
> I envisaged it as inset, which I know @display will do.  I wasn't sure
> what @example might do in various circumstances.

The difference is that @display uses the text font:

    The `@display' command begins a kind of example.  It is like the
  `@example' command except that, in a printed manual, `@display' does
  not select the fixed-width font.  In fact, it does not specify the font
  at all, so that the text appears in the same font it would have
  appeared in without the `@display' command.

Look at the DVI output for aesthetics when making significant changes to a
manual.

-- 
Joseph S. Myers
jsm28@cam.ac.uk


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]