diff options
Diffstat (limited to 'Master/texmf-dist/scripts/pdfjam/pdfjam-slides6up')
-rwxr-xr-x | Master/texmf-dist/scripts/pdfjam/pdfjam-slides6up | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/Master/texmf-dist/scripts/pdfjam/pdfjam-slides6up b/Master/texmf-dist/scripts/pdfjam/pdfjam-slides6up new file mode 100755 index 00000000000..47fa2ea1ec8 --- /dev/null +++ b/Master/texmf-dist/scripts/pdfjam/pdfjam-slides6up @@ -0,0 +1,31 @@ +#!/bin/sh +## +## pdfjam-slides6up: A shell program to make a 6-up "handout" +## of presentation slides +## +## Author David Firth (http://go.warwick.ac.uk/dfirth) +## +## This is a simple wrapper for pdfjam, version 2.01 +## +footskip=2.7cm ## default setting +pagecommand='{\thispagestyle{empty}}' ## default setting +case "${1}" in + --pagenumbering) + case "${2}" in + false) + continue ;; + true) + pagecommand='{\thispagestyle{plain}}' ;; + *) ## a footskip dimension was supplied + pagecommand='{\thispagestyle{plain}}' ; + footskip="$2" ;; + esac ; + shift 2 ;; + *) + continue ;; +esac +pdfjam --suffix 6up --nup 2x3 --frame true --noautoscale false \ + --delta "0.2cm 0.3cm" --scale 0.95 --preamble "\footskip $footskip" \ + --pagecommand "$pagecommand" "$@" + + |