Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP Help System Developer's Guide > Chapter 11 HelpTag Markup Reference

<ex>

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Glossary

 » Index

Computer example

Shows computer text without changing the spacing or line breaks.

Syntax. 

   <ex [nonumber | number] [smaller | smallest]>

   example text here ...

   <\ex>

Where:

nonumber

(Default.) Omits the adding of line numbers to the beginning of each line.

number

Puts a line number at the beginning of each line.

smaller or smallest

Displays the example using smaller fonts. This makes long lines fit within a narrower width.

Examples are printed in computer font, and they are indented from the left text margin.

If you include the number attribute, the line numbers of the example will be numbered. This is useful for referring to specific lines.

The following character pairs, which have special meanings in other contexts, are treated as ordinary text within an example:

   !!

   --

   ++

   "

The <\ex> end tag is required.

Example.  The following markup:

   <ex>

   Examples are printed 

   in computer font.

   <\ex>

produces:

   Examples are printed 

   in computer font.

See Also. 

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1988 Hewlett-Packard Development Company, L.P.