summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/seminar/latex/sem-page.sty
blob: a013fcf3ad40956caff2b13b2ef191da7e21278d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
%% BEGIN sem-page.sty
\def\fileversion{1.0}
\def\filedate{93/04/01}
%%
%% Contains the page parameters for the `seminar' LaTeX document style.
%%
%% COPYRIGHT 1993, by Timothy Van Zandt, Timothy.VAN-ZANDT@insead.edu
%%
%% This file may be distributed and/or modified under the conditions of
%% the LaTeX Project Public License, either version 1.2 of this license
%% or (at your option) any later version.  The latest version of this
%% license is in:
%% 
%%    http://www.latex-project.org/lppl.txt
%% 
%% and version 1.2 or later is part of all distributions of LaTeX version
%% 1999/12/01 or later.
%%
%%
\def\slideleftmargin{.6in}
\def\sliderightmargin{.6in}
\def\slidetopmargin{.6in}
\def\slidebottommargin{.6in}
\ifarticle
  \ifportrait
    \twocolumn
    \sloppy
    \topmargin 0pt
    \headheight 15pt
    \headsep 25pt
    \footskip 30pt
    \footheight 15pt
    \textheight\paperwidth\relax
    \advance\textheight -1in
    \advance\textheight -\headsep
    \advance\textheight -\headheight
    \advance\textheight -\footskip
    \advance\textheight -\footheight
    \advance\textheight -.5in
    \textwidth\paperheight\relax
    \advance\textwidth by -2in
    \oddsidemargin 0pt
    \evensidemargin 0pt
    \leftmargini 2em
    \leftmarginv .5em
    \leftmarginvi .5em
    \columnsep  40pt
    \marginparwidth 0pt
    \marginparsep 0pt
  \else
    \textwidth 5.5in
    \oddsidemargin\paperwidth\relax
    \advance\oddsidemargin -\textwidth
    \divide\oddsidemargin 2
    \advance\oddsidemargin -1in
    \evensidemargin\oddsidemargin
    \if@twoside
      \advance\oddsidemargin -18pt
      \advance\evensidemargin 18pt
    \fi
    \topmargin -20pt
    \headheight 15pt
    \headsep 25pt
    \footskip 33pt
    \footheight 15pt
    \textheight\paperheight\relax
    \advance\textheight -1in
    \advance\textheight -\topmargin
    \advance\textheight -\headsep
    \advance\textheight -\headheight
    \advance\textheight -\footskip
    \advance\textheight -.5in
  \fi
\else
  \oddsidemargin 0pt
  \evensidemargin 0pt
  \marginparwidth 0pt
  \marginparsep 0pt
  \ifportrait
    \textwidth\paperwidth\relax
    \textheight\paperheight\relax
  \else
    \textwidth\paperheight\relax
    \textheight\paperwidth\relax
  \fi
  \advance\textwidth by -2in
  \topmargin -1in
  \headheight .5in
  \headsep .5in
  \advance\textheight by -2in
  \footskip .75in
  \footheight .25in
\fi
\endinput
%% END sem-page.sty