% forksand-bizcard-10x.tex
% Create thumbnail images of PDF pages
%
% Fork Sand Letterhead for Notepads
%
% Copyright (C) 2018, Fork Sand, Inc.
%
% Document template:
% Copyright (C) 2018, Fork Sand, Inc.
% Copyright (C) 2017, Jeff Moe
% Copyright (C) 2011, 2012, 2013, 2014, 2015, 2016, 2017 Aleph Objects, Inc.
% Copyright (C) 2009, 2010 Jeff Moe
%
% This document is licensed under the Creative Commons Attribution 4.0
% International Public License (CC BY-SA 4.0) by Fork Sand, Inc.
%

%\documentclass[twoside]{minimal}
\documentclass[10pt,final,english]{memoir}
% A4 Size Paper
%\usepackage[paperwidth=22.86cm, paperheight=30.48cm,dvips=false,pdftex=false,vtex=false]{geometry}
% Letter Size Paper
\usepackage[paperwidth=21.59cm, paperheight=27.94cm,dvips=false,pdftex=false,vtex=false]{geometry}
\usepackage[final]{pdfpages}
\usepackage{pdflscape}
\usepackage{thumbpdf}
\usepackage{tikz}


%%% PAGE, STOCK, AND MARGIN SIZE %%%
% US Letter
% 8.50 x 11.00"   21.59 x 27.94cm
\setstocksize{27.94cm}{21.59cm} % { height }{ width }
% A4
% 8.27 x 11.70"   21.00 x 29.70cm
%\setstocksize{29.70cm}{21.00cm} % { height }{ width }

\settrimmedsize{\stockheight}{\stockwidth}{*}

%\settypeblocksize{ height }{ width }{ ratio }
% US Letter
\settypeblocksize{23.0cm}{*}{*}
% A4
%\settypeblocksize{24.0cm}{*}{*}

%\setlrmarginsandblock{ spine }{ edge }{ ratio }
% make the spine have more space than outer edge
% US Letter
\setlrmarginsandblock{*}{2.0cm}{1.4}
% A4
%\setlrmarginsandblock{*}{2.0cm}{1.4}

% \setulmargins{ upper }{ lower }{ ratio }
\setulmargins{2.0cm}{*}{*}

% \setheadfoot{ headheight }{ footskip }
\setheadfoot{12pt}{2cm}

\checkandfixthelayout[fixed]
%%% END PAGE, STOCK, AND MARGIN SIZE %%%


\begin{document}
%\includepdf[nup=2x5,pages={1,1,1,1,1,1,1,1,1,1},landscape=false,noautoscale=false,fitpaper=false,offset=0mm 0mm]{bizcard-jeff.pdf}
% Works
%\includepdf[nup=2x5,pages={1,1,1,1,1,1,1,1,1,1},landscape=false,noautoscale=true,fitpaper=false,offset=0mm 0mm]{bizcard-jeff.pdf}
% With lines, etc.
\includepdf[nup=2x5,pages={1,1,1,1,1,1,1,1,1,1},landscape=false,noautoscale=false,fitpaper=false,offset=0mm 0mm,delta=3mm 3mm]{bizcard-jeff.pdf}

\end{document}
