Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to change caption color in Beamer?

2,551 views
Skip to first unread message

chat

unread,
Nov 25, 2009, 11:42:49 AM11/25/09
to
Hi all,

I am making presentation using Beamer. I use Madrid theme.
The default color for caption is blue. How to change caption's color
to black?
I try this command

\setbeamercolor{caption}{fg=black}

but it does not work.

Thank you in advance.

Chat

Alan Munn

unread,
Nov 25, 2009, 7:36:43 PM11/25/09
to
In article
<7a1608c2-dcad-4aba...@15g2000prz.googlegroups.com>,
chat <chat.w...@gmail.com> wrote:

> Hi all,
>
> I am making presentation using Beamer. I use Madrid theme.
> The default color for caption is blue. How to change caption's color
> to black?
> I try this command
>
> \setbeamercolor{caption}{fg=black}

Try \setbeamercolor{caption name}{fg=black}. The element {caption name}
is the element used for the string that introduces the caption (Figure,
Table, etc.) This is set (by design) by the color theme for structure
which is why it is blue. Your command changes the color of the text of
the caption itself (which by default would be black in the Madrid theme)
which is why you didn't see any change.

Alan

chat

unread,
Nov 25, 2009, 10:01:21 PM11/25/09
to
Thank you very much Alan. Now it works. :)
I try to solve this problem myself, but I do not know where I can look
for (except this group).
I have read "beameruserguide" but I see nothing about how to change
caption's color.
Can you point out elsewhere which I should read (easy learning).

Thank you.

Chat

Alan Munn

unread,
Nov 26, 2009, 12:35:08 AM11/26/09
to
In article
<59b9d766-23f8-4d80...@w19g2000pre.googlegroups.com>,
chat <chat.w...@gmail.com> wrote:

> Thank you very much Alan. Now it works. :)
> I try to solve this problem myself, but I do not know where I can look
> for (except this group).
> I have read "beameruserguide" but I see nothing about how to change
> caption's color.

Well, it's actually in there. (Section 12.6) But it's true that the
beamer guide is not so easy to get through.

> Can you point out elsewhere which I should read (easy learning).

For beamer, no. For more general latex things, the LaTeX Companion is
really useful. (But it's real book, so you have to buy it.)

Alan

chat

unread,
Nov 27, 2009, 3:38:21 AM11/27/09
to
Thank you very much for your suggestion. :-)

chat

unread,
Nov 27, 2009, 3:38:31 AM11/27/09
to

Ulrich M. Schwarz

unread,
Nov 27, 2009, 1:33:39 PM11/27/09
to
On Thu, 26 Nov 2009 04:01:21 +0100, chat <chat.w...@gmail.com> wrote:

> Thank you very much Alan. Now it works. :)
> I try to solve this problem myself, but I do not know where I can look
> for (except this group).
> I have read "beameruserguide" but I see nothing about how to change
> caption's color.

One good starting point for that (how do I change the look of X in beamer)
is to browse through the index, which has a huge list of all the color
variables, the templates and fonts, and check what sounds closest to the
thing you want to change. Without that index, I'd be ranting even more
about beamer.

Ulrich

chat

unread,
Nov 29, 2009, 2:14:45 AM11/29/09
to
Thank you for a very good idea.

chat

0 new messages