I'm trying to create a document that has different margins on even and odd pages. This is what I've tried:
\documentclass[a4paper,12pt]{article}
\usepackage[slovene]{babel}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{amsfonts,amsmath,amssymb,amsthm}
\usepackage[all,cmtip]{xy}
\usepackage{graphicx}
\usepackage{resizegather}
\hfuzz=2pt
\oddsidemargin=51pt
\evensidemargin=11pt
This would give me precisely the margins I want, but for some reason, \oddsidemargin and \evensidemargin are not independent. When I set one of them, the other is fixed. After reading some answers here, I tried setting changing the first line to
\documentclass[a4paper,12pt,twoside]{article}
but this completely messes with my layout and I get a bunch of "underfull \vbox"'s. (Although the left and right margins then behave as expected.) So, my question is as follows:
How do I make \oddsidemargin and \evensidemargin behave independently without introducing any other (undesired) behaviour?
geometrypackage which takes care to keep all internal settings in sync. – Martin Scharrer Jul 01 '13 at 22:01\usepackage[inner=XXpt,textwidth=345pt]{geometry}together with thetwosideoption uses the same text width as oneside. Adjust XX to be what you want. – egreg Jul 01 '13 at 22:24\raggedbottom; but this problem usually arises when one has big figures with the[H]option. Do you? – egreg Jul 01 '13 at 22:33[htb],[hbt]and[ht]actually. Very helpful, btw, if you make these two comments into an answer, I'd be glad to accept it. In fact, after also changingtextheightby half apt, it works perfectly. – Dejan Govc Jul 01 '13 at 22:48