summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/fjodor/fjodor.sty
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/fjodor/fjodor.sty')
-rw-r--r--macros/latex/contrib/fjodor/fjodor.sty203
1 files changed, 203 insertions, 0 deletions
diff --git a/macros/latex/contrib/fjodor/fjodor.sty b/macros/latex/contrib/fjodor/fjodor.sty
new file mode 100644
index 0000000000..7630515407
--- /dev/null
+++ b/macros/latex/contrib/fjodor/fjodor.sty
@@ -0,0 +1,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
+ \ No newline at end of file