X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/55e8586118a522d262a7b337ccf8a83cfb458054..34e20784e9a853f6c9d03fbbec61491b55d95bd6:/librarian/pdf/wl.cls?ds=sidebyside diff --git a/librarian/pdf/wl.cls b/librarian/pdf/wl.cls index 2ddcc71..cb605a1 100644 --- a/librarian/pdf/wl.cls +++ b/librarian/pdf/wl.cls @@ -14,6 +14,8 @@ \RequirePackage{setspace} \RequirePackage{type1cm} +\RequirePackage{amssymb} +\RequirePackage{amsmath} \DeclareOption{13pt}{% \AtEndOfClass{% % font size definitions, similar to ones in /usr/share/texmf-texlive/tex/latex/base/ @@ -65,14 +67,16 @@ \usepackage{trace} - -%\usepackage[MeX]{polski} - +\usepackage{caption} +\usepackage{tabularx} +\usepackage[MeX]{polski} +\usepackage{icomma} \usepackage[xetex]{graphicx} \usepackage{fontspec} \usepackage{xunicode} \usepackage{xltxtra} + \usepackage[overload]{textcase} \usepackage{scalefnt} \usepackage[colorlinks=true,linkcolor=black,setpagesize=false,urlcolor=black,xetex]{hyperref} @@ -150,6 +154,7 @@ Letters={SmallCaps,UppercaseSmallCaps} \fancyhf{} \renewcommand{\headrulewidth}{0pt} \renewcommand{\footrulewidth}{0pt} + %\lfoot{{\footnotesize \textsc{\@author} \emph{\@title}}} \cfoot{} %\rfoot{{\footnotesize \thepage}} @@ -173,6 +178,7 @@ Letters={SmallCaps,UppercaseSmallCaps} \newcommand{\makecover}[2]{ + %\pdfpagewidth=#1 %\pdfpageheight=#2 @@ -189,6 +195,7 @@ Letters={SmallCaps,UppercaseSmallCaps} \addtolength{\PictVOffset}{\headheight} \addtolength{\PictVOffset}{\headsep} \addtolength{\PictVOffset}{\topskip} + \addtolength{\PictVOffset}{-#2} \noindent\hspace*{-\PictHOffset}% @@ -571,3 +578,11 @@ Letters={Uppercase} \fi } +\newcommand{\ilustr}[2]{ + +\vspace{1em}% +\begin{center}% +\par{\includegraphics[width=\textwidth]{#1}\\#2}% +\end{center}% +\vspace{1em}% +}