I would like to have references that automatically print the number of the page on which the referenced section(heading)/table/figure... happens to be in parentheses, additionally to the rest of the reference. The output should look like this for example:
As we can see in \autoref{table}, ...
->
As we can see in Table 3 (S.15), ...
"S" stands for "Seite", "page" in german, the greatest solution would involve that the "S." automatically appears because of the babel
package option being ngerman
, therefore allowing this to work for every language. I'm using the hyperref
package already because of \autoref
. Here's a minimal working example:
\documentclass{article}
\usepackage[ngerman]{babel}
\usepackage{blindtext}
\usepackage{hyperref}
\begin{document}
\section{Section}
\label{Section}
\blindtext
\newpage
\section{Another Section}
As mentioned in \autoref{Section}, ...
\end{document}