summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/beamer-contrib/themes/beamerdarkthemes/beamerdarkthemesuserguide.tex
blob: f4845952468be6d58da6c007f32a1317f2b2c6c0 (plain)
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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
% Copyright 2014 by Damien Thiriet
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3
% of this license or (at your option) any later version.
% The latest version of this license is in
% http://www.latex-project.org/lppl.txt
% and version 1.3 or later is part of all distributions of LaTeX
% version 2005/12/01 or later.
%
% This work has the LPPL maintenance status `maintained'.
% 
% The Current Maintainer of this work is Damien Thiriet
%
% This work consists of the files beamerdarkthemesuserguide.tex,
% beamerdarkthemesuserguide.pdf, beamercolorthemecormorant.sty,
% beamercolorthemefrigatebird.sty, beamercolorthememagpie.sty,
% dahut.jpg, img_5630.jpg, example.tex, frigatebirdexampletree.pdf,
% frigatebirdexampledefault.pdf, frigatebirdexamplesidebar.pdf,
% frigatebirdexampleinfolines.pdf, cormorantexampledefault.pdf,
% cormorantexamplesidebar.pdf, cormorantexampleinfolines.pdf,
% cormorantexampletree.pdf, magpieexampledefault.pdf,
% magpieexamplesidebar.pdf, magpieexampleinfolines.pdf,
% magpieexampletree.pdf, makeexamples.sh
%
% img_5630.jpg was taken by Damien Thiriet in the nice Dolina Pięciu
% Stawów near Zakopane, Poland. img_5630.jpg and dahut.jpg and
% example.tex are licenced CC-BY version 4.0 or later.
% You will find a copy of this licence in
% http://creativecommons.org/licenses/by/4.0/legalcode
%
% makeexamples.sh is based upon beamerthemesmakeexample.sh, a file that
% could be found in beamer official doc in 2013 (scripts are nowadays
% part of beamer Makefile)
% 
% beamercolorthemeseahorse.sty was used as a canvas 
% when coding beamercolorthememagpie.sty first version.
%
% Package version 0.4.1, 2014-09-03


\documentclass[12pt]{article}
\usepackage[a4paper,vmargin={1cm,1.5cm},inner=2cm,outer=2cm]{geometry}           
\usepackage{polyglossia}
\usepackage{pgf}
\usepackage{hyperref}

\setdefaultlanguage{english}

%\font\linuxlibertine={name: Linux Libertine}
\setmainfont[Ligatures=Historic]{Linux Libertine}              
\setsansfont[Ligatures=Historic]{Linux Biolinum}              
\setmonofont[Scale=0.8]{Linux Libertine Mono}

\title{Beamer dark Themes}
\author{Damien Thiriet \\ \url{damien.thiriet@uj.edu.pl}}

%\date{}

\begin{document}
\maketitle
\tableofcontents

\section{Installation}

\subsection{TeX{} distribution package manager}

Just download the package \ttfamily darkbeamerthemes \rmfamily  with your \TeX{} distribution (\TeX{} Live, MiK\TeX{}, Mac\TeX{}, pro\TeX{}t…).
\TeX{} Live users may use the graphical interface or write in a console
\begin{verbatim}
 tlmgr install darkbeamerthemes
\end{verbatim}
An introduction to Mac\TeX{} package manager can be found at \url{http://code.google.com/p/mactlmgr/wiki/GettingStarted}, a more complete documentation should be found in Mac\TeX{} help menu.
MiK\TeX{} manual is available online: \url{http://www.miktex.org/help}.
As far as I understand, pro\TeX{}t uses MiK\TeX{} package manager.

\subsection{Manual download}

Sometime you cannot use your \TeX{} distribution packaging tools. You may just
do not know what a \TeX{} distribution is; maybe you don't have rights to use its admin tools; some GNU/linux (and *BSD?) distributions package \TeX{} Live without its administration tools; etc. 

Then download \ttfamily beamercolorthemecormorant.sty, beamercolorthemefrigatebird.sty and beamercolorthememagpie.sty. \rmfamily Under GNU/Linux, you'd better put them in a subdirectory of \TeX{} Live personal directory, \verb+$HOME/texmf+ by defaults (\verb+%USERPROFILE%\texmf+ under Windows). 
Create the subdirectory \verb+$HOME/texmf/tex/latex/+ and move those three files there. They will now be found during compilation, whatever directory you are writing from.

An alternative is to download those files directly in your presentation file. This is much less convenient if you intend to use these themes in some other presentation, located in another directory. Do not forget then to copy/symlink those files or to point them using the \verb+../+ notation.

Then insert the following line in your preamble:
\begin{verbatim}
 \usecolortheme{cormorant}
\end{verbatim}

Cormorant should be of course replaced by \ttfamily frigatebird \rmfamily or \ttfamily magpie \rmfamily according to your theme choice.
If you chose any global theme, you should mention the theme first, then your color theme.

\section{Dark themes: what for?}

Before choosing any dark theme, you should be aware of its side effects.

\begin{quotation}
        Inverse video (bright text on dark background) can be a problem during presentations in bright environments since only a small percentage of the presentation area is light up by the beamer. Inverse video is harder to reproduce on printouts and on transparencies.
\end{quotation}

\begin{flushright}
  \emph{Beamer Class User Guide} 3.3, p.~38. 
\end{flushright}

On the other hand, several years of hard experience with light backgrounds used in bright classroom convinced me that a really dark theme might be useful: 
\begin{itemize}
    \item when there is no screen but a not-so-white wall 
    \item when there is a screen, but your classroom is quite sunny (on the other hand, students would be more likely to fall asleep in a dark classroom…) 
    \item when your presentation includes lots of photos, images, paintings… Art Historians often use dark background to emphasize the paintings they are about to comment. Paintings and photos are more visible on a black background than on a white one.
\end{itemize}

These themes were tested with all beamer themes. In my opinion, mixing them with shadowed themes, such as the very popular Warsaw, should be avoided. White shadows do not look too fancy on black background IMHO. \emph{De gustibus}…


\section{Names}


\begin{description}
\item[Cormorant]
A black and green theme, the first one I worked with. First named magpie, since the first black and green bird I could find on the web was an American magpie. 
Tested during one year, sadly without asking students for callback. Its items were hardly readable when projector darkened the output. I decided finally to mix green with white rather than black. 

\item[Magpie]
A black/blue theme. Named after European magpies.

\item[Frigatebird]
A black/red theme. Inspired by frigate bird's male. Rather for those who do not associate to closely red with beamer's alert boxes. 
\end{description}

\section{Examples}

Surprisingly, Euclid's presentation does not include any photography. I designed those themes to end up with describing photos students could hardly see. So let's take an example of my own, with a picture, last but not least in French: at least this won't be too awfully written.
Some sentences are too long, though.

I intended to give a big sample of used colors. You will find those environments or macros: 
\begin{itemize}
   \item slide 2: \verb+frametitle+, \verb+block+, \verb+exampleblock+, \verb+description+
   \item slide 3: \verb+framesubtitle+, \verb+includegraphics+ 
   \item slide 4: \verb+structure+, \verb+alert+
\end{itemize}

\begin{figure}[p]
   \pgfimage[width=.45\linewidth,page=1]{cormorantexampledefault.pdf}
   \pgfimage[width=.45\linewidth,page=2]{cormorantexampledefault.pdf} 

   \pgfimage[width=.45\linewidth,page=3]{cormorantexampledefault.pdf}
   \pgfimage[width=.45\linewidth,page=4]{cormorantexampledefault.pdf}
   \caption{Cormorant color theme}
\end{figure}

\begin{figure}[p]
   \pgfimage[width=.45\linewidth,page=1]{frigatebirdexampledefault.pdf}
   \pgfimage[width=.45\linewidth,page=2]{frigatebirdexampledefault.pdf} 

   \pgfimage[width=.45\linewidth,page=3]{frigatebirdexampledefault.pdf}
   \pgfimage[width=.45\linewidth,page=4]{frigatebirdexampledefault.pdf}
   \caption{Frigatebird color theme}
\end{figure}

\begin{figure}[p]
   \pgfimage[width=.45\linewidth,page=1]{magpieexampledefault.pdf}
   \pgfimage[width=.45\linewidth,page=2]{magpieexampledefault.pdf} 

   \pgfimage[width=.45\linewidth,page=3]{magpieexampledefault.pdf}
   \pgfimage[width=.45\linewidth,page=4]{magpieexampledefault.pdf}
   \caption{Magpie color theme}
\end{figure}

\begin{figure}[p]
   \pgfimage[width=.45\linewidth,page=2]{cormorantexamplesidebar.pdf}
   \pgfimage[width=.45\linewidth,page=3]{cormorantexamplesidebar.pdf}
   \caption{Cormorant color theme, sidebar outer theme}  
\end{figure}

\begin{figure}[p]
   \pgfimage[width=.45\linewidth,page=2]{cormorantexampleinfolines.pdf}
   \pgfimage[width=.45\linewidth,page=3]{cormorantexampleinfolines.pdf}
   \caption{Cormorant color theme, infolines outer theme}  
\end{figure}

\begin{figure}[p]
   \pgfimage[width=.45\linewidth,page=2]{cormorantexampletree.pdf}
   \pgfimage[width=.45\linewidth,page=3]{cormorantexampletree.pdf}
   \caption{Cormorant color theme, tree outer theme}  
\end{figure}

\begin{figure}[p]
   \pgfimage[width=.45\linewidth,page=2]{frigatebirdexamplesidebar.pdf}
   \pgfimage[width=.45\linewidth,page=3]{frigatebirdexamplesidebar.pdf}
   \caption{Frigatebird color theme, sidebar outer theme}  
\end{figure}

\begin{figure}[p]
   \pgfimage[width=.45\linewidth,page=2]{frigatebirdexampleinfolines.pdf}
   \pgfimage[width=.45\linewidth,page=3]{frigatebirdexampleinfolines.pdf}
   \caption{Frigatebird color theme, infolines outer theme}  
\end{figure}

\begin{figure}[p]
   \pgfimage[width=.45\linewidth,page=2]{frigatebirdexampletree.pdf}
   \pgfimage[width=.45\linewidth,page=3]{frigatebirdexampletree.pdf}
   \caption{Frigatebird color theme, tree outer theme}  
\end{figure}

\begin{figure}[p]
   \pgfimage[width=.45\linewidth,page=2]{magpieexamplesidebar.pdf}
   \pgfimage[width=.45\linewidth,page=3]{magpieexamplesidebar.pdf}
   \caption{Magpie color theme with sidebar outer theme}  
\end{figure}

\begin{figure}[p]
   \pgfimage[width=.45\linewidth,page=2]{magpieexampleinfolines.pdf}
   \pgfimage[width=.45\linewidth,page=3]{magpieexampleinfolines.pdf}
   \caption{Magpie color theme with infolines outer theme}  
\end{figure}

\begin{figure}[p]
   \pgfimage[width=.45\linewidth,page=2]{magpieexampletree.pdf}
   \pgfimage[width=.45\linewidth,page=3]{magpieexampletree.pdf}
   \caption{Magpie color theme with tree outer theme}  
\end{figure}

\end{document}