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}
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?


