home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 498b.lha / HyperText / TextCommands < prev    next >
Text File  |  1991-04-08  |  6KB  |  196 lines

  1. \help ht.help
  2. \title Text Formatting Commands Descriptions and Examples
  3. \fgcolor 2
  4. \bgcolor 3
  5. \format
  6. \bold \\BOLD\bold  : Turn bolded text on/off.  Remains in effect until the next
  7. \indent 7
  8. \\bold command.  Once to turn on, another time to turn off.
  9.  
  10. \it \ul Example: \it \ul
  11.  
  12. \indent 5
  13. This will cause the words "Alexander the Great" to be in bold text.  It
  14. can be used for a nice emphasis effect.
  15.  
  16. \freeformat
  17.     1.) The great conqueror \\bold Alexander the Great \\bold lived
  18.     in Macedonia (I think :).
  19.  
  20.     The great conqueror \bold Alexander the Great \bold lived
  21.     in Macedonia (I think :).
  22.  
  23.  
  24.     2.) In the \\bold Phillipines \\bold Corazon Aquino is president.
  25.     In the \bold Phillipines \bold Corazon Aquino is president.
  26.  
  27.  
  28.  
  29. \format
  30. \bold \\UNDERLINE\bold    : Turn on/off underlining.  Suitable for book titles,
  31. \indent 12
  32. or any other text that needs a line underneath it.
  33.  
  34. \it \ul Example: \it \ul
  35.  
  36. \indent 5
  37. This will cause the Title "Grapes of Wrath" to be underlined in a way
  38. that would even make Strunk and White proud....
  39.  
  40. \freeformat
  41.     1.)  The novel \\underline Grapes of Wrath \\underline by John
  42.      Steinbeck was published god knows when.
  43.  
  44.      The novel \underline Grapes of Wrath \underline by John
  45.      Steinbeck was published god knows when.
  46.  
  47.     2.)  \\underline Moby Disk \\underline was a novel about this giant
  48.       white 8" floppy disk.
  49.  
  50.      \underline Moby Disk \underline was a novel about this giant
  51.      white 8" floppy disk.
  52.  
  53.  
  54. \format
  55. \bold \\ITALICS\bold  : Put text in italics.  Use it once to turn italics on,
  56. \indent 10
  57. another time to turn them off.    Useful for those
  58. wonderful little Latin anacronyms \ital (viz., e.g., c.f., etc.).\ital
  59.  
  60. \it \ul Example: \it \ul
  61.  
  62. \indent 5
  63. If you want your references to look really hep, just like a book, do the
  64. following.
  65.  
  66. \FReeformat
  67.     1.)  In retrospect we see Hannibal (\\italic c.f. \\italic elephant
  68.      driver) was a brilliant general.
  69.  
  70.      In retrospect we see Hannibal (\italic c.f. \italic elephant
  71.      driver) was a brilliant general.
  72.  
  73. \indent 5
  74. \format
  75. Actually this one should be linked so that you can listen to some of his
  76. music.    Links and styles *CAN* be nested.
  77.  
  78. \freeformat
  79.     2.)  Vivaldi's \\italic Four Seasons \\italic is a pretty happenin'
  80.      piece of music.
  81.      Vivaldi's \italic Four Seasons \italic is a pretty happenin'
  82.      piece of music.
  83.  
  84.  
  85.  
  86.  
  87. \bold \\CENTER \bold : Cause any text up to the next blank line to be centered for the
  88. \indent 10
  89. given window width (which is by default full screen).  This is
  90. useful for section headings, and such.    Each line is taken
  91. individually and centered.  When a blank line is encountered
  92. (because of two returns in a row), centering is turned off.  This
  93. keyword works nicely with \\Underlining, etc.  It can give you
  94. an almost book like feel to section and chapter headings.
  95. If you are using a different font than the default, you should
  96. be sensitive to how wide you make your lines, as if they are too
  97. large, they will be broken to fit the display.
  98.  
  99. \freeformat
  100. \it \ul Example: \it \ul
  101.      1.)  \\Center
  102.       This line is centered in my window!
  103.  
  104. This line is not.
  105.  
  106. \bold Example (1) would be displayed as : \bold
  107.  
  108. \center
  109. This line is centered in my window!
  110.  
  111. This line is not.
  112.  
  113.  
  114.  
  115.  
  116. \bold \\INDENT [num]\bold  : Indent the following text up to the next double return
  117. \indent 16
  118. (usually the end of a paragraph).  The indent will default
  119. to 15 spaces if you omit it, or you can put however many
  120. spaces you want to the next paragraph to be indented.  This
  121. is useful for large quotes from some other reference.
  122. Don't get silly with large indenting over 70 spaces.
  123. It is also wise to remember that if you are using a
  124. large font, an indent of 40 may not even be displayable.
  125.  
  126. \freeformat
  127. \it \ul Example: \it \ul
  128.  
  129.     1.)  \\indent 20
  130.      I want this paragraph indented 20 spaces, and formatted nicely. I
  131.      am probably quoting someone, or I just want this text to *REALLY*
  132.      standout.  Pretty nifty eh?
  133.  
  134. \format
  135. \indent 20
  136. I want this paragraph indented 20 spaces, and formatted nicely. I am
  137. probably quoting someone, or I just want this text to *REALLY* standout.
  138. Pretty nifty eh?
  139.  
  140. Now I am back to regular text because before this line, there were
  141. two returns in a row.
  142.  
  143. \freeformat
  144.     2.)  \\indent
  145.      This text is going to utilize the default indenting of 15 spaces.
  146.      It is going to indent like this until I hit the two return
  147.      characters in a row.
  148.  
  149.      Which just happened.  So I'm back to normal formatting now.
  150.  
  151. \format
  152. \indent
  153. This text is going to utilize the default indenting of 15 spaces. It is
  154. going to indent like this until I hit the two return characters in a row.
  155.  
  156. Which just happened.  So I'm back to normal formatting now.
  157.  
  158.  
  159.  
  160. \format
  161. \bold \\FORMAT \bold : Embedding this command into a text file will \bold immediately
  162. \indent 10
  163. \bold turn on the paragraph filling (formatting) HT does.  Before you get scared of
  164. it, the formatting done by HT is mainly to try and fit as many words on a
  165. line as possible.  This will cause things (hopefully) to look nice.  HT
  166. will fill paragraphs, and paragraph is considered to be any text up to a
  167. blank line.
  168.  
  169. \indent 10
  170. The idea is that if you are writing a document directly for HT,
  171. you would probably want to make sure it has nicely filled lines.  Although
  172. you are \bold not \bold required to do this, it is an option.  You will
  173. find though, that when you start embedding lots of '\\' commands, it will
  174. become difficult to tell where line breaks fall, and so it is just easier
  175. to let HT take care of that for you.
  176.  
  177.  
  178.  
  179. \bold \\FREEFORMAT \bold :  This command is the opposite of the \\FORMAT command.
  180. \indent 15 The \\FREEFORMAT keyword will remain in effect
  181. until another \\FORMAT command is found.  This
  182. is useful for sections of text which should be left as is
  183. (poems, \ital etc\ital ).
  184.  
  185. \indent 15
  186. Remember, even when \\Freeformat is in effect, you \it can \it still use
  187. link/style commands.  The \\Freeformat effect can be turned off by
  188. embedding a \\FORMAT command where you would like to have text formatting
  189. turned back on.
  190.  
  191. \indent 15
  192. Finally, this command is the default setting for how HT formats text.  So
  193. you aren't required to do anything special to use all the existing text files
  194. that you have!
  195.  
  196.