Page LayoutPage numbering starts on page 5 - with number 5

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
Tam Honks
Posts: 4
Joined: Sun Jun 17, 2018 7:30 pm

Page numbering starts on page 5 - with number 5

Post by Tam Honks »

Hey guys, I am struggling with the pagenumbering. As you can see below, I want to number my pages in roman for table of contents, list of figures and list of tables. But only the pages with the table of content are numbered with I and II, the other 2 are not numbered at all. Other way round with the main part: The numbering begins on page 5, with the (correct) number 5. This is the second! page of chapter 3 (Theoretischer Hintergrund - Stand der Forschung). I tried \frontmatter and \mainmatter, too, didn´t work out at all. Also tried to shift \pagenumbering{arabic} into the first chapter (Einleitung), didn´t work. What to do now? I am glad about any help, thank you in advance


\begin{document}
\maketitle[image,logo=left]

\pagenumbering{roman}
\tableofcontents
\listoffigures
\listoftables
\input{symbols}
\printnomenclature

\setcounter{page}{1}
\pagenumbering{arabic}
\chapter{Einleitung}
\input{Tex-File/Kapitel/1Einleitung.tex}

\chapter{Aufgabenstellung}
\input{Tex-File/Kapitel/2Aufgabenstellung.tex}


\chapter{Theoretischer Hintergrund - Stand der Forschung}
\input{Tex-File/Kapitel/3StandDerTechnik.tex}


\chapter{Parameter der verwendeten Anlage}
\input{Tex-File/Kapitel/4ParameterDerAnlage.tex}

\chapter{Materialien und Methoden}
\input{Tex-File/Kapitel/5MaterialienMethoden.tex}

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
kaiserkarl13
Posts: 707
Joined: Tue Mar 25, 2008 5:02 pm

Page numbering starts on page 5 - with number 5

Post by kaiserkarl13 »

You need to post an example that includes your document class, as this is ultimately what is controlling the behavior. Try it with the standard report class, for example, and you'll see that it works fine. (You will have to do \cleardoublepage right before \setcounter{page}{1} in your example to start the new page numbering system at the right place.)

My minimal working example:

Code: Select all

\documentclass{report}
\begin{document}
\title{Hi}
\author{Me}
\pagenumbering{roman}
\maketitle
\tableofcontents
\listoffigures
\listoftables

\cleardoublepage
\setcounter{page}{1}
\pagenumbering{arabic}
\chapter{Einleitung}
\chapter{Aufgabenstellung}
\end{document}
Tam Honks
Posts: 4
Joined: Sun Jun 17, 2018 7:30 pm

Page numbering starts on page 5 - with number 5

Post by Tam Honks »

Thanks for the try, but it didn't help. I attached two pictures trying to make the problem more clear, both are just the top of the page where the numbers should appear

The counter ist alright, but the numbers are not displayed on the first pages
\documentclass[%
  a4paper,%
  11pt,% <10pt, 9pt>
  smallchapters,
	oneside,
  %style=screen,
  %sender=bottom,
  blue,% <orange, green, violet>
  %rgb, <cmyk>
  %mono
  ]{tubsreprt}
\input{Packages} 
\title{Beispieltitel}
\subtitle{Untertitel}
\author{someone}
\logo{\includegraphics{images/Logo.pdf}}
\titlepicture{images/bla.png}

\address{%}
\backpageinfo{%}

\maketitle[image,logo=left]%[<plain/image/imagetext>,<logo=left/right>]

\pagenumbering{roman}
There you go with the first part of the file. It is a university-template
Attachments
no page number on page 5
no page number on page 5
Seitenzahl1.PNG (11.84 KiB) Viewed 14304 times
first display on page 6
first display on page 6
Seitenzahl2.PNG (10.41 KiB) Viewed 14304 times
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Page numbering starts on page 5 - with number 5

Post by Johannes_B »

Ask the provider of the template for support. We do not have access to the template.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Tam Honks
Posts: 4
Joined: Sun Jun 17, 2018 7:30 pm

Page numbering starts on page 5 - with number 5

Post by Tam Honks »

Johannes_B wrote:Ask the provider of the template for support. We do not have access to the template.
Guess what I've done first
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Page numbering starts on page 5 - with number 5

Post by Johannes_B »

We cannot do any testing without the relevant files we do not have access to. I do not have a crystall ball.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10290
Joined: Mon Mar 10, 2008 9:44 pm

Page numbering starts on page 5 - with number 5

Post by Stefan Kottwitz »

I guess the template is from http://tubslatex.ejoerns.de. This could have been mentioned.

I just don't have the time to install it myself right now. I can imagine that this could help:

\renewcommand*{\chapterpagestyle}{scrheadings}

Stefan
LaTeX.org admin
Tam Honks
Posts: 4
Joined: Sun Jun 17, 2018 7:30 pm

Page numbering starts on page 5 - with number 5

Post by Tam Honks »

Bloody good shot sir! In the end it is a combination of both,
Stefan Kottwitz wrote:\renewcommand*{\chapterpagestyle}{scrheadings}
makes it appear and
kaiserkarl13 wrote:You will have to do \cleardoublepage right before \setcounter{page}{1} in your example to start the new page numbering system at the right place.)
ultimately sets it to the right place. Thanks a lot!
Post Reply