I would like to use roman page numbers (i, ii, iii, etc.) at the beginning of a report I am writing. In the main area of the report, I would like to use Arabic page numbers in the page of pages (1 of XX, 2 of XX, etc.) I am using the article class. I have seen articles of how to use both roman and Arabic format but not with the changes in page numbers. Is this possible?

  • \frontmatter for the roman page numbers, for the page of pages use header package, e.g. fancyhdr and the lastpage package – user31729 Oct 9 '17 at 13:57
  • You need to switch from report to book [oneside] class to use \frontmatter. – John Kormylo Oct 9 '17 at 14:03
  • @JohnKormylo: Oh my, I did not notice article class in the post above. Of course article.cls does not provide \frontmatter. You're right about report or book – user31729 Oct 9 '17 at 15:16
  • Thank you for your responses. The response below worked for me. I will try your suggestions as well. I have not used LaTeX for a while and would like to learn it again. – Joe Ciras Oct 10 '17 at 21:31

The article document class, by design, does not provide the convenient directives \frontmatter and mainmatter. However, it's not too difficult to create your desired setup by loading the packages fancyhdr and pageslts.

\usepackage{lipsum} % for filler text


\pagenumbering{roman} % switch to roman numerals
\cfoot{\thepage} % place page number centered in footer line

\lipsum[1-15] % 2+ pages of filler text

\clearpage % start a new page
\pagenumbering{arabic} % switch to arabic numerals, start over at "1"
\cfoot{\thepage\ of \lastpageref{pagesLTS.arabic}}
% (Use \lastpageref*` if also using the `hyperref` package.)

\lipsum[1-20] % 3+ pages of filler text

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.