1

It seems that the tikz package prevents the footnote package to function properly within a minipage.

\documentclass[11pt]{memoir}
\usepackage{footnote}
\usepackage{tikz}

\begin{document}

\begin{minipage*}[t]{0.8\linewidth}
Here is some text\footnote{This is a footnote.}.
\end{minipage*}

\end{document}

Note that the minipage* environment is provided by the footnote package.

Using xelatex (TeXlive 2014), I get the following error:

! Extra }, or forgotten \endgroup.
<argument> ...@finalstrut \strutbox }\fn@endnote }

l.11 ...is some text\footnote{This is a footnote.}

Commenting out the tikz package and it works fine.

Anyone knows how to fix this?

1

1 Answer 1

5

Loading TikZ first seems to work?

\documentclass[11pt]{memoir}
\usepackage{tikz}
\usepackage{footnote}

\begin{document}

\begin{minipage*}[t]{0.8\linewidth}
Here is some text\footnote{This is a footnote.}.
\end{minipage*}

\end{document}
1
  • @zzjing Always worth a shot. Doesn't always work but, when it does.... And TikZ can be finnicky sometimes.
    – cfr
    Commented Jan 8, 2016 at 4:04

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .