
OK. Estou tentando mudar a cor do meu modelo de projetor. Estou usando Copenhagen e Wolverine.
Aqui está a aparência dos slides, bem como o código que estou usando.
\documentclass[t,aspectratio=169]{beamer}
\usepackage[utf8]{inputenc}
\usetheme{Copenhagen}
\usecolortheme{wolverine}
\beamertemplatenavigationsymbolsempty % Removes the interactive buttons
\setbeamertemplate{headline}{} % Removes the header sections
% ADDS SLIDE NUMBERS
%\newcommand*\oldmacro{}%
%\let\oldmacro\insertshorttitle%
%\renewcommand*\insertshorttitle{%
% \oldmacro\hfill%
% \insertframenumber\,/\,\inserttotalframenumber}
% Additional packages needed
\usepackage{amsmath} % For ???
\usepackage{dsfont} % For mathds font
\usepackage{hologo} % For BibTeX font
\usepackage{lmodern} % For ???
%Information to be included in the title page:
\title{Central Bank Watching}
\author{NAME}
\institute[University]
{
University \newline \newline March 2019
}
\date[\today]{}
\titlegraphic{\flushleft \includegraphics[scale=0.25]{UNI.png}}
% The below defines the footer such that it is:
% First Last (Institution) || Title frame / frame total
\setbeamertemplate{footline}{%
\leavevmode%
\hbox{\begin{beamercolorbox}[wd=.5\paperwidth,ht=2.5ex,dp=1.125ex,leftskip=.3cm plus1fill,rightskip=.3cm]{author in head/foot}%
\usebeamerfont{author in head/foot}\insertshortauthor~(\insertshortinstitute)
\end{beamercolorbox}%
\begin{beamercolorbox}[wd=.5\paperwidth,ht=2.5ex,dp=1.125ex,leftskip=.3cm,rightskip=.3cm plus1fil]{title in head/foot}%
\usebeamerfont{title in head/foot}\insertshorttitle\hfill\insertframenumber\,/\,\inserttotalframenumber
\end{beamercolorbox}}%
\vskip0pt%
}
% The below is used for creating section pages
\makeatletter
\setbeamertemplate{section page}
{
\begin{centering}
\begin{beamercolorbox}[sep=12pt,center,colsep=-4bp,rounded=true,shadow=\beamer@themerounded@shadow]{part title}
\usebeamerfont{section title}\insertsection\par
\end{beamercolorbox}
\end{centering}
}
% \setbeamertemplate{section page}[default][colsep=-4bp,rounded=true,shadow=\beamer@themerounded@shadow]
\setbeamertemplate{subsection page}[default][colsep=-4bp,rounded=true,shadow=\beamer@themerounded@shadow]
\makeatother
\AtBeginSection[]{
\begin{frame}[plain,c]
\sectionpage
\end{frame}
}
\begin{document}
\frame{\titlepage}
...
\end{document}
Gostaria de mudar o amarelo para o seguinte RGB: 69, 91, 196
e o laranja para o seguinte RGB: 168, 178, 85
Como posso fazer isso?
Obrigado!
Responder1
Adicionando
\definecolor{aa}{RGB}{69, 91, 196}
\definecolor{bb}{RGB}{168, 178, 85}
\setbeamercolor*{palette primary}{bg=aa}
\setbeamercolor*{palette quaternary}{bg=bb}
faz o truque.
Alternativamente, você pode alterar manualmente as cores individuais assim:
\setbeamercolor{title}{bg=aa}
Mas isso requer muito mais tentativa e erro se você não souber como seu modelo específico está configurado.
\documentclass[t,aspectratio=169]{beamer}
\usepackage[utf8]{inputenc}
\usetheme{Copenhagen}
\usecolortheme{wolverine}
\beamertemplatenavigationsymbolsempty % Removes the interactive buttons
\setbeamertemplate{headline}{} % Removes the header sections
\definecolor{aa}{RGB}{69, 91, 196}
\definecolor{bb}{RGB}{168, 178, 85}
\setbeamercolor*{palette primary}{bg=aa}
\setbeamercolor*{palette quaternary}{bg=bb}
% ADDS SLIDE NUMBERS
%\newcommand*\oldmacro{}%
%\let\oldmacro\insertshorttitle%
%\renewcommand*\insertshorttitle{%
% \oldmacro\hfill%
% \insertframenumber\,/\,\inserttotalframenumber}
% Additional packages needed
\usepackage{amsmath} % For ???
\usepackage{dsfont} % For mathds font
\usepackage{hologo} % For BibTeX font
\usepackage{lmodern} % For ???
%Information to be included in the title page:
\title{Central Bank Watching}
\author{NAME}
\institute[University]
{
University \newline \newline March 2019
}
\date[\today]{}
\titlegraphic{\flushleft \includegraphics[scale=0.25]{UNI.png}}
% The below defines the footer such that it is:
% First Last (Institution) || Title frame / frame total
\setbeamertemplate{footline}{%
\leavevmode%
\hbox{\begin{beamercolorbox}[wd=.5\paperwidth,ht=2.5ex,dp=1.125ex,leftskip=.3cm plus1fill,rightskip=.3cm]{author in head/foot}%
\usebeamerfont{author in head/foot}\insertshortauthor~(\insertshortinstitute)
\end{beamercolorbox}%
\begin{beamercolorbox}[wd=.5\paperwidth,ht=2.5ex,dp=1.125ex,leftskip=.3cm,rightskip=.3cm plus1fil]{title in head/foot}%
\usebeamerfont{title in head/foot}\insertshorttitle\hfill\insertframenumber\,/\,\inserttotalframenumber
\end{beamercolorbox}}%
\vskip0pt%
}
% The below is used for creating section pages
\makeatletter
\setbeamertemplate{section page}
{
\begin{centering}
\begin{beamercolorbox}[sep=12pt,center,colsep=-4bp,rounded=true,shadow=\beamer@themerounded@shadow]{part title}
\usebeamerfont{section title}\insertsection\par
\end{beamercolorbox}
\end{centering}
}
% \setbeamertemplate{section page}[default][colsep=-4bp,rounded=true,shadow=\beamer@themerounded@shadow]
\setbeamertemplate{subsection page}[default][colsep=-4bp,rounded=true,shadow=\beamer@themerounded@shadow]
\makeatother
\AtBeginSection[]{
\begin{frame}[plain,c]
\sectionpage
\end{frame}
}
\begin{document}
\frame{\titlepage}
...
\end{document}