如何将演示文稿的标题插入浅色LightCyan颜色框中?

如何将演示文稿的标题插入浅色LightCyan颜色框中?

您能帮我将演示文稿的标题“标题 ABC”插入到 LightCyan 颜色框中吗?

下面我附上我使用的代码:


\documentclass{beamer}

\mode<presentation>{
\usetheme{Madrid}
%\usetheme[secheader]{Boadilla}
\usecolortheme{dolphin}
}
%\usepackage[utf8]{inputenc}
%\usepackage{default}
\usepackage[english]{babel}
\usepackage[style=apa,backend=biber, natbib]{biblatex}
\DeclareLanguageMapping{english}{english-apa}
\DefineBibliographyStrings{english}{%
 andothers = {et al.},
}
\usepackage{pgfplots}
\pgfplotsset{/pgf/number format/use comma,compat=newest}
\usepackage{amsmath,amsfonts,amssymb,bm}
\usepackage{multirow}
\usepackage{graphicx}
\usepackage{booktabs}
\usepackage{hyperref}
\usepackage{tikz}

\usepackage{makecell}
\usepackage[para,online,flushleft]{threeparttable}\usepackage{breqn}
\usepackage{adjustbox}
%\usepackage{color}
\usepackage{tabularx}
\usepackage{color, colortbl}
\definecolor{LightCyan}{rgb}{0.88,1,1}
\usepackage{booktabs}


\usepackage{color, colortbl}
\definecolor{Gray}{gray}{0.9}

%\usepackage[colorlinks=true,citecolor=blue]{hyperref}

\hypersetup{colorlinks=true,citecolor=blue, linkcolor=white}


\newcommand{\MYhref}[3][blue]{\href{#2}{\color{#1}{#3}}}%

\title[Mock Presentation, UC3M]{Title ABC}

\author[ABC] { ABC \\}

\institute[AUMM]{XYZ \\ }

\date{October, 2019}




\begin{document}

\begin{frame}
\maketitle
\end{frame}

\end{document}


答案1

借助\setbeamercolor{title}您可以实现以下结果:

在此处输入图片描述

\documentclass{beamer}

\usetheme{Madrid}
\usecolortheme{dolphin}

\definecolor{LightCyan}{rgb}{0.88,1,1}
\setbeamercolor{title}{bg=LightCyan}

\title[Mock Presentation, UC3M]{Title ABC}
\author[ABC]{ABC}
\institute[AUMM]{XYZ}
\date{October, 2019}


\begin{document}

\begin{frame}
\maketitle
\end{frame}

\end{document}

相关内容