
% 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}
}
\ProcessOptions\relax
    