Skip to content

Instantly share code, notes, and snippets.

@schluppeck
Created February 19, 2017 21:41
Show Gist options
  • Save schluppeck/691c04ed25e825dc11cc63c34f2d06ca to your computer and use it in GitHub Desktop.
Save schluppeck/691c04ed25e825dc11cc63c34f2d06ca to your computer and use it in GitHub Desktop.
turning A5 pdf into 2up A4 pdf
# using pdfjam to turn smaller files into 2-up, A4.
#
# as seen on: http://superuser.com/questions/366490/how-to-merge-multiple-pdf-files-onto-one-page-with-pdftk
#
# brew install homebrew/tex/pdfjam
# the 2017-2-ta.tex file uses the \foreach construct from \usepackage{tikz}
# which allows
# \def\mylist{info/something else/a third thing,
# info/something else/yet another thing}
#
# \foreach \theClass/\guest/\present/\child in \mylist { \newpage .... STUFF }
xelatex 2017-2-ta.tex # makes .pdf file
pdfjam 2017-2-ta.pdf --nup 2x1 --landscape --outfile ta-2-up.pdf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment