Make footnote clickable both ways
Here is a suggestion using a KOMA-Script class together with package footnotebackref
:
\documentclass{scrartcl}
\usepackage{footnotebackref}
\deffootnote{1.5em}{1em}{%
\textsuperscript{\hyperref[\BackrefFootnoteTag]{\thefootnotemark}}\,%
}
\usepackage{blindtext}% dummy text
\begin{document}
Something here\footnote{foo}
\blindtext[2]
And another footnote is here\footnote{foobar}
\end{document}
\deffootnote
is a KOMA-Script command und \BackrefFootnoteTag
is defined by package footnotebackref
.
Syntax of \deffootnote
:
\deffootnote[<mark width>]{<indent>}{<parindent>}{<definition>}
If the optional argument is missing <indent>
will be used as <mark width>
. <parindent>
is an additional indent if a new paragraph starts inside a footnote.
The defaults for the KOMA-Script classes are
\deffootnote[1em]{1.5em}{1em}
{\textsuperscript{\thefootnotemark}}
This works out of the box for me with footnotebackref
, the loading
of hyperref
is done by footnotebackref
already.
\documentclass{article}
\usepackage{footnotebackref}
%\usepackage{hyperref}
\usepackage{blindtext}
\begin{document}
Something here\footnote{foo}
\blindtext[2]
And another footnote is here\footnote{foobar}
\end{document}