Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Left/Right mixed up?

779 views
Skip to first unread message

Steven Ribeiro-Ayeh

unread,
Oct 13, 1997, 3:00:00 AM10/13/97
to

Hej,
I have a problem with the book style in LaTeX. I want to start a book
with three titlepages (right hand, no number), followed by the Table of
Contents (right hand opening, roman) and the chapters (right hand
opening, arabic).
Apparently this does not work the way I try it. LaTeX starts the first
page as a right hand odd page with a (wrong) right side margin. Left and
right seem to be mixed up, as all subsequent pages have the margin on
the wrong side (both left and right pages).
I tried to add an extra white page before the first one, but this does
not help.
The options {openright, openleft} do not seem to work either, they do
not change anything.

My file looks like this:

\documentclass[12pt,a4paper,twopage,openright]{book}
%------------------------------------------------------------------------=
-
\begin{document}
\frontmatter
\pagestyle{empty}
My first titlepage
\cleardoublepage
[... the other titlepages in the same manner ...]
\cleardoublepage
%------------------------------------------------------------------------=
-
\pagestyle{fancy}
\pagenumbering{roman}
\tableofcontents
\pagenumbering{arabic}
%------------------------------------------------------------------------=
-
\mainmatter
\input{My first chapter}
[... and so on.]


Maybe I have spent way too much time at the computer and I only believe
this is a problem. If not, I appreciate any helpful suggestion. Thank
you!

/Steven Ribeiro-Ayeh

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Kunglia Tekniska H=F6gskolan (KTH)
Department of Aeronautics
Division of Lightweight Structures
S-100 44 Stockholm, Sweden
Phone: +46-8-790 64 41
Fax: +46-8-20 78 65
E-mail: ste...@flyg.kth.se
http://www.flyg.kth.se
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

Axel Reichert

unread,
Oct 13, 1997, 3:00:00 AM10/13/97
to

Steven Ribeiro-Ayeh wrote:
>
> Left and
> right seem to be mixed up, as all subsequent pages have the margin on
> the wrong side (both left and right pages).

May be _you_ mixed up something: The outer margin normally is twice as
big as the inner margin. If you open the book, you receive three
margins of the same width: Left, near the binding, right. You should
add binding correction to this in order to get this right after binding.

Happy TeXing!

--
Axel Reichert --
http://mt.mpie-duesseldorf.mpg.de/people/reich/reich.htm

Robin Fairbairns

unread,
Oct 14, 1997, 3:00:00 AM10/14/97
to

In article <34427317...@flyg.kth.se>,

Steven Ribeiro-Ayeh <ste...@flyg.kth.se> wrote:
>I have a problem with the book style in LaTeX. I want to start a book
>with three titlepages (right hand, no number), followed by the Table of
>Contents (right hand opening, roman) and the chapters (right hand
>opening, arabic).
>Apparently this does not work the way I try it. LaTeX starts the first
>page as a right hand odd page with a (wrong) right side margin. Left and

>right seem to be mixed up, as all subsequent pages have the margin on
>the wrong side (both left and right pages).
>I tried to add an extra white page before the first one, but this does
>not help.
>The options {openright, openleft} do not seem to work either, they do

There is no option openleft: the opposite of openright is `openany'

>\documentclass[12pt,a4paper,twopage,openright]{book}

What is this twopage option? openright (and \cleardoublepage) only
make any difference in twoside option; since that's the default in
book class, I wouldn't normally identify it as a possible problem, but
since we're getting some confusion here, I wonder if it is the issue?

>\begin{document}
>\frontmatter
>\pagestyle{empty}
>My first titlepage
>\cleardoublepage
>[... the other titlepages in the same manner ...]
>\cleardoublepage

If each of your title pages (quite reasonably) sets page number zero,
then \cleardoublepage won't do what you want.

What you need is what \cleardoublepage does, but without the
surrounding `oddness' test.

<matter of title page>
\clearpage % to force the title page out
\hbox{}\newpage % to provide a back for the title page

>\pagestyle{fancy}
>\pagenumbering{roman}
>\tableofcontents
>\pagenumbering{arabic}

You don't actually need this: \mainmatter does it for you.

>\mainmatter
>\input{My first chapter}
>[... and so on.]

--
Robin (Campaign for Real Radio 3) Fairbairns r...@cl.cam.ac.uk
U of Cambridge Computer Lab, Pembroke St, Cambridge CB2 3QG, UK
Home page: http://www.cl.cam.ac.uk/users/rf/robin.html

Piet van Oostrum

unread,
Oct 14, 1997, 3:00:00 AM10/14/97
to

>>>>> Steven Ribeiro-Ayeh <ste...@flyg.kth.se> (SR) writes:

SR> Hej,
SR> I have a problem with the book style in LaTeX. I want to start a book
SR> with three titlepages (right hand, no number), followed by the Table of
SR> Contents (right hand opening, roman) and the chapters (right hand
SR> opening, arabic).
SR> Apparently this does not work the way I try it. LaTeX starts the first
SR> page as a right hand odd page with a (wrong) right side margin. Left and
SR> right seem to be mixed up, as all subsequent pages have the margin on
SR> the wrong side (both left and right pages).
SR> I tried to add an extra white page before the first one, but this does
SR> not help.
SR> The options {openright, openleft} do not seem to work either, they do
SR> not change anything.

You have another impression about the right and wrong margins than LaTeX
has. Almost allways when I have seen this question it appears that the
asker wants a wide margin in the middle, where the pages are bound and a
narrow margin on the outside. This is reasonable if you are going to staple
the pages. However a lot of books have the narrow margin on the inside and
the wide margins on the outside. And that is what LaTeX does.

If you want it different, just change the margins yourself (\setlength the
\evensidemargin and \oddsidemargin, or use the geometry package).

--
Piet van Oostrum <pi...@cs.ruu.nl>
URL: http://www.cs.ruu.nl/~piet [PGP]
Private email: Piet.van...@pi.net

Jonas Bofjall

unread,
Oct 19, 1997, 3:00:00 AM10/19/97
to

Steven Ribeiro-Ayeh (ste...@flyg.kth.se) wrote:
> Hej,

Hej sjaelv!

> Apparently this does not work the way I try it. LaTeX starts the first

> page as a right hand odd page with a (wrong) right side margin. Left and

> right seem to be mixed up, as all subsequent pages have the margin on

This is normal in LaTeX. You want to change the margins, so I recommend the
`geometry'-package available on CTAN. Download the file ftp://ftp.sunet.se/
pub/text-processing/TeX/macros/latex/contrib/supported/geometry/geometry*.
(This is the CTAN mirror I use, maybe KTH has a mirror of its own... sunet
is fast though). Then run:
latex geometry.ins
latex geometry.dtx

and you will get an geometry.dvi describing how to use the package.
Before you do this, you can try just: \usepackage{geometry}
(it might already be in your LaTeX distribution if you have a fairly
complete one). Then look for its documentation on your disk.

It is very easy to use, just remember to put the \geometry{}-command
before \begin{document} otherwise you'll get trouble.

// Jonas <j...@abc.se> [2:201/262.37]

0 new messages