Fundo de imagem colorido e opaco em Beamer com foilhead

Fundo de imagem colorido e opaco em Beamer com foilhead

Meu .tex é esse

\documentclass[12pt,xcolor={usenames}]{beamer}
\setbeamercovered{transparent}
\setbeamertemplate{caption}[numbered]
\usepackage[spanish,es-tabla,es-nodecimaldot]{babel}
\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc} 
\normalfont
\usepackage{beamerfoils}
\usepackage{tikz}
\usepackage{graphicx}
\usepackage{courier}
\usefonttheme{serif}

\definecolor{darkturquoise}{rgb}{0.0, 0.81, 0.82}


\beamertemplatetheoremsnumbered
\setbeamerfont{institute}{size=\small}
\title{{\bf\LARGE\color{white}Title Slide}\newline{\bf\color{white}Faculty}\newline{\bf\Large\color{white}Course}}
\author{\bf\color{white}Lecturer
\newline{\scriptsize\href{mailto:[email protected]}{[email protected]}}}
%\titlegraphic{\includegraphics[scale=0.3]{UW_logo}}
\date{}

\setbeamercovered{invisible}

\begin{document}

{\setbeamercolor{background canvas}{bg=darkturquoise}
\maketitle}


\foilhead{Second slide}
No color here

\foilhead{Third slide}
{\setbeamercolor{background canvas}{bg=darkturquoise}
Color here}

\foilhead{Fourth Slide}
\begin{center}
{\Large opaque image here, bluish if possible}
\end{center}
\endfoil
\end{document}

Estou tentando dar ao meu terceiro slide a mesma cor de fundo do primeiro (turquesa escuro), mas não consigo. Além disso, gostaria de colocar alguma imagem no meu quarto slide como plano de fundo (slide completo). Além disso, é possível dar uma tonalidade azulada (turquesa escura) ao mesmo tempo?

Talvez esta imagem:

insira a descrição da imagem aqui

Já vi algumas soluções, mas elas não podem ser aplicadas ao foilheadmeio ambiente, eu acho.

Responder1

Você realmente precisa usar beamerfoils? Por que você simplesmente não usa standard frames? As coisas estão muito melhor documentadas então:

\documentclass[12pt,xcolor={usenames}]{beamer}
\setbeamercovered{transparent}
\setbeamertemplate{caption}[numbered]
\usepackage{tikz}

\definecolor{darkturquoise}{rgb}{0.0, 0.81, 0.82}

\beamertemplatetheoremsnumbered
\setbeamerfont{institute}{size=\small}

\title{\texorpdfstring{
        \textbf{\LARGE\color{white}Title Slide}\newline
        \textbf{\color{white}Faculty}\newline
        \textbf{\Large\color{white}Course}
    }{Title Slide -- Faculty -- Course}
}
\author{\texorpdfstring{
        \textbf{\color{white}Lecturer\newline
        \scriptsize\href{mailto:[email protected]}{[email protected]}}
    }{Lecturer: [email protected]}
}
\date{}

\setbeamercovered{invisible}

\begin{document}

{\setbeamercolor{background canvas}{bg=darkturquoise}
\maketitle}

\begin{frame}{Second slide}
No color here
\end{frame}

{\setbeamercolor{background canvas}{bg=darkturquoise}
\begin{frame}{Third slide}
Color here
\end{frame}}

{\usebackgroundtemplate{
\begin{tikzpicture}[remember picture, overlay]
    \node[at=(current page.center)] {
        \includegraphics[keepaspectratio,
                         width=\paperwidth,
                         height=\paperheight]{example-image-a}
    };
    \fill[darkturquoise!25, blend mode=multiply] (current page.north east) rectangle (current page.south west);
\end{tikzpicture}
}
\begin{frame}{Fourth slide}
{\Large opaque image here, bluish if possible}
\end{frame}}

\end{document}

insira a descrição da imagem aqui

Algumas notas:

  • Não use \bf, esta macro está obsoleta. Use \textbfem vez disso.
  • Provavelmente é uma boa ideia fornecer uma string PDF alternativa para o título e o autor, para que seja impressa de maneira razoável nos metadados do PDF.
  • Em geral, você precisa definir a configuração da cor de fundo antes de iniciar o quadro. Então, você deve criar algum escopo usando {}.
  • Finalmente, você pode posicionar a imagem e sobrepô-la com alguma tonalidade usando TikZ em combinação com \usebackgroundtemplateconforme mostrado no exemplo acima.

Se você ainda quiser continuar beamerfoils: Como definir a cor de fundo envolve escopo, você precisa encerrar o quadro relevante explicitamente usando \endfoilou usando a \framemacro. Portanto, isso deve funcionar:

{\setbeamercolor{background canvas}{bg=darkturquoise}
\foilhead{Third slide}
Color here
\endfoil
}

e também:

{\setbeamercolor{background canvas}{bg=darkturquoise}\frame{
\foilhead{Third slide}
Color here
}}

Da mesma forma, você pode fazer:

{\usebackgroundtemplate{
\begin{tikzpicture}[remember picture, overlay]
    \node[at=(current page.center)] {
        \includegraphics[keepaspectratio,
                         width=\paperwidth,
                         height=\paperheight]{example-image-a}
    };
    \fill[darkturquoise!25, blend mode=multiply] (current page.north east) rectangle (current page.south west);
\end{tikzpicture}
}
\foilhead{Third slide}
{\Large opaque image here, bluish if possible}
\endfoil
}

informação relacionada