Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Frontmatter page numbering #101

Closed
pricemg opened this issue Aug 25, 2016 · 6 comments
Closed

Frontmatter page numbering #101

pricemg opened this issue Aug 25, 2016 · 6 comments

Comments

@pricemg
Copy link

pricemg commented Aug 25, 2016

Hi, in the final construction of my thesis I have noticed that my page numbering is running as arabic from the title page, whereas I expected (and thought from having a quick look through the cls file) that it would be roman numbering for the front matter up to the start of the main matter (i.e page one of chapter one) where it would switch to arabic numbers.

I tried just inserting \pagenumbering{roman} after the \frontmatter command, and then \pagenumbering{arabic} after \mainmatter. This however does not work correctly either, with page one of chapter one being recorded as page 2, and page 1 being the final page of my list of figures.

Any help would be great, I think this falls into the normal remit of an issue ticket as it's not the behaviour I am expecting from the template when using the \frontmatter and \mainmatter.

Matt

EDIT: on a quick glance through the sample pdf I've just noticed the page numbering there is exactly as I would have expected, so the issue lies with something I have done to my local copy. I'll download a fresh copy of the template and start again perhaps.

EDIT 2: It was the fact I still had draft mode enabled.

@pricemg pricemg closed this as completed Aug 25, 2016
@kks32 kks32 reopened this Sep 8, 2016
@kks32
Copy link
Owner

kks32 commented Sep 8, 2016

@johannesbottcher Thanks for the links. The romanpages environment definition isn't part of the class file, it was in the preamble, but was never used. I have removed it. The template only uses \frontmatter, \mainmatter, and \backmatter.

@kks32
Copy link
Owner

kks32 commented Sep 8, 2016

@pricemg https://github.com/kks32/phd-thesis-template/releases/tag/v2.2.1 Fixes the issue with page numbering in draft mode.

@kks32 kks32 closed this as completed Sep 8, 2016
@chaaridev
Copy link

chaaridev commented Sep 28, 2016

@kks32 Hi, I tried all the solutions here but I can't show romain page numbering for front matter in the first pages and in the table of content. Help please

@kks32 kks32 reopened this Sep 28, 2016
@kks32
Copy link
Owner

kks32 commented Sep 28, 2016

@tunfastdev By default, the template uses roman numerals for the frontmatter section. Are you compiling it in draft mode? Do you have the option draft in the \documentclass[]? From v2.2.1 that should work as well. Could you please share a screenshot of the Table of Contents page?

@kks32 kks32 closed this as completed Apr 23, 2017
@George11235
Copy link

Hi, I'm having the same issue in that I can't see the roman numbers on the front matter pages. It says in my TOC page that my list of figures is on xiii but on the list of figures page itself there is no xiii number shown. Is there a way to add this? Cheers! :)

Fourthbus added a commit to Fourthbus/thesis-template that referenced this issue Jul 9, 2024
* Sync PDF, DVI, PS with TeX file

* Changelog

* Update to README makepdf makeps

* MIT License

* Changelog

* Updated format in tex file

* update to changelog

* Appendices after references

* Version 1.0

* Update to Acknowledgment

* Update to ChangeLog

* Acknowledgements

* Update ChangeLog

* TOC, LOF, LOT renaming options

* Biblatex implementation in progress

* Biblatex with TOC

* Bibfile specification in thesis.tex

* PhD Thesis Template Latest

* Version 1.1 Biblatex - bibtex backed and chapter mode

* Update to readme

* Modification on how biblatex was handled

* update to readme

* Version 1.1.1

* Abstract Separate with no page numbering and Declaration as per university guidelines

* Removed dependencies on obsolete packages

* Update to readme

* Version 1.2

* draft mode fixed hyperref issue

* compile-thesis.sh: Fix typo.

* arara, wc, shellscript update

* Arara default is latex

* Subcaption package and line spacing

* Supports Latexmk

* latexmk with mpost

* inkscape files handling in latexmk

* breakurl sty file

* Lineno enable/disable option

* restylefloat in preamble

* Update to readme

* lineno and caption packages

* draftcopy

* Draft mode with figures

* Arara clean

* backref removed as it's previously loaded

* fixed onehalfspace bug in cls file

* PDFLaTeX footnote warning fixed moved hyperref after all packages are loaded

* Moved hyperref package definition above breakurl -- fixed dependency issue

* Grammer change in declaration

Changed ‘less’ to ‘fewer’

* Declaration grammer and acknowledgments

* One-half spacing as default

* Draft using Background package

* Draftmode with watermark

* Degree date automated

