Can anybody tell me if it is possible to have page numbering on the side of the page? I mean on the right side on odd pages and on the left side on even pages.
[Tex/LaTex] page numbers on the side of the page
marginspage-numbering
marginspage-numbering
Can anybody tell me if it is possible to have page numbering on the side of the page? I mean on the right side on odd pages and on the left side on even pages.
Best Answer
I have followed up on the solution proposed by alexises, completing the code.
For a page without the page number use
\thispagestyle{nonums}
at an appropriate point in the document. Screenshot:Later:
I wanted an approach that did not rely on the
twoside
option.tikzpagenodes.sty
makes this possible because the locations of the page numbers are relative to the current text block, not the edge of the page.Here is the non-
twoside
output:And here is the
twoside
output: