Números de página en diferentes posiciones en diferentes páginas

Números de página en diferentes posiciones en diferentes páginas

Tengo problemas con los números de página de mi documento. Estoy usando una plantilla que mi profesor nos dio a todos y no he tocado los números de página, pero aparecen en diferentes lugares a medida que avanzas en el documento. Está en la parte inferior, en el centro de la primera página, y los números continúan desde entonces hasta estar en la esquina superior derecha. Intenté solucionar este problema yo mismo, pero parece que no puedo hacerlo; sin embargo, esta es la primera vez que uso LaTeX. Cualquier sugerencia sera apreciada. Esto es lo que tengo en la parte superior del documento actualmente:

\documentclass[a4paper,12pt]{article}
\usepackage{amsmath,graphicx,hyperref,parskip,gensymb,fancyhdr}
\usepackage[cm]{fullpage}
\setlength{\headsep}{0.6 cm}
\pagestyle{myheadings}

\begin{document}

También traté \pagenumbering{gobble}de deshacerme de ellos (lo cual funcionó) y luego \pagestyle{arabic}traerlos de regreso, con la esperanza de que estuvieran todos en el mismo lugar, pero esto no funcionó. Preferiblemente, me gustaría que todos los números estuvieran al final de la página, en el centro. ¡Gracias!

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}

Respuesta1

\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}

estilo de página elegante

Respuesta2

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}

información relacionada