我只是想知道是否可以将脚注放在页面底部的框中。我的想法是将它们并排放置,以便最终结果如下所示:
Text text text text text text text text text text
text text text text text text text text text text
---------------- ---------------- ----------------
| Footnote 1 | | Footnote 2 | | Footnote 3 |
| | | | | |
\--------------/ \--------------/ \--------------/
最好的办法是能够使用 tcolorbox,以便最大程度地控制框格式
答案1
\documentclass{article}
\usepackage[para]{footmisc} % there also is a 'norule' package option that
% will remove the black rule above the footnotes
\usepackage{tcolorbox}
\usepackage[papersize={5.5in,3in},margin=0.25in]{geometry} % small example page
% set the horizontal gap between two footnotes
\newlength{\footgap}
\setlength{\footgap}{0.5em}
\newtcolorbox{nota}{width=4cm,bottom=-1mm,box align=top,colback=gray!20,colframe=red!75!black}
% style the footnote box
\newcommand{\fnbox}[1]{%
\begin{nota}\flushleft
\hspace{-1em}#1
\end{nota}
}
\makeatletter
\long\def\@makefntext#1{\leavevmode%
\mbox{\fnbox{\@makefnmark\hskip.5em\relax#1}\hskip\footgap}}
\makeatother
\begin{document}
Some text\footnote{Cournot, Augustin, and Irving
Fischer. 1971. \emph{Researches into the Mathematical Principles of the
Theory of Wealth.} New York, NY: A. M. Kelley.}
Some more text\footnote{Krajewski, Markus. 2014. `The Great Lightbulb Conspiracy'. \emph{IEEE Spectrum}. Updated 25 September.}
Even more text\footnote{Basker, Emek. 2007. ‘The Causes and Consequences of Wal-Mart’s Growth’ \emph{Journal of Economic Perspectives} 21 (3): pp. 177–198.}
\end{document}