I am writing a book with amsbook
document class.
I put a \title
, an \author
an\email
and a \date
and then after the \begin{document}
I do a \maketitle
. The result is ugly as the mail is not even centered ... But this personal taste set apart, the table of contents and the page numbering rea fine, pages headers as well. But this does not suit me as I want to include an eps
in my title page. I came accross the custom solution (validated answer as of now from question How can I design a book cover?) that I used :
\documentclass[10pt]{amsbook}
\begin{document}
\clearpage
%% temporary titles
% command to provide stretchy vertical space in proportion
\newcommand\nbvspace[1][3]{\vspace*{\stretch{#1}}}
% allow some slack to avoid under/overfull boxes
\newcommand\nbstretchyspace{\spaceskip0.5em plus 0.25em minus 0.25em}
% To improve spacing on titlepages
\newcommand{\nbtitlestretch}{\spaceskip0.6em}
\pagestyle{empty}
\begin{center}
\bfseries
\nbvspace[1]
{\nbtitlestretch
First line of blah \\second line of blah}
\nbvspace[1]
\LARGE
The title
\nbvspace[1]
\bigskip
\bigskip
\bigskip
\bigskip
\nbvspace[2]
\begin{center}
\includegraphics[scale=1]{./path/to/the/figure.eps}
\end{center}
\nbvspace[4]
\normalsize\normalfont
First version : some date \\
This version : current date
\nbvspace[3]
\normalsize
{\sc First name Last Name}\\
\href{mailto:firstname.lastname@somemail.com}{\tt firstname.lastname@somemail.com}
\nbvspace[1]
\end{center}
%\frontmatter
%
%\pagenumbering{roman} % Start roman numbering
%
\tableofcontents
\setcounter{tocdepth}{3} % 2 pour les subsections
%
%
%\mainmatter
%\pagenumbering{arabic} % Switch to normal numbers
\part{...}
\chapter{...}
\section{...}
Alas this keeps the numbering of pages in the table of contents correct, but all pages numbering disappeared, as well as all headers in all pages ...
I would like to make my headers reappear, as well as the number in the pages as they were before, plus having roman numbers for the table of contents and arabic for all the rest. As show the commented lines in the above code, I tried various things without success.