X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/c41ce9153a6d7cc30b4f727dc71db3eb3d61c7bd..5204f573cb56433b53b1bd5a2daa1a467ab497b5:/librarian/pdf/wl.cls

diff --git a/librarian/pdf/wl.cls b/librarian/pdf/wl.cls
index 8aa0640..eaaebcc 100644
--- a/librarian/pdf/wl.cls
+++ b/librarian/pdf/wl.cls
@@ -12,6 +12,7 @@
 % a4paper,... - paper size as required by LaTeX
 % nowlfont - don't use customized WL font
 
+\RequirePackage{fixltx2e}
 \RequirePackage{setspace}
 \RequirePackage{type1cm}
 \DeclareOption{13pt}{%
@@ -441,8 +442,10 @@ Letters={Uppercase}
 
 \newcommand{\ramka}[1]{%
 \par\vspace{1em}%
+\edef\myindent{\the\parindent}%
 \noindent\myfbox{1em}{1em}{%
-\parbox{\textwidth}{%
+\parbox{\dimexpr \textwidth - 2\fboxhsep - 2\fboxrule\relax}{%
+\setlength{\parindent}{\myindent}%
 #1%
 }}%
 \vspace{1em}%