* Draft - Position and version customisation

* Gray Scale

* CustomMargin

* CustomMargin with check for geometry package

* Draft disable figures option

* Custom Font

* Custom Bibliography

* Customfont - duplicating options has to be checked

* custombib with error catcher

* Font selection with conflict prevention

* Sentence case as per Uni identity guidelines

* Custom Font and messages

* Backward compatibility - setMargin

* Readme - draftmode

* Hotfix: custommargin was printing true on the first page - issue fixed

* Justified text

* Justify bug fixed

* Formatting tables - guidelines

* trying out travis-ci

* Travis-CI: Build status in readme

* Update to travis yml to minimise latex base

* texlive-science in travis - siunitx

* Travis - fonts

* Texlive fonts in travis-ci

* license and readme

* update to license.md

* travis - latex - dvi - ps2pdf

* travis - psutils

* degree date is centered, when college is undefined

* Fixes kks32#18: Custombib displays true on front page

* Version 1.3-stable bug fix custombib

* custombib - true on front page issue fixed

* Subtitle fixed kks32#9

* Fixes issue with declaration

* update to changelog

* Update to Readme

* Update to Readme and Changelog

* Update to ChangeLog

* Version 1.4

* biblatex check and lineno

* numbered citation

* Version 1.4.1 update to declaration and customfont set to Helvet

* Update to Readme

* 80 character width enforcement

* ChangeLog for version 1.4.1

* Update to latest release link in readme file

* Todo notes - annotations

* Tweaks to todonotes

* Club and widow penalty

* Fixed nomencl[x units] in abstract mode

* Moved todo notes to preamble

* setDraft

* Draftmode with comment options

* Hide TOC in TOC

* Table of contents in bookmarks and not in contents

* Fixes issue kks32#23

* Update to readme incl. Texstudio - nomenclature

* draft and draftclassic

* Draft and Draft classic support

* Fixing the pagenumbering issue in oneside

* Fixing oneside titlepage numbering error

* Moved oneside page numbering issue fix to class file

* Fixes kks32#24 issue on one-side pagenumbering in titlepage

* Update to readme - draftmode

* Version 1.4.2

* Fixed Issue kks32#26

* Version 1.4.3

* Add a Bitdeli badge to README

* removed trending

* College shields in the front page [optional] and title page cleanup

* Kings shield from college

* Minimum crest width for University crest and logo

* Title page width adjustment

* bug nomenclature page numbering

* Fixed issue kks32#28

* Version 1.4.4

* update to changelog

* removed the classfile from the main folder

* Nomenclature issue kks32#28 fixed

* Dropped arara support

* Fixed issue with alignment on front page

* version 1.4.5

* v1.4.5

* v1.4.5 fixed title page alignment

* Title page alignment issue fixed

* fixes issue kks32#29

* Fixes issue kks32#29

* draftclassic and draft instructions in thesis file

* Remove deprecated commands

* Update to readme for openany option

* updated to readme for openany option

* Version 2.0 Coding with XeLaTeX and LuaLaTeX support

* LuaLaTeX and XeLaTeX support

* College shield

* College and Year alignment

* CUED LaTeX PhD Thesis Template - v2.0

* Fixed reopened issue kks32#16

* Updated changelog

* ragged bottom, parskip and enumeration spaces

* Added support to include supervisor and advisor

* v2.1

* Add Gitter badge

* Add Gitter badge

* clarified latexmk xelatex command  line

* extended xelatex commands with makeindex

> latexmk -xelatex -g thesis.tex
> makeindex thesis.nlo -s nomencl.ist -o thesis.nls
> latexmk -xelatex -g thesis.tex

This ensures that the nomenclature is included if defined, latexmk is not capable of doing so unless hacked
https://mg.readthedocs.org/latexmk.html

* Update University logo long version and link to logo in Readme

* Gonville and Caius shield

* make it executable

* added multiple supervisors and advisors to titlepage issue kks32#48

* Fixed compilation error for multiple supervisors (using \newline)

* Commented supervisor and advisor options in thesis-info as they are optional in University of Cambridge thesis

* Fixes issue kks32#91

* Fixes maketitle and multiple supervisor and advisor support

* Version 2.2

* Include commit for v2.2 in ChangeLog

* Removed deprecated function romanpages in preamble

* Removed deprecated function romanpages in preamble - issue kks32#101

* Fixes issue kks32#101, draft numbers frontmatter with roman and mainmatter with arabic numerals

* CUED LaTeX PhD Thesis Template - v2.2.1

* Fixes kks32#107

