# Tag Info

11

In total, I don't recommend this pagenumbering at all, since it will lead to recto pages with even page numbers. The output of \thepage must be changed -- either use a \renewcommand{\thepage}{....} or a more clever way, see the example at the bottom of this answer with \pagenumbering{weird} ;-) Here's a version that changes the 4th page number to be \pi ...

2

EDITED. I initially suggested to use \the\numexpr\thepage-11 to evaluate the subtraction (with \numexpr) and present as text (with \the). However, egreg points out that $\the\numexpr\value{page}-11$ is better. For one reason, depending on how your code is configured elsewhere, \thepage might be presented in roman numerals, which cannot be evaluated with ...

2

Here is a suggestion using package scrlayer-scrpage instead fancyhdr. Than you can define a new layer and add this new layer to an existing page style. \documentclass{article} \usepackage[a4paper,margin=2cm]{geometry} \usepackage{lipsum} % only for showing some sample text \usepackage{scrlayer-scrpage}% sets pagestyle scrheadings automatically ...

2

Change the pagestyle in your preamble with either fncyhdr or titleps. Example with titleps: \usepackage{titleps} \renewpagestyle{plain}{% \headrule %% if you want a rule \sethead[\thepage][][]{}{}{\thepage} \setfoot{}{}{} }% \pagestyle{plain}

2


1

page numbering problems can be solved in almost any case with a preceeding \clearpage. In addition, \pagenumbering{...} always resets the page counter. If the page counting should be done continously, rather use \renewcommand{\thepage}{\roman{page}}. \documentclass[11pt,oneside]{report} \usepackage{biblatex} \usepackage[utf8]{inputenc} ...

1


1

A bunch of \thispagestyle{empty} after \chapter isn't helpful,since \chapter uses \thispagestyle{plain} (hardcoded). I've changed this by using a patch and referring to a pagestyle hidden in a macro name, which can be redefined later on. Also \pagenumbering{arabic} sets the page counter to 1 already, there's no need to use \setcounter{page}{1} again. ...

1

TikZ package can be used to place page numbers at arbitrary positions. You will also need the background package to set a new background. Her is an example: \documentclass[a4paper]{article} \usepackage[margin=2cm]{geometry} \usepackage{tikz,background} \usepackage{fancyhdr} \usepackage{lipsum} % only for showing some sample text \fancyhf{} % clear all ...

1

\documentclass{book} \usepackage{fancyhdr} \usepackage{blindtext} \makeatletter \fancypagestyle{plain}{% \fancyhf{} \renewcommand{\headrulewidth}{0pt} \if@mainmatter % Is it mainmatter -- yes \fancyhead[RO]{\thepage} % Right odd page header \fancyhead[LE]{\thepage} % Left even page header \else \fancyfoot[RO]{\thepage} % Right odd ...

Only top voted, non community-wiki answers of a minimum length are eligible