LaTeX forum ⇒ Page LayoutMargin Settings for A4 Paper Size

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
fazli
Posts: 3
Joined: Wed Feb 22, 2012 10:05 pm

Margin Settings for A4 Paper Size

Postby fazli » Wed Feb 22, 2012 10:13 pm

Dear all,

I would like to seek your kind help to solve my problem. First My requirement for thesis is as follows


Chapter:
Each chapter must begin on a new page. The chapter title must be placed at two
inches from the top centre of the new page and capitalised. If the title requires more
than one line, the lines must be double-spaced and centred with inverted pyramid
justification.


First-level Heading
The first level heading should be formatted as follows. Typeface is 12 point Times
New Roman, boldface, left-aligned with no left indentation. One-and-a-half line
spacing, 36-point and 6-point top and bottom spacings, respectively.

Second-level Heading
The second level heading should be formatted as follows. Typeface is 12 point Times
New Roman, boldface, left-aligned with no left indentation. One-and-a-half line
spacing, 36-point and 6-point top and bottom spacings, respectively.

Third-level Heading
The third level heading should be formatted as follows. Typeface is 12 point Times
New Roman, italic, left-aligned with no left indentation. One-and-a-half line spacing,
36-point and 6-point top and bottom spacings, respectively.


My code is as follows:
document class book
  1. \usepackage{times}\renewcommand\rmdefault{stb}
  2. \usepackage[left=1.45in, right=1in, top=01in, bottom=1in, includefoot, textwidth = 5.77in, textheight=9.4in]{geometry}
  3. \usepackage{setspace}
  4. \renewcommand{\baselinestretch}{1.5}


Problems faced:

When I print the pages on A4. All margins goes wrong, including, page number position. Odd side and even side page margins also wrong and different from each other.

I will appreciate your any kind of help.

Thanking you all in advance
Last edited by localghost on Wed Feb 22, 2012 10:29 pm, edited 1 time in total.
Reason: Source code has to be tagged as such to keep a post clear and legible (see Board Rules).

Link:
BBcode:
HTML:
Hide post links
Show post links

User avatar
localghost
Site Moderator
Posts: 9206
Joined: Fri Feb 02, 2007 12:06 pm
Location: Braunschweig, Germany

Postby localghost » Wed Feb 22, 2012 10:33 pm

Start with giving the paper size as global option to the document class.
  1. \documentclass[12pt,a4paper,…]{book}

An adequate problem description would contain a minimal example. It will increase your chance for quick and good answers significantly.

By the way, for one and a half times line spacing it is better to just load the setspace package with an appropriate option.
  1. \usepackage[onehalfspacing]{setspace}

Nothing more and nothing less. Especially not a modification to \baselinestretch. For details see l2tabu.


Best regards and welcome to the board
Thorsten
LaTeX Community Moderator
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes


¹ System: openSUSE 13.1 (Linux 3.11.10), TeX Live 2013 (vanilla), TeXworks 0.5 (r1351)
² Posting stopped indefinitely due to offenses

Link:
BBcode:
HTML:
Hide post links
Show post links


Return to “Page Layout”

Who is online

Users browsing this forum: Google [Bot] and 2 guests