我需要有关 LaTeX 海报演示(使用“横向”模板)的帮助,该演示具有 4 列布局(见附图)。我没有单独使用第 2 列和第 3 列,而是将它们用作主要部分的一列。问题是,我需要再次将它们分开,因为我想插入一个图形并将文本很好地环绕在其周围 - 以两列样式(见附图)。我尝试了以下步骤
\begin{columns}[t,totalwidth=\twocolwid]
\begin{column}{\onecolwid}\vspace{-.6in}
\begin{block}
...
但这只会在图像左侧的文本上方留下一条灰色的水平分隔线(如深灰色框所示)。
而且,当我只是尝试使用以下想法时:
\begin{columns}[T]
\begin{column}{.6\textwidth}
...
\begin{column}{.4\textwidth}
我的图像左侧的文本以粗体显示(无法用\textnormal
等更改)
也许你们有一些想法,
提前谢谢了!
答案1
非常感谢您的回答...我在标题中也提到了这个模板的作者,因为我没有想出这个模板。
% Jacobs Landscape Poster
% LaTeX Template
% Version 1.1 (14/06/14)
% Created by:
% Computational Physics and Biophysics Group, Jacobs University
% Further modified by:
% Nathaniel Johnston
%
% Further changes by myself to create a MWE
%
% This template has been downloaded from:
% http://www.LaTeXTemplates.com
% License:
% CC BY-NC-SA 3.0 (http://creativecommons.org/licenses/by-nc-sa/3.0/)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass[final]{beamer}
\usepackage[scale=1.24]{beamerposter}
\usetheme{confposter}
\newlength{\sepwid}
\newlength{\onecolwid}
\newlength{\twocolwid}
\newlength{\threecolwid}
\setlength{\paperwidth}{48in}
\setlength{\paperheight}{36in}
\setlength{\sepwid}{0.024\paperwidth}
\setlength{\onecolwid}{0.22\paperwidth}
\setlength{\twocolwid}{0.464\paperwidth}
\setlength{\threecolwid}{0.708\paperwidth}
\setlength{\topmargin}{-0.5in}
\usepackage{graphicx}
\usepackage{booktabs}
\title{Title}
\author{Author}
\institute{Institute}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
\addtobeamertemplate{block end}{}{\vspace*{2ex}}
\setlength{\belowcaptionskip}{2ex}
\setlength\belowdisplayshortskip{2ex}
\begin{frame}[t]
\begin{columns}[t]
\begin{column}{\sepwid}\end{column}
%%%%%%%%%%%%%%%%%First Column%%%%%%%%%%%%%%%%%%%%%%
\begin{column}{\onecolwid}
\begin{block}{Blockone}
Some text.
\end{block}
\begin{block}{Blocktwo}
Some text.
\end{block}
\end{column}
\begin{column}{\sepwid}\end{column}
%%%%%%%%%%%%%%%%Columns 2 and 3%%%%%%%%%%%%%%%%%%%%
\begin{column}{\twocolwid}
\begin{column}{\twocolwid}\vspace{-.6in}
\begin{block}{Newblockone}
Some text.\\
\end{block}
\end{column}
\begin{columns}[t,totalwidth=\twocolwid]
\begin{column}{\onecolwid}\vspace{-.6in}
%%%%%%%%%%%%'Critical block'%%%%%%%%%%%%%%%%%%%%%%%
\begin{block}
Some text that should be to the left of the figure
\end{block}
\end{column}
\begin{column}{\onecolwid}\vspace{-.6in}
\begin{figure}
\includegraphics[width=0.8\linewidth]{example.jpg}
\end{figure}
\end{column}
\end{columns}
\begin{column}{\onecolwid}\vspace{-.6in}
\end{column}
\end{column}
%%%%%%%%%%%%%%%%%%%%%%%%Fourth column%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{column}{\sepwid}\end{column}
\begin{column}{\onecolwid}
\begin{block}{Newblock}
Some Text.
\end{block}
\end{column}
\end{columns}
\end{frame}
\end{document}
答案2
水平线出现在block
环境的顶部,而不是column
(在 中定义),因此您可以在单个环境中将beamerthemeconfposter.sty
文本和图形同时放在 s 内。minipage
block
\documentclass[final]{beamer}
\usepackage[scale=1.24]{beamerposter}
\usetheme{confposter}
\newlength{\sepwid}
\newlength{\onecolwid}
\newlength{\twocolwid}
\newlength{\threecolwid}
\setlength{\paperwidth}{48in}
\setlength{\paperheight}{36in}
\setlength{\sepwid}{0.024\paperwidth}
\setlength{\onecolwid}{0.22\paperwidth}
\setlength{\twocolwid}{0.464\paperwidth}
\setlength{\threecolwid}{0.708\paperwidth}
\setlength{\topmargin}{-0.5in}
\usepackage{graphicx}
\usepackage{booktabs}
\usepackage{lipsum}
\title{Title}
\author{Author}
\institute{Institute}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
\addtobeamertemplate{block end}{}{\vspace*{2ex}}
\setlength{\belowcaptionskip}{2ex}
\setlength\belowdisplayshortskip{2ex}
\begin{frame}[t]
\begin{columns}[t]
\begin{column}{\sepwid}\end{column}
%%%%%%%%%%%%%%%%%First Column%%%%%%%%%%%%%%%%%%%%%%
\begin{column}{\onecolwid}
\begin{block}{Blockone}
\lipsum[1-2]
\end{block}
\begin{block}{Blocktwo}
\lipsum[1-2]
\end{block}
\end{column}
\begin{column}{\sepwid}\end{column}
%%%%%%%%%%%%%%%%Columns 2 and 3%%%%%%%%%%%%%%%%%%%%
\begin{column}{\twocolwid}
\begin{column}{\twocolwid}\vspace{-.6in}
\begin{block}{Newblockone}
\lipsum[1-6]
\end{block}
\end{column}
\begin{columns}[t,totalwidth=\twocolwid]
\begin{column}{\twocolwid}\vspace{-.6in}
%%%%%%%%%%%%'Critical block'%%%%%%%%%%%%%%%%%%%%%%%
\begin{block}{}
\begin{minipage}[t]{0.5\linewidth}
\lipsum[1-2]
\end{minipage}%
\hfill
\begin{minipage}[t]{0.45\linewidth}
\begin{figure}
\includegraphics[width=0.8\linewidth]{example-image}
\caption{Figure}
\end{figure}
\end{minipage}
\end{block}
\end{column}
\end{columns}
\end{column}
%%%%%%%%%%%%%%%%%%%%%%%%Fourth column%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{column}{\sepwid}\end{column}
\begin{column}{\onecolwid}
\begin{block}{Newblock}
\lipsum[1-5]
\end{block}
\end{column}
\end{columns}
\end{frame}
\end{document}