pgfimages safe pdf objects (faster compile, less data)

This commit is contained in:
john stone 2013-07-23 02:55:05 +02:00
parent 4723bd4f06
commit 3ec26098b8
1 changed files with 9 additions and 5 deletions

View File

@ -53,6 +53,10 @@
\RequirePackage{tikz}
\RequirePackage{hyperref}
\RequirePackage{float}
\pgfdeclareimage[height=5mm]{Pesthoernchen}{pesthoernchen.pdf}
\pgfdeclareimage[width=10mm]{CCCLogo}{Logo_CCC}
\newfloat{impressum}{tpbh}{loi} %impressum als Float, damit kann Text fließen
\pagestyle{scrheadings}
@ -63,8 +67,8 @@
}
%FIXME: use pgfdeclared image for saving objects in pdf
\rehead[]{\tikz[overlay]{\node[xshift=0.3mm,yshift=0.9mm]{\includegraphics[width=1cm]{Logo_CCC}};}}
\rohead[]{\tikz[overlay]{\node[xshift=0.3mm,yshift=0.9mm]{\includegraphics[width=1cm]{Logo_CCC}};}}
\rehead[]{\tikz[overlay]{\node[xshift=0.3mm,yshift=0.9mm]{\pgfuseimage{CCCLogo}};}}
\rohead[]{\tikz[overlay]{\node[xshift=0.3mm,yshift=0.9mm]{\pgfuseimage{CCCLogo}};}}
\chead{\directlua{tex.print(ruhetmp or "Bitte runninghead setzen")}}
\setheadsepline{0.5pt}
@ -153,11 +157,11 @@
\hfill%
\hfill%
%FIXME: use pgfdeclared image for saving objects in pdf
\includegraphics[width=5mm]{pesthoernchen}%
\pgfuseimage{Pesthoernchen}
\hfill%
\includegraphics[width=5mm]{pesthoernchen}%
\pgfuseimage{Pesthoernchen}
\hfill%
\includegraphics[width=5mm]{pesthoernchen}%
\pgfuseimage{Pesthoernchen}
\hfill%
\hfill\hspace*{0cm}%
\end{center}%