Document ClassesBeginner Baffled - Memoir Margins???

Information and discussion about specific document classes and how to create your own document classes.
Post Reply
Julian_S_Moore
Posts: 72
Joined: Sun Nov 16, 2008 1:26 pm

Beginner Baffled - Memoir Margins???

Post by Julian_S_Moore »

Absolutely bewildered... have attached a 50% image of the PDF and included code... please someone put me straight! [Using MiKTeX 2.7, same result from TeXnicCenter 1beta 7.5.0 and WinEdt5.5]

Questions: why isn't the text on the page rather than on the stock? why aren't the margins anything like what I am setting them to?

I've tried everything I can think with the aid of the Memoir Manual of to no avail...

(What I want to achieve eventually is a layout on mediumvopaper but couldn't seem to control the margins at all so did this test so I could see better what's going on)

\documentclass[a4paper, showtrims]{memoir}
\settrimmedsize{648pt}{414pt}{*}
\settypeblocksize{600pt}{400pt}{*} % height, width, ratio
\setulmarginsandblock{72pt}{72pt}{*}
\setlrmarginsandblock{72pt}{72pt}{*}
\begin{document}
Test paragraph full of semi-random text being whatever I happen to write, then copying and pasting it upteen times until I have enough to fill up a paragraph of several lines and hopefully obtain something useful to use... and a bit of Shakespear at the end: Now is the winter of our discontent made glorious summer by this son of York\par
\end{document

PS I see how to set stock size as a document class option, but what's the usage for stock and paper size commands... when I tried to use them I ended up with measurements printed in my document!

Thanks - Julian
PDF at 50%
PDF at 50%
A4.JPG (61.98 KiB) Viewed 6519 times

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

Beginner Baffled - Memoir Margins???

Post by gmedina »

Hi,

simply delete the showtrims class option; i.e., use

Code: Select all

\documentclass[a4paper]{memoir}
instead of

Code: Select all

\documentclass[a4paper, showtrims]{memoir}
1,1,2,3,5,8,13,21,34,55,89,144,233,...
Julian_S_Moore
Posts: 72
Joined: Sun Nov 16, 2008 1:26 pm

Re: Beginner Baffled - Memoir Margins???

Post by Julian_S_Moore »

Hi -

Appreciate the input...

The showtrim was there simply to show where the mediumoctavo "page" was on the "paper"... I wasn't expecting it to have any other effect

I removed the showtrims and, apart from being without trim marks, the end result is exactly the same.

I'm open to more suggestions!
User avatar
gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

Beginner Baffled - Memoir Margins???

Post by gmedina »

Edit: I apologise twice. First, I didn't read your original question carefully enough. Then, I did a suggestion in this post that was ridiculously wrong.

This post can be safely deleted.
1,1,2,3,5,8,13,21,34,55,89,144,233,...
Julian_S_Moore
Posts: 72
Joined: Sun Nov 16, 2008 1:26 pm

Beginner Baffled - Memoir Margins???

Post by Julian_S_Moore »

Ha!

Thanks to a post elsewhere (http://newsgroups.derkeiler.com/Archive ... 00099.html) I have the answer...

The Memoir Manual 7th ed says (p82) "Unless you are satisfied with the default page layout... you have to call the \checkandfixthelayout command to finally implement your specification" (emphasis added)

Obviously I'm not the first beginner to be caught out by this; I did read that para before - but too quickly. I think I thought that "default layout" meant the result of my specification according to default parameters, so of course I didn't include it.

BTW \fixthelayout also works perfectly well on its own to apply the specification... assuming that the specification is in fact sensible.
Julian_S_Moore
Posts: 72
Joined: Sun Nov 16, 2008 1:26 pm

Beginner Baffled - Memoir Margins???

Post by Julian_S_Moore »

gmedina - your last post crossed with mine I guess...

no worries, it's nice to know that someone other than me replies to my questions... and I'm too ignorant to consider anything stupid... I was puzzled, but crediting you with guru status I simply assumed that the answer would become clearer later :)

Thanks - Julian
Post Reply