Featured Book

LaTeX Beginners Guide

Who is online

In total there are 11 users online :: 0 registered, 0 hidden and 11 guests (based on users active over the past 5 minutes)
Most users ever online was 1327 on Tue Nov 05, 2013 7:11 pm

Users browsing this forum: No registered users and 11 guests

Partner Sites

TeXwelt - Fragen und Antworten goLaTeX
TeXblog
TeXnicCenter
TeXample

Margin Settings for A4 Paper Size

Add tags Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).

Margin Settings for A4 Paper Size

Postby fazli on Wed Feb 22nd, 2012

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
Code: Select all  •  Open in writeLaTeX
\usepackage{times}\renewcommand\rmdefault{stb}
\usepackage[left=1.45in, right=1in, top=01in, bottom=1in, includefoot, textwidth = 5.77in, textheight=9.4in]{geometry}
\usepackage{setspace}
\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 22nd, 2012, edited 1 time in total.
Reason: Source code has to be tagged as such to keep a post clear and legible (see Board Rules).
fazli
 
Posts: 3
Joined: Wed Feb 22nd, 2012

Re: Margin Settings for A4 Paper Size

Postby localghost on Wed Feb 22nd, 2012

Start with giving the paper size as global option to the document class.
Code: Select all  •  Open in writeLaTeX
\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.
Code: Select all  •  Open in writeLaTeX
\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
User avatar
localghost
Site Moderator
 
Posts: 9219
Joined: Fri Feb 2nd, 2007
Location: Braunschweig, Germany


Return to Page Layout

Who is online

Users browsing this forum: No registered users and 11 guests