marginparon the right side
marginparcommand therefore takes two arguments in a
}. LaTeX uses the “obvious” test to get the
marginpars in the correct margin, but a booby-trap arises because TeX runs its page maker asynchronously. If a
marginparis processed while page n is being built, but doesn’t get used until page n+1, then the
marginparwill turn up on the wrong side of the page. This is an instance of a general problem: see “finding if you’re on an odd or an even page”. The solution to the problem is for LaTeX to ‘remember’ which side of the page each
marginparshould be on. The mparhack package does this, using label-like marks stored in the
.auxfile; the memoir class does likewise.
Go to previous question, or next question
Go to FAQ home.
URL for this question: http://www.tex.ac.uk/cgi-bin/texfaq2html?label=marginparside
Comments, suggestions, or error reports? - see “how to improve the FAQ”.
This is FAQ version 3.26, released on 2013-02-25.