7

RevTeX4-1 automatically ensures that a period appears at the end of each footnote (or endnote). In most circumstances this causes no difficulty. But when an endnote ends with an equation, RevTeX misses the period I put in at the end of the equation, and it adds one of it's own on the line below the equation. The result is ugly and wrong! Here's my MWE.

\documentclass[aps,prl,12pt,amsmath]{revtex4-1}
% I'm using the options aps, prl, and 12pt just to suppress
% some warnings; they do not affect the problem illustrated.

\begin{document}

This text includes an endnote that ends with an equation.%
~\footnote{Einstein derived the equation
  \[
    E = m c^2.
  \]
}

\end{document}

Help!

10
  • Welcome to TeX.SX! Commented Nov 17, 2013 at 3:44
  • Putting \renewcommand{\bibitemNoStop}{} in the preamble might work, but then you'd have to type all periods yourself rather than rely on revtex to add them.
    – Dan
    Commented Nov 17, 2013 at 7:57
  • A copy editor might argue that it's not only wrong ending a footnote with a displayed equation in a footnote, but having one in the first place.
    – egreg
    Commented Nov 17, 2013 at 10:05
  • Why don't you simply remove the dot? It's a rather special case.
    – Alex
    Commented Nov 17, 2013 at 10:50
  • 1
    @Alex -- the problem is not that there are two dots, but that the one added automatically is on a separate line. that's much harder to get rid of. Commented Nov 17, 2013 at 14:12

1 Answer 1

6

Trick revtex into thinking a period is there:

\documentclass[aps,prl,12pt,amsmath]{revtex4-1}
% I'm using the options aps, prl, and 12pt just to suppress
% some warnings; they do not affect the problem illustrated.

\newcommand\trick[1]{}

\begin{document}

This text includes an endnote that ends with an equation.%
~\footnote{%
  \unexpanded{\makeatletter\let\@bibitemShut\relax\makeatother}%
  Einstein derived the equation
  \[
    E = m c^2.
  \]\protect\trick.
}
And another footnote.~\footnote{What's that?}
\end{document}

But avoid displayed equations in footnotes.

0

You must log in to answer this question.

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