LaTeX forum ⇒ Document Classesinnertheme

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

innertheme

Postby odhage » Wed Jan 03, 2018 6:50 pm

How changing the color of the balls?
The use of
  1. \usetheme{AnnArbor}

and
  1. \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
  1. \useinnertheme{rounded}
I find is shadow.
Can someone please give me a hint of where I can change apropriate settings!?
/Mikael

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

Postby Stefan Kottwitz » Wed Jan 03, 2018 7:12 pm

Hi Mikael,

for example:

  1. \setbeamercolor{item projected}{bg=red}
  2. \setbeamercolor{subitem projected}{bg=green}


Stefan
Site admin

odhage
Posts: 22
Joined: Wed Sep 02, 2015 11:41 am

Postby odhage » Wed Jan 03, 2018 10:58 pm

Thanks Stefan! It works! How could you know it should be "projected"?
/Mikael

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

Postby Stefan Kottwitz » Wed Jan 03, 2018 11:14 pm

Hi Mikael,

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

  1. \def\beamer@usesphere#1#2{%
  2. \hbox{\usebeamercolor{#1}\normalsize\pgfuseshading{#2}}}
  3. ...
  4. \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
Site admin

odhage
Posts: 22
Joined: Wed Sep 02, 2015 11:41 am

Postby odhage » Wed Jan 03, 2018 11:40 pm

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


Return to “Document Classes”

Who is online

Users browsing this forum: No registered users and 2 guests