Beamer 上的三个标志

Beamer 上的三个标志

我的演示文稿已完成,但我需要添加学校的徽标,这给我带来了麻烦。对于我的演示文稿,我使用以下内容:

\documentclass{beamer}
\usepackage[most]{tcolorbox}
\usepackage{amsmath}
\usepackage[spanish]{babel}
\usepackage{lmodern}
\setbeamercovered{transparent}
\usepackage{graphicx}
\usepackage{dsfont}
\usepackage{amssymb}
\usepackage{listings}
\lstset{basicstyle=\normalsize\ttfamily, breaklines=true, framextopmargin=10pt, framexbottommargin=10pt, frame=single, breakindent=0pt}
\usepackage{color}
\usetheme{Dresden}
\usecolortheme{seagull}
\definecolor{cream}{RGB}{255,255,221}
\definecolor{light}{rgb}{0.88,1.0,1.0}
\definecolor{melon}{rgb}{1.0, 0.94, 0.84}
\definecolor{bisque}{rgb}{0.69,0.93,0.93}
\definecolor{amarillo}{rgb}{0.94, 0.92, 0.84}



\title{Title.}
\date{Date}
\author[]{Author}

我需要放置 3 个徽标,如下图所示 在此处输入图片描述

我尝试寻找解决方案,但没有一个对我有用,而且我仍然不太熟练使用 tikz,有人可以给我一些关于如何安排我的徽标的提示吗?

答案1

我会使用该textpos包:

\documentclass{beamer}
\usepackage[absolute,overlay]{textpos} % Needed for absolute positioning
\usepackage{graphicx} % Needed for including graphics

% Theme settings
\usetheme{Dresden}
\usecolortheme{seagull}

% Title and author information
\title{Title.}
\date{Date}
\author[]{Author}

% Begin document
\begin{document}

% Title page frame
{
% Disable navigation symbols for the title page
\setbeamertemplate{navigation symbols}{}

\begin{frame}
  % Actual content of the title page
  \titlepage
  
  % Logo placeholders using textblocks
  \begin{textblock*}{5cm}(1cm,0.5cm) % {block width} (coords)
    \centering
    Logo 1 Placeholder
  \end{textblock*}
  
  \begin{textblock*}{5cm}(6.5cm,0.5cm) % {block width} (coords)
    \centering
    Logo 2 Placeholder
  \end{textblock*}
  
  % Move Logo 3 to the bottom left
  \begin{textblock*}{5cm}(1cm,8.5cm) % {block width} (coords)
    \centering
    Logo 3 Placeholder
  \end{textblock*}
  
\end{frame}
}

% Rest of your presentation
% ...

% End document
\end{document}

插入图像:

\begin{textblock*}{5cm}(1cm,0.5cm) % {block width} (coords)
  \centering
  \includegraphics[width=4cm]{path/to/logo1.png} % Adjust the width as needed
\end{textblock*}

在此处输入图片描述

答案2

您可以使用 tikz 方便地放置您的徽标,而无需猜测坐标(调整outer sep=...以改变与角落的距离):

\documentclass{beamer}
\usepackage[most]{tcolorbox}
\usepackage{amsmath}
\usepackage[spanish]{babel}
\usepackage{lmodern}
\setbeamercovered{transparent}
\usepackage{graphicx}
\usepackage{dsfont}
\usepackage{amssymb}
\usepackage{listings}
\lstset{basicstyle=\normalsize\ttfamily, breaklines=true, framextopmargin=10pt, framexbottommargin=10pt, frame=single, breakindent=0pt}
\usepackage{color}
\usetheme{Dresden}
\usecolortheme{seagull}
\definecolor{cream}{RGB}{255,255,221}
\definecolor{light}{rgb}{0.88,1.0,1.0}
\definecolor{melon}{rgb}{1.0, 0.94, 0.84}
\definecolor{bisque}{rgb}{0.69,0.93,0.93}
\definecolor{amarillo}{rgb}{0.94, 0.92, 0.84}



\title{Title.}
\date{Date}
\author[]{Author}

\begin{document}

\begin{frame}
\maketitle
\begin{tikzpicture}[overlay,remember picture,outer xsep=0.5cm,outer ysep=1cm]
\node[anchor=north west] at (current page.north west) {\includegraphics[width=1.5cm]{example-image-duck}};
\node[anchor=north east] at (current page.north east) {\includegraphics[width=1.5cm]{example-image-duck}};
\node[anchor=south west] at (current page.south west) {\includegraphics[width=1.5cm]{example-image-duck}};
\node[anchor=south east] at (current page.south east) {\includegraphics[width=1.5cm]{example-image-duck}};
\end{tikzpicture}
\end{frame}

\end{document}

在此处输入图片描述

相关内容