%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% final page size after cutting is 270mm x 190mm
% a4 is 297 x 210, so I will:
%  run psbook and psnup to make a3 pages
%  staple them in the spine and fold it, which gives me a a4 booklet
%  cut ~10mm at the top and bottom of page to get correct page heigth
%  cut alond longside to get ~190mm page width

% I have decided to make smaller margins, 15mm inside and bottom, 10mm outsize and top

% horizontal dimensions
\setlength{\hoffset}{-25.4mm}
\setlength{\marginparwidth}{30mm} % margin notes not used, just to make diagram look nice
\setlength{\marginparsep}{2mm} % margin notes not used
\setlength{\oddsidemargin}{15mm}
\setlength{\evensidemargin}{30mm}
\setlength{\textwidth}{165mm}

% vertical dimensions
\setlength{\voffset}{-15.4mm}
\setlength{\topmargin}{10mm}
\setlength{\headheight}{4.5mm}
\setlength{\headsep}{5.5mm}
\setlength{\textheight}{235mm} % = 270 - 10 - 4.5 - 5.5 - 15 (bottom margin)
%\setlength{\footskip}{8.8mm} % Footer not used
