home *** CD-ROM | disk | FTP | other *** search
/ minnie.tuhs.org / unixen.tar / unixen / PDP-11 / Trees / V7 / usr / doc / trofftut / tt.mac next >
Encoding:
Text File  |  1979-01-10  |  1.2 KB  |  69 lines

  1. .tr _\(em
  2. .tr *\(**
  3. .de UL
  4. .if n .ul
  5. .if n \\$3\\$1\\$2
  6. .if t \\$3\f3\\$1\fP\\$2
  7. ..
  8. .de UC
  9. \\$3\s-1\\$1\s+1\\$2
  10. ..
  11. .de C
  12. .if n .ul
  13. .if n \\$3\\$1\\$2
  14. .if t \\$3\f3\\$1\fP\\$2
  15. ..
  16. .de IT
  17. .if t \\$3\f2\\$1\fP\\$2
  18. .if n .ul
  19. .if n \\$3\\$1\\$2
  20. ..
  21. .de UI
  22. \f3\\$1\fI\\$2\fR\\$3
  23. ..
  24. .de P1
  25. .if n .ls 1
  26. .nf
  27. .        use first argument as indent if present
  28. .if \\n(.$ .DS I \\$1
  29. .if !\\n(.$ .DS I 5
  30. .ta .75i 1.5i 2.25i 3i 3.75i
  31. .tr '\'
  32. ..
  33. .de P2
  34. .tr ''
  35. .DE
  36. .if n .ls 2
  37. .lg
  38. ..
  39. .if t .ds m \(mi
  40. .if n .ds m -
  41. .if t .ds n \(no
  42. .if n .ds n -
  43. .if t .ds s \v'.41m'\s+4*\s-4\v'-.41m'
  44. .if n .ds s *
  45. .if t .ds S \(sl
  46. .if n .ds S /
  47. .if t .ds d \s+4\&.\&\s-4
  48. .if n .ds d \&.\&
  49. .if t .ds a \z@@
  50. .if n .ds a @
  51. .hy 14
  52. .    2=not last lines; 4= no -xx; 8=no xx-
  53. .de WS
  54. .sp \\$1
  55. ..
  56. .   ACCENTS  say \*'e or \*`e to get e acute or e grave
  57. .ds ' \h'\w'e'u*4/10'\z\(aa\h'-\w'e'u*4/10'
  58. .ds e \o"e\'"
  59. .ds ` \h'\w'e'u*4/10'\z\(ga\h'-\w'e'u*4/10'
  60. .   UMLAUT  \*:u, etc.
  61. .ds : \v'-0.6m'\h'(1u-(\\n(.fu%2u))*0.13m+0.06m'\z.\h'0.2m'\z.\h'-((1u-(\\n(.fu%2u))*0.13m+0.26m)'\v'0.6m'
  62. .  TILDE and CIRCUMFLEX
  63. .ds ^ \\k:\h'-\\n(.fu+1u/2u*2u+\\n(.fu-1u*0.13m+0.06m'\z^\h'|\\n:u'
  64. .ds ~ \\k:\h'-\\n(.fu+1u/2u*2u+\\n(.fu-1u*0.13m+0.06m'\z~\h'|\\n:u'
  65. .de BD
  66. \&\\$3\f1\\$1\h\(ts-\w\(ts\\$1\(tsu+1u\(ts\\$1\fP\\$2\&
  67. ..
  68. .hw semi-colon
  69.