| 1 |
\pgfpagesdeclarelayout{4 on 2, book format}% |
| 2 |
{% |
| 3 |
\edef\pgfpageoptionheight{\the\paperwidth} % landscaped by default |
| 4 |
\edef\pgfpageoptionwidth{\the\paperheight} |
| 5 |
\def\pgfpageoptionborder{0pt} |
| 6 |
\def\pgfpageoptionbordercode{} |
| 7 |
\def\pgfpageoptionfirstshipout{1} |
| 8 |
}% |
| 9 |
{% |
| 10 |
\pgfpagesphysicalpageoptions |
| 11 |
{% |
| 12 |
logical pages=4,% |
| 13 |
physical pages=2,% |
| 14 |
physical height=\pgfpageoptionheight,% |
| 15 |
physical width=\pgfpageoptionwidth,% |
| 16 |
current logical shipout=\pgfpageoptionfirstshipout% |
| 17 |
} |
| 18 |
\pgfpagessetdefaults{% |
| 19 |
border code=\pgfpageoptionbordercode |
| 20 |
} |
| 21 |
\ifdim\paperheight>\paperwidth\relax |
| 22 |
% put side-by-side |
| 23 |
\pgfpagesphysicalpage{1}{} |
| 24 |
\pgfpageslogicalpageoptions{4} |
| 25 |
{% |
| 26 |
border shrink=\pgfpageoptionborder,% |
| 27 |
resized width=.5\pgfphysicalwidth,% |
| 28 |
resized height=\pgfphysicalheight,% |
| 29 |
center=\pgfpoint{.25\pgfphysicalwidth}{.5\pgfphysicalheight}% |
| 30 |
}% |
| 31 |
\pgfpagesphysicalpage{2}{} |
| 32 |
\pgfpageslogicalpageoptions{3} |
| 33 |
{% |
| 34 |
border shrink=\pgfpageoptionborder,% |
| 35 |
resized width=.5\pgfphysicalwidth,% |
| 36 |
resized height=\pgfphysicalheight,% |
| 37 |
center=\pgfpoint{.75\pgfphysicalwidth}{.5\pgfphysicalheight}% |
| 38 |
}% |
| 39 |
\pgfpageslogicalpageoptions{2} |
| 40 |
{% |
| 41 |
border shrink=\pgfpageoptionborder,% |
| 42 |
resized width=.5\pgfphysicalwidth,% |
| 43 |
resized height=\pgfphysicalheight,% |
| 44 |
center=\pgfpoint{.25\pgfphysicalwidth}{.5\pgfphysicalheight}% |
| 45 |
}% |
| 46 |
\pgfpagesphysicalpage{1}{} |
| 47 |
\pgfpageslogicalpageoptions{1} |
| 48 |
{% |
| 49 |
border shrink=\pgfpageoptionborder,% |
| 50 |
resized width=.5\pgfphysicalwidth,% |
| 51 |
resized height=\pgfphysicalheight,% |
| 52 |
center=\pgfpoint{.75\pgfphysicalwidth}{.5\pgfphysicalheight}% |
| 53 |
}% |
| 54 |
\else |
| 55 |
% stack on top of one another |
| 56 |
\pgfpagesphysicalpage{1}{} |
| 57 |
\pgfpageslogicalpageoptions{4} |
| 58 |
{% |
| 59 |
border shrink=\pgfpageoptionborder,% |
| 60 |
resized width=\pgfphysicalwidth,% |
| 61 |
resized height=.5\pgfphysicalheight,% |
| 62 |
center=\pgfpoint{.5\pgfphysicalwidth}{.75\pgfphysicalheight}% |
| 63 |
}% |
| 64 |
\pgfpagesphysicalpage{2}{} |
| 65 |
\pgfpageslogicalpageoptions{3} |
| 66 |
{% |
| 67 |
border shrink=\pgfpageoptionborder,% |
| 68 |
resized width=\pgfphysicalwidth,% |
| 69 |
resized height=.5\pgfphysicalheight,% |
| 70 |
center=\pgfpoint{.5\pgfphysicalwidth}{.25\pgfphysicalheight}% |
| 71 |
}% |
| 72 |
\pgfpageslogicalpageoptions{2} |
| 73 |
{% |
| 74 |
border shrink=\pgfpageoptionborder,% |
| 75 |
resized width=\pgfphysicalwidth,% |
| 76 |
resized height=.5\pgfphysicalheight,% |
| 77 |
center=\pgfpoint{.5\pgfphysicalwidth}{.75\pgfphysicalheight}% |
| 78 |
}% |
| 79 |
\pgfpagesphysicalpage{2}{} |
| 80 |
\pgfpageslogicalpageoptions{1} |
| 81 |
{% |
| 82 |
border shrink=\pgfpageoptionborder,% |
| 83 |
resized width=\pgfphysicalwidth,% |
| 84 |
resized height=.5\pgfphysicalheight,% |
| 85 |
center=\pgfpoint{.5\pgfphysicalwidth}{.25\pgfphysicalheight}% |
| 86 |
}% |
| 87 |
\fi |
| 88 |
} |
| 89 |
|
| 90 |
\pgfpagesdeclarelayout{8 on 4, book format}% |
| 91 |
{% |
| 92 |
\edef\pgfpageoptionheight{\the\paperwidth} % landscaped by default |
| 93 |
\edef\pgfpageoptionwidth{\the\paperheight} |
| 94 |
\def\pgfpageoptionborder{0pt} |
| 95 |
\def\pgfpageoptionbordercode{} |
| 96 |
\def\pgfpageoptionfirstshipout{1} |
| 97 |
}% |
| 98 |
{% |
| 99 |
\pgfpagesphysicalpageoptions |
| 100 |
{% |
| 101 |
logical pages=8,% |
| 102 |
physical pages=4,% |
| 103 |
physical height=\pgfpageoptionheight,% |
| 104 |
physical width=\pgfpageoptionwidth,% |
| 105 |
current logical shipout=\pgfpageoptionfirstshipout% |
| 106 |
} |
| 107 |
\pgfpagessetdefaults{% |
| 108 |
border code=\pgfpageoptionbordercode |
| 109 |
} |
| 110 |
% \ifdim\paperheight>\paperwidth\relax |
| 111 |
% put side-by-side |
| 112 |
\pgfpagesphysicalpage{1}{} |
| 113 |
\pgfpageslogicalpageoptions{8} |
| 114 |
{% |
| 115 |
border shrink=\pgfpageoptionborder,% |
| 116 |
resized width=.5\pgfphysicalwidth,% |
| 117 |
resized height=\pgfphysicalheight,% |
| 118 |
center=\pgfpoint{.25\pgfphysicalwidth}{.5\pgfphysicalheight}% |
| 119 |
}% |
| 120 |
\pgfpagesphysicalpage{2}{} |
| 121 |
\pgfpageslogicalpageoptions{7} |
| 122 |
{% |
| 123 |
border shrink=\pgfpageoptionborder,% |
| 124 |
resized width=.5\pgfphysicalwidth,% |
| 125 |
resized height=\pgfphysicalheight,% |
| 126 |
center=\pgfpoint{.75\pgfphysicalwidth}{.5\pgfphysicalheight}% |
| 127 |
}% |
| 128 |
\pgfpageslogicalpageoptions{2} |
| 129 |
{% |
| 130 |
border shrink=\pgfpageoptionborder,% |
| 131 |
resized width=.5\pgfphysicalwidth,% |
| 132 |
resized height=\pgfphysicalheight,% |
| 133 |
center=\pgfpoint{.25\pgfphysicalwidth}{.5\pgfphysicalheight}% |
| 134 |
}% |
| 135 |
\pgfpagesphysicalpage{1}{} |
| 136 |
\pgfpageslogicalpageoptions{1} |
| 137 |
{% |
| 138 |
border shrink=\pgfpageoptionborder,% |
| 139 |
resized width=.5\pgfphysicalwidth,% |
| 140 |
resized height=\pgfphysicalheight,% |
| 141 |
center=\pgfpoint{.75\pgfphysicalwidth}{.5\pgfphysicalheight}% |
| 142 |
}% |
| 143 |
\pgfpagesphysicalpage{3}{} |
| 144 |
\pgfpageslogicalpageoptions{6} |
| 145 |
{% |
| 146 |
border shrink=\pgfpageoptionborder,% |
| 147 |
resized width=.5\pgfphysicalwidth,% |
| 148 |
resized height=\pgfphysicalheight,% |
| 149 |
center=\pgfpoint{.25\pgfphysicalwidth}{.5\pgfphysicalheight}% |
| 150 |
}% |
| 151 |
\pgfpagesphysicalpage{4}{} |
| 152 |
\pgfpageslogicalpageoptions{5} |
| 153 |
{% |
| 154 |
border shrink=\pgfpageoptionborder,% |
| 155 |
resized width=.5\pgfphysicalwidth,% |
| 156 |
resized height=\pgfphysicalheight,% |
| 157 |
center=\pgfpoint{.75\pgfphysicalwidth}{.5\pgfphysicalheight}% |
| 158 |
}% |
| 159 |
\pgfpageslogicalpageoptions{4} |
| 160 |
{% |
| 161 |
border shrink=\pgfpageoptionborder,% |
| 162 |
resized width=.5\pgfphysicalwidth,% |
| 163 |
resized height=\pgfphysicalheight,% |
| 164 |
center=\pgfpoint{.25\pgfphysicalwidth}{.5\pgfphysicalheight}% |
| 165 |
}% |
| 166 |
\pgfpagesphysicalpage{3}{} |
| 167 |
\pgfpageslogicalpageoptions{3} |
| 168 |
{% |
| 169 |
border shrink=\pgfpageoptionborder,% |
| 170 |
resized width=.5\pgfphysicalwidth,% |
| 171 |
resized height=\pgfphysicalheight,% |
| 172 |
center=\pgfpoint{.75\pgfphysicalwidth}{.5\pgfphysicalheight}% |
| 173 |
}% |
| 174 |
% \else |
| 175 |
% stack on top of one another |
| 176 |
% \fi |
| 177 |
} |
| 178 |
|
| 179 |
\pgfpagesdeclarelayout{8 on 4, book format, reverse second, single sided}% |
| 180 |
{% |
| 181 |
\edef\pgfpageoptionheight{\the\paperwidth} % landscaped by default |
| 182 |
\edef\pgfpageoptionwidth{\the\paperheight} |
| 183 |
\def\pgfpageoptionborder{0pt} |
| 184 |
\def\pgfpageoptionbordercode{} |
| 185 |
\def\pgfpageoptionfirstshipout{1} |
| 186 |
}% |
| 187 |
{% |
| 188 |
\pgfpagesphysicalpageoptions |
| 189 |
{% |
| 190 |
logical pages=8,% |
| 191 |
physical pages=4,% |
| 192 |
physical height=\pgfpageoptionheight,% |
| 193 |
physical width=\pgfpageoptionwidth,% |
| 194 |
current logical shipout=\pgfpageoptionfirstshipout% |
| 195 |
} |
| 196 |
\pgfpagessetdefaults{% |
| 197 |
border code=\pgfpageoptionbordercode |
| 198 |
} |
| 199 |
% \ifdim\paperheight>\paperwidth\relax |
| 200 |
% put side-by-side |
| 201 |
\pgfpagesphysicalpage{1}{} |
| 202 |
\pgfpageslogicalpageoptions{8} |
| 203 |
{% |
| 204 |
border shrink=\pgfpageoptionborder,% |
| 205 |
resized width=.5\pgfphysicalwidth,% |
| 206 |
resized height=\pgfphysicalheight,% |
| 207 |
center=\pgfpoint{.25\pgfphysicalwidth}{.5\pgfphysicalheight}% |
| 208 |
}% |
| 209 |
\pgfpageslogicalpageoptions{1} |
| 210 |
{% |
| 211 |
border shrink=\pgfpageoptionborder,% |
| 212 |
resized width=.5\pgfphysicalwidth,% |
| 213 |
resized height=\pgfphysicalheight,% |
| 214 |
center=\pgfpoint{.75\pgfphysicalwidth}{.5\pgfphysicalheight}% |
| 215 |
}% |
| 216 |
\pgfpagesphysicalpage{4}{} |
| 217 |
\pgfpageslogicalpageoptions{7} |
| 218 |
{% |
| 219 |
border shrink=\pgfpageoptionborder,% |
| 220 |
resized width=.5\pgfphysicalwidth,% |
| 221 |
resized height=\pgfphysicalheight,% |
| 222 |
center=\pgfpoint{.25\pgfphysicalwidth}{.5\pgfphysicalheight},% |
| 223 |
rotation=180% |
| 224 |
}% |
| 225 |
\pgfpageslogicalpageoptions{2} |
| 226 |
{% |
| 227 |
border shrink=\pgfpageoptionborder,% |
| 228 |
resized width=.5\pgfphysicalwidth,% |
| 229 |
resized height=\pgfphysicalheight,% |
| 230 |
center=\pgfpoint{.75\pgfphysicalwidth}{.5\pgfphysicalheight},% |
| 231 |
rotation=180% |
| 232 |
}% |
| 233 |
\pgfpagesphysicalpage{2}{} |
| 234 |
\pgfpageslogicalpageoptions{6} |
| 235 |
{% |
| 236 |
border shrink=\pgfpageoptionborder,% |
| 237 |
resized width=.5\pgfphysicalwidth,% |
| 238 |
resized height=\pgfphysicalheight,% |
| 239 |
center=\pgfpoint{.25\pgfphysicalwidth}{.5\pgfphysicalheight}% |
| 240 |
}% |
| 241 |
\pgfpageslogicalpageoptions{3} |
| 242 |
{% |
| 243 |
border shrink=\pgfpageoptionborder,% |
| 244 |
resized width=.5\pgfphysicalwidth,% |
| 245 |
resized height=\pgfphysicalheight,% |
| 246 |
center=\pgfpoint{.75\pgfphysicalwidth}{.5\pgfphysicalheight}% |
| 247 |
}% |
| 248 |
\pgfpagesphysicalpage{3}{} |
| 249 |
\pgfpageslogicalpageoptions{5} |
| 250 |
{% |
| 251 |
border shrink=\pgfpageoptionborder,% |
| 252 |
resized width=.5\pgfphysicalwidth,% |
| 253 |
resized height=\pgfphysicalheight,% |
| 254 |
center=\pgfpoint{.25\pgfphysicalwidth}{.5\pgfphysicalheight},% |
| 255 |
rotation=180% |
| 256 |
}% |
| 257 |
\pgfpageslogicalpageoptions{4} |
| 258 |
{% |
| 259 |
border shrink=\pgfpageoptionborder,% |
| 260 |
resized width=.5\pgfphysicalwidth,% |
| 261 |
resized height=\pgfphysicalheight,% |
| 262 |
center=\pgfpoint{.75\pgfphysicalwidth}{.5\pgfphysicalheight},% |
| 263 |
rotation=180% |
| 264 |
}% |
| 265 |
% \else |
| 266 |
% stack on top of one another |
| 267 |
% \fi |
| 268 |
} |
| 269 |
|
| 270 |
|
| 271 |
\pgfpagesdeclarelayout{5 index cards} |
| 272 |
{% |
| 273 |
\edef\pgfpageoptionheight{\the\paperwidth} |
| 274 |
\edef\pgfpageoptionwidth{\the\paperheight} |
| 275 |
\def\pgfpageoptionborder{0pt} |
| 276 |
\def\pgfpageoptionfirstshipout{1} |
| 277 |
\def\pgfpageoptionbordercode{\pgfusepath{draw}} |
| 278 |
}% |
| 279 |
{% |
| 280 |
\pgfpagesphysicalpageoptions |
| 281 |
{% |
| 282 |
logical pages=10,% |
| 283 |
physical pages=2,% |
| 284 |
physical height=\pgfpageoptionheight,% |
| 285 |
physical width=\pgfpageoptionwidth,% |
| 286 |
current logical shipout=\pgfpageoptionfirstshipout% |
| 287 |
} |
| 288 |
\pgfpagessetdefaults{% |
| 289 |
border shrink=\pgfpageoptionborder,% |
| 290 |
resized width=\the\paperwidth,% |
| 291 |
resized height=\the\paperheight,% |
| 292 |
border code=\pgfpageoptionbordercode |
| 293 |
} |
| 294 |
\pgfpagesphysicalpage{1}{} |
| 295 |
\pgfpageslogicalpageoptions{1} |
| 296 |
{% |
| 297 |
center=\pgfpoint{.5\paperwidth}{.75*\pgfphysicalheight},% |
| 298 |
}% |
| 299 |
\pgfpageslogicalpageoptions{3} |
| 300 |
{% |
| 301 |
center=\pgfpoint{.5\paperwidth}{.25*\pgfphysicalheight},% |
| 302 |
}% |
| 303 |
\pgfpageslogicalpageoptions{5} |
| 304 |
{% |
| 305 |
rotation=90,% |
| 306 |
center=\pgfpoint{.5*(\pgfphysicalwidth + \paperwidth)}{\pgfphysicalheight - .5\paperheight},% |
| 307 |
}% |
| 308 |
\pgfpageslogicalpageoptions{7} |
| 309 |
{% |
| 310 |
rotation=90,% |
| 311 |
center=\pgfpoint{.5*(\pgfphysicalwidth + \paperwidth)}{.5\pgfphysicalheight},% |
| 312 |
}% |
| 313 |
\pgfpageslogicalpageoptions{9} |
| 314 |
{% |
| 315 |
rotation=90,% |
| 316 |
center=\pgfpoint{.5*(\pgfphysicalwidth + \paperwidth)}{.5\paperheight},% |
| 317 |
}% |
| 318 |
\pgfpagesphysicalpage{2}{} |
| 319 |
\pgfpageslogicalpageoptions{2} |
| 320 |
{% |
| 321 |
center=\pgfpoint{\pgfphysicalwidth - .5\paperwidth}{.75\pgfphysicalheight},% |
| 322 |
}% |
| 323 |
\pgfpageslogicalpageoptions{4} |
| 324 |
{% |
| 325 |
center=\pgfpoint{\pgfphysicalwidth - .5\paperwidth}{.25\pgfphysicalheight},% |
| 326 |
}% |
| 327 |
\pgfpageslogicalpageoptions{6} |
| 328 |
{% |
| 329 |
rotation=90,% |
| 330 |
center=\pgfpoint{.5*(\pgfphysicalwidth - \paperwidth)}{\pgfphysicalheight - .5\paperheight},% |
| 331 |
}% |
| 332 |
\pgfpageslogicalpageoptions{8} |
| 333 |
{% |
| 334 |
rotation=90,% |
| 335 |
center=\pgfpoint{.5*(\pgfphysicalwidth - \paperwidth)}{.5\pgfphysicalheight},% |
| 336 |
}% |
| 337 |
\pgfpageslogicalpageoptions{10} |
| 338 |
{% |
| 339 |
rotation=90,% |
| 340 |
center=\pgfpoint{.5*(\pgfphysicalwidth - \paperwidth)}{.5\paperheight},% |
| 341 |
}% |
| 342 |
} |
| 343 |
|
| 344 |
\pgfpagesdeclarelayout{repeated 2-up}% |
| 345 |
{% |
| 346 |
\edef\pgfpageoptionheight{\the\paperwidth} |
| 347 |
\edef\pgfpageoptionwidth{\the\paperheight} |
| 348 |
\def\pgfpageoptionborder{0pt} |
| 349 |
\def\pgfpageoptionfirstshipout{1} |
| 350 |
\def\pgfpageoptionbordercode{} |
| 351 |
}% |
| 352 |
{% |
| 353 |
\pgfpagesphysicalpageoptions |
| 354 |
{% |
| 355 |
logical pages=1,% |
| 356 |
physical pages=1,% |
| 357 |
physical height=\pgfpageoptionheight,% |
| 358 |
physical width=\pgfpageoptionwidth,% |
| 359 |
current logical shipout=\pgfpageoptionfirstshipout% |
| 360 |
} |
| 361 |
\pgfpagessetdefaults |
| 362 |
{% |
| 363 |
border shrink=\pgfpageoptionborder,% |
| 364 |
border code=\pgfpageoptionbordercode |
| 365 |
} |
| 366 |
\pgfpagesphysicalpage{1}{} |
| 367 |
\ifdim\paperheight>\paperwidth\relax |
| 368 |
% put side-by-side |
| 369 |
\pgfpageslogicalpageoptions{1} |
| 370 |
{% |
| 371 |
resized width=.5\pgfphysicalwidth,% |
| 372 |
resized height=\pgfphysicalheight,% |
| 373 |
center=\pgfpoint{.25\pgfphysicalwidth}{.5\pgfphysicalheight},% |
| 374 |
% rotation=90,% |
| 375 |
} |
| 376 |
\pgfpageslogicalpageoptions{1} |
| 377 |
{% |
| 378 |
resized width=.5\pgfphysicalwidth,% |
| 379 |
resized height=\pgfphysicalheight,% |
| 380 |
center=\pgfpoint{.75\pgfphysicalwidth}{.5\pgfphysicalheight},% |
| 381 |
% rotation=90,% |
| 382 |
} |
| 383 |
\else |
| 384 |
\pgfpageslogicalpageoptions{1} |
| 385 |
{% |
| 386 |
resized width=\pgfphysicalwidth,% |
| 387 |
resized height=.5\pgfphysicalheight,% |
| 388 |
center=\pgfpoint{.5\pgfphysicalwidth}{.75\pgfphysicalheight},% |
| 389 |
% rotation=90,% |
| 390 |
} |
| 391 |
\pgfpageslogicalpageoptions{1} |
| 392 |
{% |
| 393 |
resized width=\pgfphysicalwidth,% |
| 394 |
resized height=.5\pgfphysicalheight,% |
| 395 |
center=\pgfpoint{.5\pgfphysicalwidth}{.25\pgfphysicalheight},% |
| 396 |
% rotation=90,% |
| 397 |
} |
| 398 |
\fi |
| 399 |
} |
| 400 |
|
| 401 |
\pgfpagesdeclarelayout{repeated 4-up}% |
| 402 |
{% |
| 403 |
\edef\pgfpageoptionheight{\the\paperheight} |
| 404 |
\edef\pgfpageoptionwidth{\the\paperwidth} |
| 405 |
\def\pgfpageoptionborder{0pt} |
| 406 |
\def\pgfpageoptionfirstshipout{1} |
| 407 |
\def\pgfpageoptionbordercode{} |
| 408 |
}% |
| 409 |
{% |
| 410 |
\pgfpagesphysicalpageoptions |
| 411 |
{% |
| 412 |
logical pages=1,% |
| 413 |
physical pages=1,% |
| 414 |
physical height=\pgfpageoptionheight,% |
| 415 |
physical width=\pgfpageoptionwidth,% |
| 416 |
current logical shipout=\pgfpageoptionfirstshipout% |
| 417 |
} |
| 418 |
\pgfpagessetdefaults |
| 419 |
{% |
| 420 |
border shrink=\pgfpageoptionborder,% |
| 421 |
resized width=.5\pgfphysicalwidth,% |
| 422 |
resized height=.5\pgfphysicalheight,% |
| 423 |
border code=\pgfpageoptionbordercode |
| 424 |
% border code=\pgfusepath{draw} |
| 425 |
} |
| 426 |
\pgfpagesphysicalpage{1}{} |
| 427 |
\pgfpageslogicalpageoptions{1} |
| 428 |
{% |
| 429 |
center=\pgfpoint{.25\pgfphysicalwidth}{.25\pgfphysicalheight}, |
| 430 |
} |
| 431 |
\pgfpageslogicalpageoptions{1} |
| 432 |
{% |
| 433 |
center=\pgfpoint{.75\pgfphysicalwidth}{.25\pgfphysicalheight}, |
| 434 |
} |
| 435 |
\pgfpageslogicalpageoptions{1} |
| 436 |
{% |
| 437 |
center=\pgfpoint{.25\pgfphysicalwidth}{.75\pgfphysicalheight}, |
| 438 |
} |
| 439 |
\pgfpageslogicalpageoptions{1} |
| 440 |
{% |
| 441 |
center=\pgfpoint{.75\pgfphysicalwidth}{.75\pgfphysicalheight}, |
| 442 |
} |
| 443 |
} |
| 444 |
|
| 445 |
\pgfpagesdeclarelayout{1 on 1} |
| 446 |
{% |
| 447 |
\edef\pgfpageoptionheight{\the\paperheight} |
| 448 |
\edef\pgfpageoptionwidth{\the\paperwidth} |
| 449 |
\def\pgfpageoptionborder{0pt} |
| 450 |
\def\pgfpageoptionfirstshipout{1} |
| 451 |
\def\pgfpageoptionbordercode{} |
| 452 |
}% |
| 453 |
{% |
| 454 |
\pgfpagessetdefaults |
| 455 |
{% |
| 456 |
border code=\pgfpageoptionbordercode |
| 457 |
} |
| 458 |
\pgfpagesphysicalpageoptions |
| 459 |
{% |
| 460 |
logical pages=1,% |
| 461 |
physical pages=1,% |
| 462 |
physical height=\pgfpageoptionheight,% |
| 463 |
physical width=\pgfpageoptionwidth,% |
| 464 |
current logical shipout=\pgfpageoptionfirstshipout% |
| 465 |
} |
| 466 |
\pgfpagesphysicalpage{1}{} |
| 467 |
\pgfpageslogicalpageoptions{1} |
| 468 |
{% |
| 469 |
border shrink=\pgfpageoptionborder,% |
| 470 |
resized width=\pgfphysicalwidth,% |
| 471 |
resized height=\pgfphysicalheight,% |
| 472 |
center=\pgfpoint{.5\pgfphysicalwidth}{.5\pgfphysicalheight},% |
| 473 |
rotation=0 |
| 474 |
}% |
| 475 |
} |
| 476 |
|
| 477 |
\pgfpagesdeclarelayout{discard} |
| 478 |
{% |
| 479 |
\edef\pgfpageoptionheight{\the\paperheight} |
| 480 |
\edef\pgfpageoptionwidth{\the\paperwidth} |
| 481 |
\def\pgfpageoptionborder{0pt} |
| 482 |
\def\pgfpageoptionfirstshipout{1} |
| 483 |
\def\pgfpageoptionbordercode{} |
| 484 |
}% |
| 485 |
{% |
| 486 |
\pgfpagessetdefaults |
| 487 |
{% |
| 488 |
border code=\pgfpageoptionbordercode |
| 489 |
} |
| 490 |
\pgfpagesphysicalpageoptions |
| 491 |
{% |
| 492 |
logical pages=1,% |
| 493 |
physical pages=1,% |
| 494 |
physical height=\pgfpageoptionheight,% |
| 495 |
physical width=\pgfpageoptionwidth,% |
| 496 |
current logical shipout=\pgfpageoptionfirstshipout% |
| 497 |
} |
| 498 |
\pgfpagesphysicalpage{1}{ |
| 499 |
skip code=\pgfpagesshipfalse |
| 500 |
} |
| 501 |
\pgfpageslogicalpageoptions{1} |
| 502 |
{% |
| 503 |
border shrink=\pgfpageoptionborder,% |
| 504 |
resized width=\pgfphysicalwidth,% |
| 505 |
resized height=\pgfphysicalheight,% |
| 506 |
center=\pgfpoint{.5\pgfphysicalwidth}{.5\pgfphysicalheight},% |
| 507 |
rotation=0 |
| 508 |
}% |
| 509 |
} |