如何在不调整演示文稿标题大小的情况下充分利用图像?
这是我目前所拥有的,其中标题下方有图像(等等),我将其大小调整为 0.2:
\documentclass[dvipsnames,svgnames]{beamer}
\usepackage[english]{babel}
\usetheme{Boadilla}
\usepackage{graphicx}
\makeatother
\setbeamertemplate{footline}
{
\leavevmode%
\hbox{%
\begin{beamercolorbox}[wd=.2\paperwidth,ht=2.25ex,dp=1ex,center]{author in head/foot}%
\usebeamerfont{author in head/foot}\insertshortauthor
\end{beamercolorbox}%
\begin{beamercolorbox}[wd=.5\paperwidth,ht=2.25ex,dp=1ex,center]{title in head/foot}%
\usebeamerfont{title in head/foot}\insertshorttitle\hspace*{3em}
\end{beamercolorbox}}%
\begin{beamercolorbox}[wd=.3\paperwidth,ht=2.25ex,dp=1ex,right]{date in head/foot}%
\usebeamerfont{date in head/foot}\insertshortdate{}\hspace*{1em}% original: 2ex
\insertframenumber{} / \inserttotalframenumber\hspace*{1ex}% original: 2ex
\end{beamercolorbox}
\vskip0pt%
}
\makeatletter
\setbeamertemplate{navigation symbols}{}
\title[High-dimensional visual similarity search: kgeraf]{High-dimensional visual similarity search: kd Generalized Randomized Forests}\author{}
\author[Avrithis, Emiris, Samaras]{Y. Avrithis, I. Z. Emiris, G. Samaras}
\institute{National \& Kapodistrian University of Athens}
\date{CGI '16, Heraklion, Greece}
\begin{document}
\begin{frame}
\titlepage
\begin{center}
\includegraphics[width=0.2\textwidth]{giraffe_sam} \\
\end{center}
\end{frame}
\end{document}
虽然这还不错,但我想知道我们是否可以让长颈鹿漂浮到幻灯片的左侧(或者右侧),而不影响标题?
答案1
我没有这样的 epsilon-giraffe(我们可以在这里得到它吗?),所以还有另一张作为图片:
\documentclass[dvipsnames,svgnames]{beamer}
\usepackage[english]{babel}
\usetheme{Boadilla}
\usepackage{graphicx}
\makeatother
\setbeamertemplate{footline}
{
\leavevmode%
\hbox{%
\begin{beamercolorbox}[wd=.2\paperwidth,ht=2.25ex,dp=1ex,center]{author in head/foot}%
\usebeamerfont{author in head/foot}\insertshortauthor
\end{beamercolorbox}%
\begin{beamercolorbox}[wd=.5\paperwidth,ht=2.25ex,dp=1ex,center]{title in head/foot}%
\usebeamerfont{title in head/foot}\insertshorttitle\hspace*{3em}
\end{beamercolorbox}}%
\begin{beamercolorbox}[wd=.3\paperwidth,ht=2.25ex,dp=1ex,right]{date in head/foot}%
\usebeamerfont{date in head/foot}\insertshortdate{}\hspace*{1em}% original: 2ex
\insertframenumber{} / \inserttotalframenumber\hspace*{1ex}% original: 2ex
\end{beamercolorbox}
\vskip0pt%
}
\makeatletter
\setbeamertemplate{navigation symbols}{}
\title[High-dimensional visual similarity search: kgeraf]{High-dimensional visual similarity search: kd Generalized Randomized Forests}\author{}
\author[Avrithis, Emiris, Samaras]{Y. Avrithis, I. Z. Emiris, G. Samaras}
\institute{National \& Kapodistrian University of Athens}
\date{CGI '16, Heraklion, Greece}
\begin{document}
\begin{frame}
\titlepage
%\begin{center}
\begin{flushright}
%\includegraphics[width=0.2\textwidth]{giraffe_sam} \\
\includegraphics[width=0.2\textwidth]{giraf}
%\end{center}
\end{flushright}
\end{frame}
\end{document}
如果能接受一些手工活,长颈鹿可能就和标题和其余的差不多了:
\documentclass[dvipsnames,svgnames]{beamer}
\usepackage[english]{babel}
\usetheme{Boadilla}
\usepackage{graphicx}
\makeatother
\setbeamertemplate{footline}
{
\leavevmode%
\hbox{%
\begin{beamercolorbox}[wd=.2\paperwidth,ht=2.25ex,dp=1ex,center]{author in head/foot}%
\usebeamerfont{author in head/foot}\insertshortauthor
\end{beamercolorbox}%
\begin{beamercolorbox}[wd=.5\paperwidth,ht=2.25ex,dp=1ex,center]{title in head/foot}%
\usebeamerfont{title in head/foot}\insertshorttitle\hspace*{3em}
\end{beamercolorbox}}%
\begin{beamercolorbox}[wd=.3\paperwidth,ht=2.25ex,dp=1ex,right]{date in head/foot}%
\usebeamerfont{date in head/foot}\insertshortdate{}\hspace*{1em}% original: 2ex
\insertframenumber{} / \inserttotalframenumber\hspace*{1ex}% original: 2ex
\end{beamercolorbox}
\vskip0pt%
}
\makeatletter
\setbeamertemplate{navigation symbols}{}
\title[High-dimensional visual similarity search: kgeraf]{High-dimensional visual similarity search: kd Generalized Randomized Forests}\author{}
\author[Avrithis, Emiris, Samaras]{Y. Avrithis, I. Z. Emiris, G. Samaras}
\institute{National \& Kapodistrian University of Athens}
\date{CGI '16, Heraklion, Greece}
\begin{document}
\begin{frame}
\titlepage
%\begin{center}
\begin{flushright}
%\includegraphics[width=0.2\textwidth]{giraffe_sam} \\
\raisebox{10mm}[0mm]{\includegraphics[width=0.2\textwidth]{giraf}}
%\end{center}
\end{flushright}
\end{frame}
\end{document}