MakeIndex, Nomenclature, Glossaries and AcronymsApply Roman Page Numbering to Nomenclature

Information and discussion about MakeIndex - the tool to generate subject indices for LaTeX documents.
Post Reply
scallopboy
Posts: 3
Joined: Mon Mar 26, 2012 11:49 pm

Apply Roman Page Numbering to Nomenclature

Post by scallopboy »

Hi there,

I have been trying to create a nomenclature page right before my introduction begins in my report. All pages leading up to the nomenclature have been successfully given roman page numbers. I would like to apply the same to the nomenclature. However, as it stands the nomenclature is numbered page 1 in arabic numbering.

I have used a batch file in order to create the nomenclature. Initially I thought I would have to write '\pagenumbering{roman}' into either the .nlo or .nls files that are used to create the nomenclature. However, this command is never successfully saved in these files.

So I am now thinking the problem lies in the body of the main tex file. I have tried the '\setcounter' command but this does not work either.

If anyone has experienced this problem before I would greatly appreciate your advice. Or if anyone has suggestions I would also be grateful.

Many Thanks

Jamie

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
Stefan Kottwitz
Site Admin
Posts: 10319
Joined: Mon Mar 10, 2008 9:44 pm

Apply Roman Page Numbering to Nomenclature

Post by Stefan Kottwitz »

Hi Jamie,

welcome to the board!

You could redefine the command \nompreamble and place your command \pagenumbering{roman} or a redefinition of \thepage there.

Stefan
LaTeX.org admin
scallopboy
Posts: 3
Joined: Mon Mar 26, 2012 11:49 pm

Apply Roman Page Numbering to Nomenclature

Post by scallopboy »

Hi Stefan,

Thanks for getting back in touch. I tried your suggestion of adding the \pagenumbering{roman} to the \nompreamble. An example of how this is inserted is shown below. As you can see I have split the nomenclature into two columns.

However, this method makes no change. The nomenclature is still numbered page one in arabic. Can you see what I am doing wrong?

Code: Select all

\renewcommand*\nompreamble{\begin{multicols}{2}, \pagenumbering{roman}}
\renewcommand*\nompostamble{\end{multicols}}
Last edited by scallopboy on Mon Apr 16, 2012 8:54 pm, edited 1 time in total.
scallopboy
Posts: 3
Joined: Mon Mar 26, 2012 11:49 pm

Apply Roman Page Numbering to Nomenclature

Post by scallopboy »

Hi Stefan,

I managed to solve the problem. As usual, it was a simple error. I'll try and explain as clearly as possible.

I had a title inserted first, followed by:

Code: Select all

\renewcommand{\thepage}{\roman{page}}

\tableofcontents
\listoffigures
\listoftables

\renewcommand\nompreamble{\begin{multicols}{2}}
\renewcommand\nompostamble{\end{multicols}}
\printnomenclature

\renewcommand{\thepage}{\arabic{page}}
Thereafter followed the mainmatter of the document.

To solve the problem I simply inserted \clearpage after the \printnomenclature command, as follows:

Code: Select all

\printnomenclature
\clearpage

\renewcommand{\thepage}{\arabic{page}}
I hope this helps anybody experiencing the same problem. It may seem trivial to some, but I spent hours on it!

Jamie
Post Reply