我想要一个框架模板,其右下角有一个图像,其左侧有一些文本。我该如何实现?
这是我脑海中所想的图片。
演示代码来自Beamer 手册(1.3. 欧几里得的介绍)。
每张幻灯片的右下角都有一个选项可以添加图片。但是,它总是同一张图片,因为它被认为是大学徽标。
平均能量损失没有图片和引文,因为这些是用 GIMP 添加的后生成框架。
% From the beamer manual.
\documentclass{beamer}
\mode<presentation>
{
\usetheme{Warsaw}
% or ...
\setbeamercovered{transparent}
% or whatever (possibly just delete it)
}
\usepackage[english]{babel}
\usepackage[latin1]{inputenc}
\usepackage{times}
\usepackage[T1]{fontenc}
\title[] % (optional, use only with long paper titles)
{There is no largest prime number}
\subtitle
{A no-nonsense self-contained guide.} % (optional)
\author[Euclides]{Euclides of Alexandria \\ \texttt{[email protected]}}
%%%%%{F.~Author\inst{1} \and S.~Another\inst{2}}
% - Use the \inst{?} command only if the authors have different
% affiliation.
\date[Short Occasion] % (optional)
{2017-01-15 / Informal gathering}
\subject{Index Funds and Efficient Investing}
% This is only inserted into the PDF information catalog. Can be left
% out.
% If you have a file called "university-logo-filename.xxx", where xxx
% is a graphic format that can be processed by latex or pdflatex,
% resp., then you can add a logo as follows:
% \pgfdeclareimage[height=0.5cm]{university-logo}{university-logo.png}
% \logo{\pgfuseimage{university-logo}}
% Delete this, if you do not want the table of contents to pop up at
% the beginning of each subsection:
\AtBeginSubsection[]
{
\begin{frame}<beamer>{Outline}
\tableofcontents[currentsection,currentsubsection]
\end{frame}
}
\begin{document}
\begin{frame}
\titlepage
\end{frame}
\begin{frame}{Outline}
\tableofcontents
% You might wish to add the option [pausesections]
\end{frame}
\section{Motivation}
\subsection[Short First Subsection Name]{First Subsection Name}
\end{document}
答案1
一个简单的解决方案:只需借用徽标层来放置您的报价:
\documentclass{beamer}
\usetheme{Warsaw}
\begin{document}
{
\logo{%
\usebeamercolor*[fg]{normal text}
\small
\begin{minipage}[b]{3cm}
If we knew what it was we were doing, it would not be called research, would it? -- Albert Einstein
\end{minipage}\quad\includegraphics[width=3cm]{example-image}
}
\begin{frame}
bla
\end{frame}
}
\end{document}