changes in pdf: footer on first page, logo next to title, no duplicate title
[librarian.git] / librarian / formats / pdf / res / coverimage.sty
1 \newcommand{\makecover}[1]{
2 % parametry: wysokosc po obcieciu, ile obciac z dolu
3         \newlength{\PictHOffset}
4         \newlength{\PictVOffset}
5         \setlength{\PictHOffset}{1in}
6         \addtolength{\PictHOffset}{\hoffset}
7         \addtolength{\PictHOffset}{\oddsidemargin}
8
9         \setlength{\PictVOffset}{1.166in}
10         %\setlength{\PictVOffset}{0pt}
11         \addtolength{\PictVOffset}{\voffset}
12         \addtolength{\PictVOffset}{\topmargin}
13         \addtolength{\PictVOffset}{\headheight}
14         \addtolength{\PictVOffset}{\headsep}
15         \addtolength{\PictVOffset}{\topskip}
16         \addtolength{\PictVOffset}{-#1}
17
18         \noindent\hspace*{-\PictHOffset}%
19         \raisebox{\PictVOffset}[0pt][0pt]{\makebox[0pt][l]{%
20             \includegraphics[width=210mm,height=#1]{cover.png}}}
21
22         \vspace{-\PictVOffset}
23 }