home *** CD-ROM | disk | FTP | other *** search
/ The C Users' Group Library 1994 August / wc-cdrom-cusersgrouplibrary-1994-08.iso / vol_300 / 304_01 / matrix < prev    next >
Text File  |  1990-02-14  |  284b  |  15 lines

  1. .sc #
  2. .fi
  3.     An involved example of the use of printer controls
  4. would be to create a 3 by 3 matrix:
  5. .br
  6. .sp 1
  7. MATRIX = ^+^+^(|1#2#3|^)^-^-|4#5#6|^)^-^-|7#8#9|^+^+
  8.  
  9. .nf
  10. which should produce (with a half-spacing) printer:
  11.  
  12.          |1 2 3|
  13. MATRIX = |4 5 6|
  14.          |7 8 9|
  15.