TeX and LyX

Page Numbering on TeX

I learn to write documentation with LyX and LaTeX recently. I will write some notes here to remind me of what I have learned. I will add some document example later on.

To make comment:

% this is comment

to ignore/eliminate page numbers (all pages):
\pagestyle {empty}

to eliminate page numbers on certain page (for one page only):
\thispagestyle {empty}

to break to new page:

If you want to continue giving numbers on the rest of document, after the newpage,
\setcounter{page}{start_page_number} %replace the start_page_number with number you want your page start

Usually for the Table of Contents page, you use roman numbering style like (i), (ii) etc, change the style number with:
\renewcommand \thepage{\roman{page}}
or if you want to make it use arabic again like 1,3,5, etc.:
\renewcommand \thepage{\arabic{page}}

By risna

a housewife who recently learns to knit and crochet, lives in Chiang Mai since 2007, so must learn Thai Language, and had some part time job to do documentation with LaTeX and welcoming for a new family member at the end of 2010

Leave a Reply

Your email address will not be published. Required fields are marked *