Page LayoutHow do I avoid all page numbers from all pages of my book ?

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
User avatar
drpartha
Posts: 43
Joined: Wed Dec 02, 2009 1:41 am

How do I avoid all page numbers from all pages of my book ?

Post by drpartha »

I am creating a document using the "book" class. I do not want the page number in appear in any of the pages. How do I achieve this ? I do not use fancyhdr package or any fancy headers/footers. I tried placing \pagestyle{empty}and \thispagestyle{empty} , but I still get page numbers in some pages. Do not see any pattern in this, so am not able to eliminate the problem. I did a search in this forum and also Googled extensively. The cases/solutions are for specific cases only. I am surely missing something fundamentally. Would appreciate any clues. from this forum.

Thanks,
partha

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
MjK
Posts: 89
Joined: Fri Jan 28, 2022 6:09 pm

How do I avoid all page numbers from all pages of my book ?

Post by MjK »

Without Infominimal working example I cannot say anything definitely. However, in several cases:

Code: Select all

\usepackage[manualmark]{scrlayer-scrpage}
\clearpairofpagestyles
should do it. If running heads still should be used, the alternative suggestion:

Code: Select all

\usepackage[automark]{scrlayer-scrpage}
\renewcommand*{\pagemark}{}
should help.

Disclaimer: This is no one of my interests, so I will not participate in any further discussion.
My main topics are KOMA-Script and other questions related to my packages. If I reply to any other topic or if you've not yet added a minimal working example, please do not expect any further response. And please don't forget to tag examples as code.
User avatar
drpartha
Posts: 43
Joined: Wed Dec 02, 2009 1:41 am

How do I avoid all page numbers from all pages of my book ?

Post by drpartha »

Thanks MJK. Tried the first option you gave. Works like a charm
There is always so many things I learn from this forum. GOD bless all
the people in this community.

partha
Post Reply