1

Could you help me to change the color for beamer. I'll defend my PhD thesis next friday and we have to follow some orientation for presentation's format in our university. So, I'm using \usetheme{Berlin}, and this is the output enter image description here

but it shoul be black around (top and bottom) and grey into the page background, like this enter image description here

Could you help me please? And, is it possible to put the name before the title? Thank you!!!

This is the MWE:

\documentclass{beamer}
\usepackage{graphicx}
\usepackage{lmodern}
\usepackage{multirow}
\usepackage{xcolor}
\usepackage{booktabs}
\usepackage{longtable}

\usepackage[portuges]{babel}
\usepackage[latin1,utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{verbatim}
\usepackage{natbib}
\usepackage{amssymb}
\usepackage[none]{hyphenat}
\usepackage{amsmath,amssymb,mathtools}
\usepackage{indentfirst}
\usetheme{Berlin}
\setbeamercolor{block body alerted}{bg=normal text.bg!90!black}

\title[Prova de Doutoramento em Economia | Coimbra, 15 de Abil de 2016]{\Large \bf Políticas Monetária e Orçamental e Ciclos Económicos nos Mercados Emergentes}

\author[Gilson Pina]{Gilson Manuel Gomes Pina}

\normalsize

\date{
{\begin{minipage}[c]{16cm}
\begin{flushleft}
\textbf{Orientadores:} \\ 
\small Professor Doutor Pedro Bação (FEUC)\\
\small Professor Doutor Ricardo M. Sousa (EEG/UM)
\end{flushleft}
 \end{minipage}}\\
\vspace*{0.5cm}
{Prova de Doutoramento em Economia}\\
{\small  Coimbra, 15 de Abril de 2016}
}

\AtBeginSubsection[]
{
  \begin{frame}<beamer>{Sum\'{a}rio}
    \tableofcontents[currentsection,currentsubsection]
  \end{frame}
}

\begin{document}

\begin{frame}
  exemple
\end{frame}
\end{document}
3
  • I am guessing that English is not your first language and that your greeting was not intended the way it sounds. In any case, I've removed it as it isn't needed here anyway. That way, your post won't inadvertently cause offence. [Not that it was awful, but not really a good way to start a post to people you hope will help you!] – cfr Apr 11 '16 at 2:35
  • Please provide us with a minimal document (code) we can play with. Try looking in the manual. Don't worry about the colours. Look for something with a structure close to the one you need: a single colour block without section information in the header, for example. – cfr Apr 11 '16 at 2:37
  • off-topic: @Gilson Good luck & all the best for your defense! – ebosi Apr 11 '16 at 7:54
2

To change the colours in beamer, you can use

\definecolor{mycolor}{RGB}{206,202,177}
\setbeamercolor{background canvas}{bg=mycolor}
\setbeamercolor{section in head/foot}{fg=white, bg=black}
\setbeamercolor{subsection in head/foot}{fg=white, bg=black}

Note: I got the RGB values from your image, but check if this are the correct values or if they were altered during conversion.


But if you really need the exact same layout as your screenshot, you either have to write your own theme or fake it by using images of empty slides as background images.

enter image description here

Full MWE:

\documentclass{beamer}
\usepackage{graphicx}
\usepackage{lmodern}
\usepackage{multirow}
\usepackage{xcolor}
\usepackage{booktabs}
\usepackage{longtable}

\usepackage[portuges]{babel}
\usepackage[latin1,utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{verbatim}
\usepackage{natbib}
\usepackage{amssymb}
\usepackage[none]{hyphenat}
\usepackage{amsmath,amssymb,mathtools}
\usepackage{indentfirst}
\usetheme{Berlin}
\setbeamercolor{block body alerted}{bg=normal text.bg!90!black}

\definecolor{mycolor}{RGB}{206,202,177}
\setbeamercolor{background canvas}{bg=mycolor}
\setbeamercolor{section in head/foot}{fg=white, bg=black}
\setbeamercolor{subsection in head/foot}{fg=white, bg=black}

\title[Prova de Doutoramento em Economia | Coimbra, 15 de Abil de 2016]{\Large \bf Políticas Monetária e Orçamental e Ciclos Económicos nos Mercados Emergentes}

\author[Gilson Pina]{Gilson Manuel Gomes Pina}

\normalsize

\date{
{\begin{minipage}[c]{16cm}
\begin{flushleft}
\textbf{Orientadores:} \\ 
\small Professor Doutor Pedro Bação (FEUC)\\
\small Professor Doutor Ricardo M. Sousa (EEG/UM)
\end{flushleft}
 \end{minipage}}\\
\vspace*{0.5cm}
{Prova de Doutoramento em Economia}\\
{\small  Coimbra, 15 de Abril de 2016}
}

\AtBeginSubsection[]
{
  \begin{frame}<beamer>{Sum\'{a}rio}
    \tableofcontents[currentsection,currentsubsection]
  \end{frame}
}

\begin{document}

\begin{frame}
  example
\end{frame}
\end{document}
1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.