![Beamer のタイトルページに 2 人のチーム メンバーの写真を含めるにはどうすればよいでしょうか?](https://rvso.com/image/370330/Beamer%20%E3%81%AE%E3%82%BF%E3%82%A4%E3%83%88%E3%83%AB%E3%83%9A%E3%83%BC%E3%82%B8%E3%81%AB%202%20%E4%BA%BA%E3%81%AE%E3%83%81%E3%83%BC%E3%83%A0%20%E3%83%A1%E3%83%B3%E3%83%90%E3%83%BC%E3%81%AE%E5%86%99%E7%9C%9F%E3%82%92%E5%90%AB%E3%82%81%E3%82%8B%E3%81%AB%E3%81%AF%E3%81%A9%E3%81%86%E3%81%99%E3%82%8C%E3%81%B0%E3%82%88%E3%81%84%E3%81%A7%E3%81%97%E3%82%87%E3%81%86%E3%81%8B%3F.png)
この質問は、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}