home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Source Code / C / Libraries / stdwin / Doc / macros.ms < prev    next >
Encoding:
Text File  |  1991-02-28  |  1.0 KB  |  51 lines  |  [TEXT/????]

  1. .\"
  2. .\" Macro definitions and other settings
  3. .\" ------------------------------------
  4. .\"
  5. .\"    The Constant Width font is whatever is mounted at font position 5.
  6. .\"    XXX This is not effective, -ms overrides it (in .TL?),
  7. .\"    but the effect is the same.
  8. .\"
  9. .fp 5 CW
  10. .\"
  11. .\"    Constant width font - use .cW like .I or .R or .B 
  12. .\"       When using nroff this translates to .I.
  13. .\"
  14. .de cW
  15. .if t \{\
  16. .    ie \\n(.$ \&\f5\\$1\fP\\$2
  17. .    el .ft 5
  18. .\}
  19. .if n .I \\$1 \\$2
  20. ..
  21. .\"
  22. .\"    Inline constant width macros -- use like \*<this\*> to get a
  23. .\"    word or two in constant width.  Equivalent to .cW.
  24. .\"
  25. .ds < \&\f5
  26. .ds > \fP
  27. .\"
  28. .\"    Code segment macros -- use .sC to  start a code segment and .eC
  29. .\"    to end it.  Argument to .sC (L, I or B) is passed on to .DS.
  30. .\"    Tabs are set 8 spaces apart.
  31. .\"
  32. .de sC
  33. .DS \\$1 \\$2
  34. .cW
  35. .ta \w'\0\0\0\0\0\0\0\0'u +\w'\0\0\0\0\0\0\0\0'u
  36. ..
  37. .de eC
  38. .R
  39. .DE
  40. ..
  41. .\"
  42. .\"    Change the point size and spacing to something more radable:
  43. .\"
  44. .nr PS 12
  45. .nr VS 14
  46. .\"
  47. .\"    Some string definitions specific to Python documents:
  48. .\"
  49. .ds Py \f2Python\fP
  50. .ds Ux \s-2UNIX\s0
  51.