I have a problem in Latex BEAMER reg the definition of the header in various colors. In the example below Beamer creates a header that on the top right shows a white rectangle and the word "hello" in orange color.
My issues:
1.
How can I change the white color box into another color?
2.
Is it possible to get two different colored rectangled boxes horizontally within the white box? How?
3.
How can I change the work "hello" in the white box to have it aligned on the right side of the slide?
4.
How can I move the word "hello" upwards in the white bow?
Thanks a lot,
Marcus
Code: Select all
\setcounter{errorcontextlines}{999}
\documentclass{beamer}
\setbeamerfont{header_font_section}{size*={6.25}{0 .25}}
\setbeamerfont{header_font_subsection}{size*={12.2 5}{0.25}}
\setbeamerfont{header_font_subsubsection}{size*={6 .25}{0.25}}
\setbeamercolor{frametitle}{fg=white,bg=blue}
\setbeamercolor{framesubtitle}{fg=white,bg=blue}
\setbeamercolor{section_name}{fg=orange,bg=blue}
\setbeamertemplate{frametitle}
{
\vbox{}\vskip-3.8ex\hskip-4.55ex
\begin{beamercolorbox}[wd=0.70\paperwidth,ht=1.80ex,leftskip=0.4cm,dp=0.6 ex]{frametitle}
\usebeamerfont{header_font_subsection}{\bf\inserts ubsection}\hfill{}\hspace{0.3cm}
\end{beamercolorbox}\hfill
{\usebeamerfont{header_font_section}\usebeamercolo r[fg]{section_name}hello}
\vskip-1.5ex
\begin{beamercolorbox}[wd=\paperwidth,ht=1.20ex,leftskip=0.4cm,dp=0.5ex]{framesubtitle}
\usebeamerfont{header_font_subsubsection}{\insertf ramesubtitle}
\end{beamercolorbox}
}
\begin{document}
\section{Test}
\subsection{Important Issues}
\begin{frame}[t]{\insertsubsection}{Ideal Example}
The text is here.
\end{frame}
\end{document}