add mpw cover class
[librarian.git] / librarian / pdf / wl.cls
index 8aa0640..e5a4943 100644 (file)
@@ -12,6 +12,7 @@
 % a4paper,... - paper size as required by LaTeX
 % nowlfont - don't use customized WL font
 
 % a4paper,... - paper size as required by LaTeX
 % nowlfont - don't use customized WL font
 
+\RequirePackage{fixltx2e}
 \RequirePackage{setspace}
 \RequirePackage{type1cm}
 \DeclareOption{13pt}{%
 \RequirePackage{setspace}
 \RequirePackage{type1cm}
 \DeclareOption{13pt}{%
@@ -441,8 +442,10 @@ Letters={Uppercase}
 
 \newcommand{\ramka}[1]{%
 \par\vspace{1em}%
 
 \newcommand{\ramka}[1]{%
 \par\vspace{1em}%
+\edef\myindent{\the\parindent}%
 \noindent\myfbox{1em}{1em}{%
 \noindent\myfbox{1em}{1em}{%
-\parbox{\textwidth}{%
+\parbox{\dimexpr \textwidth - 2\fboxhsep - 2\fboxrule\relax}{%
+\setlength{\parindent}{\myindent}%
 #1%
 }}%
 \vspace{1em}%
 #1%
 }}%
 \vspace{1em}%
@@ -503,7 +506,7 @@ Letters={Uppercase}
 }
 
 \newcommand{\naglowekosoba}[1]{%
 }
 
 \newcommand{\naglowekosoba}[1]{%
-\par{\textsc{#1}}\nopagebreak%
+\par{\textsc{\MakeLowercase{#1}}}\nopagebreak%
 }
 \newcommand{\naglowekpodrozdzial}[1]{%
 \vspace{5ex}\par{#1}\nopagebreak%
 }
 \newcommand{\naglowekpodrozdzial}[1]{%
 \vspace{5ex}\par{#1}\nopagebreak%