Please consider this MWE:
\documentclass{article}
\usepackage[a4paper,margin=1in,footskip=0.25in]{geometry}
\usepackage{tikz}
\usepackage{fancyhdr}
\pagestyle{fancy}
\fancyhf{}
\rfoot{
\begin{tikzpicture}[remember picture,overlay]
\fill[black] (current page.south west) rectangle ++(\paperwidth,1.5cm)
node[midway,align=center,font=\LARGE,text=white] {\bfseries\thepage}; % From https://tex.stackexchange.com/a/443744/152550
\end{tikzpicture}
}
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0pt}
\begin{document}
Example\newpage Another example
\end{document}
What I want
I want to implement two buttons that are drawings made with tikzpicture, one for previous page and the other for next page (click on them):
What I have done
I am not able to add these drawings around the page number. The draw is an arrow:
\begin{tikzpicture}[remember picture,overlay]
\draw[line width=1mm,red] (.3,.3) -- (0,0) -- (.3,-.3);
\end{tikzpicture}
I tried to use coordinates with no effects, and tried to use the position of current page.south west + a shift but I couldn't:
\documentclass{article}
\usepackage[a4paper,margin=1in,footskip=0.25in]{geometry}
\usepackage{tikz}
\usepackage{fancyhdr}
\pagestyle{fancy}
\fancyhf{}
\rfoot{
\begin{tikzpicture}[remember picture,overlay]
\fill[black] (current page.south west) rectangle ++(\paperwidth,1.5cm) node[midway,align=center,font=\LARGE,text=white] {\bfseries\thepage}; % From https://tex.stackexchange.com/a/443744/152550
\draw[line width=1mm,white] (current page.south west) -- ++(.5cm,.5cm) -- (.3,-.3); % This should be placed near the page number, and there should be another arrow pointing to the right
\end{tikzpicture}
}
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0pt}
\begin{document}
Example\newpage Another example
\end{document}
How can we place those arrows near the page number?







\hbox to \textwidth{\rlap{left text}\hfill center text \hfill\llap{right text}}. – John Kormylo Feb 23 '20 at 16:39