大家好,我有一个 Beamer 演示文稿,但现在我需要在 \title
宏之前在页面 上添加两个徽标\title
,但是当我将其添加到代码中时,我收到了几个错误,我想我必须使用宏,\defbeamertemplate
但我不知道如何添加图像和文本。我有以下代码:
\documentclass{beamer}
\usepackage{graphicx}
\begin{document}
\begin{frame}
\begin{picture}(18,1)
\put(-26,-67.5){\includegraphics[scale=0.3]{ipn.png}}
\put(240.5,-70.5){\includegraphics[width=2.1cm]{escom.png}}
\end{picture}
\textcolor{red}{\textbf{\begin{Large}
\\\hspace{1.35cm}Instituto Polit\'ecnico Nacional
\end{Large}}\\}
\hspace{1cm}
\textcolor{blue}{\textbf{\begin{Large}
Escuela Superior de C\'omputo
\end{Large}}}
\title{Trabajo Terminal: 2011-0003 SOCPO}
\end{frame}
\end{document}
我想要得到这样的东西:
答案1
您可以在本地设置headline
投影仪模板以包含徽标和机构名称;类似这样的内容(根据徽标尺寸,您必须调整一些长度):
\documentclass{beamer}
\usetheme{Warsaw}
\title{The Title}
\author{The Author}
\newcommand\InsName{%
\parbox{.5\textwidth}{%
\Large\centering Instituto Polit\'ecnico Nacional\\[1ex]Escuela Superior de C\'omputo}%
}
\begin{document}
\begingroup
\setbeamertemplate{headline}{\vspace{0.5cm}%
\hspace*{0.8cm}%
\rule{.15\textwidth}{1.5cm}% \includegraphics for logo 1 goes here
\hfill\raisebox{.6cm}{\InsName}\hfill%
\rule{.15\textwidth}{1.5cm}% \includegraphics for logo 2 goes here
\hspace*{0.8cm}%
}
\begin{frame}
\maketitle
\end{frame}
\endgroup
\begin{frame}
test
\end{frame}
\end{document}