latexの二段組脚注の罫線を伸ばす

latex

latex で二段組をしたときの脚注の罫線を横に伸ばしたかったのでやったことをメモする。

普通に \footnote を書くと次のようになる。

\documentclass[twocolumn,paper=a4paper,landscape]{jlreq}

\begin{document}

テキスト\footnote{footnote}

\hrulefill

\end{document}

normal-footnote

雑に \linewidth の長さにしようとすると次のようになる。

\documentclass[twocolumn,paper=a4paper,landscape]{jlreq}

\renewcommand{\footnoterule}{\hrule width \linewidth}

\begin{document}

テキスト\footnote{footnote}

\hrulefill

\end{document}

linewidth-footnote

これだと若干右が足りない。
かつ、文字と罫線が詰まってしまう。

いい感じに修正すると次のようになる。

\documentclass[twocolumn,paper=a4paper,landscape]{jlreq}

\renewcommand{\footnoterule}{\hrule\vspace{0.3em}}

\begin{document}

テキスト\footnote{footnote}

\hrulefill

\end{document}

iikanji-footnote

\hrule はその環境の横幅にデフォルト値が設定されるようだ。[https://tex.stackexchange.com/questions/269885/what-is-the-default-length-of-hrule]。