I am only getting the first page numbered and subsequently it is not numbering the following pages. The error starts after the article title which depicts the abstract and then starts with the text, therefore I cannot use \clearpage. I have attached some code here.



        \paragraph*{Keywords : }




Additionally, the problem might be cause from the includes\titlePagewhich I am attaching here:

% On the header of the title page
\lhead{\includegraphics[height=0.8cm]{./images/Uni-logo.png} \\\textit{Chair of Uni}}

% On the authors and the title of the project
\vspace*{3 mm}
\begin{center}\huge{\textbf{Title of article}}\\[10pt]\end{center}
\begin{center} \textbf{Author}\\[5pt]\end{center}
  • Welcome to TeX.SX! You can have a look at our starter guide to familiarize yourself further with our format. Sep 21 '15 at 5:21
  • Your code snippet provides no evidence that anything would go wrong. We need more information.
    – Werner
    Sep 21 '15 at 6:22
  • You probably have some \pagestyle{empty} in some of your input files.
    – egreg
    Sep 21 '15 at 7:41
  • @werner I have added some more information from my problem, thanks for your help Sep 21 '15 at 8:47

\pagenumbering{gobble} is a not-really-good way how to hide page numbers (and possibly confuse LaTeX). You seem not to want to hide them, so you probably want to remove this line.

  • The error still continues. They instructed me to add this line in order for the page numbering to not repeat twice in the same page, but it seems with our without it, it doesn't work. Sep 21 '15 at 9:24
  • 1
    In that case, you will probably have to cut down your (probably really huge) document into a minimal (non-)working example.
    – yo'
    Sep 21 '15 at 9:26
  • btw, if you had page numbers appearing twice on every page, something is seriously wrong with your document (probably after following some bad advice). Adding more bad code can't solve such an issue.
    – yo'
    Sep 21 '15 at 9:28
  • No, I meant that I was instructed to, but never tried it before. I am still learning how to use LaTeX. Sep 21 '15 at 9:41
  • @yo' While \pagenumbering{gobble} is surely no good idea, I think it's not the culprit here, for right after the \inputted file there is another \pagenumbering{arabic}. There is surely something else going wrong here...
    – campa
    Sep 21 '15 at 11:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.