Text Formattingno numbering in pages

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
Pau31
Posts: 2
Joined: Sun Jun 12, 2011 6:17 pm

no numbering in pages

Post by Pau31 »

Hi, I've already read previous posts about numbering but I may be doing something wrong since I don't get any numbering in my pages. I'm using \pagestyle{headings} & \pagenumbering{arabic} but I get a plain text.
I have no idea where is the mistake! I show here the packages I'm using:

Code: Select all

\documentclass[a4paper,12pt]{article}
\usepackage{anysize}
\usepackage{fancyhdr}         
\usepackage{setspace}         
\usepackage{longtable}         
\usepackage{lscape}    
\usepackage{color}            
\usepackage{rotating}         
\usepackage{textcomp}          
\usepackage[spanish]{minitoc}          
\usepackage{epsf}             
\usepackage[absolute]{textpos}
\usepackage[spanish]{babel}   
\usepackage [applemac] {inputenc} 
\usepackage{latexsym} 
\usepackage{graphicx}	
\usepackage{subfig} 
\usepackage{Config/bpchem}
\usepackage[version=3]{mhchem}
\usepackage {amsfonts}    
\usepackage{xkeyval}
\usepackage{enumerate}
\marginsize{3cm}{2cm}{2.5cm}{2.5cm}  
\sloppy
\frenchspacing
\pagestyle{headings} 
\pagenumbering{arabic}
\setcounter{page}{3}
Thank you
Last edited by Pau31 on Wed Jun 15, 2011 11:23 pm, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

5gon12eder
Posts: 126
Joined: Sun Feb 13, 2011 8:36 pm

no numbering in pages

Post by 5gon12eder »

I've changed

Code: Select all

\usepackage{Config/bpchem}
to

Code: Select all

\usepackage{bpchem}
since I have the package installed globally and added

Code: Select all

\begin{document}
  Lorem	ipsum Dolor sit amet.
\end{document}
to your code and after running pdflatex once I got the pdf attached having a page number.

Please post a working example that reproduces your error.

Best
Attachments
document.pdf
(11.1 KiB) Downloaded 164 times
I'm using pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian).
Pau31
Posts: 2
Joined: Sun Jun 12, 2011 6:17 pm

Re: no numbering in pages

Post by Pau31 »

Oh thanks I tried to create a new document just with the commands and \begin{document} like you and then I realized that I was doing \input{another document} which had pagestyle{empty} on it. Maybe that was the problem cause now it's working...

Thanks for the reply anyway
Post Reply