home *** CD-ROM | disk | FTP | other *** search
/ Whiteline: Alpha / Whiteline Alpha.iso / tex / lindner / latex_pl.zoo / texinput / stdinput / stdinput.lzh / A4.STY next >
Encoding:
Text File  |  1989-02-22  |  4.0 KB  |  136 lines

  1. %%
  2. %% This is file `a4.sty' generated
  3. %% on <1991/2/13> with the docstrip utility (v1.1k).
  4. %%
  5. %% The original source file was `a4.doc'.
  6. %%
  7. %%
  8. %% Copyright (C) 1990 by Johanes Braams. All rights reserved.
  9. %%
  10. %% IMPORTANT NOTICE:
  11. %%
  12. %% You are not allowed to change this file. You may however copy this file
  13. %% to a file with a different name and then change the copy.
  14. %%
  15. %% You are NOT ALLOWED to distribute this file alone. You are NOT ALLOWED
  16. %% to take money for the distribution or use of this file (or a changed
  17. %% version) except for a nominal charge for copying etc.
  18. %%
  19. %% You are allowed to distribute this file under the condition that it is
  20. %% distributed together with all files mentioned below.
  21. %%
  22. %% If you receive only some of these files from someone, complain!
  23. %%
  24. %% Error Reports in case of UNCHANGED versions to
  25. %%
  26. %% J. Braams
  27. %% PTT Research, dr Neher Laboratorium
  28. %% P.O. box 421
  29. %% 2260 AK Leidschendam
  30. %% The Netherlands
  31. %% Internet: <JL_Braams@pttrnl.nl>
  32. %%
  33. \def\fileversion{1.2a}
  34. \def\filedate{30 Nov 90}
  35. \def\docdate {26 Feb 90}
  36. %% \CheckSum{134}
  37. %% \CharacterTable
  38. %%  {Upper-case    \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
  39. %%   Lower-case    \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
  40. %%   Digits        \0\1\2\3\4\5\6\7\8\9
  41. %%   Exclamation   \!     Double quote  \"     Hash (number) \#
  42. %%   Dollar        \$     Percent       \%     Ampersand     \&
  43. %%   Acute accent  \'     Left paren    \(     Right paren   \)
  44. %%   Asterisk      \*     Plus          \+     Comma         \,
  45. %%   Minus         \-     Point         \.     Solidus       \/
  46. %%   Colon         \:     Semicolon     \;     Less than     \<
  47. %%   Equals        \=     Greater than  \>     Question mark \?
  48. %%   Commercial at \@     Left bracket  \[     Backslash     \\
  49. %%   Right bracket \]     Circumflex    \^     Underscore    \_
  50. %%   Grave accent  \`     Left brace    \{     Vertical bar  \|
  51. %%   Right brace   \}     Tilde         \~}
  52. %%
  53. \wlog{Style option `A4' \fileversion\space<\filedate> (NP and JLB)}
  54. \wlog{English documentation\space\space\space<\docdate> (JLB)}
  55. \topmargin 0pt
  56. \ifcase \@ptsize
  57.     \textheight 53\baselineskip
  58. \or
  59.     \textheight 46\baselineskip
  60. \or
  61.     \textheight 42\baselineskip
  62. \fi
  63. \advance\textheight by \topskip
  64. \ifcase \@ptsize
  65.     \textwidth      5.00in
  66.     \marginparwidth 1.00in
  67.   \if@twoside
  68.     \oddsidemargin  0.55in
  69.     \evensidemargin 0.75in
  70.   \else
  71.     \oddsidemargin  0.55in
  72.     \evensidemargin 0.55in
  73.   \fi
  74. \or
  75.     \textwidth      5.20in
  76.     \marginparwidth 1.00in
  77.   \if@twoside
  78.     \oddsidemargin  0.45in
  79.     \evensidemargin 0.65in
  80.   \else
  81.     \oddsidemargin  0.45in
  82.     \evensidemargin 0.45in
  83.   \fi
  84. \or
  85.     \textwidth      5.70in
  86.     \marginparwidth 0.80in
  87.   \if@twoside
  88.     \oddsidemargin  0.20in
  89.     \evensidemargin 0.40in
  90.   \else
  91.     \oddsidemargin  0.20in
  92.     \evensidemargin 0.20in
  93.   \fi
  94. \fi
  95. \def\WideMargins{%
  96.   \newdimen\ExtraWidth
  97.   \ifcase \@ptsize
  98.     \ExtraWidth = 0.5in
  99.     \@widemargins
  100.   \or
  101.     \ExtraWidth = 0.5in
  102.     \@widemargins
  103.   \or
  104.     \ExtraWidth = 0.7in
  105.     \@widemargins
  106.   \fi\let\WideMargins\relax\let\@widemargins\relax}
  107. {\def\do{\noexpand\do\noexpand}
  108.  \xdef\@preamblecmds{\@preamblecmds \do\WideMargins}
  109. }
  110. \def\@widemargins{%
  111.     \global\advance\textwidth by -\ExtraWidth
  112.     \global\advance\marginparwidth by \ExtraWidth
  113.     \if@twoside
  114.       \tw@sidedwidemargins
  115.     \else
  116.       \@nesidedwidemargins
  117.     \fi}
  118. \def\tw@sidedwidemargins{%
  119.     \if@reversemargin
  120.       \@tempdima=\evensidemargin
  121.       \advance\@tempdima by -\oddsidemargin
  122.       \advance\oddsidemargin by \ExtraWidth
  123.       \advance\oddsidemargin by \@tempdima
  124.       \advance\evensidemargin by -\@tempdima
  125.     \else
  126.       \advance\evensidemargin by \ExtraWidth
  127.     \fi}
  128. \def\@nesidedwidemargins{%
  129.     \if@reversemargin
  130.       \advance\oddsidemargin by \ExtraWidth
  131.       \advance\evensidemargin by \ExtraWidth
  132.     \fi}
  133. \endinput
  134. %%
  135. %% End of file `a4.sty'.
  136.