2

I am using a footnotes with urls inside. This works fine for most cases, but for some reason I cannot understand, sometimes the footnotes are not generated and I do not know why.

Here is the MWE (Minimal Working Example) that I am using:

\documentclass[a4paper,10pt]{article}
\usepackage[utf8]{inputenc}
\usepackage{paralist}

\begin{document}
\begin{compactdesc}
  \item[Speedup\footnote{Am I Here?}] \hfill \\  
  A missing footnote.
\end{compactdesc}

\end{document}

What am I doing wrong here?

  • Your example is not minimal at all + the problem is not with urls : even without \url command, the footnote in the items of your compactdesc environment does not show. – Clément Jul 2 '14 at 10:23
  • Footnotes are floats and thus cannot be used inside every construction. You may need to use \item[...\footnotemark]\footnotetext{...} – daleif Jul 2 '14 at 10:24
  • 5
    This is hardly a minimal working example! It seems clear that using \footnote inside \item[?] is the cause of your problems. I checked and the use of \url has nothing to do with your problem. See footnote in item for a solution. – user30471 Jul 2 '14 at 10:24
  • 1
    Well, I was told that an MNE was an example that you could simply just copy and paste to reproduce the error. If you copy and paste this code you will experience the error. – Flame_Phoenix Jul 2 '14 at 10:25
  • 2
    I agree with @Flame_Phoenix, the MWE is just fine. The description of the problem might be lacking a bit. See my comment above. – daleif Jul 2 '14 at 10:25
0

I solved the problem by using item[]\footnote{\url{}} instead of item[\footnote{\url{}}]. Basically, an item cannot have a footnote inside.

| improve this answer | |
  • 4
    yes you can, just use the method I mentioned in my comment, using \item[...\footnotemark] \footnotetext{Text}, then it works just fine. – daleif Jul 2 '14 at 10:47

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