General ⇒ custom page numbers and title pages
custom 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?
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- Stefan Kottwitz
- Site Admin
- Posts: 10360
- Joined: Mon Mar 10, 2008 9:44 pm
custom page numbers and title pages
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
custom page numbers and title pages
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: 10360
- Joined: Mon Mar 10, 2008 9:44 pm
custom page numbers and title pages
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