/share/doc/usd/22.trofftut/tt.mac

https://bitbucket.org/freebsd/freebsd-head/ · Unknown · 111 lines · 111 code · 0 blank · 0 comment · 0 complexity · 0ee65673619456ebc9e85fe0c0ec2087 MD5 · raw file

  1. .\" This module is believed to contain source code proprietary to AT&T.
  2. .\" Use and redistribution is subject to the Berkeley Software License
  3. .\" Agreement and your Software Agreement with AT&T (Western Electric).
  4. .\"
  5. .\" @(#)tt.mac 8.1 (Berkeley) 6/8/93
  6. .\" Copyright (C) Caldera International Inc. 2001-2002. All rights reserved.
  7. .\"
  8. .\" Redistribution and use in source and binary forms, with or without
  9. .\" modification, are permitted provided that the following conditions are
  10. .\" met:
  11. .\"
  12. .\" Redistributions of source code and documentation must retain the above
  13. .\" copyright notice, this list of conditions and the following
  14. .\" disclaimer.
  15. .\"
  16. .\" Redistributions in binary form must reproduce the above copyright
  17. .\" notice, this list of conditions and the following disclaimer in the
  18. .\" documentation and/or other materials provided with the distribution.
  19. .\"
  20. .\" All advertising materials mentioning features or use of this software
  21. .\" must display the following acknowledgement:
  22. .\"
  23. .\" This product includes software developed or owned by Caldera
  24. .\" International, Inc. Neither the name of Caldera International, Inc.
  25. .\" nor the names of other contributors may be used to endorse or promote
  26. .\" products derived from this software without specific prior written
  27. .\" permission.
  28. .\"
  29. .\" USE OF THE SOFTWARE PROVIDED FOR UNDER THIS LICENSE BY CALDERA
  30. .\" INTERNATIONAL, INC. AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR
  31. .\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
  32. .\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
  33. .\" DISCLAIMED. IN NO EVENT SHALL CALDERA INTERNATIONAL, INC. BE LIABLE
  34. .\" FOR ANY DIRECT, INDIRECT INCIDENTAL, SPECIAL, EXEMPLARY, OR
  35. .\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
  36. .\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
  37. .\" BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
  38. .\" WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
  39. .\" OR OTHERWISE) RISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
  40. .\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  41. .\"
  42. .\" $FreeBSD$
  43. .\"
  44. .tr _\(em
  45. .tr *\(**
  46. .de UL
  47. .if n .ul
  48. .if n \\$3\\$1\\$2
  49. .if t \\$3\f3\\$1\fP\\$2
  50. ..
  51. .de UC
  52. \\$3\s-1\\$1\s+1\\$2
  53. ..
  54. .de C
  55. .if n .ul
  56. .if n \\$3\\$1\\$2
  57. .if t \\$3\f3\\$1\fP\\$2
  58. ..
  59. .de IT
  60. .if t \\$3\f2\\$1\fP\\$2
  61. .if n .ul
  62. .if n \\$3\\$1\\$2
  63. ..
  64. .de UI
  65. \f3\\$1\fI\\$2\fR\\$3
  66. ..
  67. .de P1
  68. .if n .ls 1
  69. .nf
  70. .\" use first argument as indent if present
  71. .if \\n(.$ .DS I \\$1
  72. .if !\\n(.$ .DS I 5
  73. .ta .75i 1.5i 2.25i 3i 3.75i
  74. .tr '\'
  75. ..
  76. .de P2
  77. .tr ''
  78. .DE
  79. .if n .ls 2
  80. .lg
  81. ..
  82. .if t .ds m \(mi
  83. .if n .ds m -
  84. .if t .ds n \(no
  85. .if n .ds n -
  86. .if t .ds s \v'.41m'\s+4*\s-4\v'-.41m'
  87. .if n .ds s *
  88. .if t .ds S \(sl
  89. .if n .ds S /
  90. .if t .ds d \s+4\&.\&\s-4
  91. .if n .ds d \&.\&
  92. .if t .ds a \z@@
  93. .if n .ds a @
  94. .hy 14
  95. .\" XXX is this supposed to be a comment? . 2=not last lines; 4= no -xx; 8=no xx-
  96. .de WS
  97. .sp \\$1
  98. ..
  99. .\" ACCENTS say \*'e or \*`e to get e acute or e grave
  100. .ds ' \h'\w'e'u*4/10'\z\(aa\h'-\w'e'u*4/10'
  101. .ds e \o"e\'"
  102. .ds ` \h'\w'e'u*4/10'\z\(ga\h'-\w'e'u*4/10'
  103. .\" UMLAUT \*:u, etc.
  104. .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'
  105. .\" TILDE and CIRCUMFLEX
  106. .ds ^ \\k:\h'-\\n(.fu+1u/2u*2u+\\n(.fu-1u*0.13m+0.06m'\z^\h'|\\n:u'
  107. .ds ~ \\k:\h'-\\n(.fu+1u/2u*2u+\\n(.fu-1u*0.13m+0.06m'\z~\h'|\\n:u'
  108. .de BD
  109. \&\\$3\f1\\$1\h\(ts-\w\(ts\\$1\(tsu+1u\(ts\\$1\fP\\$2\&
  110. ..
  111. .hw semi-colon