Commit 7ba917a4 authored by Andreas Herten's avatar Andreas Herten
Browse files

First implementation of PGF-key'ed FZJ progress bar

parent 56fbdaa3
......@@ -110,57 +110,9 @@
% count overlays/.is choice,
% count overlays/.default=no,
% count overlays/no/.code={%
% \renewcommand\fzj@progressbar@end\inserttotalframenumber%
% \renewcommand\fzj@progressbar@current\insertframenumber%
% \fzj@progressbar@countoverlaysfalse%
% },
% count overlays/yes/.code={%
% \renewcommand\fzj@progressbar@end\insertdocumentendpage%
% \renewcommand\fzj@progressbar@current\insertpagenumber%
% \fzj@progressbar@countoverlaystrue%
% },
count overlays/.is if=fzj@progressbar@countoverlays,
% count appendix/.is choice,
% count appendix/.default=no,
% count appendix/no/.code={%
% \fzj@progressbar@countappendixfalse},
% count appendix/yes/.code={%
% \iffzj@progressbar@countoverlays
% \renewcommand\fzj@progressbar@end{\beamer@startpageofappendix - 1}%
% \fzj@progressbar@countappendixtrue
% \else
% % not implemented
% \fi
% },
count appendix/.is if=fzj@progressbar@countappendix,
% count titlepage/.is choice,
% count titlepage/.default=no,
% count titlepage/no/.code={%
% \renewcommand{\fzj@progressbar@titlepagereduction}{0}%
% \fzj@progressbar@counttitlepagefalse
% },
% count titlepage/yes/.code={%
% \renewcommand{\fzj@progressbar@titlepagereduction}{1}%
% \fzj@progressbar@counttitlepagetrue
% },
count titlepage/.is if=fzj@progressbar@counttitlepage,
invert appendix/.is choice,
invert appendix/.default=no,
invert appendix/no/.code={},
invert appendix/yes/.code={%
% % \ifnum\insertpagenumber>\beamer@startpageofappendix
% \renewcommand{\fzj@progressbar@titlepagereduction}{\ifnum\insertpagenumber>\beamer@startpageofappendix 0\else\fi}
% \renewcommand{\fzj@progressbar@end}{\ifnum\insertpagenumber>\beamer@startpageofappendix \insertdocumentendpage\else\fi}
% \pgfmathsetmacro{\fzj@progressbar@current}{\ifnum\insertpagenumber>\beamer@startpageofappendix \insertpagenumber-\beamer@startpageofappendix\else\fi}
% \else
% \fi
invert appendix/.is if=fzj@progressbar@invertappendix
......@@ -172,10 +124,6 @@
\pgfkeys{/beamerfzj/progress bar/height}%
% % \pgfkeys{/beamerfzj/progress bar/count overlays}
% \pgfkeys{/beamerfzj/progress bar/count appendix}
% \pgfkeys{/beamerfzj/progress bar/count titlepage}
% \pgfkeys{/beamerfzj/progress bar/invert appendix}
\setbeamertemplate{progress bar footer}{
\title{Progress Bar Configuration}
\subtitle{See all the options for Progress Bar}
\author{Andreas Herten}
\fzjset{title page=text}
\fzjset{section page=text}
%% Use FZJ Progress Bar
%% Adapt height
\fzjset{progress bar/height=2ex}
%% Rather count overlays not frames
\fzjset{progress bar/count overlays=true}
%% Title page should not have a progress bar
\fzjset{progress bar/count titlepage=false}
%% Let the progress bar end when the appendix starts
\fzjset{progress bar/count appendix=false}
%% If we're in the appendix, the progress bar should shrink from right to left
\fzjset{progress bar/invert appendix=true}
Frame \insertframenumber{} of \inserttotalframenumber{}
Page \insertpagenumber{} of \insertdocumentendpage{}
\frametitle{First Slide}
Orion's sword. Rogue extraordinary claims require extraordinary evidence birth? With pretty stories for which there's little good evidence another world vanquish the impossible. Galaxies intelligent beings venture hearts of the stars realm of the galaxies, rich in mystery, radio telescope, rich in mystery?
\frametitle{Second Slide}
\framesubtitle<1>{First part}
\framesubtitle<2>{Second part}
Brain is the seed of intelligence! Worldlets inconspicuous motes of rock and gas the carbon in our apple pies Apollonius of Perga hearts of the stars stirred by starlight, emerged into consciousness Jean-Francois Champollion.
\only<2->{Cosmic fugue network of wormholes shores of the cosmic ocean tingling of the spine, radio telescope extraordinary claims require extraordinary evidence.}
% \makeatletter\beamerfzj@pb@counter\makeatother
\frametitle{Third Slide}
\item First bullet
\item Second bullet
\item Third bullet
\item Fourth bullet
\item Done
\frametitle{First Appendix Slide}
Capt. Malcolm Reynolds: Ah, hell, Shepherd, I ain't looking for help from on high. That's a long wait for a train don't come. Shepherd Book: Why when I talk about belief, why do you always assume I'm talking about God?
The Operative: [to Mal] You cannot make me angry. Inara Serra: Please, spend an hour with him!
\frametitle{Second Appendix Slide}
\item<+-> Carson Beckett M. D.: [a parasite has attached itself to Sheppard's neck, paralyzing him] I'm told you have something of a cling-on.\\
Maj. John Sheppard: That's funny.
\item<+-> Dr. Rodney McKay: I'm not crazy. I just have another consciousness in my brain. Maj.\\
John Sheppard: So he just looks crazy.\\
Dr. Rodney McKay: I'm sure I do, but only because Dr. Fumbles McStupid over here was in way over his head!
\frametitle{Third Appendix Slide}
Course if I was one of them – these people that you seem to think are your enemies – what would I do? Well, there’d be no balloon. So I’d draw a map to a real secluded place, like a cave or some underbrush, good place for a trap. An ambush. And when your friends got there, a bunch of my people would be waiting for ‘em. Then they’d use them to trade for me…I guess it’s a good thing I’m not one of them huh? You g1uys got any milk
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment