tmac.q7 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. .\" MACROES FOR BIBLIOGRAPHIC REFERENCES (file tmac.q7)
  2. .\"
  3. .\" Th.A. Zoethout
  4. .\"
  5. .de RS \" REFERENCE START
  6. .\" .RS [ [$1] ) $2 ( $3 ]
  7. . \" $1 = prefix
  8. . \" $2 = refering text
  9. . \" $3 = suffix
  10. .ie \\n(RS>0 .Er W ".RS: nesting not allowed
  11. .el \{\
  12. .if \\n(.$>2 \&\\$1[\\$2]\\$3
  13. .if \\n(.$>2 .RF \\$2
  14. .if \\n(.$<=2 \&[\\$1]\\$2
  15. .if \\n(.$<=2 .RF \\$1\}
  16. ..
  17. .de RF \" REFERENCE
  18. .\" .RF $1 ...
  19. . \" $1 ... = refering text
  20. .ie \\n(RS>0 .Er W ".RF: nesting not allowed
  21. .el \{\
  22. .nr RS 1
  23. .Ct \\$1 \\$2 \\$3 \\$4 \\$5 \\$6 \\$7 \\$8 \\$9
  24. .ev 1
  25. .nr RF \\n(.l
  26. .ll \\n(LLu-\\n(INu
  27. .nr RE \\n(.i
  28. .in 0
  29. .nf
  30. .da Rt
  31. \!.ne \\n(NDv
  32. \!.in +\\n(INu
  33. \!.ti -\\n(INu
  34. [\\*(St]
  35. .rm St
  36. \!.br\}
  37. ..
  38. .de RE \" REFERENCE END
  39. .\" .RE $1
  40. . \" $1 = succeeding vertical spacing { 0 }
  41. .ie \\n(RS=0 .Er W ".RE: no matching .RS or .RF
  42. .el \{\
  43. \!.in -\\n(INu
  44. .ie !"\\$1"" \!.sp \\$1v
  45. .el \!.sp \\n(VSu
  46. .br
  47. .da
  48. .fi
  49. .ll \\n(RFu
  50. .rr RF
  51. .in \\n(REu
  52. .rr RE
  53. .nr RS 0
  54. .ev \}
  55. ..
  56. .de RT \" REFERENCE TABLE
  57. .\" .RT
  58. .ev 1
  59. .nr RF \\n(.l
  60. .ll \\n(LLu
  61. .na
  62. .Rt
  63. .ad
  64. .ll \\n(RFu
  65. .rr RF
  66. .ev
  67. .rm Rt
  68. ..
  69. .\*($0
  70. .rm $0