Hi
I am a moderate user of Latex. I am writing a paper using entcs class along with prentcsmacro.sty style (provided by ENTCS, Elsevier). According to the style author's name appears in the header and page number in footer starting from 2nd page. For a special circumstance, I want to remove page numbering but keep the heading. I know the currently used pagestyle is headings.
If I used \pagestyle{empty} then there will be no heading. Is there any way or command that will remove page numbering while keeping the heading?
Here is a very brief summary of the paper structure:
\documentclass{entcs}
\usepackage{prentcsmacro}
\begin{document}
\begin{frontmatter}
\title{}
\end{frontmatter}
\section{}
\end{document}
In prentcsmacro.sty file the \pagestyle{headings} is defined.
Thanks
LaTeX forum ⇒ General ⇒ Keep heading but remove page numbering from footer
- Stefan Kottwitz
- Site Admin
- Posts: 10224
- Joined: Mon Mar 10, 2008 9:44 pm
Keep heading but remove page numbering from footer
Hi,
a quick fix would be:
but in general I recommend to use the fancyhdr package in order to customize headers and footers.
Stefan
a quick fix would be:
\makeatletter \let\@oddfoot\@empty \let\@evenfoot\@empty \makeatother
but in general I recommend to use the fancyhdr package in order to customize headers and footers.
Stefan
LaTeX.org admin
Re: Keep heading but remove page numbering from footer
Excellent....it works like charm
I am really surprised the quickness of your reply.
Thanks a lot
I am really surprised the quickness of your reply.
Thanks a lot
Keep heading but remove page numbering from footer
The code above removes the footer completely. If you want both footer and header and no page numbering, you can conveniently use the fancy package as follows:
bye
\usepackage{fancyhdr} \pagestyle{fancy} % your header and footer code \fancyfoot[C]{}
bye
Who is online
Users browsing this forum: Google [Bot] and 18 guests