bk12.sty 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224
  1. % BOOK STANDARD DOCUMENT STYLE -- Released 14 Jan 1992
  2. % for LaTeX version 2.09
  3. % Copyright (C) 1992 by Leslie Lamport
  4. \lineskip 1pt
  5. \normallineskip 1pt
  6. \def\baselinestretch{1}
  7. \def\@normalsize{\@setsize\normalsize{14.5pt}\xiipt\@xiipt
  8. \abovedisplayskip 12\p@ plus3\p@ minus7\p@
  9. \belowdisplayskip \abovedisplayskip
  10. \abovedisplayshortskip \z@ plus3\p@
  11. \belowdisplayshortskip 6.5\p@ plus3.5\p@ minus3\p@
  12. \let\@listi\@listI}
  13. \def\small{\@setsize\small{13.6pt}\xipt\@xipt
  14. \abovedisplayskip 11\p@ plus3\p@ minus6\p@
  15. \belowdisplayskip \abovedisplayskip
  16. \abovedisplayshortskip \z@ plus3\p@
  17. \belowdisplayshortskip 6.5\p@ plus3.5\p@ minus3\p@
  18. \def\@listi{\leftmargin\leftmargini
  19. \parsep 4.5\p@ plus2\p@ minus\p@
  20. \itemsep \parsep
  21. \topsep 9\p@ plus3\p@ minus5\p@}}
  22. \def\footnotesize{\@setsize\footnotesize{12pt}\xpt\@xpt
  23. \abovedisplayskip 10\p@ plus2\p@ minus5\p@
  24. \belowdisplayskip \abovedisplayskip
  25. \abovedisplayshortskip \z@ plus3\p@
  26. \belowdisplayshortskip 6\p@ plus3\p@ minus3\p@
  27. \def\@listi{\leftmargin\leftmargini
  28. \topsep 6\p@ plus2\p@ minus2\p@\parsep 3\p@ plus2\p@ minus\p@
  29. \itemsep \parsep}}
  30. \def\scriptsize{\@setsize\scriptsize{9.5pt}\viiipt\@viiipt}
  31. \def\tiny{\@setsize\tiny{7pt}\vipt\@vipt}
  32. \def\large{\@setsize\large{18pt}\xivpt\@xivpt}
  33. \def\Large{\@setsize\Large{22pt}\xviipt\@xviipt}
  34. \def\LARGE{\@setsize\LARGE{25pt}\xxpt\@xxpt}
  35. \def\huge{\@setsize\huge{30pt}\xxvpt\@xxvpt}
  36. \let\Huge=\huge
  37. \normalsize
  38. \oddsidemargin .25in
  39. \evensidemargin 1.25in
  40. \marginparwidth 1in
  41. \marginparsep 7pt
  42. \topmargin .73in
  43. \headheight 12pt
  44. \headsep .275in
  45. \topskip = 12pt
  46. \footskip 30pt
  47. \textheight = 36\baselineskip
  48. \advance\textheight by \topskip
  49. \textwidth 5in
  50. \columnsep 10pt
  51. \columnseprule 0pt
  52. \footnotesep 8.4pt
  53. \skip\footins 10.8pt plus 4pt minus 2pt
  54. \floatsep 14pt plus 2pt minus 4pt
  55. \textfloatsep 20pt plus 2pt minus 4pt
  56. \intextsep 14pt plus 4pt minus 4pt
  57. \@maxsep 20pt
  58. \dblfloatsep 14pt plus 2pt minus 4pt
  59. \dbltextfloatsep 20pt plus 2pt minus 4pt
  60. \@dblmaxsep 20pt
  61. \@fptop 0pt plus 1fil
  62. \@fpsep 10pt plus 2fil
  63. \@fpbot 0pt plus 1fil
  64. \@dblfptop 0pt plus 1fil
  65. \@dblfpsep 10pt plus 2fil% Space between floats on float page.
  66. \@dblfpbot 0pt plus 1fil
  67. \marginparpush 7pt
  68. \parskip 0pt plus 1pt
  69. \parindent 1.5em
  70. \partopsep 3pt plus 2pt minus 2pt
  71. \@lowpenalty 51
  72. \@medpenalty 151
  73. \@highpenalty 301
  74. \@beginparpenalty -\@lowpenalty
  75. \@endparpenalty -\@lowpenalty
  76. \@itempenalty -\@lowpenalty
  77. \def\@makechapterhead#1{%
  78. \vspace*{50\p@}%
  79. {\parindent \z@ \raggedright
  80. \ifnum \c@secnumdepth >\m@ne
  81. \huge\bf \@chapapp{} \thechapter
  82. \par
  83. \vskip 20\p@ \fi
  84. \Huge \bf
  85. #1\par
  86. \nobreak
  87. \vskip 40\p@
  88. }}
  89. \def\@makeschapterhead#1{%
  90. \vspace*{50\p@}%
  91. {\parindent \z@ \raggedright
  92. \Huge \bf
  93. #1\par
  94. \nobreak
  95. \vskip 40\p@
  96. }}
  97. \def\chapter{\cleardoublepage
  98. \thispagestyle{plain}%
  99. \global\@topnum\z@
  100. \@afterindentfalse
  101. \secdef\@chapter\@schapter}
  102. \def\@chapter[#1]#2{\ifnum \c@secnumdepth >\m@ne
  103. \refstepcounter{chapter}%
  104. \typeout{\@chapapp\space\thechapter.}%
  105. \addcontentsline{toc}{chapter}{\protect
  106. \numberline{\thechapter}#1}\else
  107. \addcontentsline{toc}{chapter}{#1}\fi
  108. \chaptermark{#1}%
  109. \addtocontents{lof}%
  110. {\protect\addvspace{10\p@}}% Adds between-chapter space
  111. \addtocontents{lot}%
  112. {\protect\addvspace{10\p@}}% to lists of figs & tables.
  113. \if@twocolumn
  114. \@topnewpage[\@makechapterhead{#2}]%
  115. \else \@makechapterhead{#2}%
  116. \@afterheading
  117. \fi}
  118. \def\@schapter#1{\if@twocolumn \@topnewpage[\@makeschapterhead{#1}]%
  119. \else \@makeschapterhead{#1}%
  120. \@afterheading\fi}
  121. \def\section{\@startsection {section}{1}{\z@}{-3.5ex plus-1ex minus
  122. -.2ex}{2.3ex plus.2ex}{\reset@font\Large\bf}}
  123. \def\subsection{\@startsection{subsection}{2}{\z@}{-3.25ex plus-1ex
  124. minus-.2ex}{1.5ex plus.2ex}{\reset@font\large\bf}}
  125. \def\subsubsection{\@startsection{subsubsection}{3}{\z@}{-3.25ex plus
  126. -1ex minus-.2ex}{1.5ex plus.2ex}{\reset@font\normalsize\bf}}
  127. \def\paragraph{\@startsection
  128. {paragraph}{4}{\z@}{3.25ex plus1ex minus.2ex}{-1em}{\reset@font
  129. \normalsize\bf}}
  130. \def\subparagraph{\@startsection
  131. {subparagraph}{4}{\parindent}{3.25ex plus1ex minus
  132. .2ex}{-1em}{\reset@font\normalsize\bf}}
  133. \def\chaptermark#1{}
  134. \setcounter{secnumdepth}{2}
  135. \def\appendix{\par
  136. \setcounter{chapter}{0}%
  137. \setcounter{section}{0}%
  138. \def\@chapapp{\appendixname}%
  139. \def\thechapter{\Alph{chapter}}}
  140. \leftmargini 2.5em
  141. \leftmarginii 2.2em
  142. \leftmarginiii 1.87em
  143. \leftmarginiv 1.7em
  144. \leftmarginv 1em
  145. \leftmarginvi 1em
  146. \leftmargin\leftmargini
  147. \labelsep .5em
  148. \labelwidth\leftmargini\advance\labelwidth-\labelsep
  149. \def\@listI{\leftmargin\leftmargini \parsep 5\p@ plus2.5\p@ minus\p@
  150. \topsep 10\p@ plus4\p@ minus6\p@
  151. \itemsep 5\p@ plus2.5\p@ minus\p@}
  152. \let\@listi\@listI
  153. \@listi
  154. \def\@listii{\leftmargin\leftmarginii
  155. \labelwidth\leftmarginii\advance\labelwidth-\labelsep
  156. \topsep 5\p@ plus2.5\p@ minus\p@
  157. \parsep 2.5\p@ plus\p@ minus\p@
  158. \itemsep \parsep}
  159. \def\@listiii{\leftmargin\leftmarginiii
  160. \labelwidth\leftmarginiii\advance\labelwidth-\labelsep
  161. \topsep 2.5\p@ plus\p@ minus\p@
  162. \parsep \z@ \partopsep \p@ plus\z@ minus\p@
  163. \itemsep \topsep}
  164. \def\@listiv{\leftmargin\leftmarginiv
  165. \labelwidth\leftmarginiv\advance\labelwidth-\labelsep}
  166. \def\@listv{\leftmargin\leftmarginv
  167. \labelwidth\leftmarginv\advance\labelwidth-\labelsep}
  168. \def\@listvi{\leftmargin\leftmarginvi
  169. \labelwidth\leftmarginvi\advance\labelwidth-\labelsep}
  170. \endinput