海报环境中的 Wrapfig

海报环境中的 Wrapfig

具体来说,我使用的是https://www.overleaf.com/articles/an-initial-analysis-of-approximation-error-for-evolutionary-algorithms/kgkpjgxzywjq 模板我在环境中添加了 \usepackage{wrapfig},但仍然收到错误 environment wrapfig undefined

%% 作者:Jun He %% 日期:2017.05.11 % 由 Jun He 于 2015 年 5 月 11 日设计 % 本文件可按照 % % 1. LaTeX 项目公共许可证和/或 % 2. GNU 公共许可证进行分发和/或修改。

\documentclass[usenames,dvipsnames]{beamer} 

%\usepackage[orientation=portrait,scale=1.1,size=a0]{beamerposter}  
\usepackage[orientation=portrait,scale=0.875,size=a1]{beamerposter} 
\usepackage{aber} %my own defined style
\usetheme{Frankfurt} 
\usecolortheme{whale}
%\usecolortheme{beaver}
%\usecolortheme{crane}

\usepackage{pgfplots}
\pgfplotsset{compat=1.5}
\pgfplotsset{every axis/.append style={thick}} 
 
\usepackage{graphicx}   
\usepackage{booktabs}  
\usepackage{wrapfig}  %%added
\usebackgroundtemplate{\includegraphics[height=\paperheight]{aber1.jpg}} %insert background photo
\setbeamercolor{author}{fg=white} 
\setbeamercolor{institute}{fg=white} 
\setbeamercolor{date}{fg=white} 
 
\title{{\Huge An Initial  Analysis of Approximation Error for Evolutionary Algorithms}} % Poster title
\author{\Large Jun He \inst{1} \and Yuren Zhou \inst{2} \and Guangming Li \inst{3}}
\institute{\normalsize   \inst{1}Aberystwyth University, UK \,\, \inst{2} Sun Yat-sen University, China\,\, \inst{3} Shenzhen Institute of Information Technology, China}
 
%% own commands
\newcommand{\opt}{\mathrm{max}} 
\newcommand*{\defeq }{:=}  

\begin{document}

\begin{frame}[t]  
\maketitle

\begin{columns}[t]  
\begin{column}{0.45\paperwidth} 
%%%%%%%%%%% Start of Column 1 %%%%%%%%%%

\begin{greenblock}{Motivation}
This work aims at rigorously analyzing the approximation error of evolutionary algorithms (EAs). 
\end{greenblock}

\begin{greenblock}{Background}
Consider an EA for solving a maximization problem:
\begin{align}
\max f(x), \mbox{ subject to } x \in \mathcal{S}.
\end{align}

Let  $f_{\opt}$ denote the fitness of the optimal solution and $F_t$  the expected  fitness of the best solution  found  in the $t$th generation. 

\begin{definition}{Definitions}
\begin{itemize}
\item The \textbf{approximation error} of the EA in the $t$th generation is   
\begin{equation}
E_t:=f_{\opt}-F_t.
\end{equation}   
\begin{wrapfig}{r}{.5\textwidth}
\includegraphics[scale=0.1]{figs/aber1.jpg}
\end{wrapfig}
\item If some positive constants
$\alpha$ and $\beta$ exist with
\begin{align}
\lim_{t \to +\infty} \frac{E_t}{(E_{t-1})^{\alpha}}  =\beta,
\end{align}   then $\{E_t; t=0,1, \cdots\}$ is called to \textbf{converge to $0$ in the order $\alpha$}, with \textbf{asymptotic error constant $\beta$}~\cite{burden2015numerical,gautschi2011numerical}. 

\end{itemize}

\end{definition} 

\end{greenblock}

其余代码与https://www.overleaf.com/articles/an-initial-analysis-of-approximation-error-for-evolutionary-algorithms/kgkpjgxzywjq

另外,我发现在海报环境中文字不能很好地环绕图片,有什么办法可以解决这个问题吗?

相关内容