Page Layoutcenter page in twopage mode

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
musiKk
Posts: 2
Joined: Fri Dec 18, 2009 7:21 pm

center page in twopage mode

Post by musiKk »

Hi,

I'm creating a document with documentclass report in twopage mode so every page is not centered horizontally but shifted towards the center. Now I want a title page that is centered. Being on an odd page (page 1) the content of the page is shifted to the left. Is it possible to center it? If yes, I'd be happy about solutions. I tried playing around with \marginparwidth to no avail. Nothing changed. I also didn't find any solution on Google.

A small example is as follows:

Code: Select all

Code, edit and compile here:
\documentclass[twoside,a4paper]{report}
\begin{document}
\begin{titlepage}
\begin{center}
{\Huge Title Title Title Title Title Title Title}
\end{center}
\end{titlepage}
\end{document}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
The difference is subtle but quite recognizable with more content.

Greetings
mK

Recommended reading 2024:

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

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

frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

center page in twopage mode

Post by frabjous »

You could try the tocenter package.
musiKk
Posts: 2
Joined: Fri Dec 18, 2009 7:21 pm

center page in twopage mode

Post by musiKk »

Thank you for your reply.
I don't know if I'm using the package wrong but I don't think the tocenter package will do. I tried to center a page with the \ToCenter macro but LaTeX told me it can be used only in the preamble which means it would apply to the whole document instead of only the first page.

Maybe there is another package or macro that does it? I'm really curious why there doesn't seem to be a way to center something in a twopage layout and also why changing \marginparwidth yields no effect.

In the end it is no disaster. I can always compile the document in onepage and twopage mode and stitch the pages together with pdftk but a native LaTeX solution would of course be better.

Greetings
mK

edit: Of course I mean oneside and twoside, not onepage and twopage.
Post Reply