我正在使用 tikz 将四个徽标放在标题图形中。但我收到一条错误消息,
! Undefined control sequence.
\tikz@invoke@collected@onpath ...mmand \tikz@temp
\pgf@stop \tikz@node@is@a@...
l.46 \end{frame}
我的代码是这样的(我使用大都会主题),
\documentclass[12pt]{beamer}
\usetheme{metropolis}
\mode<handout>{
\usepackage{pgfpages}
\pgfpagesuselayout{2 on 1}[a4paper,border shrink=5mm]
}
\usepackage{tikz}
\title{Title Page}
\author{Authors}
\date{Dates}
\titlegraphic{
\tikz[overlay] \node[at=(current page.south east), anchor=south east] { \includegraphics[width=0.25\textwidth]{hsyc} \includegraphics[width=0.25\textwidth]{MS2T} \includegraphics[width=0.25\textwidth]{Invest} \includegraphics[width=0.25\textwidth]{card} }
}
\begin{document}
\AtBeginSection[]{
\begin{frame}<handout:0>
\frametitle{Outline}
\tableofcontents[current,currentsection,currentsubsection]
\end{frame}
}
\begin{frame}
\titlepage
\end{frame}
\end{document}
我还想在标题后看到演示文稿的大纲。我该如何实现?
答案1
尝试\begin{tikzpicture}[overlay, remember picture]
:
\documentclass[12pt]{beamer}
\usetheme{moloch}% modern fork of the metropolis theme
\mode<handout>{
\usepackage{pgfpages}
\pgfpagesuselayout{2 on 1}[a4paper,border shrink=5mm]
}
\usepackage{tikz}
\title{Title Page}
\author{Authors}
\date{Dates}
\titlegraphic{
\begin{tikzpicture}[overlay, remember picture]
\node[at=(current page.south east), anchor=south east] {%
\includegraphics[width=.25\textwidth]{example-image} \includegraphics[width=.25\textwidth]{example-image} \includegraphics[width=.25\textwidth]{example-image} \includegraphics[width=.25\textwidth]{example-image}
};
\end{tikzpicture}
}
\begin{document}
\AtBeginSection[]{
\begin{frame}<handout:0>
\frametitle{Outline}
\tableofcontents[current,currentsection,currentsubsection]
\end{frame}
}
\begin{frame}
\titlepage
\end{frame}
\end{document}