0

The documentclass memoir provides a default option for two columns footnotes with the setting \twocolumnfootnotes, however the text in the footnote per default are aligned left and not justified.

How do set the footnote text to be justified?

MWE

\documentclass[twoside]{memoir}
\twocolumnfootnotes

\usepackage{lipsum}

\begin{document}

text\footnote{\lipsum} text text

\end{document}

(LuaLaTex sample output):

enter image description here

New contributor
imdk4242 is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.
0

This might be useful

I added the two lines and a little extra code

\documentclass[twoside]{memoir}

\makeatletter

\renewcommand{\@twocolfootfmt}[1]{%
  \@preamtwofmt
  {%
    \hspace*{-\footparindent}% <-- added
    \footfootmark%
    \strut {\foottextfont #1}\strut\par}\allowbreak}

\renewcommand{\@preamtwofmt}{%
  \hsize .45\hsize
  \parindent=\z@
  \tolerance=5000\relax
  \raggedright
  \parindent=\footparindent% <-- added
  \leavevmode}

\makeatother

\setlength\footmarkwidth{1em}
\setlength\footparindent{1.5em}
\footmarkstyle{\hbox to \footmarkwidth{\textsuperscript{#1}\hfil}}



\twocolumnfootnotes

\usepackage{lipsum}

\begin{document}

text\footnote{\lipsum[1-2]}\footnote{\lipsum[3-5]} text text

\end{document}
  • Shouldn't the \raggedright be commented out for justified text? – Peter Wilson Jul 12 at 14:49
  • @PeterWilson I wasn't paying attention, plus it will probably look bad to have this justified. So I interpreted the question as wanting to get the paragraph indentation back. – daleif Jul 12 at 14:51
  • Works like a charm, thanks. Bonus question: if I want to change the size (i.e. vertical white space) of the margin between the two columns, how do go about this, in the above MWE? I want to decree this margin compared to the default settings of \twocolumnfootnotes – imdk4242 Jul 12 at 19:30
  • @imdk4242 I have given a bonus answer to your newly asked question. – Peter Wilson Jul 14 at 18:06

Your Answer

imdk4242 is a new contributor. Be nice, and check out our Code of Conduct.

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.