X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/266af096e1dda491ca52be4875bdec5a3315298d..a5178216e32b433b9be6311c2d5f7a6e6fa1b1c5:/librarian/pdf/wl.cls?ds=inline diff --git a/librarian/pdf/wl.cls b/librarian/pdf/wl.cls index a747754..8e7fbe2 100644 --- a/librarian/pdf/wl.cls +++ b/librarian/pdf/wl.cls @@ -218,8 +218,8 @@ Letters={SmallCaps,UppercaseSmallCaps} \color{theme} \noindent \begin{minipage}[t]{.65\textwidth}\vspace{0pt} - %\href{http://prawokultury.pl}{\xbox{\includegraphics[width=1in]{prawokultury-logo.png}}} - \href{http://koed.org.pl}{\xbox{\includegraphics[height=.55in]{koed-logo.eps}}} + \href{http://prawokultury.pl}{\xbox{\includegraphics[width=1in]{prawokultury-logo.png}}} + %\href{http://koed.org.pl}{\xbox{\includegraphics[height=.55in]{koed-logo.eps}}} \end{minipage} \noindent \begin{minipage}[t]{.35\textwidth}\vspace{0pt} \raggedright @@ -350,11 +350,73 @@ Letters={Uppercase} \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]{% -\noindent\fbox{% -\parbox{\textwidth}{% +\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]{%