home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fonts 1 / freshfonts1.bin / bbs / programs / amiga / pastex13.lha / Macros / LATEX / DOC / rep12.doc < prev    next >
Text File  |  1992-03-19  |  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{14.5pt}\xiipt\@xiipt
  35. \abovedisplayskip 12\p@ plus3\p@ minus7\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{13.6pt}\xipt\@xipt
  42. \abovedisplayskip 11\p@ plus3\p@ minus6\p@
  43. \belowdisplayskip \abovedisplayskip
  44. \abovedisplayshortskip  \z@ plus3\p@   
  45. \belowdisplayshortskip  6.5\p@ plus3.5\p@ minus3\p@
  46. \def\@listi{\leftmargin\leftmargini %% Added 22 Dec 87
  47. \parsep 4.5\p@ plus2\p@ minus\p@
  48.             \itemsep \parsep
  49.             \topsep 9\p@ plus3\p@ minus5\p@}}
  50.  
  51. \def\footnotesize{\@setsize\footnotesize{12pt}\xpt\@xpt
  52. \abovedisplayskip 10\p@ plus2\p@ minus5\p@
  53. \belowdisplayskip \abovedisplayskip
  54. \abovedisplayshortskip  \z@ plus3\p@   
  55. \belowdisplayshortskip  6\p@ plus3\p@ minus3\p@
  56. \def\@listi{\leftmargin\leftmargini %% Added 22 Dec 87
  57. \topsep 6\p@ plus2\p@ minus2\p@\parsep 3\p@ plus2\p@ minus\p@
  58. \itemsep \parsep}}
  59.  
  60. \def\scriptsize{\@setsize\scriptsize{9.5pt}\viiipt\@viiipt}
  61. \def\tiny{\@setsize\tiny{7pt}\vipt\@vipt}
  62. \def\large{\@setsize\large{18pt}\xivpt\@xivpt}
  63. \def\Large{\@setsize\Large{22pt}\xviipt\@xviipt}
  64. \def\LARGE{\@setsize\LARGE{25pt}\xxpt\@xxpt}
  65. \def\huge{\@setsize\huge{30pt}\xxvpt\@xxvpt}
  66. \let\Huge=\huge
  67.  
  68. \normalsize  % Choose the normalsize font.
  69.  
  70.  
  71. %  ****************************************
  72. %  *            PAGE LAYOUT               *
  73. %  ****************************************
  74. %
  75. % All margin dimensions measured from a point one inch from top and side
  76. % of page.  
  77.  
  78. % SIDE MARGINS:
  79. \if@twoside               % Values for two-sided printing:
  80.    \oddsidemargin 21pt    %   Left margin on odd-numbered pages.
  81.    \evensidemargin 59pt   %   Left margin on even-numbered pages.
  82.    \marginparwidth 85pt   %   Width of marginal notes.
  83. \else                     % Values for one-sided printing:
  84.    \oddsidemargin 39.5pt  %   Note that \oddsidemargin = \evensidemargin
  85.    \evensidemargin 39.5pt
  86.    \marginparwidth 68pt 
  87. \fi
  88. \marginparsep 10pt        % Horizontal space between outer margin and 
  89.                           % marginal note
  90.  
  91.  
  92. % VERTICAL SPACING:        
  93.                          % Top of page:
  94. \topmargin 27pt          %    Nominal distance from top of page to top
  95.                          %    of box containing running head.
  96. \headheight 12pt         %    Height of box containing running head.
  97. \headsep 25pt            %    Space between running head and text.
  98. \topskip = 12pt          %    '\baselineskip' for first line of page.
  99.                          % Bottom of page:
  100. \footskip 30pt           %    Distance from baseline of box containing
  101.                          %    foot to baseline of last line of text.
  102.  
  103.  
  104. % DIMENSION OF TEXT:
  105. % 24 Jun 86: changed to explicitly compute \textheight to avoid
  106. % roundoff.  The value of the multiplier was calculated as the floor
  107. % of the old \textheight minus \topskip, divided by \baselineskip for
  108. % \normalsize.  The old value of \textheight was 536.5pt.  \textheight
  109. % is the height of text (including footnotes and figures, excluding
  110. % running head and foot).
  111.  
  112. \textheight = 36\baselineskip
  113. \advance\textheight by \topskip
  114. \textwidth 390pt         % Width of text line.
  115.                          % For two-column mode: 
  116. \columnsep 10pt          %    Space between columns 
  117. \columnseprule 0pt       %    Width of rule between columns.
  118.  
  119. % A \raggedbottom command causes 'ragged bottom' pages: pages set to
  120. % natural height instead of being stretched to exactly \textheight.
  121.  
  122. % FOOTNOTES:
  123.  
  124. \footnotesep 8.4pt    % Height of strut placed at the beginning of every
  125.                       % footnote = height of normal \footnotesize strut,
  126.                       % so no extra space between footnotes.
  127.  
  128. \skip\footins 10.8pt plus 4pt minus 2pt  % Space between last line of
  129.                                          % text and top of first
  130.                                          % footnote.
  131.  
  132. % FLOATS: (a float is something like a figure or table)
  133. %
  134. %  FOR FLOATS ON A TEXT PAGE:
  135. %
  136. %    ONE-COLUMN MODE OR SINGLE-COLUMN FLOATS IN TWO-COLUMN MODE:
  137. \floatsep 14pt plus 2pt minus 4pt        % Space between adjacent floats
  138.                                          % moved to top or bottom of
  139.                                          % text page.
  140. \textfloatsep 20pt plus 2pt minus 4pt    % Space between main text and
  141.                                          % floats at top or bottom of
  142.                                          % page.
  143. \intextsep 14pt plus 4pt minus 4pt       % Space between in-text figures
  144.                                          % and text.
  145. \@maxsep 20pt                            % The maximum of \floatsep, 
  146.                                          % \textfloatsep and \intextsep
  147.                                          % (minus the stretch and
  148.                                          % shrink).
  149. %    TWO-COLUMN FLOATS IN TWO-COLUMN MODE:
  150. \dblfloatsep 14pt plus 2pt minus 4pt     % Same as \floatsep for
  151.                                          % double-column figures in
  152.                                          % two-column mode.
  153. \dbltextfloatsep 20pt plus 2pt minus 4pt % \textfloatsep for
  154.                                          % double-column floats.
  155. \@dblmaxsep 20pt                         % The maximum of \dblfloatsep
  156.                                          % and \dbltexfloatsep.
  157.  
  158. %  FOR FLOATS ON A SEPARATE FLOAT PAGE OR COLUMN:
  159. %    ONE-COLUMN MODE OR SINGLE-COLUMN FLOATS IN TWO-COLUMN MODE:
  160. \@fptop 0pt plus 1fil    % Stretch at top of float page/column. (Must
  161.                          % be 0pt plus ...)
  162. \@fpsep 10pt plus 2fil   % Space between floats on float page/column.
  163. \@fpbot 0pt plus 1fil    % Stretch at bottom of float page/column.
  164.                          % (Must be 0pt plus ... )
  165.  
  166. %   DOUBLE-COLUMN FLOATS IN TWO-COLUMN MODE.
  167. \@dblfptop 0pt plus 1fil % Stretch at top of float page. (Must be
  168.                          % 0pt plus ...)
  169. \@dblfpsep 10pt plus 2fil% Space between floats on float page.
  170. \@dblfpbot 0pt plus 1fil % Stretch at bottom of float page. (Must be
  171.                          % 0pt plus ... )
  172. % MARGINAL NOTES:
  173. %
  174. \marginparpush 7pt       % Minimum vertical separation between two
  175.                          % marginal notes.
  176.  
  177.  
  178. %  ****************************************
  179. %  *           PARAGRAPHING               *
  180. %  ****************************************
  181. %
  182. \parskip 0pt plus 1pt              % Extra vertical space between
  183.                                    % paragraphs.
  184. \parindent 1.5em                   % Width of paragraph indentation.
  185. %\topsep 10pt plus 4pt minus 6pt   % Extra vertical space, in addition
  186.                                    % to \parskip, added above and below
  187.                                    % list and paragraphing environments.
  188. \partopsep 3pt plus 2pt minus 2pt  % Extra vertical space, in addition
  189.