[Tex/LaTex] Setting text in OnehalfSpacing, footnotes SingleSpacing with memoir

bidiline-spacingmemoir

I'm using the memoir class, which is great, to set a dissertation. Unfortunately I have to use double spacing (for which I'm actually using OnehalfSpacing). When I do this, the whole document gets set in OnehalfSpacing. I'd like to set the footnotes in single spacing. Any idea how I can do that?

I'm using the bidi package and I have already tried the suggested fix in Double-spacing in text but not footnotes in memoir class while using arabxetex but to no avail.

Here is an example, which shows that footnotes that are simply citations (\autocite{}) are correctly in as single spaced, but a \footnote{} ends up 1 1/2 spaced.

Problem example

Best Answer

You need to load bidi with the extrafootnotefeatures option. Though, even then I needed to modify the memoir settings a bit to get things looking right.

\documentclass{memoir}
\usepackage[extrafootnotefeatures]{bidi}
\pagestyle{empty}
\OnehalfSpacing
\footmarkstyle{\hskip\footparindent #1.\@\space}
\setlength{\footmarkwidth}{0in}
\setlength{\footmarksep}{0in}
\begin{document}
\null
\vfill
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Ut purus elit,
vestibulum ut, placerat ac, adipiscing vitae, felis.\footnote{Lorem ipsum
dolor sit amet, consectetuer adipiscing elit. Ut purus elit, vestibulum ut,
placerat ac, adipiscing vitae, felis.}

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Ut purus elit,
vestibulum ut, placerat ac, adipiscing vitae, felis.\footnote{Lorem ipsum
dolor sit amet, consectetuer adipiscing elit. Ut purus elit, vestibulum ut,
placerat ac, adipiscing vitae, felis.}
\end{document}

enter image description here