LaTeX forum ⇒ Scientific Word/Workplacebeamer | 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

Postby Hoed » Thu Feb 02, 2012 4:21 pm

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.

  1. \newenvironment{stepenumerate}{\begin{enumerate}[<+->]}{\end{enumerate}}\newenvironment{stepitemize}{\begin{itemize}[<+->]}{\end{itemize} }
  2. \newenvironment{stepenumeratewithalert}{\begin{enumerate}[<+-| alert@+>]}{\end{enumerate}}
  3. \newenvironment{stepitemizewithalert}{\begin{itemize}[<+-| alert@+>]}{\end{itemize} }
  4. \usecolortheme{sidebartab}
  5. \useoutertheme[width=58pt,height=25pt,right,hideothersubsections]{sidebar}
  6. \useinnertheme{rounded}
  7. \setbeamercolor{title}{bg=red!25!blue,fg=white}
  8. \setbeamercolor{fo} {bg=red!25!blue,fg=white}
  9. \setbeamercolor{sidebar}{bg=red!25!blue,fg=white}
  10. \setbeamercolor{author in sidebar}{fg=black!20!white}
  11. \setbeamercolor{title in sidebar}{fg=white}
  12. \setbeamercolor{normal text}{bg=white}
  13. \setbeamercolor{frametitle}{fg=white}
  14. \setbeamercolor{section in sidebar}{bg=black,fg=white}
  15. \setbeamercolor{subsection in sidebar}{bg=black,fg=white}
  16. \setbeamercolor{block title}{bg=red!25!blue,fg=white}
  17. \setbeamercolor{block body}{bg=blue!20!white,fg=black}
  18. \setbeamerfont{subsection in sidebar}{size=\tiny}
  19. \setbeamerfont{title in sidebar}{size=\scriptsize}
  20. \setbeamerfont{author in sidebar}{size=\tiny}
  21. \setbeamercovered{transparent}
  22. \setbeamertemplate{blocks}[rounded][shadow=true]
  23. \setbeamertemplate{footline}
  24. {
  25. \begin{beamercolorbox}[wd=1\paperwidth,ht=2.25ex,dp=1ex,right]{fo}
  26. \insertframenumber{} / \inserttotalframenumber\hspace*{2ex}
  27. \end{beamercolorbox}
  28. }
  29. \input{tcilatex}

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

Postby Hoed » Mon Feb 06, 2012 4:56 pm

Hi,

I solved the problem during the weekend.

This topic can be closed, then.

Regards

User avatar
Stefan Kottwitz
Site Admin
Posts: 8954
Joined: Mon Mar 10, 2008 9:44 pm

Postby Stefan Kottwitz » Mon Feb 06, 2012 6:14 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
Site admin

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

Postby Hoed » Thu Feb 09, 2012 3:13 pm

Hi,

sorry on that, the solution is as follows:

  1. \definecolor{foo}{RGB}{85,00,255}
  2. \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
  1. \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

  1. \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.

User avatar
Stefan Kottwitz
Site Admin
Posts: 8954
Joined: Mon Mar 10, 2008 9:44 pm

Postby Stefan Kottwitz » Thu Feb 09, 2012 3:17 pm

Thanks for posting the solution!

Stefan
Site admin

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

Postby Hoed » Thu Feb 09, 2012 3:30 pm

You're welcome. And again: Sorry for not posting..


Return to “Scientific Word/Workplace”

Who is online

Users browsing this forum: No registered users and 1 guest