I have two questions on customizing page numbers and title pages.
1. I want my page numbers to appear in the upper right hand corner, and have been able to get this result using fancyhdr. However, the page number of the first chapter still appears at the bottom of the page in the center. How do I fix this?
2. When making a custom title page, how can I increase the spacing between the top of the page and the first part of the title?
General ⇒ custom page numbers and title pages
NEW: TikZ book now 40% off at Amazon.com for a short time.

- Stefan Kottwitz
- Site Admin
- Posts: 10345
- Joined: Mon Mar 10, 2008 9:44 pm
custom page numbers and title pages
Hi surlygrad,
welcome to the LaTeX Community board!
1. use \fancypagestyle{plain}{}, see fancyhdr documentation 7 Redefining plain style.
2. use \vspace (\vspace*). If you still don't know how then show us your code for the titlepage.
Stefan
welcome to the LaTeX Community board!
1. use \fancypagestyle{plain}{}, see fancyhdr documentation 7 Redefining plain style.
2. use \vspace (\vspace*). If you still don't know how then show us your code for the titlepage.
Stefan
LaTeX.org admin
custom page numbers and title pages
With regard to the page numbers, I've tried several things. For instance, if I just use \pagestyle{headings}, it sticks the numbers where I want them, except on the first page of each chapter. I've tried using \pagestyle{fancy} with the various options, but that doesn't seem to do anything.
For the title page, I have something like:
\begin{titlepage}
\begin{center}
\vspace{4in}
\begin{Huge}The Nonsense\end{Huge}
\vskip 1in
\begin{large}
surlygrad\
\end{large}
\vskip 1in
\scriptsize SUBMITTED IN PARTIAL FULFILLMENT OF THE \\
\scriptsize REQUIREMENTS FOR THE DEGREE \\
\scriptsize OF DOCTOR OF PHILOSOPHY \\
\vskip 1.5in
\begin{large} Blah University\\
2008
\vfill
\end{large}
\end{center}
\end{titlepage}
However, no matter what I set that \vspace value to, the title always begins at the top of the page, which is not what I want.
For the title page, I have something like:
\begin{titlepage}
\begin{center}
\vspace{4in}
\begin{Huge}The Nonsense\end{Huge}
\vskip 1in
\begin{large}
surlygrad\
\end{large}
\vskip 1in
\scriptsize SUBMITTED IN PARTIAL FULFILLMENT OF THE \\
\scriptsize REQUIREMENTS FOR THE DEGREE \\
\scriptsize OF DOCTOR OF PHILOSOPHY \\
\vskip 1.5in
\begin{large} Blah University\\
2008
\vfill
\end{large}
\end{center}
\end{titlepage}
However, no matter what I set that \vspace value to, the title always begins at the top of the page, which is not what I want.
Stefan_K wrote:Hi surlygrad,
welcome to the LaTeX Community board!
1. use \fancypagestyle{plain}{}, see fancyhdr documentation 7 Redefining plain style.
2. use \vspace (\vspace*). If you still don't know how then show us your code for the titlepage.
Stefan
- Stefan Kottwitz
- Site Admin
- Posts: 10345
- Joined: Mon Mar 10, 2008 9:44 pm
custom page numbers and title pages
Hi surlygrad,
you did not mention if you tried \fancypagestyle{plain}{} like I recommended above when you use fancyhdr.
If you use \pagestyle{headings} you can just write \thispagestyle{headings} at the beginning of a chapter. Or try globally in your preamble:
Concerning the titlepage: use \vspace* instead of \vspace:
I mentioned it above and gave a link. I thought if you ask a question you would try the answer then and look at the given links. It almost seems as you did not read what I wrote about \fancypagestyle{plain}{} and ignored the links to the documentation of fancyhdr and \vspace.
Stefan
you did not mention if you tried \fancypagestyle{plain}{} like I recommended above when you use fancyhdr.
If you use \pagestyle{headings} you can just write \thispagestyle{headings} at the beginning of a chapter. Or try globally in your preamble:
Code: Select all
\pagestyle{headings}
\makeatletter
\let\ps@plain\ps@headings
\makeatother
Code: Select all
\begin{titlepage}
\begin{center}
\vspace*{4in}
\begin{Huge}The Nonsense\end{Huge}

Stefan
LaTeX.org admin