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?

1 Answer 1

3
\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

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

You must log in to answer this question.

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