Commit 6d157244 authored by Ivo Kabadshow's avatar Ivo Kabadshow
Browse files

Merge branch 'herten1/beamertheme-juelich-feature--progressbar'

* fixed some white-spaces
parents 42cfb6ed ddb371c1
Pipeline #26882 failed with stage
## Adopted from
## changed to exclude ambiguous suffixes only in root directory, since e.g. *.log files in Data/ directory are valid tracking candidates
## Core latex/pdflatex auxiliary files:
# these rules might exclude target builds (pdf) in root directory etc.
......@@ -17,28 +17,28 @@
## Bibliography auxiliary files (bibtex/biblatex/biber):
## Build tool auxiliary files:
## Auxiliary and intermediate files from other packages:
# algorithms
# amsthm
# beamer
# (e)ledmac/(e)ledpar
......@@ -177,4 +177,4 @@ notes/auto
# cache folder
\ No newline at end of file
......@@ -237,12 +237,6 @@
% handout and trans mode settings
\only<handout| trans>{%
% disable progressbar
% background canvas
......@@ -12,6 +12,7 @@
......@@ -98,18 +99,114 @@
% define progressbar
\pgfkeys{/beamerfzj/progress bar/.cd,
count overlays/.is if=fzj@progressbar@countoverlays,
count appendix/.is if=fzj@progressbar@countappendix,
count titlepage/.is if=fzj@progressbar@counttitlepage,
invert appendix/.is if=fzj@progressbar@invertappendix,
% show in handout/.is if=fzj@progressbar@show@inhandout,
show in handout/.is choice,
show in handout/false/.code={
show in handout/true/.code={
show in trans/.is choice,
show in trans/false/.code={
show in trans/true/.code={
\pgfkeys{/beamerfzj/progress bar/height}%
\pgfkeys{/beamerfzj/progress bar/show in handout=false}%
\pgfkeys{/beamerfzj/progress bar/show in trans=false}%
\setbeamertemplate{progress bar footer}{
\paperwidth * \ratio{\insertframenumber pt}{\inserttotalframenumber pt}%
%% Count pages (overlays) or frames?
%% Stop at end of appendix or before appendix?
% Don't change anything
%% This works only if we count pages and not frames
\renewcommand\fzj@progressbar@end{\beamer@startpageofappendix - 1}%
% not implemented, one would need \beamer@startpageofappendix but for frame number and not page number
%% Include the title page in progress bar or not
%% There are so many ifs because frame count for title page is 0, bud slide count for title page is 1
%% Invert appendix progress bar
%%% Only supported for frames
%%% Makes only sense if count appendix=true
% Nothing to do here
\paperwidth * divide(\fzj@progressbar@current + \fzj@progressbar@titlepagereduction@current,\fzj@progressbar@end - \fzj@progressbar@titlepagereduction@end)%
\begin{beamercolorbox}[wd=\paperwidth]{progress bar footer}
\tikzset{external/export next=false}%
\fill[fg] (0,0) rectangle (\fzj@progressinheadfoot, \fzj@progressinheadfoot@linewidth);
\fill[fg] (0,0) rectangle (\fzj@progressbar@width, \fzj@progressbar@height);
......@@ -74,3 +74,17 @@
}%footer element JSC
\section{Progress Bar}
\fzjset{progress bar/height=0.4ex}%
\frametitle{Progress Bar}
\item (Experimental) Support for progress bar
\item Highly configurable, see \verb+progressbar.tex+
\item Feedback welcome!
\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 (default: 0.4pt)
\fzjset{progress bar/height=1ex}
%% Rather count overlays not frames (default: false)
\fzjset{progress bar/count overlays=true}
%% Title page should not have a progress bar (default: false)
\fzjset{progress bar/count titlepage=false}
%% Let the progress bar end when the appendix starts (default: false)
\fzjset{progress bar/count appendix=false}
%% If we're in the appendix, the progress bar should shrink from right to left (default: false)
\fzjset{progress bar/invert appendix=true}
%% Show the progress bar in handout / trans mode (default: false)
\fzjset{progress bar/show in handout=true}
\fzjset{progress bar/show in trans=true}
%% Change color of progress bar, either globally in preamble (i.e. here) or locally for a (set of) slide(s) -- see below (default: fg=fzjblue)
% \setbeamercolor{progressbar}{fg=fzjgreen}
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