
Estou tendo problemas com os números das páginas do meu documento. Estou usando um modelo que meu professor nos deu e não toquei nos números das páginas, mas eles aparecem em lugares diferentes conforme você avança no documento. Está na parte inferior, no centro da página, na primeira página, e os números continuam a ficar no canto superior direito. Eu tentei consertar isso sozinho, mas não consigo, mas esta é a primeira vez que uso o LaTeX. Qualquer sugestão seria apreciada. Aqui está o que tenho no topo do documento atualmente:
\documentclass[a4paper,12pt]{article}
\usepackage{amsmath,graphicx,hyperref,parskip,gensymb,fancyhdr}
\usepackage[cm]{fullpage}
\setlength{\headsep}{0.6 cm}
\pagestyle{myheadings}
\begin{document}
Também tentei \pagenumbering{gobble}
me livrar deles (o que funcionou) e depois \pagestyle{arabic}
trazê-los de volta - esperando que todos estivessem no mesmo lugar, mas não funcionou. De preferência, gostaria que todos os números estivessem no final da página, no centro. Obrigado!
Editar:
\documentclass[a4paper,12pt]{article}
\usepackage{amsmath,graphicx,hyperref,parskip,gensymb,fancyhdr}
\usepackage[cm]{fullpage}
\setlength{\headsep}{0.6 cm}
\pagestyle{myheadings}
\begin{document}
\title{Modelling the Back End of a Bus}
\maketitle
\begin{abstract}
.....
\end{abstract}
\section{introduction}
....
\end{document}
Responder1
\documentclass[a4paper,12pt]{article}
\usepackage{amsmath,graphicx,hyperref,parskip,gensymb,fancyhdr}
\usepackage[cm]{fullpage}
\setlength{\headsep}{0.6 cm}
\setlength{\headheight}{15pt}% comment this line and the next for no header
\addtolength{\textheight}{-15pt}
\usepackage{fancyhdr}
\pagestyle{fancy}
% \renewcommand{\headrulewidth}{0pt}% if you don't want a rule
% \fancyhf[lh,ch,rh]{}% for no header
% \fancyhf[lh]{Something left}
% \fancyhf[rh]{Something right}
% \fancyhf[ch]{Something centre}
\title{Title}
\author{Author}
\begin{document}
\title{Modelling the Back End of a Bus}
\maketitle
\begin{abstract}
.....
\end{abstract}
\section{introduction}
....
\newpage
some text
\end{document}
Responder2
Usar fancyhdr
:
\documentclass{article}
\usepackage{fancyhdr}
\pagestyle{fancy}
\rheader{\thepage}
\begin{document}
Every page will be numbered with the numbers in the upper right hand corner.
\end{document}