Results 1 to 6 of 6

Thread: Page numbering in LaTeX.

  1. #1
    Join Date
    Dec 2007
    Beans
    27

    Page numbering in LaTeX.

    Hi all,

    I am currently writing my PhD thesis. My uni says the thesis must be numbered from the title page to the end of the document. My thesis has following layout.

    1. title page (manual format)
    2. abstract
    3. list of figures
    4. list of tables
    5. table of contents
    6. text

    I found that the page numbers of both abstract and contents will be automatically set to 1. Could someone tell me how can I force the page number start from the literally first page to the end? Thank you.

  2. #2
    Join Date
    Aug 2007
    Beans
    876
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Page numbering in LaTeX.

    You can force latex to set the page number on a page by using
    Code:
     \setcounter{page}{2}
    Replace 2 with whatever page number you want it to be of course.

  3. #3
    Join Date
    Jan 2008
    Location
    Norway
    Beans
    94
    Distro
    Ubuntu Development Release

    Re: Page numbering in LaTeX.

    Hey XCan,

    that was what I was thinking as well. Do you know if there's a way of getting \setcounter to work with \maketitle as well? I mean using setcounter to number the titlepage produced by maketitle.

    I'm just asking out of interest, so no biggy if you don't know

  4. #4
    Join Date
    Nov 2006
    Location
    New Zealand
    Beans
    422

    Re: Page numbering in LaTeX.

    You can try putting the \setcounter command directly before \maketitle. However if for some strange reason your title page is not the first page in the document that may set the number of the page before the title page instead. If so, use:
    Code:
     \pagebreak
    \setcounter{2}
    \maketitle
    Which will make a new page, set its page number, and start the title on that page.

  5. #5
    Join Date
    Jan 2008
    Location
    Norway
    Beans
    94
    Distro
    Ubuntu Development Release

    Re: Page numbering in LaTeX.

    Doesn't work for me, but no worries. Thanx for the reply

  6. #6
    Join Date
    Nov 2006
    Location
    New Zealand
    Beans
    422

    Re: Page numbering in LaTeX.

    The style file may not print page numbers on the title page by default, even if the counter has assigned it a certain page number.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •