Page LayoutPage no only appears for page 1??

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
diskhub
Posts: 11
Joined: Mon May 10, 2010 3:22 pm

Page no only appears for page 1??

Post by diskhub »

i seem to have a problem with my page no after using the method.
Page no only appears for page 1.
the rest of the page doesn't show any number.

Code: Select all

\documentclass[a4paper,11pt]{article}
\usepackage{multicol}
\usepackage{iasted}
\usepackage{url}
\usepackage{graphicx}
\input epsf
\setlength{\textheight}{25.4cm}
\setlength{\textwidth}{7in}
\setlength{\topmargin}{-0.2cm}
\setlength{\columnsep}{0.5in}
\setlength{\headheight}{0in}
\setlength{\headsep}{0in}
\setlength{\parindent}{1pc}
\setlength{\oddsidemargin}{-0.33in}


\vspace{1.3cm}
\pagestyle{empty}

\begin{document}
\maketitle
\begin{multicols}{2}
\begin{abstract}
........
\end{abstract}
...
\end{multicols}

\end{document}

Recommended reading 2024:

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

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

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

Page no only appears for page 1??

Post by gmedina »

Hi,

you are using the iasted package which is not on CTAN (at least I couldn't find it there). Please provide a link to download the package (or attach the file iasted.sty to your next post).
1,1,2,3,5,8,13,21,34,55,89,144,233,...
diskhub
Posts: 11
Joined: Mon May 10, 2010 3:22 pm

Page no only appears for page 1??

Post by diskhub »

gmedina wrote:Hi,

you are using the iasted package which is not on CTAN (at least I couldn't find it there). Please provide a link to download the package (or attach the file iasted.sty to your next post).
sorry for the long text...
I have attached it below.

Code: Select all

% --------------------------------------------------------------- 
%
% $Id: latex8.sty,v 1.2 1995/09/15 15:31:13 ienne Exp $
% 
% by Paolo.Ienne@di.epfl.ch 
%
% --------------------------------------------------------------- 
%
% no guarantee is given that the format corresponds perfectly to 
% IEEE 8.5" x 11" Proceedings, but most features should be ok.
%
% --------------------------------------------------------------- 
% with LaTeX2e:
% =============
%
% use as 
%   \documentclass[times,10pt,twocolumn]{article} 
%   \usepackage{latex8}
%   \usepackage{times}
%
% --------------------------------------------------------------- 
% with LaTeX 2.09:
% ================
%
% use as 
%   \documentstyle[times,art10,twocolumn,latex8]{article}
%
% --------------------------------------------------------------- 
% with both versions:
% ===================
%
% specify \pagestyle{empty} to omit page numbers in the final 
% version
%
% specify references as
%   \bibliographystyle{latex8}
%   \bibliography{...your files...}
%
% use Section{} and SubSection{} instead of standard section{} 
%    and subsection{} to obtain headings in the form 
%    "1.3. My heading"
%
% ---------------------------------------------------------------

\typeout{IEEE 8.5 x 11-Inch Proceedings Style `latex8.sty'.}

% ten point helvetica bold required for captions
% in some sites the name of the helvetica bold font may differ, 
% change the name here:
\font\tenhv  = phvb at 10pt
%\font\tenhv  = phvb7t at 10pt

% eleven point times bold required for second-order headings 
% \font\elvbf  = cmbx10 scaled 1100
\font\elvbf  = ptmb scaled 1100

% set dimensions of columns, gap between columns, and paragraph indent 

% altered for ai2000 requirements iasted conference in Innsbruck feb 2000

\setlength{\textheight}{25.4cm}
\setlength{\textwidth}{7in}
%\setlength{\textwidth}{18.8cm}
\setlength{\topmargin}{-0.2cm}
\setlength{\columnsep}{0.5in}
\setlength{\headheight}{0in}
\setlength{\headsep}{0in}
\setlength{\parindent}{1pc}
%\setlength{\oddsidemargin}{-.304in} iasted97
%introduce this for iasted2000
\setlength{\oddsidemargin}{-0.33in}
%\setlength{\evensidemargin}{-.304in} iasted97
%introduce this for iasted2000
%\setlength{\evensidemargin}{-1.9cm}

% remember for ai2000 - altered raggedbottom to uniform bottom margin and 
% and introduce vspace to change topmargin between 1st page & rest of pages
% lines below used in the tex file to achieve that
% see ai2000-p1.tex

%\input command
%\raggedbottom  -- comment out for iasted2000
\vspace{1.3cm}
%\setlength\parindent{4.22mm}
%\setlength\parskip{0em}
\pagestyle{empty}

% memento from size10.clo
% \normalsize{\@setfontsize\normalsize\@xpt\@xiipt} 
% \small{\@setfontsize\small\@ixpt{11}}
% \footnotesize{\@setfontsize\footnotesize\@viiipt{9.5}} 
% \scriptsize{\@setfontsize\scriptsize\@viipt\@viiipt}
% \tiny{\@setfontsize\tiny\@vpt\@vipt}
% \large{\@setfontsize\large\@xiipt{14}} 
% \Large{\@setfontsize\Large\@xivpt{18}} 
% \LARGE{\@setfontsize\LARGE\@xviipt{22}} 
% \huge{\@setfontsize\huge\@xxpt{25}}
% \Huge{\@setfontsize\Huge\@xxvpt{30}}

\def\@maketitle
   {
   \newpage
   \null
   \vskip .375in 
   \begin{center}
      {\Large \bf \@title \par} 
      % additional two empty lines at the end of the title 
      \vspace*{24pt} 
      {
      \large 
      \lineskip .5em
      \begin{tabular}[t]{c}
         \@author 
      \end{tabular}
      \par
      } 
      % additional small space at the end of the author name 
      \vskip .5em 
      {
       \large 
      \begin{tabular}[t]{c}
         \@affiliation 
      \end{tabular}
      \par 
      \ifx \@empty \@email
      \else
         \begin{tabular}{r@{~}l}
            E-mail: & {\tt \@email}
         \end{tabular}
         \par
      \fi
      }
      % additional empty line at the end of the title block 
      \vspace*{12pt} 
   \end{center}
   } 

\def\abstract
   {%
   \centerline{\large\bf Abstract}%
   \vspace*{12pt}%
   \it%
   }

\def\endabstract
   {
   % additional empty line at the end of the abstract 
   \vspace*{12pt} 
   }

\def\affiliation#1{\gdef\@affiliation{#1}} \gdef\@affiliation{}

\def\email#1{\gdef\@email{#1}}
\gdef\@email{}

\newlength{\@ctmp}
\newlength{\@figindent}
\setlength{\@figindent}{1pc}

\long\def\@makecaption#1#2{
   \vskip 10pt
   \setbox\@tempboxa\hbox{\tenhv\noindent #1.~#2} 
   \setlength{\@ctmp}{\hsize}
   \addtolength{\@ctmp}{-\@figindent}\addtolength{\@ctmp}{-\@figindent} 
   % IF longer than one indented paragraph line
   \ifdim \wd\@tempboxa >\@ctmp
      % THEN set as an indented paragraph
      \begin{list}{}{\leftmargin\@figindent \rightmargin\leftmargin} 
         \item[]\tenhv #1.~#2\par
      \end{list}
   \else
      % ELSE center
      \hbox to\hsize{\hfil\box\@tempboxa\hfil} 
   \fi}

% correct heading spacing and type
\def\section{\@startsection {section}{1}{\z@}
   {14pt plus 2pt minus 2pt}{14pt plus 2pt minus 2pt} {\large\bf}} 
\def\subsection{\@startsection {subsection}{2}{\z@}
   {13pt plus 2pt minus 2pt}{13pt plus 2pt minus 2pt} {\elvbf}}

% add the period after section numbers 
\newcommand{\Section}[1]{\section{\hskip -1em.~#1}} 
\newcommand{\SubSection}[1]{\subsection{\hskip -1em.~#1}}

% end of file latex8.sty
% ---------------------------------------------------------------


User avatar
gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

Page no only appears for page 1??

Post by gmedina »

In the .sty file you just posted, search for the line

Code: Select all

\pagestyle{empty}
and comment it out (or delete it).
1,1,2,3,5,8,13,21,34,55,89,144,233,...
diskhub
Posts: 11
Joined: Mon May 10, 2010 3:22 pm

Page no only appears for page 1??

Post by diskhub »

gmedina wrote:In the .sty file you just posted, search for the line

Code: Select all

\pagestyle{empty}
and comment it out (or delete it).


thanks gmedina,
i know i can rely on u.
U r fast n efficient
Post Reply