Thread Closed

Weird page numbering problem in LaTeX

 
Share Thread Thread Tools
Jan20-10, 04:25 PM   #1
 

Weird page numbering problem in LaTeX


Hello people.
I seem to have run into an odd problem with my page numbering. Whatever I do to the \setcounter{page}{#} command, it just won't let my first "real" page be number 1. Can you find the problem?

Here is the code:

Code:
\documentclass[10pt,a4paper,danish]{article}
\usepackage{ucs} 
\usepackage[utf8x]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{lmodern} 
\usepackage{siunitx}
\usepackage{amsmath,amsthm,amssymb}
\usepackage{graphicx}
\usepackage[top=4cm, bottom=4cm, left=2.5cm, right=2.5cm]{geometry}
\usepackage{fancyhdr}
\pagestyle{fancy}
\usepackage{caption}
  \DeclareCaptionLabelSeparator{tilpasning}{:\quad}
  \captionsetup{font=footnotesize,labelfont=sc,labelsep=tilpasning,width=.9\textwidth}

\setcounter{page}{2}		
\setcounter{section}{0}			
 
\lhead{}		
\chead{}		
\rhead{}		
\lfoot{} 	
\cfoot{\rule{\linewidth}{0.5pt}\\Side \thepage}		
\rfoot{}	

 
\begin{document}
\begin{titlepage}
  This is title
\end{titlepage}

\tableofcontents
\thispagestyle{empty}

\newpage

\section{section}
Yeah, man.
\subsection{cool}
Hello world

\end{document}
PhysOrg.com
PhysOrg
science news on PhysOrg.com

>> Bird's playlist could signal mental strengths and weaknesses
>> Minus environment, patterns still emerge: Computational study tracks E. coli cells' regulatory mechanisms
>> Bacterium uses natural 'thermometer' to trigger diarrheal disease, scientists find
Thread Closed

Tags
latex, page numbering, problem
Thread Tools


Similar Threads for: Weird page numbering problem in LaTeX
Thread Forum Replies
LaTeX Numbering Problems Math & Science Software 2
LaTeX equation Numbering Math & Science Software 3
Numbering the Equations in Latex Math & Science Software 14
Numbering equations in Latex Programming & Comp Sci 1
LaTeX Page Numbering? Math & Science Software 2