在一本宽边距的书中,我想制作两栏传记注释,并带有环绕图像,固定在页面底部(就像我可以固定浮动的位置一样)。我该怎么做?
我已尝试使用以下代码片段:
\documentclass[12pt]{book}
\usepackage[left=.7in, bottom=1in, right=2.8in, marginparwidth=2.1in, marginparsep=.3in]{geometry}
\usepackage{fullwidth}
\usepackage{multicol}
\usepackage{graphicx}
\usepackage{wrapfig}
\usepackage{lipsum}
\begin{document}
\lipsum[10]
% \begin{fullwidth}[outermargin=-5cm,width=\linewidth+5cm]
\begin{multicols}{2}\begin{wrapfigure}{l}{100pt}\includegraphics[width=100pt]{newton.jpg}\end{wrapfigure} \footnotesize \noindent \textbf{Issac Newton} (1643\textendash1727) was a British physicist and mathematician. He is remembered as one of the greatest scientists of all time.
In his book \emph{Philosophi\ae Naturalis Principia Mathematica} (known as \emph{Principia} in short), published in 1687, he formulated mechanics and the law of gravitation, which brought a revolution in Physics and Astronomy. Before him Kepler had observed the motions of the planets of the solar system. But their explanation was unknown until then.
\lipsum[2]
\lipsum[2]\end{multicols}
% \end{fullwidth}
\lipsum[10]
\end{document}
到目前为止,该代码片段产生了以下两个输出,但它们都不是所需的。
答案1
我取得了一些进展(实际上几乎实现了我想要的)。使用tcolorbox
(支持浮动和环绕图)进行了勾选。
\documentclass[12pt]{book}
\usepackage[left=.7in, bottom=1in, right=2.8in, marginparwidth=2.1in, marginparsep=.3in]{geometry}
\usepackage{fullwidth}
\usepackage{multicol}
\usepackage{graphicx}
\usepackage{wrapfig}
\usepackage{lipsum}
\usepackage{tcolorbox}
\begin{document}
\lipsum[10]
\begin{tcolorbox}[float*=!btp, width=\linewidth+5cm, boxrule=0pt, bottomrule=1pt, arc=0pt]
\begin{multicols*}{2}
\begin{wrapfigure}{l}{100pt}\includegraphics[width=100pt]{newton.jpg}\end{wrapfigure} \footnotesize \textbf{Issac Newton} (1643\textendash1727) was a British physicist and mathematician. He is remembered as one of the greatest scientists of all time.
In his book \emph{Philosophi\ae Naturalis Principia Mathematica} (known as \emph{Principia} in short), published in 1687, he formulated mechanics and the law of gravitation, which brought a revolution in Physics and Astronomy. Before him Kepler had observed the motions of the planets of the solar system. But their explanation was unknown until then.
\lipsum[2]
\lipsum[2]
\lipsum[2]
\end{multicols*}
\end{tcolorbox}
\lipsum[10]
\end{document}
!btp
下面是它产生的结果。输出正是我想要的,只是虽然我在浮动属性 ( )中将底部设置为优先级,但框始终位于页面顶部。