home *** CD-ROM | disk | FTP | other *** search
/ The C Users' Group Library 1994 August / wc-cdrom-cusersgrouplibrary-1994-08.iso / vol_100 / 154_01 / roff.doc < prev    next >
Text File  |  1979-12-31  |  2KB  |  67 lines

  1.  
  2.     ROFF documentation
  3.  
  4.  
  5.  
  6.      
  7.      
  8.      This  is a transliteration of the text formatting program on Kernighan
  9.      & Plauger's SOFTWARE TOOLS, with some modifications to take  advantage
  10.      of  the  power of C. If the summary of dot commands below isn't enough
  11.      for you, see the book.
  12.      
  13.      Most commands can accept arguments. If the argument is preceded  by  a
  14.      plus  or  minus sign then the current value of the indicated attribute
  15.      is changed by that amount. For example, the command  .ls  2  sets  the
  16.      line   spacing   to   2,  while  the  command  .ls  +2  increases  the
  17.      currently-set line spacing by 2 lines.
  18.      
  19.      
  20.       command     break?     default     action
  21.       -------     -----      -------     ------
  22.      
  23.       .bp         yes        +1          begin next page
  24.       .br         yes                    cause break
  25.       .ce n       yes        1           center next n lines
  26.       .fi         yes                    start fill mode
  27.       .fo         no         empty       footer title
  28.       .he         no         empty       header title
  29.       .in n       no         0           indent n spaces
  30.       .ls n       no         1           set line spacing = n
  31.       .nf         yes                    stop fill mode
  32.       .pl n       no         66          set page length = n
  33.       .rm n       no         60          set right margin
  34.       .sp n       yes        1           space down n lines
  35.       .ti n       yes        0           temp indent n spaces
  36.       .ul n       no         1           underline next n lines
  37.      
  38.      
  39.      A break stops the filling of  the  current  line.  Breaks  are  needed
  40.      between  paragraphs.  Lines containing nothing but blanks always cause
  41.      one blank line to be output. A line which starts with a tab  or  blank
  42.      causes  the  temporary  indent  setting  to  be  set  to the number of
  43.      beginning spaces on that line. Note that this  feature  overrides  any
  44.      .ti setting in effect.
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.     Page 1
  65.  
  66.  
  67.