如何在 beamer 的标题页中包含两名团队成员的照片?

如何在 beamer 的标题页中包含两名团队成员的照片?

这个问题是如何在 Beamer 的标题页中对齐多个作者的姓名、职位和机构?. 并且观看照片的圆圈是从如何在投影仪幻灯片中显示图像的圆圈部分?

我想制作一张包含两位作者姓名、名单和照片的幻灯片。我可以轻松添加作者姓名和名单,但当我添加他们的照片时,幻灯片的内容就消失了。

我的尝试源代码在这里 -

\documentclass{beamer}
\usepackage{tikz}
\usetheme{Madrid}
\logo{%
  \includegraphics[width=1cm,height=1.5cm,keepaspectratio]{example-image-a}%
  \hspace{\dimexpr\paperwidth-2cm-5pt}%
  \includegraphics[width=1cm,height=1cm,keepaspectratio]{example-image-b}%
}
\begin{document}
  \title{Cross-Layer  Resource  Allocation with  elastic service scaling in Cloud Radio access network}
  \author{
  \parbox{2.5cm}{
\begin{overlayarea}{\textwidth}{\textheight}
\begin{tikzpicture}
  \clip (0,0) circle (1);
\node at (0.62,-3) {\includegraphics{example-image-a}}; %<-you'll need to adjust these
% coordinates, I do not have your original picture
\end{tikzpicture}
\end{overlayarea}
\centering Md.Al-Helal\\Roll:SH-51}\hspace{1cm}
}
\parbox{2.5cm}{
\begin{overlayarea}{\textwidth}{\textheight}
\begin{tikzpicture}
  \clip (0,0) circle (1);
\node at (0.62,-3) {\includegraphics{example-image-a}}; %<-you'll need to adjust these
% coordinates, I do not have your original picture
\end{tikzpicture}
\end{overlayarea}
{\centering Jobayed Ullah\\Roll:EK-107}}
\institute{Computer Science \& Engineering\\CSEDU}
\begin{frame}
  \maketitle
\end{frame}
  \title{Cross-Layer  Resource  Allocation with  elastic service scaling in Cloud Radio access network}
  \author{Jianhua Tang\\ Wee Pen Tay\\ Tony Q. S. Quek}
\institute{IEEE Transactions on Wireless Communications, vol 14, no. 9}
\date{September 2015}
\begin{frame}
  \maketitle
\end{frame}
\end{document}

答案1

这是各种问题的组合:

  • 缺少或放错括号导致文本超出框架环境。Beamer 尝试通过插入额外的框架来挽救这种情况

  • 正如@marmot 在他的评论中解释的那样,overlayarea将与覆盖结合使用

  • 如果您弄乱了作者定义而不是重新定义标题页模板,则相同的定义也将用于页脚中的作者,从而导致框架底部出现额外的图像。您可以通过提供简短的作者姓名来解决这个问题,但在我看来,重新定义标题页会更好。

  • 您的标题和机构对于脚注来说太长了,您应该给出一个简短的替代方案


\documentclass{beamer}
\usepackage{tikz}
\usetheme{Madrid}

\begin{document}

\title[short title]{Cross-Layer  Resource  Allocation with  elastic service scaling in Cloud Radio access network}

\author[author names]{%
    \parbox{2.5cm}{%
        \begin{tikzpicture}
            \clip (0,0) circle (1);
            \node at (0.62,-3) {\includegraphics{example-image-a}};
        \end{tikzpicture}
        \centering Md.Al-Helal\\Roll:SH-51
    }%
    \hspace{1cm}
    \parbox{2.5cm}{%
        \begin{tikzpicture}
            \clip (0,0) circle (1);
            \node at (0.62,-3) {\includegraphics{example-image-a}};
        \end{tikzpicture}
        \centering Jobayed Ullah\\Roll:EK-107
    }
}

\institute[short inst.]{Computer Science \& Engineering\\CSEDU}

\begin{frame}
  \maketitle
\end{frame}

\end{document}

在此处输入图片描述

相关内容