答案1
另一个解决方案。这个使用 atcolorbox
来包含带有阴影的图像(如您的示例所示),使用 tikzlibrarytikzmark
来引用文本中的引用,使用 tikzlibrarycalc
来放置在图像中。
\documentclass[twocolumn]{article}
\usepackage[most]{tcolorbox}
\usepackage{lipsum}
\usetikzlibrary{tikzmark,calc}
\begin{document}
\tikzmark{A}
\lipsum[1]
\begin{tcbraster}[blankest, overlay, remember as=first, drop fuzzy shadow, raster columns=1]
\tcbincludegraphics[graphics options={page=13}]{MemoirChapStyles}
\end{tcbraster}
\begin{tcbraster}[blankest, overlay, remember as=second, drop fuzzy shadow, raster columns=1]
\tcbincludegraphics[graphics options={page=21}]{MemoirChapStyles}
\end{tcbraster}
\lipsum[3]
\tikzmark{B}
\begin{tikzpicture}[overlay,remember picture,line width=1mm,draw=red!75!black]
\draw[->] (first.center) to[bend right] (second.center);
\draw[->,green] (pic cs:A) to[out=30,in=120] ($(second.north west)!.3!(second.east)$);
\draw[->,blue] (pic cs:B) to[out=30,in=120] ($(first.north west)!.6!(first.south)$);
\end{tikzpicture}
\end{document}
答案2
您可以使用简单节点将页面作为图像包含在内。
\documentclass{article}
\usepackage{tikz}
\usepackage{kantlipsum} % For dummy text
\begin{document}
\begin{tabular}{cp{7cm}}
\begin{tikzpicture}[baseline={(current bounding box.north)}]
\node[draw,rounded corners,inner sep=0]{\includegraphics[width=4cm,page=156]{pgfmanual}};
\end{tikzpicture}
& \kant[1]
\end{tabular}
\end{document}