X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/3be94db3c5278c3461875cb06e78d92a468a0da4..c220cf2765a0c7bef4094b2628a20f45d99f6068:/librarian/pdf/wl.cls?ds=sidebyside diff --git a/librarian/pdf/wl.cls b/librarian/pdf/wl.cls index 5603a0e..e5a4943 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}{% @@ -440,10 +441,14 @@ 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}% } \newcommand{\dlugicytat}[1]{% @@ -501,7 +506,7 @@ Letters={Uppercase} } \newcommand{\naglowekosoba}[1]{% -\par{\textsc{#1}}\nopagebreak% +\par{\textsc{\MakeLowercase{#1}}}\nopagebreak% } \newcommand{\naglowekpodrozdzial}[1]{% \vspace{5ex}\par{#1}\nopagebreak%