-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
80 lines (60 loc) · 2.72 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
This is the README for colourchange.sty.
Changes colour of beamer structural elements (e.g. the bars of outerthemes).
This is done either manually or automatically.
Don't use a colour theme or full theme (which sometimes call colour themes).
You should be OK calling inner themes and outer themes separately (although some look better than others at the moment: see bottom of readme).
You need to compile twice for it to work.
Requires packages etoolbox and calc.
Also needs some other stuff that is loaded by beamer.
Use with other classes at your own risk.
%------------------------------
% Summary of commands
%------------------------------
\selectcolourchanges{first}{second} takes two arguments: the starting colour and the final colour of the presentation.
These should be colours already understood by beamer.
Beamer uses xcolor, so you can define colours with xcolor commands and then use them in \selectcolourchanges.
That's what I do for the defaults.
\selectmanualcolour{colour}
Changes the structure colour.
Use between frames.
Can't guarantee this won't do weird stuff if you also have slidechange or framechange on.
Both commands also come with an american spelling version.
\selectcolorchanges and \selectmanualcolor are defined to be the same as the above two commands.
%------------------------------
% Summary of options
%------------------------------
defaultstyle
Turns on default inner and outerthemes.
Or rather, it will do soon.
That is, it turns on my favourite version of the theme, not the "beamer default" ones.
This is just a shortcut for:
\useoutertheme[footline=authorinstitutetitle]{miniframes}
\useinnertheme{rectangles}
Simple.
draft
The draft option turns off colour changing.
Good for speeding up compilation when drafting.
slidechange
Colour changes every slide.
framechange
Colour changes every frame.
%------------------------------
% To do list
%------------------------------
Make sure it works with all base inner/outer themes.
- smoothbars, smoothtree do some shading-fu that breaks colourchange.sty's basic approach.
Check it doesn't hopelessly break article or handout modes
Make a .dtx
%------------------------------
% Other stuff
%------------------------------
Currently licensed under GPL v3. http://www.gnu.org/licenses/gpl-3.0.html
Colourchange on CTAN: http://tug.ctan.org/tex-archive/macros/latex/contrib/colourchange
Colourchange on github: https://github.com/scmbradley/Beamer-colour-change-project
Original author and current maintainer: Seamus Bradley
Many thanks to the tex.stackexchange.com community for their help.
In particular, TH's answer to this question:
http://tex.stackexchange.com/q/7126/215
And Herbert's answer to this question:
http://tex.stackexchange.com/q/7427/215