pdfpages
Robert Marik
marik at mendelu.cz
Tue Apr 11 21:01:56 CEST 2006
> % ale stejne mi ten soubor pokus1.pdf prijde ze ma divny levy okraj!
Oprava: divny levy okraj ma soubor pokus.pdf
a jeste bych v tom makru vynechal \message{..}, co jsem si tam dal z
ladicich duvodu a pridal komentar za slozenou zavorku:
>
>
> \documentclass{article}
>
> \usepackage{multido, graphicx}
>
> \def\natahni#1#2{\multido{\i=1+1}{#1}{\count0=\i
> \ifodd\count0 \gdef\posun{-5cm} \else \gdef\posun{-3cm}\fi
> \vbox to 0 pt{\vskip -5cm\hbox to 0 pt{%%%%%%%%% zavlecena mezera?
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \message{\posun}
> \expandafter\hskip\posun\relax
> {\includegraphics[page=\i]{#2}}\hss}\vss}\clearpage
> }}
> \begin{document}
>
> \natahni{14}{pokus.pdf}
> \natahni{7}{pokus1.pdf}
>
> \end{document}
>
>
More information about the csTeX
mailing list