summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/scripts/pdfjam/pdfjam-slides3up
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/scripts/pdfjam/pdfjam-slides3up')
-rwxr-xr-xMaster/texmf-dist/scripts/pdfjam/pdfjam-slides3up29
1 files changed, 29 insertions, 0 deletions
diff --git a/Master/texmf-dist/scripts/pdfjam/pdfjam-slides3up b/Master/texmf-dist/scripts/pdfjam/pdfjam-slides3up
new file mode 100755
index 00000000000..3bd461c8883
--- /dev/null
+++ b/Master/texmf-dist/scripts/pdfjam/pdfjam-slides3up
@@ -0,0 +1,29 @@
+#!/bin/sh
+##
+## pdfjam-slides3up: A shell program to make a 3-up "handout"
+## of presentation slides, with space for side-notes
+##
+## Author David Firth (http://go.warwick.ac.uk/dfirth)
+##
+## This is a simple wrapper for pdfjam, version 2.01
+##
+footskip=3.1cm ## 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 3up --nup 1x3 --frame true --noautoscale false \
+ --delta "0cm 0.2cm" --scale 0.87 --offset "-3.8cm 0cm" \
+ --preamble "\footskip $footskip" --pagecommand "$pagecommand" "$@"