I'm using beamerthemeRJH theme for my poster presentation. The .sty
file to this theme can be obtained from here. I want to get OliveGreen
rather than blue color for block background. Any help will be highly appreciated. Thanks
[Tex/LaTex] Changing block background color in beamerposter
beamerbeamerposter
Related Solutions
So this may not be what you need since I don't know where you are starting:
\documentclass{beamer}
\title{Title}
\author{Me}
\begin{document}
\setbeamertemplate{navigation symbols}{}
\setbeamertemplate{background}{\includegraphics[width=\paperwidth,height=\paperheight]{teitl}}
\frame[label=title]{\titlepage}
\setbeamertemplate{background}{\includegraphics[width=\paperwidth,height=\paperheight]{tudalen}}
\begin{frame}{Frame Title}
This is a regular page.
\end{frame}
\end{document}
Update
The only way I can currently figure to do this is as follows:
\documentclass{beamer}
\usetheme{Atlanta}
\makeatletter
\defbeamertemplate*{frametitle}{mytitle}[1][left]
{
\ifbeamercolorempty[bg]{frametitle}{}{\nointerlineskip}%
\@tempdima=\textwidth%
\advance\@tempdima by\beamer@leftmargin%
\advance\@tempdima by\beamer@rightmargin%
\begin{beamercolorbox}[sep=0.3cm,#1,wd=\the\@tempdima]{}
\usebeamerfont{frametitle}%
\vbox{}\vskip-1ex%
\if@tempswa\else\csname beamer@fte#1\endcsname\fi%
\strut\insertframetitle\strut\par%
{%
\ifx\insertframesubtitle\@empty%
\else%
{\usebeamerfont{framesubtitle}\usebeamercolor[fg]{framesubtitle}\insertframesubtitle\strut\par}%
\fi
}%
\vskip-1ex%
\if@tempswa\else\vskip-.3cm\fi% set inside beamercolorbox... evil here...
\end{beamercolorbox}%
}
\makeatother
\setbeamertemplate{footline}{}
\setbeamertemplate{frametitle}[mytitle]
\title{Title}
\author{Me}
\begin{document}
\setbeamertemplate{navigation symbols}{}
\setbeamertemplate{background}{\includegraphics[width=\paperwidth,height=\paperheight]{teitl}}
% plain removes the navigation bar etc.
\frame[plain]{\titlepage}
\setbeamertemplate{background}{\includegraphics[width=\paperwidth,height=\paperheight]{tudalen}}
\begin{frame}{Frame Title}
This is a regular page.
\end{frame}
\end{document}
Update to Update
\documentclass[font=9pt]{beamer}
\usetheme{Atlanta}
\makeatletter
\defbeamertemplate*{frametitle}{mytitle}[1][left]
{
\ifbeamercolorempty[bg]{frametitle}{}{\nointerlineskip}%
\@tempdima=\textwidth%
\advance\@tempdima by\beamer@leftmargin%
\advance\@tempdima by\beamer@rightmargin%
\begin{beamercolorbox}[sep=0.3cm,#1,wd=\the\@tempdima]{}
\usebeamerfont{frametitle}%
\vbox{}\vskip-1ex%
\if@tempswa\else\csname beamer@fte#1\endcsname\fi%
\strut\insertframetitle\strut\par%
{%
\ifx\insertframesubtitle\@empty%
\else%
{\usebeamerfont{framesubtitle}\usebeamercolor[fg]{framesubtitle}\insertframesubtitle\strut\par}%
\fi
}%
\vskip-1ex%
\if@tempswa\else\vskip-.3cm\fi% set inside beamercolorbox... evil here...
\end{beamercolorbox}%
}
\makeatother
\setbeamertemplate{footline}{}
\setbeamertemplate{frametitle}[mytitle]
\setbeamertemplate{headline}{}% eliminate headline so background is revealed
\definecolor{myblue}{rgb}{0.4, 0.6, 0.8}% adjust as desired
\setbeamercolor{structure}{fg=myblue}
\defbeamertemplate*{title page}{customized}[1][]
{
\usebeamerfont{title}\inserttitle\par
\usebeamerfont{subtitle}\usebeamercolor[fg]{subtitle}\insertsubtitle\par
\bigskip
\usebeamerfont{author}\insertauthor\par
\usebeamerfont{institute}\insertinstitute\par
\usebeamerfont{date}\insertdate\par
\usebeamercolor[fg]{titlegraphic}\inserttitlegraphic
}
%\usepackage{Warsaw}
%\usepackage{beamercolorthemeyellowjacket}
\usefonttheme{serif}
\usepackage{amsmath,amssymb,amsthm,amsfonts}
\usepackage{algorithmic,algorithm}
\usepackage{graphicx,ifpdf}
\usepackage{mathrsfs}
\usepackage{natbib}
\usepackage{dsfont}
\usepackage[english]{babel}
\usepackage[latin1]{inputenc}
\usepackage{times}
\usepackage{verbatim}
\usepackage{multirow}
\usepackage{multicol}
\usepackage{algorithm}
\usepackage{algorithmic}
\usepackage{booktabs}
\usepackage{caption}
\usepackage{subcaption}
\usepackage{wasysym}
\usepackage{tabularx}
\usepackage{tabulary}
\def\Ze{\mathbb{Z}}
\def\Qe{\mathbb{Q}}
\def\Re{\mathbb{R}}
\def\Ne{\mathbb{N}}
\def\E{\mathbb{E}}
%\def\Pr{{\rm Pr}}
\def\newblock{}
\DeclareMathOperator*{\wg}{\wedge}
\newcommand{\set}[1]{\left\{ #1 \right\}}
\newtheorem{thm}{Theorem}
\newtheorem{lem}{Lemma}
\newtheorem{obs}{Observation}
\newtheorem{prop}{Proposition}
\newtheorem{cor}{Corollary}
\newtheorem{dfn}{Definition}
\newtheorem{asp}[theorem]{Assumption}
\newcommand{\rv}{\mathcal{T}}
\newcommand{\rr}{\mathbb{R}}
\newcommand{\zz}{\mathbb{Z}}
\newcommand{\nn}{\mathbb{N}}
\newcommand{\rw}{W}
\newcommand{\rc}[1]{\textcolor{Black}{#1}}
\newcommand{\bc}[1]{\textcolor{Black}{#1}}
\title[Presentation ] % (optional, use only with long paper titles)
{Presentation Title}
\institute[my institute]{
}
\author[my name ] % (optional, use only with lots of authors)
{my name}
\date[]
\begin{document}
\setbeamertemplate{navigation symbols}{}
\setbeamertemplate{background}{\includegraphics[width=\paperwidth,height=\paperheight]{blue}}
\frame[plain]{\titlepage}
\setbeamertemplate{background}{\includegraphics[width=\paperwidth,height=\paperheight]{background}}
\begin{frame}\frametitle{Outline}
\begin{enumerate}
\item Introduction
\item A two-stage chance-constrained model
\item Case study
\item Solution approaches
\item Conclusions
\end{enumerate}
\end{frame}
\section{Introduction}
\begin{frame}\frametitle{}
\begin{center}
\bfseries{Thank you!}\\
\vspace{2cm}
\bfseries{Comments?}\\
\end{center}
\end{frame}
\section{A two-stage chance-constrained model}
\begin{frame}\frametitle{}
\begin{center}
\bfseries{Thank you!}\\
\vspace{2cm}
\bfseries{Comments?}\\
\end{center}
\end{frame}
\section{Case study}
\begin{frame}\frametitle{}
\begin{center}
\bfseries{Thank you!}\\
\vspace{2cm}
\bfseries{Comments?}\\
\end{center}
\end{frame}
\section{Solution approaches }
\begin{frame}\frametitle{A Frame Title}
\begin{center}
\bfseries{Thank you!}\\
\vspace{2cm}
\bfseries{Comments?}\\
\end{center}
\end{frame}
\end{document}
With \setbeamertemplate{title page}{...}
you can modify the title page without effecting global setting.
\documentclass{beamer}
\usetheme{Antibes}
\usepackage{graphicx}
\usepackage{tikz}
\pgfdeclareimage[width=\paperwidth]{mybackground}{back.pdf}
\setbeamertemplate{title page}{
\begin{picture}(0,0)
\put(-30,-163){%
\pgfuseimage{mybackground}
}
\put(0,-110.7){%
\begin{minipage}[b][45mm][t]{226mm}
\usebeamerfont{title}{\inserttitle\par}
\end{minipage}
}
\end{picture}
}
\title[...]{My title}
\begin{document}
\begin{frame}[plain]
\titlepage
\end{frame}
\section{Introduction}
\begin{frame}{History}
This is a test page!
\end{frame}
\end{document}
Best Answer
The
.sty
file for the theme you mentioned is very well commented, and so it's easy to change colors of the elements.To change the background color to
OliveGreen
, first add the optiondvipsnames
to the Beamer class, so that you can use this name for the color.Next, go into the
.sty
file ofRJH
theme, locate the part whose color you'd like to change, say% body colors and fonts
. You'll notice that the\setbeamercolor
command has afg=<colorname>,bg=<colorname>
argument; these specify the colors for foreground and background. If you want to change the background color toOliveGreen
, then simply issuein the preamble. This will redefine
<colorname>
to be the color you specify. In the case of% body colors and fonts
,will change the background color of the poster to
OliveGreen
.MWE
Output