Code: Select all
\newcommand{\figref}[1]{figur \ref{#1} (s. \pageref{#1})}
\newcommand{\afigref}[1]{figur \ref{#1}}

So my question to you is: Is there someway I can make Latex figure out if they are on the same page and choose automatically ?
Code: Select all
\newcommand{\figref}[1]{figur \ref{#1} (s. \pageref{#1})}
\newcommand{\afigref}[1]{figur \ref{#1}}
NEW: TikZ book now 40% off at Amazon.com for a short time.
NEW: TikZ book now 40% off at Amazon.com for a short time.