5

Here's an MWE (using koma-script v3.25):

\documentclass[paper=a8]{scrartcl}

\RequirePackage{ragged2e}
%\addtokomafont{footnote}{\RaggedRight}

\begin{document}
foo\footnote{bar}
\end{document}

Here the result without \RaggedRight:

without RaggedRight

And here the same with \RaggedRight, un-commenting the corresponding line:

with RaggedRight

Question: What must I do to preserve the original horizontal position of the footnote?

5

Do not use \addkomafont or \setkomafont to change the alignment of the footnote text. You can redefine \raggedfootnote(available since KOMA-Script version 3.23).

Example:

\documentclass[paper=a8,DIV=9]{scrartcl}[2017/04/13]
\usepackage{showframe}
\usepackage{ragged2e}
\renewcommand\raggedfootnote{\RaggedRight}

\begin{document}
foo\footnote{bar bar bar bar bar bar bar}
\end{document}

enter image description here

  • Thanks. I wasn't aware that \raggedfootnote has been introduced recently. – lemzwerg Apr 10 '18 at 17:44
  • I've just tested it in my real-world document. Everything's fine :-) – lemzwerg Apr 10 '18 at 18:17

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.