Document Classesinnertheme

Information and discussion about specific document classes and how to create your own document classes.
Post Reply
odhage
Posts: 22
Joined: Wed Sep 02, 2015 11:41 am

innertheme

Post by odhage »

How changing the color of the balls?
The use of

Code: Select all

\usetheme{AnnArbor}
and

Code: Select all

\usecolortheme{beaver}
give a mostly red theme whith some yellow parts. And blue(!) balls in front of section numbers and list items! I want them in the same color as the rest of the theme. The only allowed option for

Code: Select all

\useinnertheme{rounded}
I find is shadow.
Can someone please give me a hint of where I can change apropriate settings!?
/Mikael

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
Stefan Kottwitz
Site Admin
Posts: 10290
Joined: Mon Mar 10, 2008 9:44 pm

innertheme

Post by Stefan Kottwitz »

Hi Mikael,

for example:

Code: Select all

\setbeamercolor{item projected}{bg=red}
\setbeamercolor{subitem projected}{bg=green}
Stefan
LaTeX.org admin
odhage
Posts: 22
Joined: Wed Sep 02, 2015 11:41 am

innertheme

Post by odhage »

Thanks Stefan! It works! How could you know it should be "projected"?
/Mikael
User avatar
Stefan Kottwitz
Site Admin
Posts: 10290
Joined: Mon Mar 10, 2008 9:44 pm

innertheme

Post by Stefan Kottwitz »

Hi Mikael,

I read the file beamerbaseauxtemplates.sty, there it is seen in

Code: Select all

\def\beamer@usesphere#1#2{%
  \hbox{\usebeamercolor{#1}\normalsize\pgfuseshading{#2}}}
...
\defbeamertemplate{itemize item}{ball}{\raise0.2pt\beamer@usesphere{item projected}{bigsphere}}
It's also used for enumerate labels I saw there.

Sure, not everybody looks at the source code easily, but that's a purpose of the LaTeX.org forum: one can just ask, and users who are used to reading source files can take a quick look and give the answer.

Stefan
LaTeX.org admin
odhage
Posts: 22
Joined: Wed Sep 02, 2015 11:41 am

innertheme

Post by odhage »

Ah! Thanks again!
I don't understand all of it, but might understand it's a kind of naming of the subject you found there, so you know how to adress the manipulation. Right?
/Mikael
Post Reply