This is an example page, with a custom footer, containing two different text blocks in the bottom right and bottom left, temporarily using package textpos:
\documentclass[12pt,twoside]{article}
\usepackage[absolute,overlay]{textpos}
\setlength{\TPHorizModule}{1mm}
\setlength{\TPVertModule}{1mm}
\begin{document}
Beginning of document.
\begin{textblock}{80}(150,260)
Right text
\end{textblock}
\begin{textblock}{80}(12,260)
Left text
\end{textblock}
\newpage
New page of document.
\end{document}
The resulting bottom of the page should be:
<page number>
<some custom empty space>
Left text Right text
Note that the page number is above. This is the first page, an odd page. I would like:
- to swap the positions of "Right text" and "Left text" for the even pages;
- not to create a
textblock
for each page, but define a standard layout to be applied; - to exclude this layout in some custom pages.
Package fancyhdr would be ideal for this, but IIUC the page number, the left and right fields are on the same line in the footer. I would like instead to put a custom space between the page number and "Right text" and "Left text".
It doesn't matter which package, between textpos and fancyhdr (or another one) is used. How to accomplish this?