...
 
Commits (51)
## Adopted from https://github.com/github/gitignore/blob/master/TeX.gitignore
## 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:
*.aux
*.lof
*.log
*.lot
*.fls
*.out
*.toc
*.lop
# these rules might exclude target builds (pdf) in root directory etc.
*.dvi
*-converted-to.*
# these rules might exclude image files for invalid figure formats etc.
*.ps
*.eps
/*.pdf
## Bibliography auxiliary files (bibtex/biblatex/biber):
*.bbl
*.bcf
*.blg
*-blx.aux
*-blx.bib
*.brf
*.run.xml
## Build tool auxiliary files:
*.fdb_latexmk
*.synctex.gz
*.synctex.gz(busy)
*.pdfsync
## Auxiliary and intermediate files from other packages:
# algorithms
*.alg
*.loa
# amsthm
*.thm
# beamer
*.nav
*.snm
*.vrb
# (e)ledmac/(e)ledpar
/*.end
/*.[1-9]
/*.[1-9][0-9]
/*.[1-9][0-9][0-9]
/*.[1-9]R
/*.[1-9][0-9]R
/*.[1-9][0-9][0-9]R
/*.eledsec[1-9]
/*.eledsec[1-9]R
/*.eledsec[1-9][0-9]
/*.eledsec[1-9][0-9]R
/*.eledsec[1-9][0-9][0-9]
/*.eledsec[1-9][0-9][0-9]R
# glossaries
/*.acn
/*.acr
/*.glg
/*.glo
/*.gls
# hyperref
/*.brf
# listings
/*.lol
# makeidx
/*.idx
/*.ilg
/*.ind
/*.ist
# minitoc
/*.maf
/*.mtc
/*.mtc[0-9]
/*.mtc[0-9][0-9]
# minted
/*.pyg
# morewrites
/*.mw
# nomencl
/*.nlo
# sagetex
/*.sagetex.sage
/*.sagetex.py
/*.sagetex.scmd
# sympy
/*.sout
/*.sympy
sympy-plots-for-*.tex/
# todonotes
/*.tdo
# xindy
/*.xdy
## additional file suffixes not mentioned above (project specific)
# \RequirePackage recorder
/*.dep
# pgfplots, pgfplotstable
/*.pgf-plot.gnuplot
/*.pgf-plot.table
/*.x.gnuplot
/*.x.table
# tikz externalize
/*.figlist
/*.makefile
/*.auxlock
## GSP Makefile
/draft.flag
/spellcheck-report.txt
*.tex.unkwrd
*.tex.chktex
## editor scratch files
# TeXStudio
*.bak~
# vim editor
*.swp
# Kile editor
/*.backup
## filesystem - stale NFS handle
.nfs*
## gitignore for emacs
# -*- mode: gitignore; -*-
*~
\#*\#
/.emacs.desktop
/.emacs.desktop.lock
*.elc
auto-save-list
tramp
.\#*
# Org-mode
.org-id-locations
*_archive
# flymake-mode
*_flymake.*
# eshell files
/eshell/history
/eshell/lastdir
# elpa packages
/elpa/
# reftex files
*.rel
# AUCTeX auto folder
/auto/
# cask packages
.cask/
dist/
# Flycheck
flycheck_*.el
# server auth directory
/server/
# projectiles files
.projectile
# directory configuration
.dir-locals.el
# org mode todo list
notes/*.pdf
notes/*.tex
notes/auto
# cache folder
cache/*
**/auto/
tests:
script:
- cd tests && make
% Latex-Beamer Template Research Centre Juelich
% version 17.12
% version 18.09
% please report any problems to i.kabadshow@fz-juelich.de
% this version does support pdflatex, xelatex and lualatex
%
......@@ -22,17 +22,18 @@
\colorlet{color4}{fzjred}
\definecolor{fzjgreen}{RGB}{185, 210, 95} % FZJ grass green
\colorlet{color4}{fzjgreen}
\colorlet{color5}{fzjgreen}
\definecolor{fzjyellow}{RGB}{250, 235, 90} % FZJ citrus yellow
\colorlet{color4}{fzjyellow}
\colorlet{color6}{fzjyellow}
\definecolor{fzjviolet}{RGB}{175, 130, 185} % FZJ Hyacinth violet
\colorlet{color4}{fzjviolet}
\colorlet{color7}{fzjviolet}
\definecolor{fzjorange}{RGB}{250, 180, 90} % FZJ apricot orange
\colorlet{color4}{fzjorange}
\colorlet{color8}{fzjorange}
\definecolor{fzjblack}{RGB}{0,0,0}
\definecolor{fzjwhite}{RGB}{255,255,255}
\pgfkeys{/beamerfzj/color/compat mode/.cd,
......
......@@ -10,7 +10,7 @@
\setbeamerfont{subtitle long}{size*={9pt}{11pt},series=\bfseries} % 18pt, baselineskip 22pt
\setbeamerfont*{subtitle}{parent=subtitle long} % reset font (*) and use parent font size
% deault subline style to short UPPERCASE s p a c e d text
% default subline style to short UPPERCASE s p a c e d text
\setbeamerfont*{subtitle}{parent=subtitle short}
%\setbeamerfont{normal text}{size*={8pt}{9pt}} % 14pt, baselineskip 18pt
......@@ -122,7 +122,7 @@
regular/.code={%
\let\beamerfzj@titleformatcaps\emptydummya%
\let\beamerfzj@titleformatspacinga\emptydummya%
\let\beamerfzj@titleformatspacingb\emptydummyb%
\let\beamerfzj@titleformatspacingb\emptydummyb%
\setbeamerfont{title}{size*={16pt}{18pt},series=\bfseries} % 32pt, baselineskip 36pt%
},
allcaps/.code={%
......@@ -228,7 +228,7 @@
\gdef\beamer@frametitle{#2}%
\gdef\beamer@shortframetitle{#1}%
}}
{}
{}
{\PackageError{beamerfzj}{Patching original frame title failed}\@ehc}
\makeatother
......
This diff is collapsed.
% Latex-Beamer Template Research Centre Juelich
% version 17.12
% version 18.12
% please report any problems to i.kabadshow@fz-juelich.de
% this version does support pdflatex, xelatex and lualatex
%
\ProvidesPackage{beamerthemeJuelich}%
[2018/12/14 v18.12
Research Centre Juelich Beamer Template]%
\RequirePackage{ifluatex,ifxetex,ifpdf}
\RequirePackage{etoolbox}
\RequirePackage{tikz}
\RequirePackage{calc}
\RequirePackage{textcase}
\RequirePackage{ifthen}
\usetikzlibrary{calc}
\usetikzlibrary{external}
\ifluatex
\RequirePackage{microtype}
\RequirePackage[no-math]{fontspec}
\RequirePackage{fontspec}
\setmainfont{LiberationSans}
\setsansfont{LiberationSans}
\setmonofont{LiberationMono}
......@@ -25,7 +30,7 @@
\else
\RequirePackage{helvet}
\RequirePackage{microtype}
\fi\fi
\fi\fi
......@@ -40,27 +45,29 @@
}
}
\mode<handout>{%
\usepackage{pgf}
\usepackage{pgfpages}
\pgfpagesuselayout{2 on 1}[a4paper,border shrink=5mm]
\pgfpageslogicalpageoptions{1}{border code=\pgfsetlinewidth{0.4pt}\pgfstroke}
\pgfpageslogicalpageoptions{2}{border code=\pgfsetlinewidth{0.4pt}\pgfstroke}
\pgfpageslogicalpageoptions{3}{border code=\pgfsetlinewidth{0.4pt}\pgfstroke}
\pgfpageslogicalpageoptions{4}{border code=\pgfsetlinewidth{0.4pt}\pgfstroke}
\pgfpageslogicalpageoptions{5}{border code=\pgfsetlinewidth{0.4pt}\pgfstroke}
\pgfpageslogicalpageoptions{6}{border code=\pgfsetlinewidth{0.4pt}\pgfstroke}
\pgfpageslogicalpageoptions{7}{border code=\pgfsetlinewidth{0.4pt}\pgfstroke}
\pgfpageslogicalpageoptions{8}{border code=\pgfsetlinewidth{0.4pt}\pgfstroke}
\pgfpageslogicalpageoptions{9}{border code=\pgfsetlinewidth{0.4pt}\pgfstroke}
\pgfpageslogicalpageoptions{10}{border code=\pgfsetlinewidth{0.4pt}\pgfstroke}
\pgfpageslogicalpageoptions{11}{border code=\pgfsetlinewidth{0.4pt}\pgfstroke}
\pgfpageslogicalpageoptions{12}{border code=\pgfsetlinewidth{0.4pt}\pgfstroke}
\pgfpageslogicalpageoptions{13}{border code=\pgfsetlinewidth{0.4pt}\pgfstroke}
\pgfpageslogicalpageoptions{14}{border code=\pgfsetlinewidth{0.4pt}\pgfstroke}
\pgfpageslogicalpageoptions{15}{border code=\pgfsetlinewidth{0.4pt}\pgfstroke}
\pgfpageslogicalpageoptions{16}{border code=\pgfsetlinewidth{0.4pt}\pgfstroke}
\pgfkeys{/beamerfzj/.cd,
pages layout/.code={%
\usepackage{pgf}
\usepackage{pgfpages}
\pgfpagesuselayout{#1}[a4paper,border shrink=5mm]
\pgfpageslogicalpageoptions{1}{border code=\pgfsetlinewidth{0.4pt}\pgfstroke}
\pgfpageslogicalpageoptions{2}{border code=\pgfsetlinewidth{0.4pt}\pgfstroke}
\pgfpageslogicalpageoptions{3}{border code=\pgfsetlinewidth{0.4pt}\pgfstroke}
\pgfpageslogicalpageoptions{4}{border code=\pgfsetlinewidth{0.4pt}\pgfstroke}
\pgfpageslogicalpageoptions{5}{border code=\pgfsetlinewidth{0.4pt}\pgfstroke}
\pgfpageslogicalpageoptions{6}{border code=\pgfsetlinewidth{0.4pt}\pgfstroke}
\pgfpageslogicalpageoptions{7}{border code=\pgfsetlinewidth{0.4pt}\pgfstroke}
\pgfpageslogicalpageoptions{8}{border code=\pgfsetlinewidth{0.4pt}\pgfstroke}
\pgfpageslogicalpageoptions{9}{border code=\pgfsetlinewidth{0.4pt}\pgfstroke}
\pgfpageslogicalpageoptions{10}{border code=\pgfsetlinewidth{0.4pt}\pgfstroke}
\pgfpageslogicalpageoptions{11}{border code=\pgfsetlinewidth{0.4pt}\pgfstroke}
\pgfpageslogicalpageoptions{12}{border code=\pgfsetlinewidth{0.4pt}\pgfstroke}
\pgfpageslogicalpageoptions{13}{border code=\pgfsetlinewidth{0.4pt}\pgfstroke}
\pgfpageslogicalpageoptions{14}{border code=\pgfsetlinewidth{0.4pt}\pgfstroke}
\pgfpageslogicalpageoptions{15}{border code=\pgfsetlinewidth{0.4pt}\pgfstroke}
\pgfpageslogicalpageoptions{16}{border code=\pgfsetlinewidth{0.4pt}\pgfstroke}
}%
}
\mode<presentation>
......@@ -84,34 +91,129 @@
subtitle=regular,
part=regular,
frametitle=allcaps,
compat mode=enabled,
compat mode=disabled,
}
\mode<all>
% define progressbar
\makeatletter
\def\progressbar@progressbar{} % the progress bar
\newcount\progressbar@tmpcounta% auxiliary counter
\newcount\progressbar@tmpcountb% auxiliary counter
\newdimen\progressbar@pbht %progressbar height
\newdimen\progressbar@pbwd %progressbar width
\newdimen\progressbar@tmpdim % auxiliary dimension
\progressbar@pbwd=\paperwidth
\progressbar@pbht=0.2ex
\def\progressbar@progressbar{%
\progressbar@tmpcounta=\insertframenumber
\progressbar@tmpcountb=\inserttotalframenumber
\progressbar@tmpdim=\progressbar@pbwd
\divide\progressbar@tmpdim by 128
\multiply\progressbar@tmpdim by \progressbar@tmpcounta
\divide\progressbar@tmpdim by \progressbar@tmpcountb
\multiply\progressbar@tmpdim by 128
\begin{tikzpicture}
\draw[draw=none,fill=fzjblue] %
(0pt, 0pt) rectangle ++ (\progressbar@tmpdim, \progressbar@pbht);
\end{tikzpicture}%
\newif\iffzj@progressbar@countoverlays
\newif\iffzj@progressbar@countappendix
\newif\iffzj@progressbar@counttitlepage
\newif\iffzj@progressbar@invertappendix
\pgfkeys{/beamerfzj/progress bar/.cd,
%
height/.default=0.4pt,
height/.code={%
\setlength{\fzj@progressbar@height}{#1}%
},
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={
\only<handout>{\setbeamertemplate{progressbar}[invisible]}
},
show in handout/true/.code={
\only<handout>{\setbeamertemplate{progressbar}[visible]}
},
show in trans/.is choice,
show in trans/false/.code={
\only<trans>{\setbeamertemplate{progressbar}[invisible]}
},
show in trans/true/.code={
\only<trans>{\setbeamertemplate{progressbar}[visible]}
},
}
\newcommand\fzj@progressbar@end\inserttotalframenumber%
\newcommand\fzj@progressbar@current\insertframenumber%
\newlength{\fzj@progressbar@width}%
\newlength{\fzj@progressbar@height}%
\newcommand\fzj@progressbar@titlepagereduction@current{0}%
\newcommand\fzj@progressbar@titlepagereduction@end{0}%
\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}{
%%
%% CHECK OPTIONS
%%
%% Count pages (overlays) or frames?
\iffzj@progressbar@countoverlays%
\renewcommand\fzj@progressbar@end\insertdocumentendpage%
\renewcommand\fzj@progressbar@current\insertpagenumber%
\else%
\renewcommand\fzj@progressbar@end\inserttotalframenumber%
\renewcommand\fzj@progressbar@current\insertframenumber%
\fi%
%% Stop at end of appendix or before appendix?
\iffzj@progressbar@countappendix%
% Don't change anything
\else%
%% This works only if we count pages and not frames
\iffzj@progressbar@countoverlays%
\renewcommand\fzj@progressbar@end{\beamer@startpageofappendix - 1}%
\else%
% not implemented, one would need \beamer@startpageofappendix but for frame number and not page number
\fi%
\fi%
%% 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
\iffzj@progressbar@counttitlepage%
\iffzj@progressbar@countoverlays%
\renewcommand{\fzj@progressbar@titlepagereduction@current}{0}%
\renewcommand{\fzj@progressbar@titlepagereduction@end}{0}%
\else%
\renewcommand{\fzj@progressbar@titlepagereduction@current}{1}%
\renewcommand{\fzj@progressbar@titlepagereduction@end}{1}%
\fi%
\else%
\iffzj@progressbar@countoverlays%
\renewcommand{\fzj@progressbar@titlepagereduction@current}{-1}%
\renewcommand{\fzj@progressbar@titlepagereduction@end}{+1}%
\else%
\renewcommand{\fzj@progressbar@titlepagereduction@current}{0}%
\renewcommand{\fzj@progressbar@titlepagereduction@end}{2}%
\fi%
\fi%
%% Invert appendix progress bar
%%% Only supported for frames
%%% Makes only sense if count appendix=true
\iffzj@progressbar@invertappendix%
\ifthenelse{\not\(\insertpagenumber<\beamer@startpageofappendix\)}{%
\pgfmathsetmacro{\fzj@progressbar@current}{1+\insertdocumentendpage-\insertpagenumber}
\pgfmathsetmacro{\fzj@progressbar@end}{2+\insertdocumentendpage-(\beamer@startpageofappendix)}
}%
{}%
\else%
% Nothing to do here
\fi%
%%
%%
%%
\nointerlineskip%
\pgfmathsetlength{%
\fzj@progressbar@width%
}{%
\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}%
\begin{tikzpicture}
\fill[fg] (0,0) rectangle (\fzj@progressbar@width, \fzj@progressbar@height);
\end{tikzpicture}%
\end{beamercolorbox}
}
% make sure we have a large number of total slided before the first run to keep the frame/total frame ratio below 1
% if your slide deck has more than 300 slides, you might increase the number below
% after the second latex run the totalframenumber will be read correctly from the .aux file
\def\inserttotalframenumber{300}
\makeatother
File added
No preview for this file type
# This Makefile intentionally rebuilds everytime everything.
PDFLATEX ?= pdflatex
XELATEX ?= xelatex
LUALATEX ?= lualatex
LATEX_FLAGS ?= -halt-on-error -interaction=nonstopmode
export TEXINPUTS := $(CURDIR)/src//:$(TEXINPUTS)
cmd%pdflatex = $(PDFLATEX)
cmd%xelatex = $(XELATEX)
cmd%lualatex = $(LUALATEX)
cmd%pdflatex = $(PDFLATEX) $(LATEX_FLAGS)
cmd%xelatex = $(XELATEX) $(LATEX_FLAGS)
cmd%lualatex = $(LUALATEX) $(LATEX_FLAGS)
engines = pdflatex xelatex lualatex
targets = minimal minimal_handout tutorial many-pages
targets = minimal minimal_handout tutorial $(other)
other := $(patsubst %.tex,%,$(wildcard *.tex))
%/minimal: src
@mkdir -p $(@D)
cd $(@D) && $(cmd%$*) ../../minimal/minimal.tex
cd $(@D) && $(cmd%$*) ../../tutorial/minimal.tex
%/minimal_handout: src
@mkdir -p $(@D)
cd $(@D) && $(cmd%$*) ../../minimal/minimal_handout.tex
cd $(@D) && $(cmd%$*) ../../tutorial/minimal_handout.tex
%/tutorial: src %/minimal %/minimal_handout
@mkdir -p $(@D)
cd $(@D) && $(cmd%$*) ../../tutorial/tutorial.tex
cd $(@D) && $(cmd%$*) -jobname tutorial '\makeatletter\def\input@path{{../../tutorial/}}\makeatother\input{./tutorial.tex}'
%/many-pages: src
@mkdir -p $(@D)
cd $(@D) && $(cmd%$*) ../many-pages.tex
define other-target
%/$1: src
@mkdir -p $$(@D)
cd $$(@D) && $$(cmd%$$*) ../$1.tex
endef
$(foreach o,$(other),$(eval $(call other-target,$o)))
all: $(engines)
......@@ -38,3 +45,7 @@ src:
clean:
$(RM) -r src
$(RM) -r $(engines)
# update the tutorial.pdf that is shipped with the theme
update-tutorial: lualatex/tutorial
cp lualatex/tutorial.pdf ../tutorial
\documentclass{beamer}
\usetheme{Juelich}
% enable the \fzjset line to allow compat colors globally
% disabled by default since v18.10
\fzjset{compat mode=enabled}
\begin{document}
\begin{frame}{Frame title}
\colorbox{fzjblue50}{Deprecated Color!}
\end{frame}
\end{document}
\documentclass[t]{beamer}
\usepackage{trace}
\usetheme{Juelich}
\fzjset{
title page = text,
part page = text,
section page = text
}
\title{This is a very long title that will end up being split into multiple lines, but only the first line is indented}
\subtitle{The subtitle of this presentation is also quite long, oh my, look what a mess you have made}
\author{Your Name}
\institute{Your Institute}
\date{\today}
\titlegraphic{
\includegraphics[
width=\paperwidth]{placeholder}
}
\begin{document}
\maketitle
\part{This is quite a long name for a part, are you sure that it really has to be this long}
\makepart
\section{This is a long section name that will end up being split into multiple lines}
\makesection
\begin{frame}{This frame has a very long frame title that will end up being split into multiple lines}{My gosh, I do not think I have ever seen a subtitle this long, yet it seems it is still not quite long enough, let us add a few more words}
This is the frame content
\end{frame}
\end{document}
\documentclass[t]{beamer}
\usetheme{Juelich}
\usepackage{calc}
\title{Test for Very Long Documents}
\subtitle{Large numbers might break computation}
......@@ -22,7 +23,7 @@
}
\begin{frame}
\frametitle{The End}
\frametitle{The End}
We're done. Thanks for your cooperation.
\end{frame}
......
\setbeamertemplate{background}{\includegraphics[width=\paperwidth]{placeholder}}
\begin{frame}
\frametitle{An image in the background}
\centering
Some text in front of the background image.
\end{frame}
\setbeamertemplate{background}{}
\begin{frame}[plain]
\frametitle{Plain Frame}
\begin{center}
Here is my tiny text on a plain frame.
\end{center}
\end{frame}
\begin{frame}[fragile]
\frametitle{Hello World in Intercal}
\begin{verbatim}
DO ,1 <- #13
PLEASE DO ,1 SUB #1 <- #234
DO ,1 SUB #2 <- #112
DO ,1 SUB #3 <- #112
DO ,1 SUB #4 <- #0
DO ,1 SUB #5 <- #64
DO ,1 SUB #6 <- #194
DO ,1 SUB #7 <- #48
PLEASE DO ,1 SUB #8 <- #22
DO ,1 SUB #9 <- #248
DO ,1 SUB #10 <- #168
DO ,1 SUB #11 <- #24
DO ,1 SUB #12 <- #16
DO ,1 SUB #13 <- #214
PLEASE READ OUT ,1
PLEASE GIVE UP
\end{verbatim}
\end{frame}
......@@ -6,10 +6,8 @@
\author{Your Name}
\institute{Your Institute}
\date{\today}
\titlegraphic{
\includegraphics[
width=\paperwidth]{placeholder}
}
\titlegraphic{\includegraphics%
[width=\paperwidth]{placeholder}}
\begin{document}
\maketitle
......
......@@ -6,11 +6,19 @@
\author{Your Name}
\institute{Your Institute}
\date{\today}
\titlegraphic{
\includegraphics[
width=\paperwidth]{placeholder}
\titlegraphic{\includegraphics%
[width=\paperwidth]{placeholder}}
\mode<handout>{%
\fzjset{pages layout=2 on 1}%
}
\begin{document}
\maketitle
\begin{frame}
\frametitle{My first slide title}
\framesubtitle{My first slide subtitle}
\end{frame}
\end{document}
\part{Examples}
\makepart
\section{Features}
\selectlanguage{english}
\begin{frame}
\frametitle{\LaTeX{}-Beamer Features}
The following slides show how {\tt Latex-Beamer} constructs work within the
template.
\begin{itemize}
%\item Framebreaks
\item Lists, numbered lists
\item Plain slides, background images
\item Theorems, proofs
\item Definitions, examples
\item Blocks, alert blocks
\item Highlight options
\item Formulae
\item Verbatim environments
\end{itemize}
\end{frame}
\section{Lists}
\begin{frame}
\frametitle{Lots of lists}
\framesubtitle{Another Subtitle}
\begin{itemize}
\item using the \texttt{pause} command:
\begin{itemize}
\item First item.
\pause
\item Second item.
\end{itemize}
\item using overlay specifications:
\begin{enumerate}
\item<3-> First numbered item.
\item<4-> Second numbered item.
\begin{itemize}
\item 3rd level item!
\end{itemize}
\end{enumerate}
\item using the general \texttt{uncover} command:
\begin{itemize}
\uncover<5->{\item First item.}
\uncover<6->{\item Second item.}
\end{itemize}
\end{itemize}
\end{frame}
\begin{frame}[fragile]
\frametitle{Plain Frames}
\begin{itemize}
\item The next slide shows a plain frame.
\item To use plain frames add the \verb![plain]! parameter to your \verb!\begin{frame}! statement.
\end{itemize}
\begin{block}{How to use plain frames}
\scriptsize
\verbatiminput{frame_plain}
\end{block}
\end{frame}
%\input{frame_plain}
\begin{frame}[c,plain]
\frametitle{Plain Frame}
\begin{center}
{\tiny Enough} {\scriptsize space} for {\Large your} {\huge big} {\Huge ideas.} {\TINY (or holiday pictures)}
\end{center}
\end{frame}
\section{Backgrounds}
\begin{frame}[fragile]
\frametitle{Background Images}
\framesubtitle{On Standard Frames}
\begin{itemize}
\item The next slide shows an image, embedded into the background of the frame layout.
\item The background image is automatically cropped to the frame dimensions.
\end{itemize}
\begin{block}{How to install a background image}
\scriptsize
\verbatiminput{frame_background}
\end{block}
\end{frame}
\input{frame_background}
\section{Beamer Block Constructs}
\subsection{Theorem, Proof}
\begin{frame}
\frametitle{Block Constructs}
\framesubtitle{{\tt theorem, proof}}
\begin{theorem}
There is no largest prime number.
\end{theorem}
\begin{proof}
\begin{enumerate}
\item<1-| alert@1> Suppose $p$ were the largest prime number.
\item<2-> Let $q$ be the product of the first $p$ numbers.
\item<3-> Then $q+1$ is not divisible by any of them.
\item<1-> Thus $q+1$ is also prime and greater than $p$.\qedhere
\end{enumerate}
\end{proof}
\end{frame}
\subsection{Definition, Example}
\begin{frame}
\frametitle{Block Constructs}
\framesubtitle{{\tt definition, example}}
\begin{definition}
A \alert{prime number} is a number that has exactly two divisors.
\end{definition}
\begin{example}
\begin{itemize}
\item 2 is prime (two divisors: 1 and 2).
\item 3 is prime (two divisors: 1 and 3).
\item 4 is not prime (\alert{three} divisors: 1, 2, and 4).
\end{itemize}
\end{example}
\end{frame}
\subsection{Block, Alert Block}
\begin{frame}
\frametitle{Block Constructs}
\framesubtitle{{\tt block, alertblock}}
\begin{block}{Simple Block}
Just some text.
\end{block}
\begin{alertblock}{Alert Block}
This block seems to be pretty important.
\end{alertblock}
\end{frame}
\section{Highlight important information}
\begin{frame}[fragile]
\frametitle{Highlight important information}
\framesubtitle{Use ``Jülich'' colors to attract attention}
\begin{block}{Use {\tt \textbackslash{}emph\{\}}}
\verb+This text is \emph{important}.+ \\
This text is \emph{important}.
\end{block}
\begin{block}{Use {\tt \textbackslash{}alert\{\}}}
\verb+This text is \alert{really} important!+ \\
This text is \alert{really} important!
\end{block}
\end{frame}
\section{Math Environment}
\begin{frame}
\frametitle{Math Environment}
\framesubtitle{Use your {\LaTeX} formulae inside your slides without hassle}
\[
\iiint\limits_V \operatorname{div} \vec{F} \, dV
= \iint\limits_S \vec{F}\cdot d\vec{S}
\]
\[
\prod_{k=1}^n k = n! \,,\quad \sum_{k=1}^n k=\frac{n(n+1)}{2}\,,
\quad \int_0^{2\pi}\sin t\,dt=0
\]
\[
p(x)=\sum_{i=0}^n f_{i}q_{i}(x) \quad\mbox{with}\quad
q_{i}(x)=\prod_{\substack{k=0 \\ k\neq i}}^n
\frac{x-x_{k}}{x_{i}-x_{k}}\,.
\]
\[
\iint\limits_S (U \operatorname{grad} W)\cdot d\vec{S}
=\iiint\limits_V (\operatorname{grad} U\cdot
\operatorname{grad} W +U\Delta W)\,dV
\]
\end{frame}
\section{Code Environment}
\begin{frame}[fragile]
\frametitle{Verbatim Environment}
\framesubtitle{Code Snippets}
\begin{itemize}
\item Slides containing \verb!\verb! statements must be defined \verb+fragile+
\end{itemize}
\scriptsize
\verbatiminput{frame_verbatim}
\end{frame}
\input{frame_verbatim}
\part{Jülich Colors}
\makepart
\begin{frame}[label=colors]
\frametitle{Corporate Colors}
\framesubtitle{You can use predefined colornames to spice up your slides}
\centering
\begin{tikzpicture}
\foreach \color [count=\i] in {fzjorange, fzjviolet, fzjyellow, fzjgreen, fzjred, fzjlightblue, fzjblue} {
\node[fill=\color,circle,minimum size=2.3cm] at (-\i*360/7+90: 2.3cm) {\color};
}
\end{tikzpicture}
\end{frame}
\begin{frame}[fragile]
\frametitle{Using Corporate Colors}
In text:
\begin{itemize}
\item \verb+\textcolor{colorname-text}{text}+\\
There is a \textcolor{fzjgreen}{green} word in this sentence.
\item \verb+\colorbox{colorname-background}{content}+\\
\colorbox{fzjorange}{This text is on an \textcolor{fzjred}{orange} background.}
\item \verb+\fcolorbox{colorname-frame}{colorname-background}{content}+\\
\fcolorbox{fzjblue}{fzjlightblue}{\textcolor{fzjviolet}{This colored text is in a colorful framed box.}}
\end{itemize}
In TikZ, pgfplots: use the named colors in any color specification.
\end{frame}
\part{Theme Options}
\makepart
\section{Handouts}
\begin{frame}[fragile,label=handouts,t]
\frametitle{Create Handouts}
This theme features basic functionality for optimizing page layouts (for example for a handout).
\begin{block}{Switch and Setup Render Mode}
\scriptsize
\verb+\documentclass[handout]{beamer}+\\
\verb+\mode<handout>{%+\\
\verb+ \fzjset{pages layout=2 on 1}}+
\end{block}
The options to \verb+pages layout+ are directly passed to \verb+\pgfpagesuselayout{OPT}[a4paper,border shrink=5mm]+ and borders for the slides are enabled. Fore more options, call \verb+\pgfpagesuselayout+ explicitly:
\begin{block}{Define Number of Pages per Sheet}
\scriptsize
\verb+\pgfpagesuselayout{2 on 1}[a4paper,border shrink=5mm]+
\verb+\pgfpagesuselayout{4 on 1}[a4paper,landscape,border shrink=5mm]+
\verb+\pgfpagesuselayout{8 on 1}[a4paper,border shrink=5mm]+
\verb+\pgfpagesuselayout{16 on 1}[a4paper,landscape,border shrink=5mm]+
\end{block}
\begin{block}{Further Reading -- See {\tt Latex-Beamer} manual for details}
{\scriptsize
\url{http://www.ctan.org/tex-archive/macros/latex/contrib/beamer/doc/beameruserguide.pdf}}
\end{block}
\end{frame}
\part{Installation}
\makepart
\section{File Content}
\begin{frame}[fragile]
\frametitle{beamertheme-juelich.zip}
The .zip archive consists of 1 directory with 2 subdirectories.
\begin{itemize}
\item \verb+beamertheme-juelich.zip+
\item \verb+beamertheme-juelich/+ \hfill main directory of the .zip file
\begin{itemize}
\item \verb+/+ \hfill directory containing the .sty files
\begin{itemize}
\item \verb+beamerthemeJuelich.sty+ \hfill main style file
\item \verb+beamercolorthemeJuelich.sty+ \hfill aux. style file
\item \verb+beamerfontthemeJuelich.sty+ \hfill aux. style file
\item \verb+beamerinnerthemeJuelich.sty+ \hfill aux. style file
\item \verb+beamerouterthemeJuelich.sty+ \hfill aux. style file
\item \verb+fzj.pdf+ \hfill Juelich logo for pdf\LaTeX
\end{itemize}
\item[]
\item \verb+tutorial/+ \hfill directory containing some minimal examples and the sources of this tutorial
\item[]
\item \verb+tests/+ \hfill directory containing test infrastructure for the theme
\end{itemize}
\end{itemize}
\end{frame}
\section{Installation}
\subsection{On Linux-based Machines}
\begin{frame}[fragile]
\frametitle{Linux Installation}
\framesubtitle{Choose {\tt texmf} Tree}
First, choose your favorite install directory. \newline
Then, create a new subdirectory \verb+beamertheme-juelich+
\begin{block}{Change to your {\tt texmf} tree and create subdirectory}
\begin{itemize}
\item \verb+cd $HOME/texmf/tex/latex/+ \hfill \textcolor{fzjblue}{[preferred]} or
\item \verb+cd /usr/share/texmf/tex/latex/+ \hfill or
\item \verb+cd /usr/local/share/texmf/tex/latex/+ \hfill
\item[]
\item \verb+mkdir beamertheme-juelich+
\end{itemize}
\end{block}
\end{frame}
\begin{frame}[fragile]
\frametitle{Linux: Install the {\tt .sty} Files}
\begin{block}{Create Directory + Copy files + Update \TeX}
\begin{itemize}
\item Unzip \verb+beamertheme-juelich.zip+ file
\item Copy all files from subdirectory \verb+beamertheme-juelich/+ into
the new subdirectory \verb+beamertheme-juelich+
\item[]
\item Try to compile the minimal examples in the \verb+tutorial/+ subdirectory
\item[] \verb+pdflatex minimal.tex+
\item[] \verb+pdflatex minimal_handout.tex+
\item Afterwards try to compile this tutorial in the \verb+tutorial/+ subdirectory
\item[] \verb+pdflatex tutorial.tex+
\end{itemize}
\end{block}
\begin{alertblock}{Supported flavors of \LaTeX{}}
Pure \verb+latex+ is not supported, please use either \verb+pdflatex+, \verb+xelatex+ or \verb+lualatex+
\end{alertblock}
\end{frame}
\section{Test Installation I}
\begin{frame}[fragile,label=examples]
\frametitle{Test your Installation}
\framesubtitle{Try to compile this minimal talk: {\tt tutorial/minimal.tex}}
\begin{columns}
\begin{column}[T]{0.4\textwidth}
\footnotesize
\verbatiminput{./minimal}
\end{column}\hfill
\begin{column}[T]{0.4\textwidth}
\setlength{\fboxsep}{0pt}%
\fbox{\includegraphics[width=\textwidth]{./minimal}}
\end{column}
\end{columns}
\end{frame}
\begin{frame}[fragile]
\frametitle{Test your Installation II}
\framesubtitle{Try to compile this minimal talk with handouts: {\tt tutorial/minimal\_handout.tex}}
\begin{columns}
\begin{column}[T]{0.4\textwidth}
\scriptsize
\verbatiminput{./minimal_handout}
\end{column}
\begin{column}[T]{0.4\textwidth}
\includegraphics[height=0.7\textheight]{./minimal_handout}
\end{column}
\end{columns}
\end{frame}
\part{Localization}
\makepart
\section{Change Language}
\begin{frame}[fragile,label=localization]
\frametitle{Localization}
\framesubtitle{How to change the date display to another language}
The date will be adjusted automatically. You just have to use the {\tt babel}
package with the desired language.
\begin{block}{Date style -- Mixed}
load package with DE and EN (default): \hfill \verb+\usepackage[ngerman,english]{babel}+\\
choose German: \hfill \verb+\selectlanguage{ngerman}+\\
choose English: \hfill \verb+\selectlanguage{english}+
\end{block}
\begin{block}{Date style -- German}
01. Januar 2018 \hfill
\verb+\selectlanguage{ngerman}+
\end{block}
\begin{block}{Date style -- English}
January 01, 2018 \hfill
\verb+\selectlanguage{english}+
\end{block}
\end{frame}
\selectlanguage{ngerman}
\begin{frame}[fragile,,label=translation]
\frametitle{Localization/Language}
\framesubtitle{Change Helmholtz Banner Text}
Using the \texttt{babel} package with the language option automatically sets
the correct labels for the slide counter and Helmholtz banner.
\begin{block}{Helmholtz Banner and Date in German}
\begin{itemize}
\item Take a look at the date and Helmholtz banner in the lower left
corner and the slide name and frame number in the middle
\item This slide should show the german version
\item Enable options via \verb+\documentclass[english,ngerman]{beamer}+
\item Enabled locally via \verb+\selectlanguage{ngerman}+ before
\verb+\begin{frame}+
\end{itemize}
\end{block}
\end{frame}
\selectlanguage{english}
\author{Your Name}
% !TEX root = tutorial.tex
\part{Tweaks}
\makepart
\section{Slide Number Display}
\begin{frame}[fragile,label=tweaks]
\frametitle{Slide Number Display}
\framesubtitle{How to change the slide number style}
\begin{block}{Full Display: Current Slide | Overall Number of Slides}
\scriptsize\verb+\setbeamertemplate{frame number}[full]+ \hfill
\scriptsize\usebeamercolor[fg]{frametitle} Slide 42 $|$ 524
\end{block}
\begin{block}{No Display: empty}
\scriptsize\verb+\setbeamertemplate{frame number}[empty]+ \hfill
\scriptsize\usebeamercolor[fg]{frametitle}
\end{block}
\begin{block}{Default Display: Current Slide}
\scriptsize\verb+\setbeamertemplate{frame number}[default]+ \hfill
\scriptsize\usebeamercolor[fg]{frametitle} Slide 42
\end{block}
\begin{block}{Translation}
If you choose german as language the name \emph{Slide} will be translated
to \emph{Folie} automatically (See \hyperlink{translation}{\alert{this}}
slide)
\end{block}
\end{frame}
\section{Partner Logos}
\setbeamertemplate{footer element1}[logo]{jara}%
\setbeamertemplate{footer element3}[logo]{uni_bonn}%
\setbeamertemplate{footer element2}[logo]{rwth}%
\begin{frame}[fragile]
\frametitle{Project Partners}
\framesubtitle{How to set up partner logos}
\begin{itemize}
\item Show up to 3 partner logos, on this slide Jara, RWTH, Bonn
\item Design your logos with sufficiently large white borders
\item {pdf\LaTeX} pictures file types: \verb+.pdf .png .jpg+
\end{itemize}
\begin{block}{Show logos}
\verb+\setbeamertemplate{footer element1}[logo]{jara}+
\verb+\setbeamertemplate{footer element2}[logo]{uni_bonn}+
\verb+\setbeamertemplate{footer element3}[logo]{rwth}+
\end{block}
\begin{block}{Reset back to default settings}
\verb+\setbeamertemplate{footer element1}[default]+
\verb+\setbeamertemplate{footer element2}[default]+
\verb+\setbeamertemplate{footer element3}[default]+
\end{block}
\end{frame}
\setbeamertemplate{footer element1}[default]
\setbeamertemplate{footer element2}[default]
\setbeamertemplate{footer element3}[default]
\section{Institute Logo}
{\setbeamertemplate{footer element4}[logo]{fzj-jsc}
\begin{frame}[fragile]
\frametitle{FZJ Logo with Institute Name}
\begin{itemize}
\item A variant of the Jülich logo has the institute's name right next to it
\item How this looks like for Jülich Supercomputing Centre is shown on this slide
\item Changing the logo works through the mechanism presented on the previous slide
\begin{block}{Change Jülich Logo}
\verb+\setbeamertemplate{footer element4}[logo]{fzj-jsc}+
\end{block}
\item In contrast to the image insertion mechanism for \verb+footer element1-3+, the logo is vertically adjusted to the bottom baseline of the slide.
\item The included logo, \verb+fzj-jsc+ in the example here, is expected to be a graphic without any surrounding whitespace
\end{itemize}
\end{frame}
}%footer element JSC
\section{Progress Bar}
{%
\setbeamertemplate{progressbar}[visible]%
\fzjset{progress bar/height=0.4ex}%
\begin{frame}[fragile]
\frametitle{Progress Bar}
\begin{itemize}
\item (Experimental) Support for progress bar
\item Highly configurable, see \verb+progressbar.tex+
\item Feedback welcome!
\end{itemize}
\end{frame}
}
\documentclass[aspectratio=169]{beamer}
\usetheme{Juelich}
\title{Progress Bar Configuration}
\subtitle{See all the options for Progress Bar}
\author{Andreas Herten}
\date{\today}
\institute{JSC}
\fzjset{title page=text}
\fzjset{title=allcaps}
\fzjset{subtitle=allcaps}
\fzjset{part=allcaps}
\fzjset{frametitle=regular}
\fzjset{section page=text}
%% Use FZJ Progress Bar
\setbeamertemplate{progressbar}[visible]
%% 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}
\newcommand{\printpagesinfo}{%
Frame \insertframenumber{} of \inserttotalframenumber{}
Page \insertpagenumber{} of \insertdocumentendpage{}
}
\begin{document}
\maketitle
\begin{frame}
\frametitle{First Slide}
\printpagesinfo
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?
\end{frame}
{\setbeamercolor{progressbar}{fg=fzjgreen}
\begin{frame}
\frametitle{Second Slide}
\framesubtitle<1>{First part}
\framesubtitle<2>{Second part}
\printpagesinfo
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.
Overlay
\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
\end{frame}
}
\begin{frame}
\frametitle{Third Slide}
\printpagesinfo
\begin{itemize}[<+->]
\item First bullet
\item Second bullet
\item Third bullet
\item Fourth bullet
\item Done
\end{itemize}
\end{frame}
\appendix
\begin{frame}
\frametitle{First Appendix Slide}
\printpagesinfo
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!
\end{frame}
\begin{frame}
\frametitle{Second Appendix Slide}
\printpagesinfo
\begin{itemize}
\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!
\end{itemize}
\end{frame}
\begin{frame}
\frametitle{Third Appendix Slide}
\printpagesinfo
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
\end{frame}
\end{document}
No preview for this file type
This diff is collapsed.