home *** CD-ROM | disk | FTP | other *** search
/ Programming Tool Box / SIMS_2.iso / demo / quickpak / demo5.ht < prev    next >
Text File  |  1994-02-28  |  1KB  |  20 lines

  1. \HEscape Codes\h
  2.  
  3.     Text may be displayed with any combination of font attributes by using escape codes. Escape codes are also used to switch between base and heading fonts.
  4.  
  5.     Escape codes consist of a backslash character ('\\') followed by a single character indicating the attribute. An uppercase letter used for an attribute indicates that it should be enabled, while a lowercase letter indicates that it should be disabled. An escape code takes effect immediately, affecting all text following it.
  6. Note    To display a single backslash character in the text, you must use two in succession ('\\\\').
  7.  
  8. \BEscape Codes\b
  9. \\B, \\b    Bold. Enables/disables the Bold font attribute
  10. \\C, \\c    Color. \\C must be followed by a 6 digit hexadecimal value
  11. \\H, \\h    Font switch. \\H switches to the heading font
  12. \\I, \\i    Italic. Enables/disables the Italic font attribute
  13. \\S, \\s    Strikethru. Enables/disables the Strikethru font attribute
  14. \\U, \\u    Underline. Enables/disables the Underline font attribute
  15.  
  16. Here are a few samples:
  17. A \\Bbold\\b word.    A \Bbold\b word.
  18. Some \\B\\Ibold\\b with italics\\i.    Some \B\Ibold\b with italics\i.
  19. A \\C0000FFcolor\\c example.    A \C0000FFcolor\c example.
  20.