Fixing Latex Funky Formatting Error with Preamble

  • Context: LaTeX 
  • Thread starter Thread starter Ai52487963
  • Start date Start date
  • Tags Tags
    Latex
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
4 replies · 5K views
Ai52487963
Messages
111
Reaction score
0
For some reason, compiling my code gives me this wacky formatting error (see attached).

The pages seem to alternate between too far to the left on page 1, too far to the right on page 2, left on page 3, right on page 4 and so on. Even my references are skewed to the right.

Is there some sort of formatting preamble I'm missing here?Edit: my code at the beginning looks like so:

\documentclass[11pt,twoside,a4paper,draft]{article}
\begin{document}

\title{Dark Matter versus Modified Newtonian Dynamics}
\author{Scott V. Burger\\Western Washington University\\\texttt{<removed email address>}}
\date{June 6, 2008}
\maketitle

\begin{abstract}
 

Attachments

  • asdfsaf.jpg
    asdfsaf.jpg
    33.3 KB · Views: 485
Last edited by a moderator:
Physics news on Phys.org
Hi Ai52487963,

That's not a formatting error. The twoside option is used, for example, for binding double sided pages together in a book. The side of each page with the larger margin is the side that is toward the spine of the book. If you leave out the twoside option, the effect you're describing does not occur.
 
alphysicist said:
The twoside option is used, for example, for binding double sided pages together in a book. The side of each page with the larger margin is the side that is toward the spine of the book. If you leave out the twoside option, the effect you're describing does not occur.
Correct, except that the larger margin is the side away from the spine (unless of course you override the oddsidemargin and evensidemargin). It's kind of hard for authors to write margin notes (or for readers to jot notes down in the margins) if the larger margin is toward the spine. There are some other nifty things you get with the twoside option. Even and odd pages can have different headers, for example.
 
Thanks so much! I thought the twoside option was just so that printers would see it and print it accordingly.