1

In the solution below, the \acrobatmenu button link is put at the center of the document.

How can it be shown at the bottom of every page

https://tex.stackexchange.com/a/238478/190989

1
\documentclass[a5paper]{article}
\usepackage[hidelinks]{hyperref}
\usepackage{lipsum}
\usepackage[variablett]{lmodern}
\usepackage{fancyhdr}
\newcommand*{\Button}[1]{\Acrobatmenu{#1}{\fbox{\footnotesize\texttt{#1}}}}

\begin{document}
\pagestyle{fancy}
%\renewcommand{\headrulewidth}{0pt} %Uncomment this line if you don't want the line at the top of the page.
\lfoot{%
\begin{tabular}{c}
\Button{PrevPage}\\\Button{FirstPage}\\
\end{tabular}
\hfill
\thepage
\hfill
\begin{tabular}{c}
\Button{NextPage}\\\Button{LastPage}\\
\end{tabular}
}
\tableofcontents
\section{Document start}
\lipsum[1-3]
\section{Last section}
\lipsum[4]
\end{document}
|improve this answer|||||
  • Thank you for taking the time to answer my questions. How can I switch it to something like this: first page, last page, back, forward. Instead of having the buttons stacked on top of each other? – user92127 Feb 19 at 17:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.