Page LayoutTOC on left page using the Book Class

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
BoudewijnD
Posts: 60
Joined: Wed Nov 18, 2009 4:18 pm

TOC on left page using the Book Class

Post by BoudewijnD »

Hi,

I know it is kind of strange but I would like to make an exception on the book class,. It normally starts with a chapter on the right page. But I want my TOC printed on the left page the rest of the chapters should start on the right hand side. Is there a way to trick latex in to doing just that??

\BoudewijnD
Last edited by BoudewijnD on Wed Aug 17, 2011 8:45 pm, edited 1 time in total.

Recommended reading 2024:

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

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

kaiserkarl13
Posts: 707
Joined: Tue Mar 25, 2008 5:02 pm

TOC on left page using the Book Class

Post by kaiserkarl13 »

If you have a look at book.cls, the only thing it does when processing the "openany" option is issue \@openrightfalse. You might try issuing the following:

Code: Select all

\makeatletter
\@openrightfalse
\tableofcontents
\@openrighttrue
\makeatother
It may not work, especially if the \@openright(false|true) macros only work inside book.cls, but it's worth a try.
BoudewijnD
Posts: 60
Joined: Wed Nov 18, 2009 4:18 pm

Re: TOC on left page using the Book Class

Post by BoudewijnD »

Hey Kaiserkarl1,

Thanx that piece of code did the tric. The only thing is that I cann't change the name of the TOC it self.

\BoudewijnS
kaiserkarl13
Posts: 707
Joined: Tue Mar 25, 2008 5:02 pm

Re: TOC on left page using the Book Class

Post by kaiserkarl13 »

How about "\renewcommand{\contentsname}{My Contents}"?
BoudewijnD
Posts: 60
Joined: Wed Nov 18, 2009 4:18 pm

TOC on left page using the Book Class

Post by BoudewijnD »

That i tried but fails I now use the

Code: Select all

\def
to redfine the toc and that works.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10324
Joined: Mon Mar 10, 2008 9:44 pm

TOC on left page using the Book Class

Post by Stefan Kottwitz »

If you use babel, such as by

Code: Select all

\usepackage[english]{babel}
then use \addto, to override babel language settings:

Code: Select all

\addto\captionsenglish{%
  \renewcommand\contentsname{Table of Contents}%
}
Stefan
LaTeX.org admin
Post Reply