2

This answer to Layout of multiple lines footnotes shows how to get hanging indent in footnotes (extremely ugly if you ask me, but the editors want what the editors want).

\documentclass{article}
\usepackage{lipsum}
\makeatletter
    \renewcommand\@makefntext[1]{\leftskip=2em\hskip-2em\@makefnmark#1}
\makeatother
\begin{document}
\lipsum[1]\footnote{\lipsum[2]}
\end{document}

enter image description here

Now I also need to make my footnotes ragged right. I've tried to just add \raggedright to the code above: {\leftskip=2em\hskip-2em\raggedright\@makefnmark#1}, or to use footmisc by adding \renewcommand{\footnotelayout}{\raggedright}. Neither approach gives ragged right footnotes with hanging indents. How can I get it?

2
\documentclass{article}
\usepackage{lipsum}
\makeatletter
    \renewcommand\@makefntext[1]{\raggedright\leftskip=2em\hskip-2em\@makefnmark#1}
\makeatother
\begin{document}

\null\vfill% just for the example

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

\end{document}

enter image description here

Or, using ragged2e:

\documentclass{article}
\usepackage{ragged2e}
\usepackage{lipsum}
\makeatletter
    \renewcommand\@makefntext[1]{\RaggedRight\leftskip=2em\hskip-2em\@makefnmark#1}
\makeatother
\begin{document}

\null\vfill% just for the example

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

\end{document}

enter image description here

  • That was the only place I didn't put it after all other placements failed ... sigh. – Sverre Aug 28 '15 at 15:34

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.