Enter your email address:

Delivered by FeedBurner

Latex - Establishing margins


StumbleUpon Toolbar

Page Margins and page size are really important parameters if you want to have a neat and nice print of you work.

First lets see how to declare the paper size, that is declared with \documentclass control sequence.

\documentclass[10pt,letterpaper,titlepage]{article}

Now, this picture is going to help us know what variables to use to set the margins.

Latex paper margins

As you can see you need to declare the topmargin, and to declare the bottom margin, you will have to add topmargin + textheight +footheight, and subtract that from the paper size, that is going to be your bottom margin.

It is the same with right and left margins, you just define the right margin with oddsidemargin, have to take into account that there is already one inch (2.54 cm) of margin if you want something less than that you may use a negative value for oddsidemargin, for the left margin you have to add (1 inch + oddsidemarging + textwidth - paper width).

evensidemargin control sequence, is used to set the right margin on even pages, in case you are going to print both sides of the paper.

Go to the Index

Trackback URL for this post:

http://www.go2linux.org/trackback/346
StumbleUpon Toolbar

 If you like this article, subscribe to our full rss

If this article was somehow useful for you, you can leave something in the tip's jar

Please post your question in our forum and use comments only to leave your comments about the article, thanks.

But what are the lengths

But what are the lengths between the bottom of the page and the footer? or the footer and the main text?

And also, using the preamble:
\documentclass[a4paper,12pt]{article}
\usepackage{amsmath,amssymb},
the command \footheight doesn't work.

Any answers to the above?

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options

Captcha
This question is for testing whether you are a human visitor and to prevent automated spam submissions.

This site is proudly hosted at Bluefur Hosting