LaTeX forum ⇒ Page LayoutPage numbering starts on page 5 - with number 5 Topic is solved

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

Page numbering starts on page 5 - with number 5

Postby Tam Honks » Sun Jun 17, 2018 7:45 pm

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}

Tags:

kaiserkarl13
Posts: 602
Joined: Tue Mar 25, 2008 5:02 pm

Postby kaiserkarl13 » Sun Jun 17, 2018 7:57 pm

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:
  1. \documentclass{report}
  2. \begin{document}
  3. \title{Hi}
  4. \author{Me}
  5. \pagenumbering{roman}
  6. \maketitle
  7. \tableofcontents
  8. \listoffigures
  9. \listoftables
  10.  
  11. \cleardoublepage
  12. \setcounter{page}{1}
  13. \pagenumbering{arabic}
  14. \chapter{Einleitung}
  15. \chapter{Aufgabenstellung}
  16. \end{document}

Tam Honks
Posts: 4
Joined: Sun Jun 17, 2018 7:30 pm

Postby Tam Honks » Mon Jun 18, 2018 12:11 pm

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

  1. \documentclass[%
  2. a4paper,%
  3. 11pt,% <10pt, 9pt>
  4. smallchapters,
  5. oneside,
  6. %style=screen,
  7. %sender=bottom,
  8. blue,% <orange, green, violet>
  9. %rgb, <cmyk>
  10. %mono
  11. ]{tubsreprt}
  12. \input{Packages}
  13. \title{Beispieltitel}
  14. \subtitle{Untertitel}
  15. \author{someone}
  16. \logo{\includegraphics{images/Logo.pdf}}
  17. \titlepicture{images/bla.png}
  18.  
  19. \address{%}
  20. \backpageinfo{%}
  21.  
  22. \maketitle[image,logo=left]%[<plain/image/imagetext>,<logo=left/right>]
  23.  
  24. \pagenumbering{roman}


There you go with the first part of the file. It is a university-template
Attachments
Seitenzahl1.PNG
no page number on page 5
Seitenzahl1.PNG (11.84 KiB) Viewed 635 times
Seitenzahl2.PNG
first display on page 6
Seitenzahl2.PNG (10.41 KiB) Viewed 635 times

User avatar
Johannes_B
Site Moderator
Posts: 3883
Joined: Thu Nov 01, 2012 4:08 pm

Postby Johannes_B » Mon Jun 18, 2018 12:55 pm

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

Postby Tam Honks » Mon Jun 18, 2018 2:51 pm

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: 3883
Joined: Thu Nov 01, 2012 4:08 pm

Postby Johannes_B » Mon Jun 18, 2018 3:02 pm

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: 9156
Joined: Mon Mar 10, 2008 9:44 pm

Postby Stefan Kottwitz » Mon Jun 18, 2018 3:50 pm

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
Site admin

Tam Honks
Posts: 4
Joined: Sun Jun 17, 2018 7:30 pm

Postby Tam Honks » Mon Jun 18, 2018 4:37 pm

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!


Return to “Page Layout”

Who is online

Users browsing this forum: No registered users and 6 guests