In LyX, how can I make the pages numbers start from the second page? (i.e., making the first page, which is the table of contents in my case, not having a page number on it)

Since LyX (up to recent version 2.0.x) only supports globally changing the pagestyle (in "Document > Setting... > Page Layout") using TeX code/ERT is a workaround.

If the first page should not be numbered then insert the TeX code/ERT

``````\thispagestyle{empty}
``````

(To suppress page numbers for the whole TOC `\pagestyle{empty}` before TOC and `\pagestyle{plain}` after TOC can be used. Note that the last `\pagestyle` command on a page will take precedence over all `\pagestyle` commands on that page. Depending on your case another `\thispagestyle{empty}` after `\pagestyle{plain}` might be used.)

If the page numbers should be reset at some point, you can add the TeX code

``````\setcounter{page}{1}
``````

on a (new) page / after a page break.

• Is this also valid if you have contents (whatever... perhaps a dedication page) before the ToC? And what if the ToC spans more than one page? Then `\pagestyle{plain}` will make the entire ToC be void of page numbers. The OP only wants the first ToC page to be without a page number. – Werner Feb 26 '13 at 22:30
• @Werner Every page before `\pagestyle{empty}` will have a page number. As far as I know, the last `\pagestyle` on a page will take precedence over all `\pagestyle` commands on that page. – e-birk Feb 26 '13 at 22:40
• Yes, the last one will prevail. But since you're placing `\pagestyle{empty}` before the ToC, that may fall on the last page before the ToC is set. – Werner Feb 26 '13 at 22:42
• What is “ERT”? Is this a LyX special? – Speravir Feb 27 '13 at 3:45
• @Speravir yes, it is a way to insert LaTeX code directly. – scottkosty Feb 27 '13 at 5:10