我正在使用 beamerposter 包设计一张海报。正如所料,这张海报上的许多块都有图形。我的问题是,在许多情况下,图形位于块的末尾,并且在下一个块开始之前留下几行空白。与以文本结尾的块相比,这尤其难看。
我曾在某处读到,图形环境以及其他浮动都带有边距。我还没有找到避免这种情况的方法。任何有关此事的帮助都将不胜感激。
以下是根据以下示例改编的 MWE:http://www-i6.informatik.rwth-aachen.de/~dreuw/latexbeamerposter.php:
\documentclass[final]{beamer}
\mode<presentation>
{
\usetheme{I6dv}
}
\graphicspath{{figures/}}
\usepackage{times}
\usepackage{amsmath,amssymb}
\usepackage[english]{babel}
\usepackage[latin1]{inputenc}
\usepackage[orientation=portrait,size=a2,scale=1.4,debug]{beamerposter} % e.g. custom size poster
\title[Fancy Posters]{Making Really Fancy Posters with \LaTeX}
\author[Dreuw \& Deselaers]{Philippe Dreuw and Thomas Deselaers}
\institute[RWTH Aachen University]{Human Language Technology and Pattern Recognition,RWTH Aachen University}
\date{Jul. 31th, 2007}
% added packages
\usepackage{hyperref}
\usepackage{longtable}
\usepackage{multirow}
\usepackage[percent]{overpic}
\usepackage{lipsum}
\begin{document}
\begin{frame}{}
\begin{block}{\large Block with Figure}
\justifying
\lipsum[1]
\begin{figure}[h]
\centering
\begin{longtable}[c]{m{0.17\linewidth} m{0.23\linewidth} m{0.23\linewidth} m{0.23\linewidth}}
\multirow{2}{*}[-40]{two rows should be enough right now} &
\begin{overpic}{figures/example.jpg}
\put(70,90){fat cat}
\end{overpic} &
\begin{overpic}{figures/example.jpg}
\put(70,90){fat cat}
\end{overpic} \\
& \begin{overpic}{figures/example.jpg}
\put(70,90){fat cat}
\end{overpic} &
\begin{overpic}{figures/example.jpg}
\put(70,90){fat cat}
\end{overpic}
\end{longtable}
\caption{Example figure showing my fat cat.}
\end{figure}
\end{block}
\begin{block}{\large Next Block}
\lipsum[2]
\end{block}
\end{frame}
\end{document}
MWE结果相关部分截图: