home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 3 / PDCD_3.iso / tex / texextr2 / !TeX / Misc / LaTeX / doc / rep11 < prev    next >
Text File  |  1992-01-16  |  17KB  |  419 lines

  1. % REPORT STANDARD DOCUMENT STYLE -- Released 14 Jan 1992
  2. %    for LaTeX version 2.09
  3. % Copyright (C) 1992 by Leslie Lamport
  4.  
  5.  
  6. %  ****************************************
  7. %  *               FONTS                  *
  8. %  ****************************************
  9. %
  10.  
  11. \lineskip 1pt            % \lineskip is 1pt for all font sizes.
  12. \normallineskip 1pt
  13. \def\baselinestretch{1}
  14.  
  15. % Each size-changing command \SIZE executes the command
  16. %        \@setsize\SIZE{BASELINESKIP}\FONTSIZE\@FONTSIZE
  17. % where:
  18. %   BASELINESKIP = Normal value of \baselineskip for that size. (Actual
  19. %                  value will be \baselinestretch * BASELINESKIP.)
  20. %
  21. %  \FONTSIZE     = Name of font-size command.  The currently available
  22. %                  (preloaded) font sizes are: \vpt (5pt), \vipt (6pt),
  23. %                  \viipt (etc.), \viiipt, \ixpt, \xpt, \xipt, \xiipt,
  24. %                  \xivpt, \xviipt, \xxpt, \xxvpt.
  25. %  \@FONTSIZE    = The same as the font-size command except with an
  26. %                  '@' in front---e.g., if \FONTSIZE = \xivpt then
  27. %                  \@FONTSIZE = \@xivpt.
  28. %
  29. % For reasons of efficiency that needn't concern the designer,
  30. % the document style defines \@normalsize instead of \normalsize.
  31. % This is done only for \normalsize, not for any other size-changing
  32. % commands.
  33.  
  34. \def\@normalsize{\@setsize\normalsize{13.6pt}\xipt\@xipt
  35. \abovedisplayskip 11\p@ plus3\p@ minus6\p@
  36. \belowdisplayskip \abovedisplayskip
  37. \abovedisplayshortskip  \z@ plus3\p@   
  38. \belowdisplayshortskip  6.5\p@ plus3.5\p@ minus3\p@
  39. \let\@listi\@listI}   % Setting of \@listi added 9 Jun 87
  40.  
  41. \def\small{\@setsize\small{12pt}\xpt\@xpt
  42. \abovedisplayskip 10\p@ plus2\p@ minus5\p@
  43. \belowdisplayskip \abovedisplayskip
  44. \abovedisplayshortskip  \z@ plus3\p@   
  45. \belowdisplayshortskip  6\p@ plus3\p@ minus3\p@
  46. \def\@listi{\leftmargin\leftmargini %% Added 22 Dec 87
  47. \topsep 6\p@ plus2\p@ minus2\p@\parsep 3\p@ plus2\p@ minus\p@
  48. \itemsep \parsep}}
  49.  
  50. \def\footnotesize{\@setsize\footnotesize{11pt}\ixpt\@ixpt
  51. \abovedisplayskip 8\p@ plus2\p@ minus4\p@
  52. \belowdisplayskip \abovedisplayskip
  53. \abovedisplayshortskip \z@ plus\p@
  54. \belowdisplayshortskip 4\p@ plus2\p@ minus2\p@
  55. \def\@listi{\leftmargin\leftmargini %% Added 22 Dec 87
  56. \topsep 4\p@ plus2\p@ minus2\p@\parsep 2\p@ plus\p@ minus\p@
  57. \itemsep \parsep}}
  58.  
  59. \def\scriptsize{\@setsize\scriptsize{9.5pt}\viiipt\@viiipt}
  60. \def\tiny{\@setsize\tiny{7pt}\vipt\@vipt}
  61. \def\large{\@setsize\large{14pt}\xiipt\@xiipt}
  62. \def\Large{\@setsize\Large{18pt}\xivpt\@xivpt}
  63. \def\LARGE{\@setsize\LARGE{22pt}\xviipt\@xviipt}
  64. \def\huge{\@setsize\huge{25pt}\xxpt\@xxpt}
  65. \def\Huge{\@setsize\Huge{30pt}\xxvpt\@xxvpt}
  66.  
  67. \normalsize  % Choose the normalsize font.
  68.  
  69.  
  70. %  ****************************************
  71. %  *            PAGE LAYOUT               *
  72. %  ****************************************
  73. %
  74. % All margin dimensions measured from a point one inch from top and side
  75. % of page.  
  76.  
  77. % SIDE MARGINS:
  78. \if@twoside               % Values for two-sided printing:
  79.    \oddsidemargin 36pt    %   Left margin on odd-numbered pages.
  80.    \evensidemargin 74pt   %   Left margin on even-numbered pages.
  81.    \marginparwidth 100pt  %   Width of marginal notes.
  82. \else                     % Values for one-sided printing:
  83.    \oddsidemargin 54pt    %   Note that \oddsidemargin = \evensidemargin
  84.    \evensidemargin 54pt
  85.    \marginparwidth 83pt 
  86. \fi
  87. \marginparsep 10pt        % Horizontal space between outer margin and 
  88.                           % marginal note
  89.  
  90.  
  91. % VERTICAL SPACING:        
  92.                         % Top of page:
  93. \topmargin 27pt         %    Nominal distance from top of page to top of
  94.                         %    box containing running head.
  95. \headheight 12pt        %    Height of box containing running head.
  96. \headsep 25pt           %    Space between running head and text.
  97. \topskip = 11pt         %    '\baselineskip' for first line of page.
  98.                         % Bottom of page:
  99. \footskip 30pt          %    Distance from baseline of box containing
  100.                         %    foot to baseline of last line of text.
  101.  
  102.  
  103. % DIMENSION OF TEXT:
  104. % 24 Jun 86: changed to explicitly compute \textheight to avoid
  105. % roundoff.  The value of the multiplier was calculated as the floor
  106. % of the old \textheight minus \topskip, divided by \baselineskip for
  107. % \normalsize.  The old value of \textheight was 530.4pt.  \textheight
  108. % is the height of text (including footnotes and figures, excluding
  109. % running head and foot).
  110.  
  111. \textheight = 38\baselineskip
  112. \advance\textheight by \topskip
  113. \textwidth 360pt         % Width of text line.
  114.                          % For two-column mode: 
  115. \columnsep 10pt          %    Space between columns 
  116. \columnseprule 0pt       %    Width of rule between columns.
  117.  
  118. % A \raggedbottom command causes 'ragged bottom' pages: pages set to
  119. % natural height instead of being stretched to exactly \textheight.
  120.  
  121. % FOOTNOTES:
  122.  
  123. \footnotesep 7.7pt    % Height of strut placed at the beginning of every
  124.                       % footnote = height of normal \footnotesize strut,
  125.                       % so no extra space between footnotes.
  126.  
  127. \skip\footins 10pt plus 4pt minus 2pt  % Space between last line of text
  128.                                        % and top of first footnote.
  129.  
  130. % FLOATS: (a float is something like a figure or table)
  131. %
  132. %  FOR FLOATS ON A TEXT PAGE:
  133. %
  134. %    ONE-COLUMN MODE OR SINGLE-COLUMN FLOATS IN TWO-COLUMN MODE:
  135. \floatsep 12pt plus 2pt minus 2pt        % Space between adjacent floats
  136.                                          % moved to top or bottom of
  137.                                          % text page.
  138. \textfloatsep 20pt plus 2pt minus 4pt    % Space between main text and
  139.                                          % floats at top or bottom of
  140.                                          % page.
  141. \intextsep 12pt plus 2pt minus 2pt       % Space between in-text figures
  142.                                          % and text.
  143. \@maxsep 20pt                            % The maximum of \floatsep, 
  144.                                          % \textfloatsep and \intextsep
  145.                                          % (minus the stretch and
  146.                                          % shrink).
  147. %    TWO-COLUMN FLOATS IN TWO-COLUMN MODE:
  148. \dblfloatsep 12pt plus 2pt minus 2pt     % Same as \floatsep for
  149.                                          % double-column figures in
  150.                                          % two-column mode.
  151. \dbltextfloatsep 20pt plus 2pt minus 4pt % \textfloatsep for
  152.                                          % double-column floats.
  153. \@dblmaxsep 20pt                         % The maximum of \dblfloatsep
  154.                                          % and \dbltexfloatsep.
  155.  
  156. %  FOR FLOATS ON A SEPARATE FLOAT PAGE OR COLUMN:
  157. %    ONE-COLUMN MODE OR SINGLE-COLUMN FLOATS IN TWO-COLUMN MODE:
  158. \@fptop 0pt plus 1fil    % Stretch at top of float page/column. (Must
  159.                          % be 0pt plus ...)
  160. \@fpsep 8pt plus 2fil    % Space between floats on float page/column.
  161. \@fpbot 0pt plus 1fil    % Stretch at bottom of float page/column. (Must
  162.                          % be 0pt plus ... )
  163.  
  164. %   DOUBLE-COLUMN FLOATS IN TWO-COLUMN MODE.
  165. \@dblfptop 0pt plus 1fil % Stretch at top of float page. (Must be 0pt
  166.                          % plus ...)
  167. \@dblfpsep 8pt plus 2fil % Space between floats on float page.
  168. \@dblfpbot 0pt plus 1fil % Stretch at bottom of float page. (Must be 
  169.                          % 0pt plus ... )
  170. % MARGINAL NOTES:
  171. %
  172. \marginparpush 5pt       % Minimum vertical separation between two
  173.                          % marginal notes.
  174.  
  175.  
  176. %  ****************************************
  177. %  *           PARAGRAPHING               *
  178. %  ****************************************
  179. %
  180. \parskip 0pt plus 1pt              % Extra vertical space between
  181.                                    % paragraphs.
  182. \parindent 17pt                    % Width of paragraph indentation.
  183. %\topsep 9pt plus 3pt minus 5pt    % Extra vertical space, in addition
  184.                                    % to \parskip, added above and below
  185.                                    % list and paragraphing environments.
  186. \partopsep 3pt plus 1pt minus 2pt  % Extra vertical space, in addition
  187.                                    % to \parskip and \topsep, added when
  188.