When using the memoir document class, I don't know where I should place the commands for setting up the layout (settypeblocksize, setlrmargins...).
If I call them from the preamble, LaTeX swears about a missing \begin{document}, and if I move them into the document environment, they start working fine but... with a side effect: some garbage is generated on the resulting document's first page.
Here's an example code:
Code: Select all
\documentclass[a4paper, 12pt]{memoir}
\usepackage[english]{babel}
%yields missing \begin{document}:
\setstocksize{210mm}{148.5mmm}
\begin{document}
% yields garbage on first page
%\setstocksize{210mm}{148.5mmm}
\end{document}
Anton