LyXTOC, List of Figs, List of Tables - all roman numerals

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
Cavelcade
Posts: 5
Joined: Mon Aug 20, 2012 2:22 am

TOC, List of Figs, List of Tables - all roman numerals

Post by Cavelcade »

Hi all,

I am currently doing the last touching up on my thesis and there is literally just one last thing I am unhappy with - the numbering of the frontmatter. I am using the standard thesis style that comes with the LyX 2.0 package, with the chapters in child documents etc, and it all works perfectly.

But when I output to pdf, the numbering goes:

FRONT PAGE: No number (Good!)

FIRST CONTENTS PAGE: i - good.
SECOND CONTENTS PAGE: ii - very good!

List of figures page - 1. That's bad. :(
List of tables page - 2. That's bad, too.

Page 1 of the thesis main matter- 3. That's not what I want at all!


What I'd like it to be is:


FRONT PAGE: No number (Good!)

FIRST CONTENTS PAGE: i - good.
SECOND CONTENTS PAGE: ii - very good!

List of figures page - iii That's bad. :(
List of tables page - iv. That's bad, too.

Page 1 of the thesis - 1. That's not what I want at all!


Is there a simple way to do this?

Thanks in advance.

Recommended reading 2024:

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

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

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Cavelcade
Posts: 5
Joined: Mon Aug 20, 2012 2:22 am

Re: TOC, List of Figs, List of Tables - all roman numerals

Post by Cavelcade »

Through some (sometimes painful) trial and error, it's been resolved. Thanks to the forum posts that helped me out!
Cavelcade
Posts: 5
Joined: Mon Aug 20, 2012 2:22 am

TOC, List of Figs, List of Tables - all roman numerals

Post by Cavelcade »

To save anyone else the trouble of dealing with this issue as well, here was the work around I found (which also avoids issues of random pages showing up where they shouldn't be).

I had to move the ERT inset containing the \pagestyle{fancy} above the Table of Contents.
Then between the TOC and the List of Figures (which I had before the list of tables) I put the following in an ERT redbox.

Code: Select all

\clearpage
\pagenumbering{roman}
\setcounter{page}{4}
My TOC was 3 pages long, hence starting at 4 for the rest...

I also wanted a blank page between my Acknowledgements and the start of my material, so I entered the following in an ERT between that and the chapter 1 child document:

Code: Select all

\thispagestyle{empty}
\newpage
Below this, I entered a force space with ctrl+spacebar and then after that entered the following ERT

Code: Select all

\newpage
To set the pagecount at the start of Chapter 1 back to 1 and back to arabic numerals, I opened the child document and went to just above the first paragraph and entered the following ERT:

Code: Select all

\setcounter{page}{1}
\pagenumbering{arabic}
This has the formatting exactly the way I want it.
Last edited by Stefan Kottwitz on Mon Aug 20, 2012 6:51 pm, edited 1 time in total.
sakisgw3
Posts: 1
Joined: Tue Feb 07, 2017 7:12 pm

TOC, List of Figs, List of Tables - all roman numerals

Post by sakisgw3 »

I noticed that no one has replied to your thread and since it actully helped me with the very same problem, I've go to thank you! :mrgreen: Worked like a charm!
User avatar
Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

TOC, List of Figs, List of Tables - all roman numerals

Post by Stefan Kottwitz »

Hi sakisgw3,

welcome to the forum! Thanks for confirming the solution. With ERT, anything is possible. ;-)
Maybe next time when you notice an issue, we can help you too. Or you us. :D

Stefan
LaTeX.org admin
Post Reply