summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/fjodor/fjodor.sty
blob: 7630515407f87708202dbcc5b10e82e8d948bb0f (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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203

% This package produce a nice layout 
% and typeout for a small book. 
% Zoran T. Filipovi\'{c}.

\ProvidesPackage{fjodor}
\DeclareOption{fjodor}{
\stockaiv \pagemlargecrownvo 
%\stockmlargecrownvo \pagemlargecrownvo 
\textwidth = 9.5cm \textheight = 15.5cm 
\setlrmargins{1.5cm}{*}{*} \setulmargins{2.5cm}{*}{*}
%\setlength{\textheight}{34\baselineskip}
\trimFrame
\setheadfoot{\onelineskip}{2\onelineskip}
\checkandfixthelayout[lines] 
\checkthelayout[fixed] 
\fixthelayout 
\pagestyle{plain}
%%\makeevenhead{plain}{\thepage}{\scriptsize{% put name of writers UPERCASSE}}{}
%%\makeoddhead{plain}{}{\scriptsize{% put name of book UPERCASSE}}{\thepage}
\makeevenfoot{plain}{}{}{}
\makeoddfoot{plain}{}{}{}
\aliaspagestyle{chapter}{empty}
}
\DeclareOption{katajev}{% 11pt cyrillic
\stockaiv  
 \paperheight = 17.5cm \paperwidth = 11.7cm
 \textwidth = 9.1cm \textheight = 14.3cm
 \settypeblocksize{\textheight}{\textwidth}{r}
 \setlrmargins{1.3cm}{*}{*} \setulmargins{1.3cm}{*}{*}
\trimFrame
\setlength{\textheight}{34\baselineskip}
\setheadfoot{\onelineskip}{2\onelineskip}
\checkandfixthelayout[lines] 
\checkthelayout[fixed] 
\fixthelayout 
\pagestyle{plain} 
\makeevenfoot{plain}{\thepage}{}{}
\makeoddfoot{plain}{}{}{\thepage}
}
\DeclareOption{hese}{
\stockaiv 
 \paperheight = 19.8cm \paperwidth = 14cm
 \textwidth = 9.8cm \textheight = 14.3cm
 \settypeblocksize{\textheight}{\textwidth}{r}
 \setlrmargins{1.75cm}{*}{*} \setulmargins{2.1cm}{*}{*}
\trimFrame
\setlength{\textheight}{34\baselineskip} 
\setheadfoot{\onelineskip}{2\onelineskip} % za 10pt 
\checkandfixthelayout[lines] 
\checkthelayout[fixed] 
\fixthelayout 
\pagestyle{plain} 
\makeevenfoot{plain}{}{\thepage}{}
\makeoddfoot{plain}{}{\thepage}{}
}
\DeclareOption{puskin}{
\stockaiv 
 \paperheight = 19.8cm \paperwidth = 14cm
 \textwidth = 9.9cm \textheight = 15.2cm
 \settypeblocksize{\textheight}{\textwidth}{r}
 \setlrmargins{2cm}{*}{*} \setulmargins{2.5cm}{*}{*}
\trimFrame
%\setlength{\textheight}{34\baselineskip} 
\setheadfoot{\onelineskip}{2\onelineskip} % za 10pt 
\checkandfixthelayout[lines] 
\checkthelayout[fixed] 
\fixthelayout 
\pagestyle{plain} 
\makeevenfoot{plain}{}{\thepage}{}
\makeoddfoot{plain}{}{\thepage}{}
}
\DeclareOption{ernest}{% 10pt
\stockaiv 
 \paperheight = 19cm \paperwidth = 12cm
 \textwidth = 9cm \textheight = 14.5cm
 \settypeblocksize{\textheight}{\textwidth}{r}
 \setlrmargins{1.3cm}{*}{*} \setulmargins{1.7cm}{*}{*}
 \trimFrame
 \setlength{\textheight}{35\baselineskip} 
 \setheadfoot{\onelineskip}{2\onelineskip}
  \checkandfixthelayout[lines]
  \checkthelayout[fixed] \fixthelayout
\pagestyle{plain} 
\makeevenfoot{plain}{\thepage}{}{}
\makeoddfoot{plain}{}{}{\thepage}
}
\DeclareOption{viktor}{% 10pt
\stockaiv 
 \paperheight = 19cm \paperwidth = 12cm
 \textwidth = 9.4cm \textheight = 15.04cm
 \settypeblocksize{\textheight}{\textwidth}{r}
 \setlrmargins{1cm}{*}{*} \setulmargins{1.4cm}{*}{*}
 \trimFrame
\setlength{\textheight}{36\baselineskip} 
\setheadfoot{\onelineskip}{2\onelineskip}
\checkandfixthelayout[lines]
\checkthelayout[fixed] \fixthelayout
\baselineskip\onelineskip
\pagestyle{plain} 
\makeevenfoot{plain}{\itshape\thepage}{}{}
\makeoddfoot{plain}{}{}{\itshape\thepage}
}
\DeclareOption{remark}{
\stockaiv 
 \paperheight = 19.5cm \paperwidth = 13.5cm
 \textwidth = 9.9cm \textheight = 15.4cm
 \settypeblocksize{\textheight}{\textwidth}{r}
 \setlrmargins{1.3cm}{*}{*} \setulmargins{1.5cm}{*}{*}
 \trimFrame
\setlength{\textheight}{37\baselineskip} 
\setheadfoot{\onelineskip}{2\onelineskip}
\checkandfixthelayout[lines]
\checkthelayout[fixed] \fixthelayout
\baselineskip\onelineskip
\pagestyle{plain} 
\makeevenfoot{plain}{\thepage}{}{}
\makeoddfoot{plain}{}{}{\thepage}
}
\DeclareOption{tehnicar}{% 9pt
\stockaiv 
 \paperheight = 20cm \paperwidth = 14cm
 \textwidth = 10cm \textheight = 16cm
 \settypeblocksize{\textheight}{\textwidth}{r}
 \setlrmargins{1.5cm}{*}{*} \setulmargins{1.7cm}{*}{*}
 \trimFrame
\setlength{\textheight}{46\baselineskip} 
\setheadfoot{\onelineskip}{2\onelineskip}
\checkandfixthelayout[lines]
\checkthelayout[fixed] \fixthelayout
\baselineskip\onelineskip
\pagestyle{plain} 
\makeevenfoot{plain}{\thepage}{}{}
\makeoddfoot{plain}{}{}{\thepage}
}
\DeclareOption{ulro}{% 10pt
\stockaiv 
 \paperheight = 20cm \paperwidth = 14cm
 \textwidth = 9.8cm \textheight = 15.2cm
 \settypeblocksize{\textheight}{\textwidth}{r}
 \setlrmargins{2cm}{*}{*} \setulmargins{2cm}{*}{*}
 \trimFrame
\setlength{\textheight}{37\baselineskip} 
\setheadfoot{\onelineskip}{2\onelineskip}
\checkandfixthelayout[lines]
\checkthelayout[fixed] \fixthelayout
\baselineskip\onelineskip
\pagestyle{plain} 
\makeevenfoot{plain}{\rule{2.5em}{0.4pt} \vfill \thepage}{}{}
\makeoddfoot{plain}{}{}{\rule{2.5em}{0.4pt} \vfill \thepage}
}
\DeclareOption{aristotel}{% 10pt
\stockaiv 
 \paperheight = 20.8cm \paperwidth = 13.7cm
 \textwidth = 8.1cm \textheight = 16.7cm
 \settypeblocksize{\textheight}{\textwidth}{r}
 \setlrmargins{2.7cm}{*}{*} \setulmargins{2cm}{*}{*}
 \trimFrame
\setlength{\textheight}{40\baselineskip} 
\setheadfoot{\onelineskip}{2\onelineskip}
\checkandfixthelayout[lines]
\checkthelayout[fixed] \fixthelayout
\baselineskip\onelineskip
\pagestyle{plain} 
\makeevenfoot{plain}{\thepage}{}{}
\makeoddfoot{plain}{}{}{\thepage}
}
\DeclareOption{jeager}{% 10pt
\stockaiv 
 \paperheight = 24.1cm \paperwidth = 15.6cm
 \textwidth = 10.4cm \textheight = 16.9cm
 \settypeblocksize{\textheight}{\textwidth}{r}
 \setlrmargins{2.3cm}{*}{*} \setulmargins{3cm}{*}{*}
 \trimFrame
\setlength{\textheight}{41\baselineskip} 
\setheadfoot{\onelineskip}{\onelineskip}
\checkandfixthelayout[lines]
\checkthelayout[fixed] \fixthelayout
\baselineskip\onelineskip
\pagestyle{plain} 
\makeevenhead{plain}{}{--- \thepage\space ---}{}
\makeoddhead{plain}{}{--- \thepage\space ---}{}
\makeevenfoot{plain}{}{}{}
\makeoddfoot{plain}{}{}{}
}
\DeclareOption{tesla}{% 12pt
\stockaiv 
 \paperheight = 27.7cm \paperwidth = 20.5cm
 \textwidth = 13.5cm \textheight = 21.0cm
 \settypeblocksize{\textheight}{\textwidth}{r}
 \setlrmargins{2.6cm}{*}{*} \setulmargins{2.6cm}{*}{*}
 \trimFrame
\setlength{\textheight}{41\baselineskip} 
\setheadfoot{\onelineskip}{2\onelineskip}
\checkandfixthelayout[lines]
\checkthelayout[fixed] \fixthelayout
\baselineskip\onelineskip
\pagestyle{plain} 
\makeevenfoot{plain}{}{\thepage}{}
\makeoddfoot{plain}{}{\thepage}{}
}
\ProcessOptions\relax