이 질문은 다음의 확장 버전입니다.비머의 제목 페이지에서 여러 저자의 이름, 롤, 기관을 정렬하는 방법은 무엇입니까?. 그리고 원 안의 사진을 보는 것은 다음에서 가져온 것입니다.비머 슬라이드에서 이미지의 원 부분을 표시하는 방법은 무엇입니까?
두 작가의 이름과 롤, 사진을 넣어 슬라이드를 만들고 싶습니다. 작성자 이름과 롤을 쉽게 추가할 수 있지만 작성자의 사진을 포함하면 슬라이드의 내용이 사라집니다.
내 시도 소스 코드는 여기에 있습니다 -
\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
이는 다양한 문제의 조합입니다.
괄호가 없거나 잘못 배치되어 텍스트가 프레임 환경 외부에 표시되었습니다. 비머는 추가 프레임을 삽입하여 이러한 상황을 구하려고 했습니다.
@marmot가 이미 그의 의견에서 설명했듯이
overlayarea
오버레이와 함께 사용됩니다.제목 페이지 템플릿을 다시 정의하는 대신 작성자 정의를 조작하면 각주에 있는 작성자에게도 동일한 정의가 사용되어 프레임 하단에 추가 이미지가 발생하게 됩니다. 짧은 저자 이름을 지정하여 이를 구제할 수 있지만 IMHO 제목 페이지를 다시 정의하는 것이 더 나을 것입니다.
귀하의 직함과 연구소가 각주에 비해 너무 길면 짧은 대안을 제시해야 합니다
\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}