home *** CD-ROM | disk | FTP | other *** search
/ OpenStep 4.2 / Openstep-4.2-Intel-User.iso / usr / lib / tmac / tmac.ayday < prev    next >
Text File  |  1984-12-30  |  2KB  |  94 lines

  1. .de TI            \" Title initialization (required)
  2. .            \" Usage:  .TI NAME [DATE] with title on next line
  3. .ds LH HELP            \" Headers
  4. .ie "\\$2"" .ds CH \n(mo/\n(dy/\n(yr
  5. .el .ds CH \\$2
  6. .ds RH \\$1
  7. .ds LF                \" Footers
  8. .ds CF - % -
  9. .ds RF
  10. .if \\n(nl .bp 1
  11. .wh 0i HD            \" change these and the help de-paginator won't
  12. .wh -1.167i FT            \" work; same as for -man macros
  13. .ll 6.5i
  14. .nr RI .5i
  15. .po .5i
  16. .ce
  17. .ft B
  18. .it 1 }f
  19. ..
  20. .de HD                \" Header macro
  21. 'sp .5i
  22. .tl "\\*(LH"\\*(CH"\\*(RH"
  23. 'sp .5i
  24. ..
  25. .de FT                \" Footer macro
  26. 'sp .5i
  27. .tl "\\*(LF"\\*(CF"\\*(RF"
  28. 'sp .5i
  29. ..
  30. .de LP                \" New paragraph, left-adjusted first line
  31. .sp
  32. .fi
  33. .in 0
  34. .ne 2v
  35. ..
  36. .de PP                \" New paragraph, indented first line
  37. .LP
  38. .ti +\\n(RIu
  39. ..
  40. .de IP                \" Indented paragraph - usage: .IP label
  41. .LP
  42. .in \\n(RIu
  43. .if \\n(.$ \{\
  44. .ti -\\n(RIu
  45. \&\\$1\h'|\\n(RIu-\\n(.Hu'
  46. .if \w@\\$1  @-\\n(RI .br \}        \" break line if label too long
  47. ..
  48. .de SH                \" Section heading - usage: .SH heading
  49. .LP
  50. .ne 4v
  51. .if n \fI\\$1 \\$2 \\$3 \\$4 \\$5 \\$6 \\$7 \\$8 \\$9\fP
  52. .if t \fB\\$1 \\$2 \\$3 \\$4 \\$5 \\$6 \\$7 \\$8 \\$9\fP
  53. .br
  54. ..
  55. .            \" The following macros are borrowed from -man
  56. '    # set type font and size
  57. .de }f
  58. .ps 10
  59. .ft 1
  60. ..
  61. '    # make special case of shift out of italic
  62. .de }S
  63. .ds ]F
  64. .if "\\$1"2" .if !"\\$5"" .ds ]F\^
  65. .ie !"\\$4"" .}S \\$2 \\$1 "\\$3\f\\$1\\$4\\*(]F" "\\$5" "\\$6" "\\$7" "\\$8" "\\$9"
  66. .el \\$3
  67. .}f
  68. ..
  69. '    # combinations of Roman, italic, bold
  70. .de RI
  71. .}S 1 2 \& "\\$1" "\\$2" "\\$3" "\\$4" "\\$5" "\\$6"
  72. ..
  73. .de VS
  74. 'if '\\$1'4' .mc \s12\(br\s0
  75. ..
  76. .de VE
  77. 'mc
  78. ..
  79. .de RB
  80. .}S 1 3 \& "\\$1" "\\$2" "\\$3" "\\$4" "\\$5" "\\$6"
  81. ..
  82. .de IR
  83. .}S 2 1 \& "\\$1" "\\$2" "\\$3" "\\$4" "\\$5" "\\$6"
  84. ..
  85. .de IB
  86. .}S 2 3 \& "\\$1" "\\$2" "\\$3" "\\$4" "\\$5" "\\$6"
  87. ..
  88. .de BR
  89. .}S 3 1 \& "\\$1" "\\$2" "\\$3" "\\$4" "\\$5" "\\$6"
  90. ..
  91. .de BI
  92. .}S 3 2 \& "\\$1" "\\$2" "\\$3" "\\$4" "\\$5" "\\$6"
  93. ..
  94.