答案1
您可以缩短页面:
\documentclass{article}
\usepackage{eso-pic}
\usepackage{multicol,lipsum}
\columnseprule0.4pt
\begin{document}
\enlargethispage{-2cm}
\AddToShipoutPictureFG*{%
\AtTextLowerLeft{\makebox[\textwidth]{Footer}}}
\begin{multicols*}{2}
\lipsum[1]
\end{multicols*}
\end{document}
当然,您也可以手动绘制线条并指定其应有的长度:
\documentclass{article}
\usepackage{eso-pic}
\usepackage{multicol,lipsum}
\begin{document}
\AddToShipoutPictureFG*{%
\AtTextUpperLeft{\makebox[\textwidth]{\rule[\dimexpr-0.8\textheight]{0.4pt}{0.8\textheight}}}%
\AtTextLowerLeft{\makebox[\textwidth]{Footer}}}
\begin{multicols*}{2}
\lipsum
\end{multicols*}
\end{document}
答案2
它有助于首先使用保存箱来测量页脚材料。
\documentclass{article}
\usepackage{multicol,lipsum}
\newsavebox{\tempbox}
\columnseprule0.4pt
\begin{document}
\setbox\tempbox=\vbox{\lipsum[2]}% create footer material (outside multicols)
\begin{multicols}{2}
\lipsum[1]
\vfill\rule{0pt}{\dimexpr \textheight - \ht\tempbox - \dp\tempbox - \topskip}
\end{multicols}
\noindent\usebox{\tempbox}% \unvbox\tempbox also works here
\end{document}