我必须在标题幻灯片中加入支持资助机构的徽标和一句话。我希望它很小,位于底部,占用很少的空间。要做到这一点,我认为最好将句子和徽标并排放在同一水平上。
有人知道如何实现这个目标吗?
MWE 如下:
\documentclass[11pt]{beamer}
\usepackage{booktabs}
\usepackage{tabularx}
\usepackage[export]{adjustbox}
\usepackage{amssymb}
\setbeamertemplate{navigation symbols}[horizontal]
\title{Unnecessarily long title}
\author{\small Name 1, Name 2, }
\date{}
\addtobeamertemplate{title page}{}{\scriptsize Supported by some National Research Fund (LONG FUND NUMBER IN HERE)}
\titlegraphic{
\includegraphics[width=2cm]{example.jpg}
}
\begin{document}
{%
\setbeamertemplate{headline}{}
\frame{\titlepage}
}
\end{document}
这使得两个元素相互重叠,从而占用了大量的空间和注意力
答案1
您已经加载了adjustbox
包,因此您可以使用它将图像很好地放置在文本旁边:
\documentclass[11pt]{beamer}
\usepackage{booktabs}
\usepackage{tabularx}
\usepackage[export]{adjustbox}
%\usepackage{amssymb}
\setbeamertemplate{navigation symbols}[horizontal]
\title{Unnecessarily long title}
\author{\small Name 1, Name 2, }
\date{}
\begin{document}
{%
\setbeamertemplate{headline}{}
\begin{frame}
\titlepage
\tiny Supported by some National Research Fund (LONG FUND NUMBER IN HERE) \hfill \includegraphics[width=2cm,valign=c]{example-image}
\end{frame}
}
\end{document}