我正在使用 WinEdt 制作幻灯片。我从某人那里拿到了代码。我想更改幻灯片中出现的框架的颜色。我尝试使用不同的主题,但没有成功。有人能帮助我吗?非常感谢您的帮助。这是我的代码。除了更改背景颜色外,我还想将蓝色更改为其他颜色。
\documentclass[ucs,10pt]{beamer}
\usepackage{amsthm}
\usepackage{colortbl}
\usepackage{hyperref}
\usepackage{beamerthemesplit}
\usepackage{bibentry}
\usepackage{color}
\date{}
\PassOptionsToClass{t,hyperref={pdfpagelabels=false,plainpages=false}}{beamer}
\providecommand\thispdfpagelabel[1]{}
\mode<presentation>
\usepackage{array}
\setlength{\arrayrulewidth}{0.6pt}
\usecolortheme{Blue}
\usetheme{Antibes}
\useinnertheme{rounded}
\setbeamercolor{itemize item}{fg=orange}
\setbeamercovered{transparent}
\newtheorem{defi}{Definition}
\renewenvironment{definition}{\begin{defi}}{\end{defi}}
\newtheorem{defis}{Definitions}
\renewenvironment{definitions}{\begin{defis}}{\end{defis}}
\newtheorem{facte}{Fait}
\renewenvironment{fact}{\begin{facte}}{\end{facte}}
\newtheorem{coro}{Corollaire}
\renewenvironment{corollary}{\begin{coro}}{\end{coro}}
\newtheorem{theo}{Theorem}
\renewenvironment{theorem}{\begin{theo}}{\end{theo}}
\newtheorem{Remark}{Remark}[section]
\newtheorem{exa}{Example}
\renewenvironment{example}{\begin{exa}}{\end{exa}}
\newcommand{\bea}{\begin{eqnarray}}
\newcommand{\eea}{\end{eqnarray}}
\newcommand{\bee}{\begin{eqnarray*}}
\newcommand{\eee}{\end{eqnarray*}}
\newcommand{\be}{\begin{equation}}
\newcommand{\ee}{\end{equation}}
\newcommand{\ba}{\begin{array}}
\newcommand{\ea}{\end{array}}
\newcommand{\bi}{\begin{itemize}}
\newcommand{\ei}{\end{itemize}}
\newcommand{\bc}{\begin{center}}
\newcommand{\ec}{\end{center}}
\newcommand{\bfr}{\begin{flushright}}
\newcommand{\efr}{\end{flushright}}
\newcommand{\f}{\frac}
\usepackage{rotating}
答案1
您可以像这样修改颜色:
\documentclass{beamer}
\usetheme{Antibes}
\setbeamercolor{palette primary}{bg=red!80!black}
\setbeamercolor{palette secondary}{bg=red!70!black}
\setbeamercolor{palette tertiary}{bg=red!60!black}
\setbeamercolor{palette quaternary}{bg=red!50!black}
\setbeamercolor{background canvas}{bg=gray!50!white}
\begin{document}
\begin{frame}
\frametitle{test}
test
\end{frame}
\end{document}