## LaTeX forum ⇒ Scientific Word/Workplace ⇒ beamer | Sidebar Font Color Topic is solved

Information and discussion about Scientific Word and Scientific Workplace, two commercial WYSIWYG-like editors for Windows
Hoed
Posts: 28
Joined: Sat Jan 07, 2012 12:46 pm

### beamer | Sidebar Font Color

Hi,

because of some conflicts in our university, I have to use a "corporate design". However, because it's only available in PowerPoint and not a good one, too and I desided to build a design very near the corporate design we should use. Beamer comes with PaloAlto which ist quite near but has some disadvantages, so I changed to a combination of the colorthemes "orchid" and "whale". Again, this come with some disadvantages, for instance the color combination is a bit to dark - the one used in the example is to dark, too, I will correct tha one day or the other.
When I only use whale and set the colors by hand, then I find a dark rectangle in the upper right corner of the slides. I tried to solve that by not using any colortheme than sidebar, the rectangle vanishes - I assume, the colorthemes overlapped at the upper right area. But then the section-fontcolor and subsection-fontcolor in the sidebar isn't white anymore but more of a fairly unvisible grey-blue-mix.

So, how can I set the fontcolor of the sections and subsections in order to be white permanently and being marked by a black box when in the section / subsection as it looks like when the colortheme "whale" is used?

For any help or hint, I am grateful. Have a nice one.

\newenvironment{stepenumerate}{\begin{enumerate}[<+->]}{\end{enumerate}}\newenvironment{stepitemize}{\begin{itemize}[<+->]}{\end{itemize} }\newenvironment{stepenumeratewithalert}{\begin{enumerate}[<+-| alert@+>]}{\end{enumerate}}\newenvironment{stepitemizewithalert}{\begin{itemize}[<+-| alert@+>]}{\end{itemize} }\usecolortheme{sidebartab}\useoutertheme[width=58pt,height=25pt,right,hideothersubsections]{sidebar}\useinnertheme{rounded}\setbeamercolor{title}{bg=red!25!blue,fg=white}\setbeamercolor{fo} {bg=red!25!blue,fg=white}\setbeamercolor{sidebar}{bg=red!25!blue,fg=white}\setbeamercolor{author in sidebar}{fg=black!20!white}\setbeamercolor{title in sidebar}{fg=white}\setbeamercolor{normal text}{bg=white}\setbeamercolor{frametitle}{fg=white}\setbeamercolor{section in sidebar}{bg=black,fg=white}\setbeamercolor{subsection in sidebar}{bg=black,fg=white}\setbeamercolor{block title}{bg=red!25!blue,fg=white}\setbeamercolor{block body}{bg=blue!20!white,fg=black}\setbeamerfont{subsection in sidebar}{size=\tiny}\setbeamerfont{title in sidebar}{size=\scriptsize}\setbeamerfont{author in sidebar}{size=\tiny}\setbeamercovered{transparent}\setbeamertemplate{blocks}[rounded][shadow=true]\setbeamertemplate{footline}{\begin{beamercolorbox}[wd=1\paperwidth,ht=2.25ex,dp=1ex,right]{fo}\insertframenumber{} / \inserttotalframenumber\hspace*{2ex}    \end{beamercolorbox}}\input{tcilatex}

Hoed
Posts: 28
Joined: Sat Jan 07, 2012 12:46 pm
Hi,

I solved the problem during the weekend.

This topic can be closed, then.

Regards

Stefan Kottwitz
Posts: 9019
Joined: Mon Mar 10, 2008 9:44 pm
Hi,

it would be great if you would post the solution here, which you found. We keep problems and solutions online for other readers and for users who find it by google and other search engines. Now, google would lead to your post, but the serching user would just learn it has been solved "somehow".

If you also share solutions, people may be more interested to help with possibly further problems in the future.

Kind regards,

Stefan

Hoed
Posts: 28
Joined: Sat Jan 07, 2012 12:46 pm
Hi,

sorry on that, the solution is as follows:

\definecolor{foo}{RGB}{85,00,255}\usecolortheme[named=foo]{structure}

which is to be inserted in the preamble. Then you can keep the colortheme "whale" without having the dark rectangle upper right but with the nice white sidebar fontcolor. I inserted the lines above right before the
\usecolortheme{whale}
.

Thing is, I shouldn't have postet the question because the solution is to be found in the beamer guide. However, hope it will help.

----

One more thing: In the first post I assumed the existence of the dark rectangle in the upper right corner was due to some overlapping of different color themes. This can't be the case, because

\usecolortheme[named=foo]{structure}

just changes the background color of your chosen color theme. I tested this, you can have a color theme "whale" and a yellow or magenta or whatsoever background.

Have a nice one.
H.
Last edited by Hoed on Thu Feb 09, 2012 3:29 pm, edited 1 time in total.

Stefan Kottwitz
Posts: 9019
Joined: Mon Mar 10, 2008 9:44 pm
Thanks for posting the solution!

Stefan