6

I am using the footmisc package:

\usepackage[perpage,para]{footmisc}

Every time I make a footnote, I use my own podnote command:

\newcommand{\podnote}[1]{\footnote{\hspace{-1ex}#1}}

However, I do not actually want there to be space at the beginning of a line: example

How do I keep the spaces which are circled green and get rid of the one which is crossed out in red? (I don't know that this is relevant, but I am using XeLaTeX.)

  • 8
    How about you produce a minimal working example (MWE) so that interested parties (us!) can play around with it? – Werner Dec 12 '11 at 19:08
  • 3
    irrelevant niggle -- ex should really be used only for vertical dimensions; better to use em (here, perhaps .3em for horizontal ones. – barbara beeton Dec 12 '11 at 19:47
  • @barbarabeeton That's good to know. Just curious, do you have a reference for that? – Kazark Dec 12 '11 at 20:29
  • 1
    @karzak The TeX Book p. 60 is one. But the recommendation is more of a conceptual one rather than substantive. Both ex and em are font-dependent measures, and either one will work. – Alan Munn Dec 12 '11 at 20:57
  • 2
    @Alan's right, of course, about this being conceptual, but if you're using fonts other than computer modern (where all styles have essentially the same proportions), you might get a surprise switching, say, from serif to sans. – barbara beeton Dec 12 '11 at 21:20
9

I can't reproduce your problem. Here's a minimal example which patches the footnote text code to remove the space (rather than adding a negative space in each footnote.)

\documentclass[twocolumn]{article}
\usepackage[perpage,para]{footmisc}
\usepackage{etoolbox}
\makeatletter
\patchcmd{\@makefntext}{.5em}{0em}{}{}
\makeatother
\begin{document}

This is some text.\footnote{A footnote that has a few lines. More. Line. More. .More}
Some text\footnote{This is longer. It is longer.} This\footnote{Another one that.}
is some more text.\footnote{Another footnote that has some more lines.} Some more text.
\end{document}

output of code

  • This is a good corrective of my hack. However, strangely enough, it hasn't fixed my problem! See my comment about about the MWE. – Kazark Dec 13 '11 at 21:29
  • So add packages from your actual document gradually to this example to see what's causing the interaction. – Alan Munn Dec 13 '11 at 21:33
  • Incredibly strange...returning to my document after several months, I have somehow unintentionally fixed the problem (either that, or it is not appearing anymore randomly). Anyway, I'm going to go ahead and accept this answer. – Kazark Feb 13 '12 at 22:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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