Beamer のタイトルページに 2 人のチーム メンバーの写真を含めるにはどうすればよいでしょうか?

Beamer のタイトルページに 2 人のチーム メンバーの写真を含めるにはどうすればよいでしょうか?

この質問は、Beamer のタイトルページで複数の著者名、ロール、機関を揃えるにはどうすればよいでしょうか?そして、写真を円形に表示するには、Beamer スライドで画像の円で囲んだ部分を表示するにはどうすればよいですか?

著者名、ロール、写真が 2 つ入ったスライドを作成したいと考えています。著者名とロールは簡単に追加できますが、写真を追加するとスライドの内容が消えてしまいます。

試してみたソースコードはここにあります -

\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}

ここに画像の説明を入力してください

関連情報