* CUED LaTeX PhD Thesis Template - v2.2.2

* Aligned supervisors on P(rof.)

* Fixes kks32#113

* Fixes kks32#113 alignment of supervisor and advisor

* Issue kks32#114 provide classname

* Added TEX-Root to chapters

* Fixes 118 font size processing

* Fixes kks32#118 font size processing

* Fixes kks32#119 Option process and DVI

* Fixes incorrect driver in geometry setup

* Fixes 10pt document class option

* Fixes anything breaks

* CUED LaTeX PhD Thesis Template - v2.3

* ✏️ Added explanation for using pagestyles in README kks32#124

* 🔧 Fixes kks32#124 define pagestyle commands

* Version 2.3.1

* 📦 CUED LaTeX PhD Thesis Template - v2.3.1

* update texlive in travis-ci to 2017-07-05 (kks32#143)

* fix travis ci

* fix missing path

* update texlive to 2017-09-18

* Added biblatex, lualatex and xelatex to Makefile
added biblatex option to Makefile

* Update preamble.tex

* 🔨 Fix XeLaTeX compilation issue - kks32#154

* 📦 CUED LaTeX PhD Thesis Template - v2.3.2

* Update PhDThesisPSnPDF.cls

* Update preamble.tex

I'd recommend you use the command \addbibresource in the preamble, instead of \bibliography which is legacy (see biblatex manual for v.2.5, p.82).

* 💻 Add .bib extension to filename when using addbibresource

* 📦 CUED LaTeX PhD Thesis Template - v2.4

* Added an indirection layer for literal text

It makes it easier to change them in the actual document

* moved cls and glyphtounicode to root

* global replace of Classes/PhDThesisPSnPDF.cls

* remove troubleshoot as problem no longer exists

* College Crests: add Downing

* Add pre-commit hook

* Adding text highlighting package

* update version number and release date

as well as copyright year

* 🎨 Highlight changes commented as default

* Updated for XeLateX compiler

Minor modifications to lines 553 through 569 so that the template works better with XeLaTeX compiler.

* Update thesis.tex

Minor grammar fix

---------

Co-authored-by: Krishna Kumar <kks32@gmx.com>
Co-authored-by: Krishna Kumar <skrishnakumar001@gmail.com>
Co-authored-by: devhell <devhell@users.noreply.github.com>
Co-authored-by: Krishna Kumar <kks32@users.noreply.github.com>
Co-authored-by: Alex Broekhof <abroekhof@gmail.com>
Co-authored-by: Krishna Kumar <kks32@cam.ac.uk>
Co-authored-by: Bitdeli Chef <chef@bitdeli.com>
Co-authored-by: The Gitter Badger <badger@gitter.im>
Co-authored-by: tabias@gmail.com <tabias@gmail.com>
Co-authored-by: Holger Nahrstaedt <holgern@users.noreply.github.com>
Co-authored-by: Holger Nahrstaedt <holgernahrstaedt@gmx.de>
Co-authored-by: manuelbuitrago <mbuitrago@gmail.com>
Co-authored-by: Krishna Kumar <3963513+kks32@users.noreply.github.com>
Co-authored-by: Adrián Javaloy <adrian.javaloy@gmail.com>
Co-authored-by: lharries <github@lukeharries.me>
Co-authored-by: Chris Barnes <barnesc@janelia.hhmi.org>
Co-authored-by: HananHindy <hanan.hendy@gmail.com>
Co-authored-by: muzimuzhi <muzimuzhi@gmail.com>
Co-authored-by: cbsimmons99 <45488367+cbsimmons99@users.noreply.github.com>
Co-authored-by: Manuel Buitrago <mbm1d15@soton.ac.uk>
Fourthbus added a commit to Fourthbus/thesis-template that referenced this issue Jul 9, 2024
* Sync PDF, DVI, PS with TeX file

* Changelog

* Update to README makepdf makeps

* MIT License

* Changelog

* Updated format in tex file

* update to changelog

* Appendices after references

* Version 1.0

* Update to Acknowledgment

* Update to ChangeLog

* Acknowledgements

* Update ChangeLog

* TOC, LOF, LOT renaming options

* Biblatex implementation in progress

* Biblatex with TOC

* Bibfile specification in thesis.tex

* PhD Thesis Template Latest

* Version 1.1 Biblatex - bibtex backed and chapter mode

* Update to readme

* Modification on how biblatex was handled

* update to readme

* Version 1.1.1

* Abstract Separate with no page numbering and Declaration as per university guidelines

* Removed dependencies on obsolete packages

* Update to readme

* Version 1.2

* draft mode fixed hyperref issue

* compile-thesis.sh: Fix typo.

* arara, wc, shellscript update

* Arara default is latex

* Subcaption package and line spacing

* Supports Latexmk

* latexmk with mpost

* inkscape files handling in latexmk

* breakurl sty file

* Lineno enable/disable option

* restylefloat in preamble

* Update to readme

* lineno and caption packages

* draftcopy

* Draft mode with figures

* Arara clean

* backref removed as it's previously loaded

* fixed onehalfspace bug in cls file

* PDFLaTeX footnote warning fixed moved hyperref after all packages are loaded

* Moved hyperref package definition above breakurl -- fixed dependency issue

* Grammer change in declaration

Changed ‘less’ to ‘fewer’

* Declaration grammer and acknowledgments

* One-half spacing as default

* Draft using Background package

* Draftmode with watermark

* Degree date automated

* Draft - Position and version customisation

* Gray Scale

* CustomMargin

* CustomMargin with check for geometry package

* Draft disable figures option

* Custom Font

* Custom Bibliography

* Customfont - duplicating options has to be checked

* custombib with error catcher

* Font selection with conflict prevention

* Sentence case as per Uni identity guidelines

* Custom Font and messages

* Backward compatibility - setMargin

* Readme - draftmode

* Hotfix: custommargin was printing true on the first page - issue fixed

* Justified text

* Justify bug fixed

* Formatting tables - guidelines

* trying out travis-ci

* Travis-CI: Build status in readme

* Update to travis yml to minimise latex base

* texlive-science in travis - siunitx

* Travis - fonts

* Texlive fonts in travis-ci

* license and readme

* update to license.md

* travis - latex - dvi - ps2pdf

* travis - psutils

* degree date is centered, when college is undefined

* Fixes kks32#18: Custombib displays true on front page

* Version 1.3-stable bug fix custombib

* custombib - true on front page issue fixed

* Subtitle fixed kks32#9

* Fixes issue with declaration

* update to changelog

* Update to Readme

* Update to Readme and Changelog

* Update to ChangeLog

* Version 1.4

* biblatex check and lineno

* numbered citation

* Version 1.4.1 update to declaration and customfont set to Helvet

* Update to Readme

* 80 character width enforcement

* ChangeLog for version 1.4.1

* Update to latest release link in readme file

* Todo notes - annotations

* Tweaks to todonotes

* Club and widow penalty

* Fixed nomencl[x units] in abstract mode

* Moved todo notes to preamble

* setDraft

* Draftmode with comment options

* Hide TOC in TOC

* Table of contents in bookmarks and not in contents

* Fixes issue kks32#23

* Update to readme incl. Texstudio - nomenclature

* draft and draftclassic

* Draft and Draft classic support

* Fixing the pagenumbering issue in oneside

* Fixing oneside titlepage numbering error

* Moved oneside page numbering issue fix to class file

* Fixes kks32#24 issue on one-side pagenumbering in titlepage

* Update to readme - draftmode

* Version 1.4.2

* Fixed Issue kks32#26

* Version 1.4.3

* Add a Bitdeli badge to README

* removed trending

* College shields in the front page [optional] and title page cleanup

* Kings shield from college

* Minimum crest width for University crest and logo

* Title page width adjustment

* bug nomenclature page numbering

* Fixed issue kks32#28

* Version 1.4.4

* update to changelog

* removed the classfile from the main folder

* Nomenclature issue kks32#28 fixed

* Dropped arara support

* Fixed issue with alignment on front page

* version 1.4.5

* v1.4.5

* v1.4.5 fixed title page alignment

* Title page alignment issue fixed

* fixes issue kks32#29

* Fixes issue kks32#29

* draftclassic and draft instructions in thesis file

* Remove deprecated commands

* Update to readme for openany option

* updated to readme for openany option

* Version 2.0 Coding with XeLaTeX and LuaLaTeX support

* LuaLaTeX and XeLaTeX support

* College shield

* College and Year alignment

* CUED LaTeX PhD Thesis Template - v2.0

* Fixed reopened issue kks32#16

* Updated changelog

* ragged bottom, parskip and enumeration spaces

* Added support to include supervisor and advisor

* v2.1

* Add Gitter badge

* Add Gitter badge

* clarified latexmk xelatex command  line

* extended xelatex commands with makeindex

> latexmk -xelatex -g thesis.tex
> makeindex thesis.nlo -s nomencl.ist -o thesis.nls
> latexmk -xelatex -g thesis.tex

This ensures that the nomenclature is included if defined, latexmk is not capable of doing so unless hacked
https://mg.readthedocs.org/latexmk.html

* Update University logo long version and link to logo in Readme

* Gonville and Caius shield

* make it executable

* added multiple supervisors and advisors to titlepage issue kks32#48

* Fixed compilation error for multiple supervisors (using \newline)

* Commented supervisor and advisor options in thesis-info as they are optional in University of Cambridge thesis

* Fixes issue kks32#91

* Fixes maketitle and multiple supervisor and advisor support

* Version 2.2

* Include commit for v2.2 in ChangeLog

* Removed deprecated function romanpages in preamble

* Removed deprecated function romanpages in preamble - issue kks32#101

* Fixes issue kks32#101, draft numbers frontmatter with roman and mainmatter with arabic numerals

* CUED LaTeX PhD Thesis Template - v2.2.1

* Fixes kks32#107

* CUED LaTeX PhD Thesis Template - v2.2.2

* Aligned supervisors on P(rof.)

* Fixes kks32#113

* Fixes kks32#113 alignment of supervisor and advisor

* Issue kks32#114 provide classname

* Added TEX-Root to chapters

* Fixes 118 font size processing

* Fixes kks32#118 font size processing

* Fixes kks32#119 Option process and DVI

* Fixes incorrect driver in geometry setup

* Fixes 10pt document class option

* Fixes anything breaks

* CUED LaTeX PhD Thesis Template - v2.3

* ✏️ Added explanation for using pagestyles in README kks32#124

* 🔧 Fixes kks32#124 define pagestyle commands

* Version 2.3.1

* 📦 CUED LaTeX PhD Thesis Template - v2.3.1

* update texlive in travis-ci to 2017-07-05 (kks32#143)

* fix travis ci

* fix missing path

* update texlive to 2017-09-18

* Added biblatex, lualatex and xelatex to Makefile
added biblatex option to Makefile

* Update preamble.tex

* 🔨 Fix XeLaTeX compilation issue - kks32#154

* 📦 CUED LaTeX PhD Thesis Template - v2.3.2

* Update PhDThesisPSnPDF.cls

* Update preamble.tex

I'd recommend you use the command \addbibresource in the preamble, instead of \bibliography which is legacy (see biblatex manual for v.2.5, p.82).

* 💻 Add .bib extension to filename when using addbibresource

* 📦 CUED LaTeX PhD Thesis Template - v2.4

* Added an indirection layer for literal text

It makes it easier to change them in the actual document

* moved cls and glyphtounicode to root

* global replace of Classes/PhDThesisPSnPDF.cls

* remove troubleshoot as problem no longer exists

* College Crests: add Downing

* Add pre-commit hook

* Adding text highlighting package

* update version number and release date

as well as copyright year

* 🎨 Highlight changes commented as default

* Updated for XeLateX compiler

Minor modifications to lines 553 through 569 so that the template works better with XeLaTeX compiler.

* Update thesis.tex

Minor grammar fix

---------

Co-authored-by: Krishna Kumar <kks32@gmx.com>
Co-authored-by: Krishna Kumar <skrishnakumar001@gmail.com>
Co-authored-by: devhell <devhell@users.noreply.github.com>
Co-authored-by: Krishna Kumar <kks32@users.noreply.github.com>
Co-authored-by: Alex Broekhof <abroekhof@gmail.com>
Co-authored-by: Krishna Kumar <kks32@cam.ac.uk>
Co-authored-by: Bitdeli Chef <chef@bitdeli.com>
Co-authored-by: The Gitter Badger <badger@gitter.im>
Co-authored-by: tabias@gmail.com <tabias@gmail.com>
Co-authored-by: Holger Nahrstaedt <holgern@users.noreply.github.com>
Co-authored-by: Holger Nahrstaedt <holgernahrstaedt@gmx.de>
Co-authored-by: manuelbuitrago <mbuitrago@gmail.com>
Co-authored-by: Krishna Kumar <3963513+kks32@users.noreply.github.com>
Co-authored-by: Adrián Javaloy <adrian.javaloy@gmail.com>
Co-authored-by: lharries <github@lukeharries.me>
Co-authored-by: Chris Barnes <barnesc@janelia.hhmi.org>
Co-authored-by: HananHindy <hanan.hendy@gmail.com>
Co-authored-by: muzimuzhi <muzimuzhi@gmail.com>
Co-authored-by: cbsimmons99 <45488367+cbsimmons99@users.noreply.github.com>
Co-authored-by: Manuel Buitrago <mbm1d15@soton.ac.uk>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants