我必须制作一张有两位作者的幻灯片,这意味着两个人(一个团队)将在演示文稿中展示幻灯片。但是,我无法将团队成员的姓名和角色对齐。
\documentclass{beamer}
\usetheme{Madrid}
\begin{document}
\title{Cross-Layer Resource Allocation with elastic service scaling in Cloud Radio access network}
\author{Md.Al-Helal\\SH-51\hspace{3cm}Jobayed Ullah\\EK-107}
\institute{Computer Science \& Engineering}
\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}
这可能有点帮助https://chat.stackexchange.com/transcript/message/42709750#42709750
答案1
用两个parbox
-es 写名称。并且不要忘记author
在页脚中用您想要的名称填充可选参数。
\documentclass{beamer}
\usetheme{Madrid}
\begin{document}
\title{Cross-Layer Resource Allocation with elastic service scaling in Cloud Radio access network}
\author[Md. Al-Helal, Jobayed Ullah]{\parbox{2.5cm}{\centering Md.Al-Helal\\SH-51}\hspace{1cm}\parbox{2.5cm}{\centering Jobayed Ullah\\EK-107}}
\institute{Computer Science \& Engineering}
\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}
答案2
堆叠!该stackengine
包允许垂直堆叠多个项目,项目之间可以有恒定间隙(短堆叠)或有恒定基线跳跃(长堆叠)。它们可以堆叠,以便最后一个项目位于基线上(堆叠)或第一个项目位于基线上(下堆叠)或围绕基线居中(中心堆叠)。在堆叠中,可以有左、右或中心水平对齐,默认为中心。
\documentclass{beamer}
\usetheme{Madrid}
\usepackage[usestackEOL]{stackengine}
\begin{document}
\title{Cross-Layer Resource Allocation with elastic service scaling in Cloud Radio access network}
\author{\Longunderstack{Md.Al-Helal\\SH-51}\hspace{3cm}%
\Longunderstack{Jobayed Ullah\\EK-107}}
\institute{Computer Science \& Engineering}
\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}