I'm having a really hard time getting my book to have the exact page and margin size configuration. My goal is to use the memoir class (already have a fairly complex document that it works well with) but I can't seem to get the margins to work properly.
Here is my sample document:
\documentclass[showtrims,statementpaper,10pt,twoside,onecolumn,openright,extrafontsizes]{memoir}
\usepackage{lipsum}
% PAPER SIZE
\settrimmedsize{7.875in}{4.875in}{*}
\setstocksize{7.875in}{4.875in}
%\settrimmedsize{\stockheight}{\stockwidth}{*}
\setlrmarginsandblock{5in}{.5in}{*}
\setulmarginsandblock{.5in}{1.5in}{*}
\begin{document}
\lipsum[1-12]
\end{document}
Here is a sketch of what I'm trying to achieve.
However, when I attempt to set the margins, my text block gets pushed half way off the page and it looks completely wrong. I assume I'm doing something silly and completely missing something simple, but I can't seem to wrap my heard around it. Here I've set the margins to .5in, and yet the text is off the page? I've played with the text block options too and can get the text back on the page, but the margins never put the space where I think it should.
Can anyone tell me what I need to change to get the desired layout in the sketch?



memoirandgeometryseem to work together well) – Dr. Manuel Kuehner Nov 06 '17 at 16:21memoirclass enables any page layout that you desire; however you have to tell it what you want. It's not clear to me what it is that you want. Try calculating yourself what the margins etc., are that you want and then usememoir's capabilities. – Peter Wilson Nov 06 '17 at 19:26\checkandfixthelayoutafter setting up dimensions inmemoir. Then after the call to\checkandfixthelayoutinsert\usepackage{canoniclayout}. Does that give you what you want? – David Purton Nov 08 '17 at 03:25noveldocument class, you would writeSetTrimSize{4.875in}{7.875in}andSetMargins{.625in}{.75in}{1.25in}{.625in}(top, outside, bottom, inside) where I assume that the .75in is the outside. But you cannot make marginal notes. Setting header/footer is similarly simple. – Nov 10 '17 at 04:52\checkandfixthelayout, look in the memoir manual to see what this actually does and the algorithms that it supports. Note that by default you do not get the exact text height your are asking, the height is rounded to make it match an integral number of text lines. – daleif Nov 10 '17 at 08:45