6

Following up to How can I edit footnote style in memoir class when using biblatex-chicago?

I have been fixing my footnotes with a hack adjusting \@makefntext, but I would rather use memoir's interface.

But I can't figure out how to make the footnote number be indented the same width as the \parindent of the body text above.

I include both my attempt at a memoir solution and my hack below; you can try both or see the default by moving the \begin{comment} and \end{comment} lines.

\documentclass{memoir}
\usepackage[nopar]{lipsum}
\usepackage{comment}

\newlength{\myparindent}
\setlength{\myparindent}{2em}
\setlength{\parindent}{\myparindent}


\footmarkstyle{#1.\,}
\newlength{\myfootmarkindent}
\setlength{\myfootmarkindent}{\footmarkwidth}
\addtolength{\myfootmarkindent}{\myparindent}
\setlength{\footmarkwidth}{\myparindent}
\setlength{\footmarksep}{-\footmarkwidth}
\setlength{\footparindent}{\myparindent}


\begin{comment}
\makeatletter
\renewcommand\@makefntext[1]%
        {\setlength{\parindent}{\myparindent}%
        {\@thefnmark.\,}%
        \setlength{\parindent}{\myparindent} #1}
\makeatother


\end{comment}

\begin{document}

\lipsum[1]\footnote{\lipsum[2]\par\lipsum[3]}

\lipsum[4]

\end{document}

1 Answer 1

6

If you set the \footmarkwidth to zero and add space before the footmark everything aligns quite nicely:

enter image description here

Here is the code:

\documentclass{memoir}
\usepackage{lipsum}

\footmarkstyle{\hspace{\parindent}#1.\,}    % indent the footmark 
\setlength{\footmarkwidth} {0em}
\setlength{\footmarksep}   {0em}
\setlength{\footparindent} {\parindent}

\begin{document}

\lipsum*[1]\footnote{\lipsum[2]\par\lipsum[3]}
\lipsum

\end{document}
1
  • 1
    Beautiful and elegant! I'm not sure why this isn't spelled out in the memoir manual. Nov 17, 2014 at 14:03

You must log in to answer this question.

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