I have the preamble below, and I want to modify it to obtain:
- the numeration of pages with 1,2, ...etc., not with x,xi, ...etc.
- a line at the top of the page with the right name of the section and the pagenumber to the left.
What modifications do I need?
\documentclass[11pt]{book}
\usepackage{amssymb,amsbsy,amsmath,amsfonts,amssymb,amscd,colordvi}
\usepackage{epsfig}
\usepackage{graphicx}
\usepackage[english]{babel}
\usepackage{times}
%\usepackage{showkeys}
\usepackage{euscript}
\usepackage{graphicx}
\usepackage{caption}
\usepackage{tikz}
\usetikzlibrary{patterns}
\usepackage[utf8]{inputenc}
\usepackage[top=3.5cm, left=30mm, right=20mm,bottom=3.5cm]{geometry}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\topmargin=0cm
\oddsidemargin=0cm
\textwidth=17cm
\textheight=23.0cm
\topmargin=-1cm
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\def \croix{\hbox{\bf \Large +}}
\newcommand{\Fe}{\mathcal F^{\varepsilon}}
\def \vd{{\varepsilon,\delta}}
\def\d{\delta}
\def \ve{\varepsilon}
\def \eps{\epsilon}
\def \limsup{\mathop{\overline {\rm lim}}}
\def \liminf{\mathop{\underline{\rm lim}}}
\def \be{\begin{equation}}
\def \ee{\end{equation}}
\def \mm{\mathfrak{M}}
\def \ff{\mathfrak{F}}
\def \ge{\mathfrak{g}}
\def \aa{\mathfrak{A}}
\def \e1{\mathfrak{e}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\def \ved{{\varepsilon,\delta}}%
\def \vedka{{\varepsilon,\delta,\varkappa}}%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\def \eqdef{\stackrel {\rm def} {=}}
\usepackage{color}
\def\red{\textcolor{red}}
\def\blue{\textcolor{blue}}
\def\green{\textcolor{green}}
\def\magenta{\textcolor{magenta}}
\def\cyan{\textcolor{cyan}}
\def \meas{{\rm meas}\,}
\def \div{{\rm div}\,}
% % % % % % % % % % % % % % % %
\def\oz{\overline{z}}
\def\ox{\overline{x}}
\def\mx{\mathsf m}
\def\fr{\mathsf f}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newtheorem{theorem}{Theorem}[section]
\newtheorem{lemma}{Lemma}[section]
\newtheorem{definition}[theorem]{Definition}
\newtheorem{remark}{\rm Remark\/}
\newtheorem{corollary}[theorem]{Corollary}
\newtheorem{proposition}[theorem]{Proposition}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%le petit carre de fin de demonstration
\def \trait (#1) (#2) (#3){\vrule width #1pt height #2pt depth #3pt}
\def \fin{\hfill
\trait (0.1) (5) (0)
\trait (5) (0.1) (0)
\kern-5pt
\trait (5) (5) (-4.9)
\trait (0.1) (5) (0)
\medskip}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\font \twbbb= msbm10 scaled \magstep0 % definitions
\font \tenbbb= msbm7 scaled \magstep0 % for the font
\newfam\bbbfam \def\Bbb{\fam\bbbfam\twbbb} % \Bbb
\textfont\bbbfam=\twbbb \scriptfont\bbbfam=\tenbbb %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\def \R{{\Bbb R}} \def \C{{\Bbb C}} \def \Z{{\Bbb Z}}
\def \I{{\Bbb I}} \def \N{{\Bbb N}}
\def \ww{\mathfrak{w}}
\def \rr{\mathfrak{r}}
\def \ss{\mathfrak{S}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
\renewcommand{\theequation}{\thechapter .\arabic{equation}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\renewcommand{\baselinestretch}{1.2}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\frontmatter
\begin{small}
\tableofcontents
\end{small}
\documentclass
line. – MaxNoe Oct 18 '15 at 16:16\frontmatter
sets up roman page numbers,\mainmatter
switches to arabic. If you don't want the ToC etc. to have roman page numbers, just remove\frontmatter
... – Torbjørn T. Oct 18 '15 at 16:58