Page LayoutMargins and page number problem

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
michaela
Posts: 3
Joined: Sun Jun 27, 2010 2:44 pm

Margins and page number problem

Post by michaela »

Dear all,


I'm a latex novice so forgive me if the remedy to this seems obvious. I have a problem whereby:

1) my even pages are headed by my name,
my odd pages are headed by my title of my MA dissertation.

2) my even pages have a page number in the topleft
my odd pages have no page number

3) mt even pages have a wider left margin than right margin
my odd pages have a wider right margin than left margin

I don't mind so much about the headers, though I'd like to be able customise them and can probably work out through a bit of reading around.
The big problem is the margins - I have no idea how to get them even.

Here is my preamble:

%%!TEX TS-program = latex
\documentclass[11pt]{amsart}
\usepackage{geometry} % See geometry.pdf to learn the layout options. There are lots.
\geometry{letterpaper} % ... or a4paper or a5paper or ...
%\geometry{landscape} % Activate for for rotated page geometry
%\usepackage[parfill]{parskip} % Activate to begin paragraphs with an empty line rather than an indent
\usepackage{graphicx}
\usepackage{epstopdf}
\usepackage{amssymb}
\DeclareGraphicsRule{.tif}{png}{.png}{`convert #1 `dirname #1`/`basename #1 .tif`.png}
\usepackage[OT4]{fontenc}
\usepackage[cp1250]{inputenc}
\usepackage{amsfonts}
\usepackage{amsthm}
\usepackage{fancyhdr}
\usepackage{ecltree,rtrees}
\usepackage{pstricks,pst-tree}
\usepackage{qtree}
\usepackage{setspace}
\setlength{\parskip}{0.3cm}
\usepackage{gb4e}

I use texshop on a macosx

Many thanks for any help,
Michaela

Recommended reading 2024:

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

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

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

Margins and page number problem

Post by frabjous »

If you want to customize these kinds of things, you shouldn't use the amsart document class, which is designed for use for AMS journal articles. (You can still get the mathematical options by loading the amsmath package instead.) Try something like:

Code: Select all

\documentclass[11pt]{report}
\usepackage{amsmath}
If your thesis has chapters. If it has only sections then perhaps:

Code: Select all

\documentclass[11pt]{article}
\usepackage{amsmath}
You might also check to see if your university has its own document class for theses. Many of them do.

This should already solve the uneven margin problem, though you can set options with the geometry package to make the margins work however you want. See its documentation or tell us exactly what you want to do.

If you're using a generic document class like one of the above, rather than one like amsart, you should be able to customize the headers and footers to your heart's content with fancyhdr package. Read its documentation, or tell us more specifically what you'd like them to be.
Post Reply