Alessio Caiazza is sharing code with you
Bitbucket is a code hosting site. Unlimited public and private repositories. Free for small teams.
Don't show this againipv6 - fine del mondo / beamerinnerthemeprogressbar.sty
- commit
- 8ed461c82949
- parent
- 68081ad44dff
- parent
- c09d89674da4
- branch
- default
merge
1 |
8ac71584cf53
|
\ProvidesPackage{beamerinnerthemeprogressbar}[2007/06/21] |
2 |
8ac71584cf53
|
|
3 |
8ac71584cf53
|
|
4 |
8ac71584cf53
|
% Beamer theme by Sylvain Bouveret <sylvain[dot]bouveret[aT]cert[DoT]fr> |
5 |
8ac71584cf53
|
% jun. 2007 version 0.32 |
6 |
8ac71584cf53
|
% |
7 |
8ac71584cf53
|
% based on the LaTeX-Beamer package : |
8 |
8ac71584cf53
|
% Copyright 2003 by Till Tantau <tantau@users.sourceforge.net> |
9 |
8ac71584cf53
|
% |
10 |
8ac71584cf53
|
% This program can be redistributed and/or modified under the terms |
11 |
8ac71584cf53
|
% of the GNU Public License, version 2. |
12 |
8ac71584cf53
|
|
13 |
8ac71584cf53
|
\RequirePackage{tikz} |
14 |
8ac71584cf53
|
|
15 |
8ac71584cf53
|
\useinnertheme{rounded} |
16 |
8ac71584cf53
|
|
17 |
8ac71584cf53
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
18 |
8ac71584cf53
|
% |
19 |
8ac71584cf53
|
% Bibliography... |
20 |
8ac71584cf53
|
% |
21 |
8ac71584cf53
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
22 |
8ac71584cf53
|
|
23 |
8ac71584cf53
|
\defbeamertemplate*{bibliography item}{progressbar theme}{ |
24 |
8ac71584cf53
|
\begin{tikzpicture} |
25 |
8ac71584cf53
|
\useasboundingbox (0, 0.2) rectangle (0.5, 0.7); |
26 |
8ac71584cf53
|
\fill[fill=bg!85!blue] (0, 0.25) rectangle (0.4, 0.5); |
27 |
8ac71584cf53
|
\shade[bottom color=bg,top color=bg!85!blue] (0, 0) -- (0.3, 0) -- (0.4, 0.12) -- (0.4, 0.3) -- (0, 0.3) -- cycle; |
28 |
8ac71584cf53
|
\shade[left color=bg,right color=bg!85!blue] (0,0.27) .. controls (0.25,0.25) .. (0.4,0.5) -- (0,0.5) -- cycle; |
29 |
8ac71584cf53
|
\fill[fill=bg!90!blue] (0,0) rectangle (0.3,0.05); |
30 |
8ac71584cf53
|
\shade[left color=bg!95!blue,right color=bg!90!blue] (0,0) rectangle (0.05,0.5); |
31 |
8ac71584cf53
|
\shade[left color=bg,right color=bg!80!black,shading angle=45] (0.3,0) -- (0.3,0.12) -- (0.4,0.12) -- cycle; |
32 |
8ac71584cf53
|
\draw[draw=fg!35!bg] (0,0) -- (0.3,0) -- (0.4,0.12) -- (0.4,0.5) -- (0,0.5) -- cycle; |
33 |
8ac71584cf53
|
\draw[draw=fg!35!bg](0.3,0) -- (0.3,0.12) -- (0.4,0.12); |
34 |
8ac71584cf53
|
\end{tikzpicture} |
35 |
8ac71584cf53
|
} |
36 |
8ac71584cf53
|
|
37 |
8ac71584cf53
|
|
38 |
8ac71584cf53
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
39 |
8ac71584cf53
|
% |
40 |
8ac71584cf53
|
% Frame title... |
41 |
8ac71584cf53
|
% |
42 |
8ac71584cf53
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
43 |
8ac71584cf53
|
|
44 |
8ac71584cf53
|
\defbeamertemplate*{frametitle}{progressbar theme}{ |
45 |
8ac71584cf53
|
\begin{centering} |
46 |
8ac71584cf53
|
\textbf{\insertframetitle} |
47 |
8ac71584cf53
|
\par |
48 |
8ac71584cf53
|
\end{centering} |
49 |
8ac71584cf53
|
} |
50 |
8ac71584cf53
|
|
51 |
8ac71584cf53
|
|
52 |
8ac71584cf53
|
|
53 |
8ac71584cf53
|
\mode<all> |
54 |
8ac71584cf53
|
|
55 |
8ac71584cf53
|
%%% Local Variables: |
56 |
8ac71584cf53
|
%%% TeX-master: "~/texmf/tex/latex/beamer/test/test.tex" |
57 |
8ac71584cf53
|
%%% End: |