% a4paper,... - paper size as required by LaTeX
% nowlfont - don't use customized WL font
+\RequirePackage{fixltx2e}
\RequirePackage{setspace}
\RequirePackage{type1cm}
\DeclareOption{13pt}{%
\vspace{.6em}
\sourceinfo
+ \publisherinfo
+
\description
\vspace{.6em}
\coverby
\fi
+ \ifdefined\isbn
+ \vspace{.6em}
+ \isbn
+ \fi
+
\vspace{.6em}
\emph{Wesprzyj Wolne Lektury!}
\end{em}%
}
+\newlength{\fboxhsep}
+\newlength{\fboxvsep}
+
+\newlength{\fboxtoprule}
+\newlength{\fboxbottomrule}
+\newlength{\fboxleftrule}
+\newlength{\fboxrightrule}
+
+\setlength{\fboxhsep}{5\fboxsep}
+\setlength{\fboxvsep}{20\fboxsep}
+
+\setlength{\fboxtoprule}{\fboxrule}
+\setlength{\fboxleftrule}{\fboxrule}
+\setlength{\fboxrightrule}{\fboxrule}
+\setlength{\fboxbottomrule}{\fboxrule}
+
+
+
+\def\@frameb@xother#1{%
+ \@tempdima\fboxtoprule
+ \advance\@tempdima\fboxvsep
+ \advance\@tempdima\dp\@tempboxa
+ \hbox{%
+ \lower\@tempdima\hbox{%
+ \vbox{%
+ \hrule\@height\fboxtoprule
+ \hbox{%
+ \vrule\@width\fboxleftrule
+ #1%
+ \vbox{%
+ \vskip\fboxvsep
+ \box\@tempboxa
+ \vskip\fboxvsep}%
+ #1%
+ \vrule\@width\fboxrightrule}%
+ \hrule\@height\fboxbottomrule}%
+ }%
+ }%
+}
+
+
+\long\def\fboxother#1{%
+ \leavevmode
+ \setbox\@tempboxa\hbox{%
+ \color@begingroup
+ \kern\fboxhsep{#1}\kern\fboxhsep
+ \color@endgroup}%
+ \@frameb@xother\relax}
+
+\newcommand{\myfbox}[3]{%
+ \begingroup
+ \setlength{\fboxhsep}{#1}
+ \setlength{\fboxvsep}{#2}
+ \fboxother{#3}
+
+ \endgroup
+}
+
+\newcommand{\ramka}[1]{%
+\par\vspace{1em}%
+\edef\myindent{\the\parindent}%
+\noindent\myfbox{1em}{1em}{%
+\parbox{\dimexpr \textwidth - 2\fboxhsep - 2\fboxrule\relax}{%
+\setlength{\parindent}{\myindent}%
+#1%
+}}%
+\vspace{1em}%
+}
+
\newcommand{\dlugicytat}[1]{%
\begin{quotation}%
#1%
\newcommand{\werswciety}[2][1em]{%
\Nw\hspace*{#1}#2%
}
+\newcommand{\wersdoprawej}[1]{%
+\Nw\hspace*{\fill}#1%
+}
\ifshowfootnotes
\newcommand{\pa}[1]{\NoCaseChange{\footnote{#1 [przypis autorski]}}}
\newcommand{\wyroznienie}[1]{%
\emph{#1}%
}
+\newcommand{\indeksdolny}[1]{%
+\textsubscript{#1}%
+}
+\newcommand{\wiekszeodstepy}[1]{%
+\spaceskip 3\fontdimen2\font plus 3\fontdimen3\font minus 3\fontdimen4\font \relax%
+#1%
+\spaceskip \fontdimen2\font plus \fontdimen3\font minus \fontdimen4\font \relax%
+}
\newcommand{\osoba}[1]{%
#1%