Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

For reasons I won't bore anyone with, I being forced to change my document at the last minute from oneside to twoside using memoir. However, when I do, I suddenly get odd problems with spacing; the title pages have the entire page's text shifted to the bottom, and the last subsection or paragraph in each chapter is moved to the bottom of the page as well (leaving a huge chunk of vertical whitespace between the last and the penultimate paragraph). I'm sorry, I'd like to provide a minimal working example, but I can't come up with one, so I'm just hoping that someone can point me in the direction of general things to check. Here's some possibly relevant code, though it's a long document:

\documentclass[12pt,A4,twoside]{memoir}
\setcounter{errorcontextlines}{30}
\strictpagecheck
\usepackage[sectionbib]{natbib}
\usepackage{chapterbib}
\usepackage{graphicx}
\usepackage{amsthm}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{authblk}
\usepackage{multirow}
\usepackage{memhfixc}
\usepackage[draft]{hyperref}
\usepackage{lscape}
\usepackage[T1]{fontenc}
\bibpunct[, ]{(}{)}{;}{a}{}{;} 


\setlrmarginsandblock{4cm}{3cm}{*}
\setulmarginsandblock{4cm}{3cm}{*}
\checkandfixthelayout
\fixpdflayout

\makepagestyle{mystyle}
\makeoddhead{mystyle}{}{}{\thepage}
\makeevenhead{mystyle}{\thepage}{}{}
\pagestyle{mystyle}

...

\cleartooddpage[\thispagestyle{empty}]
\include{foreword}
\pagestyle{plain}
\mainmatter
\cleartooddpage[\thispagestyle{empty}]
\include{chap1}

... 

and so on.

share|improve this question
1  
Try to add \raggedbottom to your preamble. –  lockstep Nov 10 '11 at 6:35
    
Thanks, lockstep! That did work, thankfully... –  Winawer Nov 10 '11 at 11:08
add comment

1 Answer

up vote 7 down vote accepted

Quoted from the memoir documentation (p 5):

When the twoside or twocolumn option is selected then typesetting is done with \flushbottom, otherwise it is done with \raggedbottom.

When \raggedbottom is in effect LaTeX makes little attempt to keep a constant height for the typeblock; pages may run short.

When \flushbottom is in effect LaTeX ensures that the typeblock on each page is a constant height, except when a page break is deliberately introduced when the page might run short. In order to maintain a constant height it may stretch or shrink some vertical spaces (e.g., between paragraphs, around headings or around ﬂoats or other inserts like displayed maths). This may have a deleterious effect on the color of some pages. If you get too many strung out pages with \flushbottom you may want to put \raggedbottom in the preamble.

As such, use \raggedbottom to avoid flushing text flush with the lower part of the text block.

share|improve this answer
    
Thanks, Werner! It was probably a simple answer for you, but that saved me a gigantic headache. –  Winawer Nov 10 '11 at 11:06
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.
http://tex.stackexchange.com/questions/34315/odd-problem-with-spacing-using-memoir-when-switching-from-oneside-to-twoside
tex.stackexchange.com
crawl=CC-MAIN-2014-15
68344
application/http; msgtype=response
sha1:IZ3NMFSA5KGAKRINC2GV3GF4MWQ6PQKB
<urn:uuid:d5c68345-a67b-4e45-9cf6-451471495fa9>
2014-04-16T13:24:34Z
198.252.206.140
sha1:CR3WMVIJRB6X3OWPO7TM7OC5M4MAGXQO
<urn:uuid:1282047b-dd2a-498a-a2e0-4bccdec6926f>
http://tex.stackexchange.com/questions/34315/odd-problem-with-spacing-using-memoir-when-switching-from-oneside-to-twoside
response
<urn:uuid:be76be5e-6d6f-4761-9def-233124130ed2>
robots: classic
hostname: ip-10-147-4-33.ec2.internal
software: Nutch 1.6 (CC)/CC WarcExport 1.0
isPartOf: CC-MAIN-2014-15
operator: CommonCrawl Admin
description: Wide crawl of the web with URLs provided by Blekko for April 2014
publisher: CommonCrawl
format: WARC File Format 1.0
conformsTo: http://bibnum.bnf.fr/WARC/WARC_ISO_28500_version1_latestdraft.pdf