diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/contrib/beamer/base/themes |
Initial commit
Diffstat (limited to 'macros/latex/contrib/beamer/base/themes')
77 files changed, 3833 insertions, 0 deletions
diff --git a/macros/latex/contrib/beamer/base/themes/color/beamercolorthemealbatross.sty b/macros/latex/contrib/beamer/base/themes/color/beamercolorthemealbatross.sty new file mode 100644 index 0000000000..177833cd95 --- /dev/null +++ b/macros/latex/contrib/beamer/base/themes/color/beamercolorthemealbatross.sty @@ -0,0 +1,55 @@ +% Copyright 2007 by Till Tantau +% Copyright 2015 by Vedran Mileti\'c, Joseph Wright +% +% This file may be distributed and/or modified +% +% 1. under the LaTeX Project Public License and/or +% 2. under the GNU Public License. +% +% See the file doc/licenses/LICENSE for more details. + +\setbeamercolor*{normal text}{fg=yellow!50!white,bg=blue!50!black} + +\DeclareOption{overlystylish} +{ + \def\beamer@cta@do{ + \setbeamertemplate{background canvas}[vertical shading][bottom=black,top=black,middle=blue!50!black] + } +} +\ProcessOptions + +\@ifundefined{beamer@cta@do}{}{\beamer@cta@do} + +\mode<presentation> + +\setbeamercolor*{example text}{fg=green!65!black} + +\setbeamercolor*{structure}{fg=blue!25!white} + +\setbeamercolor{palette primary}{use={structure,normal text},fg=structure.fg,bg=normal text.bg!75!black} +\setbeamercolor{palette secondary}{use={structure,normal text},fg=structure.fg,bg=normal text.bg!60!black} +\setbeamercolor{palette tertiary}{use={structure,normal text},fg=structure.fg,bg=normal text.bg!45!black} +\setbeamercolor{palette quaternary}{use={structure,normal text},fg=structure.fg,bg=normal text.bg!30!black} + +\setbeamercolor*{block body}{bg=normal text.bg!90!black} +\setbeamercolor*{block body alerted}{bg=normal text.bg!90!black} +\setbeamercolor*{block body example}{bg=normal text.bg!90!black} +\setbeamercolor*{block title}{parent=structure,bg=normal text.bg!75!black} +\setbeamercolor*{block title alerted}{use={normal text,alerted text},fg=alerted text.fg!75!normal text.fg,bg=normal text.bg!75!black} +\setbeamercolor*{block title example}{use={normal text,example text},fg=example text.fg!75!normal text.fg,bg=normal text.bg!75!black} + +\setbeamercolor{item projected}{fg=black} + +\setbeamercolor*{sidebar}{parent=palette primary} + +\setbeamercolor{palette sidebar primary}{use=normal text,fg=normal text.fg} +\setbeamercolor{palette sidebar secondary}{use=structure,fg=structure.fg} +\setbeamercolor{palette sidebar tertiary}{use=normal text,fg=normal text.fg} +\setbeamercolor{palette sidebar quaternary}{use=structure,fg=structure.fg} + +\setbeamercolor*{separation line}{} +\setbeamercolor*{fine separation line}{} + + +\mode +<all> diff --git a/macros/latex/contrib/beamer/base/themes/color/beamercolorthemebeaver.sty b/macros/latex/contrib/beamer/base/themes/color/beamercolorthemebeaver.sty new file mode 100644 index 0000000000..ae384b7ffe --- /dev/null +++ b/macros/latex/contrib/beamer/base/themes/color/beamercolorthemebeaver.sty @@ -0,0 +1,37 @@ +% Copyright 2004 by Madhusudan Singh <madhusudan.singh@gmail.com> +% +% This file may be distributed and/or modified +% +% 1. under the LaTeX Project Public License and/or +% 2. under the GNU Public License. +% +% See the file doc/licenses/LICENSE for more details. + +\mode<presentation> + +\definecolor{darkred}{rgb}{0.8,0,0} + +\setbeamercolor{section in toc}{fg=black,bg=white} +\setbeamercolor{alerted text}{fg=darkred!80!gray} +\setbeamercolor*{palette primary}{fg=darkred!60!black,bg=gray!30!white} +\setbeamercolor*{palette secondary}{fg=darkred!70!black,bg=gray!15!white} +\setbeamercolor*{palette tertiary}{bg=darkred!80!black,fg=gray!10!white} +\setbeamercolor*{palette quaternary}{fg=darkred,bg=gray!5!white} + +\setbeamercolor*{sidebar}{fg=darkred,bg=gray!15!white} + +\setbeamercolor*{palette sidebar primary}{fg=darkred!10!black} +\setbeamercolor*{palette sidebar secondary}{fg=white} +\setbeamercolor*{palette sidebar tertiary}{fg=darkred!50!black} +\setbeamercolor*{palette sidebar quaternary}{fg=gray!10!white} + +%\setbeamercolor*{titlelike}{parent=palette primary} +\setbeamercolor{titlelike}{parent=palette primary,fg=darkred} +\setbeamercolor{frametitle}{bg=gray!10!white} +\setbeamercolor{frametitle right}{bg=gray!60!white} + +\setbeamercolor*{separation line}{} +\setbeamercolor*{fine separation line}{} + +\mode +<all> diff --git a/macros/latex/contrib/beamer/base/themes/color/beamercolorthemebeetle.sty b/macros/latex/contrib/beamer/base/themes/color/beamercolorthemebeetle.sty new file mode 100644 index 0000000000..d01602004d --- /dev/null +++ b/macros/latex/contrib/beamer/base/themes/color/beamercolorthemebeetle.sty @@ -0,0 +1,47 @@ +% Copyright 2007 by Till Tantau +% +% This file may be distributed and/or modified +% +% 1. under the LaTeX Project Public License and/or +% 2. under the GNU Public License. +% +% See the file doc/licenses/LICENSE for more details. + +\mode<presentation> + +\setbeamercolor{normal text}{fg=black,bg=black!40} +\setbeamercolor{structure}{fg=white} + +\setbeamercolor{alerted text}{fg=red!85!black} + +\setbeamercolor{item projected}{use=item,fg=black,bg=item.fg!75} + +\definecolor{beetle@other}{RGB}{64,80,127} + +\setbeamercolor*{palette primary}{fg=white,bg=beetle@other} +\setbeamercolor*{palette secondary}{parent=palette primary,use=palette primary,bg=palette primary.bg!95!black} +\setbeamercolor*{palette tertiary}{parent=palette primary,use=palette primary,bg=palette primary.bg!90!black} +\setbeamercolor*{palette quaternary}{parent=palette primary,use=palette primary,bg=palette primary.bg!85!black} + +\setbeamercolor*{sidebar}{parent=palette primary} + +\setbeamercolor*{palette sidebar primary}{fg=white} +\setbeamercolor*{palette sidebar secondary}{fg=black} +\setbeamercolor*{palette sidebar tertiary}{fg=white} +\setbeamercolor*{palette sidebar quaternary}{fg=black} + +\setbeamercolor{framesubtitle}{fg=black} + +\setbeamercolor*{subtitle}{fg=black} + +\setbeamercolor*{block title}{parent=structure} +\setbeamercolor*{block title alerted}{parent=alerted text} +\setbeamercolor*{block title example}{parent=example text} +\setbeamercolor*{block body}{} +\setbeamercolor*{block body alerted}{} +\setbeamercolor*{block body example}{} + +\setbeamercolor*{titlelike}{parent=structure} + +\mode +<all> diff --git a/macros/latex/contrib/beamer/base/themes/color/beamercolorthemecrane.sty b/macros/latex/contrib/beamer/base/themes/color/beamercolorthemecrane.sty new file mode 100644 index 0000000000..7aa4a52bf2 --- /dev/null +++ b/macros/latex/contrib/beamer/base/themes/color/beamercolorthemecrane.sty @@ -0,0 +1,43 @@ +% Copyright 2007 by Till Tantau +% +% This file may be distributed and/or modified +% +% 1. under the LaTeX Project Public License and/or +% 2. under the GNU Public License. +% +% See the file doc/licenses/LICENSE for more details. + +\mode<presentation> + +\definecolor{craneorange}{RGB}{252,187,6} +\definecolor{craneblue}{RGB}{4,6,76} + +\setbeamercolor{structure}{fg=craneblue} + +\setbeamercolor{palette primary}{fg=craneblue,bg=craneorange!70} +\setbeamercolor{palette secondary}{fg=craneblue,bg=craneorange!80} +\setbeamercolor{palette tertiary}{fg=craneblue,bg=craneorange!90} +\setbeamercolor{palette quaternary}{fg=craneblue,bg=craneorange} + +\setbeamercolor{titlelike}{parent=palette quaternary} + +\setbeamercolor{block title}{fg=craneblue,bg=craneorange} +\setbeamercolor{block title alerted}{use=alerted text,fg=craneblue,bg=alerted text.fg!75!bg} +\setbeamercolor{block title example}{use=example text,fg=craneblue,bg=example text.fg!75!bg} + +\setbeamercolor{block body}{parent=normal text,use=block title,bg=block title.bg!25!bg} +\setbeamercolor{block body alerted}{parent=normal text,use=block title alerted,bg=block title alerted.bg!25!bg} +\setbeamercolor{block body example}{parent=normal text,use=block title example,bg=block title example.bg!25!bg} + +\setbeamercolor{sidebar}{bg=craneorange!70} + +\setbeamercolor{palette sidebar primary}{fg=craneblue} +\setbeamercolor{palette sidebar secondary}{fg=craneblue!75} +\setbeamercolor{palette sidebar tertiary}{fg=craneblue!75} +\setbeamercolor{palette sidebar quaternary}{fg=craneblue} + +\setbeamercolor*{separation line}{} +\setbeamercolor*{fine separation line}{} + +\mode +<all> diff --git a/macros/latex/contrib/beamer/base/themes/color/beamercolorthemedefault.sty b/macros/latex/contrib/beamer/base/themes/color/beamercolorthemedefault.sty new file mode 100644 index 0000000000..acc9216b8c --- /dev/null +++ b/macros/latex/contrib/beamer/base/themes/color/beamercolorthemedefault.sty @@ -0,0 +1,183 @@ +% Copyright 2007 by Till Tantau +% Copyright 2012,2015 by Vedran Mileti\'c, Joseph Wright +% Copyright 2017--2018 by Louis Stuart, Joseph Wright +% +% This file may be distributed and/or modified +% +% 1. under the LaTeX Project Public License and/or +% 2. under the GNU Public License. +% +% See the file doc/licenses/LICENSE for more details. + +\mode<presentation> + +\definecolor{beamer@blendedblue}{rgb}{0.2,0.2,0.7} % use structure theme to change + +\setbeamercolor{normal text}{fg=black,bg=white} +\setbeamercolor{alerted text}{fg=red} +\setbeamercolor{example text}{fg=green!50!black} + +\setbeamercolor{structure}{fg=beamer@blendedblue} + +\setbeamercolor{background canvas}{parent=normal text} +\setbeamercolor{background}{parent=background canvas} + +\setbeamercolor{palette primary}{use=structure,fg=structure.fg} +\setbeamercolor{palette secondary}{use=structure,fg=structure.fg!75!black} +\setbeamercolor{palette tertiary}{use=structure,fg=structure.fg!50!black} +\setbeamercolor{palette quaternary}{fg=black} + +\setbeamercolor{palette sidebar primary}{use=normal text,fg=normal text.fg} +\setbeamercolor{palette sidebar secondary}{use=structure,fg=structure.fg} +\setbeamercolor{palette sidebar tertiary}{use=normal text,fg=normal text.fg} +\setbeamercolor{palette sidebar quaternary}{use=structure,fg=structure.fg} + +\setbeamercolor{math text}{} +\setbeamercolor{math text inlined}{parent=math text} +\setbeamercolor{math text displayed}{parent=math text} + +\setbeamercolor{normal text in math text}{} + +\setbeamercolor{local structure}{parent=structure} + +\setbeamercolor{titlelike}{parent=structure} + +\setbeamercolor{title}{parent=titlelike} +\setbeamercolor{title in head/foot}{parent=palette quaternary} +\setbeamercolor{title in sidebar}{parent=palette sidebar quaternary} + +\setbeamercolor{subtitle}{parent=title} + +\setbeamercolor{author}{} +\setbeamercolor{author in head/foot}{parent=palette primary} +\setbeamercolor{author in sidebar}{use=palette sidebar tertiary,fg=palette sidebar tertiary.fg} + +\setbeamercolor{institute}{} +\setbeamercolor{institute in head/foot}{parent=palette tertiary} +\setbeamercolor{institute in sidebar}{use=palette sidebar tertiary,fg=palette sidebar tertiary.fg} + +\setbeamercolor{date}{} +\setbeamercolor{date in head/foot}{parent=palette secondary} +\setbeamercolor{date in sidebar}{use=palette sidebar tertiary,fg=palette sidebar tertiary.fg} + +\setbeamercolor{titlegraphic}{} + +\setbeamercolor{part name}{} +\setbeamercolor{part title}{parent=titlelike} + +\setbeamercolor{section name}{} +\setbeamercolor{section title}{parent=titlelike} + +\setbeamercolor{section in toc}{parent=structure} +\setbeamercolor{section in toc shaded}{parent=section in toc} +\setbeamercolor{section in head/foot}{parent=palette tertiary} +\setbeamercolor{section in sidebar}{parent=palette sidebar secondary} +\setbeamercolor{section in sidebar shaded}{use=section in sidebar,fg=section in sidebar.fg!40!bg} +\setbeamercolor{section number projected}{parent=item projected} + +\setbeamercolor{subsection name}{} +\setbeamercolor{subsection title}{parent=titlelike} + +\setbeamercolor{subsection in toc}{} +\setbeamercolor{subsection in toc shaded}{parent=subsection in toc} +\setbeamercolor{subsection in head/foot}{parent=palette secondary} +\setbeamercolor{subsection in sidebar}{parent=palette sidebar primary} +\setbeamercolor{subsection in sidebar shaded}{use=subsection in sidebar,fg=subsection in sidebar.fg!40!bg} +\setbeamercolor{subsection number projected}{parent={subitem projected}} + +\setbeamercolor{subsubsection in toc}{parent=subsection in toc} +\setbeamercolor{subsubsection in toc shaded}{parent=subsubsection in toc} +\setbeamercolor{subsubsection in head/foot}{parent=subsection in head/foot} +\setbeamercolor{subsubsection in sidebar}{parent=subsection in sidebar} +\setbeamercolor{subsubsection in sidebar shaded}{parent=subsection in sidebar shaded} +\setbeamercolor{subsubsection number projected}{parent=subsubitem projected} + +\setbeamercolor{headline}{} +\setbeamercolor{footline}{} + +\setbeamercolor{sidebar}{} +\setbeamercolor{sidebar left}{parent=sidebar} +\setbeamercolor{sidebar right}{parent=sidebar} + +\setbeamercolor{logo}{parent=palette secondary} + +\setbeamercolor{frametitle}{parent=titlelike} +\setbeamercolor{framesubtitle}{parent=frametitle} + +\setbeamercolor{frametitle right}{parent=frametitle} + +\setbeamercolor{caption}{} +\setbeamercolor{caption name}{parent=structure} + +\setbeamercolor{button}{use=local structure,bg=local structure.fg!50!bg,fg=white} +\setbeamercolor{button border}{use=button,fg=button.bg} +\setbeamercolor{navigation symbols}{use=structure,fg=structure.fg!40!bg} +\setbeamercolor{navigation symbols dimmed}{use=structure,fg=structure.fg!20!bg} +\setbeamercolor{mini frame}{parent=section in head/foot} + +\setbeamercolor{block body}{} +\setbeamercolor{block body alerted}{} +\setbeamercolor{block body example}{} +\setbeamercolor{block title}{parent=structure} +\setbeamercolor{block title alerted}{parent=alerted text} +\setbeamercolor{block title example}{parent=example text} + +\setbeamercolor{item}{parent=local structure} +\setbeamercolor{subitem}{parent=item} +\setbeamercolor{subsubitem}{parent=subitem} + +\setbeamercolor{item projected}{parent=item,use=item,fg=white,bg=item.fg} +\setbeamercolor{subitem projected}{parent=item projected} +\setbeamercolor{subsubitem projected}{parent=subitem projected} + +\setbeamercolor{enumerate item}{parent=item} +\setbeamercolor{enumerate subitem}{parent=subitem} +\setbeamercolor{enumerate subsubitem}{parent=subsubitem} + +\setbeamercolor{itemize item}{parent=item} +\setbeamercolor{itemize subitem}{parent=subitem} +\setbeamercolor{itemize subsubitem}{parent=subsubitem} + +\setbeamercolor{itemize/enumerate body}{} +\setbeamercolor{itemize/enumerate subbody}{} +\setbeamercolor{itemize/enumerate subsubbody}{} + +\setbeamercolor{description item}{parent=item} + +\setbeamercolor{description body}{} + +\setbeamercolor{bibliography item}{parent=item} + +\setbeamercolor{bibliography entry author}{use=structure,fg=structure.fg} +\setbeamercolor{bibliography entry title}{use=normal text,fg=normal text.fg} +\setbeamercolor{bibliography entry location}{use=structure,fg=structure.fg!65!bg} +\setbeamercolor{bibliography entry note}{use=structure,fg=structure.fg!65!bg} + +\setbeamercolor{separation line}{} + +\setbeamercolor{upper separation line head}{parent=separation line} +\setbeamercolor{middle separation line head}{parent=separation line} +\setbeamercolor{lower separation line head}{parent=separation line} + +\setbeamercolor{upper separation line foot}{parent=separation line} +\setbeamercolor{middle separation line foot}{parent=separation line} +\setbeamercolor{lower separation line foot}{parent=separation line} + +\setbeamercolor{abstract}{} +\setbeamercolor{abstract title}{parent=structure} + +\setbeamercolor{verse}{} + +\setbeamercolor{quotation}{} +\setbeamercolor{quote}{parent=quotation} + +\setbeamercolor{page number in head/foot}{} + +\setbeamercolor{qed symbol}{parent=structure} + +\setbeamercolor{note page}{bg=white!90!black, fg=black} +\setbeamercolor{note title}{bg=white!80!black, fg=black} +\setbeamercolor{note date}{parent=note title} + +\mode +<all> diff --git a/macros/latex/contrib/beamer/base/themes/color/beamercolorthemedolphin.sty b/macros/latex/contrib/beamer/base/themes/color/beamercolorthemedolphin.sty new file mode 100644 index 0000000000..9d4616ab4d --- /dev/null +++ b/macros/latex/contrib/beamer/base/themes/color/beamercolorthemedolphin.sty @@ -0,0 +1,31 @@ +% Copyright 2004 by Manuel Carro <mcarro@fi.upm.es> +% +% This file may be distributed and/or modified +% +% 1. under the LaTeX Project Public License and/or +% 2. under the GNU Public License. +% +% See the file doc/licenses/LICENSE for more details. + +\mode<presentation> + + +\setbeamercolor*{palette primary}{use=structure,fg=black,bg=structure.fg!40!white} +\setbeamercolor*{palette secondary}{use=structure,fg=white,bg=structure.fg!60!white} +\setbeamercolor*{palette tertiary}{use=structure,fg=white,bg=structure.fg!90!white} +\setbeamercolor*{palette quaternary}{fg=white,bg=black} + +\setbeamercolor*{sidebar}{use=structure,bg=structure.fg} + +\setbeamercolor*{palette sidebar primary}{use=structure,fg=structure.fg!10} +\setbeamercolor*{palette sidebar secondary}{fg=white} +\setbeamercolor*{palette sidebar tertiary}{use=structure,fg=structure.fg!50} +\setbeamercolor*{palette sidebar quaternary}{fg=white} + +\setbeamercolor*{titlelike}{use=structure,fg=structure.fg} + +\setbeamercolor*{separation line}{} +\setbeamercolor*{fine separation line}{} + +\mode +<all> diff --git a/macros/latex/contrib/beamer/base/themes/color/beamercolorthemedove.sty b/macros/latex/contrib/beamer/base/themes/color/beamercolorthemedove.sty new file mode 100644 index 0000000000..16e9c66dee --- /dev/null +++ b/macros/latex/contrib/beamer/base/themes/color/beamercolorthemedove.sty @@ -0,0 +1,57 @@ +% Copyright 2007 by Till Tantau +% Copyright 2012,2015 by Vedran Mileti\'c, Joseph Wright +% +% This file may be distributed and/or modified +% +% 1. under the LaTeX Project Public License and/or +% 2. under the GNU Public License. +% +% See the file doc/licenses/LICENSE for more details. + +\mode<presentation> + +\setbeamercolor*{normal text}{fg=black,bg=white} +\setbeamercolor*{alerted text}{fg=black} +\setbeamercolor*{example text}{fg=black} +\setbeamercolor*{structure}{fg=black} + +\providecommand*{\beamer@bftext@only}{% + \relax + \ifmmode + \expandafter\beamer@bftext@warning + \else + \expandafter\bfseries + \fi +} +\providecommand*{\beamer@bftext@warning}{% + \ClassWarning{beamer} + {Cannot use bold for alerted text in math mode}% +} + +\setbeamerfont{alerted text}{series=\beamer@bftext@only} + +\setbeamercolor{palette primary}{fg=black,bg=white} +\setbeamercolor{palette secondary}{fg=black,bg=white} +\setbeamercolor{palette tertiary}{fg=black,bg=white} +\setbeamercolor{palette quaternary}{fg=black,bg=white} + +\setbeamercolor{sidebar}{bg=black!20} + +\setbeamercolor{palette sidebar primary}{fg=black} +\setbeamercolor{palette sidebar secondary}{fg=black} +\setbeamercolor{palette sidebar tertiary}{fg=black} +\setbeamercolor{palette sidebar quaternary}{fg=black} + +\setbeamercolor{item projected}{fg=black,bg=black!20} + +\setbeamercolor*{block body}{} +\setbeamercolor*{block body alerted}{} +\setbeamercolor*{block body example}{} +\setbeamercolor*{block title}{parent=structure} +\setbeamercolor*{block title alerted}{parent=alerted text} +\setbeamercolor*{block title example}{parent=example text} + +\setbeamercolor*{titlelike}{parent=structure} + +\mode +<all> diff --git a/macros/latex/contrib/beamer/base/themes/color/beamercolorthemefly.sty b/macros/latex/contrib/beamer/base/themes/color/beamercolorthemefly.sty new file mode 100644 index 0000000000..2bac67c1bb --- /dev/null +++ b/macros/latex/contrib/beamer/base/themes/color/beamercolorthemefly.sty @@ -0,0 +1,43 @@ +% Copyright 2007 by Till Tantau +% +% This file may be distributed and/or modified +% +% 1. under the LaTeX Project Public License and/or +% 2. under the GNU Public License. +% +% See the file doc/licenses/LICENSE for more details. + +\mode<presentation> + +\setbeamercolor{normal text}{fg=black,bg=black!40} +\setbeamercolor{structure}{fg=white} + +\setbeamercolor{alerted text}{fg=red!85!black} + +\setbeamercolor{item projected}{use=item,fg=black,bg=item.fg!75} + +\setbeamercolor*{sidebar}{bg=black!50} + +\setbeamercolor*{palette primary}{use=structure,fg=structure.fg} +\setbeamercolor*{palette secondary}{use=structure,fg=structure.fg!95!black} +\setbeamercolor*{palette tertiary}{use=structure,fg=structure.fg!90!black} +\setbeamercolor*{palette quaternary}{use=structure,fg=structure.fg!85!black} + +\setbeamercolor*{palette sidebar primary}{fg=white} +\setbeamercolor*{palette sidebar secondary}{fg=black} +\setbeamercolor*{palette sidebar tertiary}{fg=white} +\setbeamercolor*{palette sidebar quaternary}{fg=black} + +\setbeamercolor*{framesubtitle}{fg=black} + +\setbeamercolor*{subtitle}{fg=black} + +\setbeamercolor*{block title}{parent=structure} +\setbeamercolor*{block title alerted}{parent=alerted text} +\setbeamercolor*{block title example}{parent=example text} +\setbeamercolor*{block body}{} +\setbeamercolor*{block body alerted}{} +\setbeamercolor*{block body example}{} + +\mode +<all> diff --git a/macros/latex/contrib/beamer/base/themes/color/beamercolorthemelily.sty b/macros/latex/contrib/beamer/base/themes/color/beamercolorthemelily.sty new file mode 100644 index 0000000000..355ee97b0e --- /dev/null +++ b/macros/latex/contrib/beamer/base/themes/color/beamercolorthemelily.sty @@ -0,0 +1,22 @@ +% Copyright 2007 by Till Tantau +% +% This file may be distributed and/or modified +% +% 1. under the LaTeX Project Public License and/or +% 2. under the GNU Public License. +% +% See the file doc/licenses/LICENSE for more details. + +\mode<presentation> + +\setbeamercolor*{block body}{} +\setbeamercolor*{block body alerted}{} +\setbeamercolor*{block body example}{} +\setbeamercolor*{block title}{parent=structure} +\setbeamercolor*{block title alerted}{parent=alerted text} +\setbeamercolor*{block title example}{parent=example text} + +\setbeamercolor*{titlelike}{parent=structure} + +\mode +<all> diff --git a/macros/latex/contrib/beamer/base/themes/color/beamercolorthememonarca.sty b/macros/latex/contrib/beamer/base/themes/color/beamercolorthememonarca.sty new file mode 100644 index 0000000000..7548591de9 --- /dev/null +++ b/macros/latex/contrib/beamer/base/themes/color/beamercolorthememonarca.sty @@ -0,0 +1,65 @@ +% Copyright 2012 by Till Tantau and Max Dohse +% Copyright 2012,2015 by Vedran Mileti\'c, Joseph Wright +% +% This file may be distributed and/or modified +% +% 1. under the LaTeX Project Public License and/or +% 2. under the GNU Public License. +% +% See the file doc/licenses/LICENSE for more details. +% +% This theme is based on the crane theme by Till Tantau. +% the OVERLYSTYLISH option is taken from the albatross theme +% +% The colors are those of the Monarca/Monarch butterfly. +% http://en.wikipedia.org/wiki/Monarch_butterfly +% The Monarch is famous for its southward migration +% and northward return in summer from Canada to Mexico, +% which spans the life of three to four generations of the butterfly. +% + +\definecolor{craneorange}{RGB}{252,187,6} +\definecolor{craneblue}{RGB}{4,6,76} + +\DeclareOption{overlystylish}{ + \def\beamer@cta@do{\setbeamertemplate{background canvas}[vertical shading]% + [bottom=craneorange,top=craneorange,middle=yellow] + } +} +\ProcessOptions + +\@ifundefined{beamer@cta@do}{}{\beamer@cta@do} + +\mode<presentation> + +\setbeamercolor{normal text}{fg=black,bg=craneorange} + +\setbeamercolor{structure}{fg=black} + +\setbeamercolor{palette primary}{fg=craneorange!75,bg=black} +\setbeamercolor{palette secondary}{fg=black,bg=craneorange} +\setbeamercolor{palette tertiary}{fg=craneorange!75,bg=black} +\setbeamercolor{palette quaternary}{fg=black,bg=white} + +\setbeamercolor{titlelike}{parent=palette quaternary} + +\setbeamercolor{block title}{fg=black,bg=white} +\setbeamercolor{block title alerted}{use=alerted text,fg=black,bg=alerted text.fg!75!bg} +\setbeamercolor{block title example}{use=example text,fg=black,bg=example text.fg!75!bg} + +\setbeamercolor{block body}{parent=normal text,use=block title,bg=block title.bg!25!bg} +\setbeamercolor{block body alerted}{parent=normal text,use=block title alerted,bg=block title alerted.bg!25!bg} +\setbeamercolor{block body example}{parent=normal text,use=block title example,bg=block title example.bg!25!bg} + +\setbeamercolor{sidebar}{bg=craneorange!90}%70 + +\setbeamercolor{palette sidebar primary}{fg=black} +\setbeamercolor{palette sidebar secondary}{fg=black!75} +\setbeamercolor{palette sidebar tertiary}{fg=black!75} +\setbeamercolor{palette sidebar quaternary}{fg=black} + +\setbeamercolor*{separation line}{} +\setbeamercolor*{fine separation line}{} + +\mode +<all> diff --git a/macros/latex/contrib/beamer/base/themes/color/beamercolorthemeorchid.sty b/macros/latex/contrib/beamer/base/themes/color/beamercolorthemeorchid.sty new file mode 100644 index 0000000000..03931eac99 --- /dev/null +++ b/macros/latex/contrib/beamer/base/themes/color/beamercolorthemeorchid.sty @@ -0,0 +1,21 @@ +% Copyright 2007 by Till Tantau +% +% This file may be distributed and/or modified +% +% 1. under the LaTeX Project Public License and/or +% 2. under the GNU Public License. +% +% See the file doc/licenses/LICENSE for more details. + +\mode<presentation> + +\setbeamercolor{block title}{use=structure,fg=white,bg=structure.fg!75!black} +\setbeamercolor{block title alerted}{use=alerted text,fg=white,bg=alerted text.fg!75!black} +\setbeamercolor{block title example}{use=example text,fg=white,bg=example text.fg!75!black} + +\setbeamercolor{block body}{parent=normal text,use=block title,bg=block title.bg!10!bg} +\setbeamercolor{block body alerted}{parent=normal text,use=block title alerted,bg=block title alerted.bg!10!bg} +\setbeamercolor{block body example}{parent=normal text,use=block title example,bg=block title example.bg!10!bg} + +\mode +<all> diff --git a/macros/latex/contrib/beamer/base/themes/color/beamercolorthemerose.sty b/macros/latex/contrib/beamer/base/themes/color/beamercolorthemerose.sty new file mode 100644 index 0000000000..4a7b1ebdc1 --- /dev/null +++ b/macros/latex/contrib/beamer/base/themes/color/beamercolorthemerose.sty @@ -0,0 +1,21 @@ +% Copyright 2007 by Till Tantau +% +% This file may be distributed and/or modified +% +% 1. under the LaTeX Project Public License and/or +% 2. under the GNU Public License. +% +% See the file doc/licenses/LICENSE for more details. + +\mode<presentation> + +\setbeamercolor{block title}{use=structure,fg=structure.fg,bg=structure.fg!20!bg} +\setbeamercolor{block title alerted}{use=alerted text,fg=alerted text.fg,bg=alerted text.fg!20!bg} +\setbeamercolor{block title example}{use=example text,fg=example text.fg,bg=example text.fg!20!bg} + +\setbeamercolor{block body}{parent=normal text,use=block title,bg=block title.bg!50!bg} +\setbeamercolor{block body alerted}{parent=normal text,use=block title alerted,bg=block title alerted.bg!50!bg} +\setbeamercolor{block body example}{parent=normal text,use=block title example,bg=block title example.bg!50!bg} + +\mode +<all> diff --git a/macros/latex/contrib/beamer/base/themes/color/beamercolorthemeseagull.sty b/macros/latex/contrib/beamer/base/themes/color/beamercolorthemeseagull.sty new file mode 100644 index 0000000000..c3abf5ee53 --- /dev/null +++ b/macros/latex/contrib/beamer/base/themes/color/beamercolorthemeseagull.sty @@ -0,0 +1,59 @@ +% Copyright 2007 by Till Tantau +% Copyright 2012,2015 by Vedran Mileti\'c, Joseph Wright +% +% This file may be distributed and/or modified +% +% 1. under the LaTeX Project Public License and/or +% 2. under the GNU Public License. +% +% See the file doc/licenses/LICENSE for more details. + +\mode<presentation> + +\setbeamercolor*{normal text}{fg=black,bg=white} +\setbeamercolor*{alerted text}{fg=black} +\setbeamercolor*{example text}{fg=black} +\setbeamercolor*{structure}{fg=black} + +\providecommand*{\beamer@bftext@only}{% + \relax + \ifmmode + \expandafter\beamer@bftext@warning + \else + \expandafter\bfseries + \fi +} +\providecommand*{\beamer@bftext@warning}{% + \ClassWarning{beamer} + {Cannot use bold for alerted text in math mode}% +} + +\setbeamerfont{alerted text}{series=\beamer@bftext@only} + +\setbeamercolor*{palette primary}{fg=black,bg=black!20} +\setbeamercolor*{palette secondary}{fg=black,bg=black!25} +\setbeamercolor*{palette tertiary}{fg=black,bg=black!30} +\setbeamercolor*{palette quaternary}{fg=black,bg=black!35} + +\setbeamercolor{sidebar}{bg=black!20} + +\setbeamercolor*{palette sidebar primary}{fg=black} +\setbeamercolor*{palette sidebar secondary}{fg=black} +\setbeamercolor*{palette sidebar tertiary}{fg=black} +\setbeamercolor*{palette sidebar quaternary}{fg=black} + +\setbeamercolor*{item projected}{fg=black,bg=black!20} + +\setbeamercolor*{block title}{fg=black,bg=black!20} +\setbeamercolor*{block title alerted}{fg=black,bg=black!20} +\setbeamercolor*{block title example}{fg=black,bg=black!20} + +\setbeamercolor*{block body}{fg=black,bg=black!10} +\setbeamercolor*{block body alerted}{fg=black,bg=black!10} +\setbeamercolor*{block body example}{fg=black,bg=black!10} + +\setbeamercolor*{separation line}{} +\setbeamercolor*{fine separation line}{} + +\mode +<all> diff --git a/macros/latex/contrib/beamer/base/themes/color/beamercolorthemeseahorse.sty b/macros/latex/contrib/beamer/base/themes/color/beamercolorthemeseahorse.sty new file mode 100644 index 0000000000..7972a3e7a0 --- /dev/null +++ b/macros/latex/contrib/beamer/base/themes/color/beamercolorthemeseahorse.sty @@ -0,0 +1,30 @@ +% Copyright 2007 by Till Tantau +% +% This file may be distributed and/or modified +% +% 1. under the LaTeX Project Public License and/or +% 2. under the GNU Public License. +% +% See the file doc/licenses/LICENSE for more details. + +\mode<presentation> + +\setbeamercolor{palette primary}{use=structure,fg=black,bg=structure.fg!20!white} +\setbeamercolor{palette secondary}{use=structure,fg=black,bg=structure.fg!25!white} +\setbeamercolor{palette tertiary}{use=structure,fg=black,bg=structure.fg!30!white} +\setbeamercolor{palette quaternary}{use=structure,fg=black,bg=structure.fg!35!white} + +\setbeamercolor{sidebar}{use=structure,bg=structure.fg!20!white} + +\setbeamercolor{palette sidebar primary}{use=normal text,fg=normal text.fg} +\setbeamercolor{palette sidebar secondary}{use=structure,fg=structure.fg} +\setbeamercolor{palette sidebar tertiary}{use=normal text,fg=normal text.fg} +\setbeamercolor{palette sidebar quaternary}{use=structure,fg=structure.fg} + +\setbeamercolor*{titlelike}{parent=palette primary} + +\setbeamercolor*{separation line}{} +\setbeamercolor*{fine separation line}{} + +\mode +<all> diff --git a/macros/latex/contrib/beamer/base/themes/color/beamercolorthemesidebartab.sty b/macros/latex/contrib/beamer/base/themes/color/beamercolorthemesidebartab.sty new file mode 100644 index 0000000000..454ef9afe7 --- /dev/null +++ b/macros/latex/contrib/beamer/base/themes/color/beamercolorthemesidebartab.sty @@ -0,0 +1,23 @@ +% Copyright 2007 by Till Tantau +% +% This file may be distributed and/or modified +% +% 1. under the LaTeX Project Public License and/or +% 2. under the GNU Public License. +% +% See the file doc/licenses/LICENSE for more details. + +\mode<presentation> + +\setbeamercolor*{section in sidebar shaded}{parent=palette sidebar secondary} +\setbeamercolor*{section in sidebar} + {parent=section in sidebar shaded,use={sidebar,section in sidebar shaded},% + bg=sidebar.bg!70!section in sidebar shaded.fg} + +\setbeamercolor*{subsection in sidebar shaded}{parent=palette sidebar primary} +\setbeamercolor*{subsection in sidebar} + {parent=subsection in sidebar shaded,use=section in sidebar,% + bg=section in sidebar.bg} + +\mode +<all> diff --git a/macros/latex/contrib/beamer/base/themes/color/beamercolorthemespruce.sty b/macros/latex/contrib/beamer/base/themes/color/beamercolorthemespruce.sty new file mode 100644 index 0000000000..1d4fa9fbfd --- /dev/null +++ b/macros/latex/contrib/beamer/base/themes/color/beamercolorthemespruce.sty @@ -0,0 +1,38 @@ +% Copyright 2012 by Alan Munn <amunn@msu.edu> Modified for MSU colours +% Copyright 2004 by Madhusudan Singh <madhusudan.singh@gmail.com> +% +% This file may be distributed and/or modified +% +% 1. under the LaTeX Project Public License and/or +% 2. under the GNU Public License. +% +% See the file doc/licenses/LICENSE for more details. +% + +\mode<presentation> + +\definecolor{MSUgreen}{RGB}{0,102,51} +% Approximate match for Michigan State University; official colour appears too dark + +\setbeamercolor{alerted text}{fg=MSUgreen!80!white} +\setbeamercolor*{palette primary}{fg=MSUgreen!60!black,bg=white!85!MSUgreen} +\setbeamercolor*{palette secondary}{fg=MSUgreen!70!black,bg=white!60!MSUgreen} +\setbeamercolor*{palette tertiary}{bg=MSUgreen!80!black,fg=white!50!MSUgreen} +\setbeamercolor*{palette quaternary}{fg=MSUgreen,bg=white!20!MSUgreen} + +\setbeamercolor*{sidebar}{fg=MSUgreen,bg=MSUgreen!75!white} + +\setbeamercolor*{palette sidebar primary}{fg=MSUgreen!10!black} +\setbeamercolor*{palette sidebar secondary}{fg=white} +\setbeamercolor*{palette sidebar tertiary}{fg=MSUgreen!50!black} +\setbeamercolor*{palette sidebar quaternary}{fg=white!10!MSUgreen} + +\setbeamercolor*{titlelike}{parent=palette primary} +\setbeamercolor{frametitle}{bg=white!90!MSUgreen} +\setbeamercolor{frametitle right}{bg=white!60!MSUgreen} + +\setbeamercolor*{separation line}{} +\setbeamercolor*{fine separation line}{} +\setbeamercolor{block body}{parent=normal text,use=block title,bg=red!0,fg=} +\mode +<all> diff --git a/macros/latex/contrib/beamer/base/themes/color/beamercolorthemestructure.sty b/macros/latex/contrib/beamer/base/themes/color/beamercolorthemestructure.sty new file mode 100644 index 0000000000..9b8baab123 --- /dev/null +++ b/macros/latex/contrib/beamer/base/themes/color/beamercolorthemestructure.sty @@ -0,0 +1,20 @@ +% Copyright 2007 by Till Tantau +% +% This file may be distributed and/or modified +% +% 1. under the LaTeX Project Public License and/or +% 2. under the GNU Public License. +% +% See the file doc/licenses/LICENSE for more details. + +\DeclareOptionBeamer{gray}{\definecolor{beamer@structure@color}{gray}{#1}} +\DeclareOptionBeamer{rgb}{\definecolor{beamer@structure@color}{rgb}{#1}} +\DeclareOptionBeamer{RGB}{\definecolor{beamer@structure@color}{RGB}{#1}} +\DeclareOptionBeamer{cmyk}{\definecolor{beamer@structure@color}{cmyk}{#1}} +\DeclareOptionBeamer{cmy}{\definecolor{beamer@structure@color}{cmy}{#1}} +\DeclareOptionBeamer{named}{\definecolor{beamer@structure@color}{named}{#1}} +\DeclareOptionBeamer{hsb}{\definecolor{beamer@structure@color}{hsb}{#1}} +\ProcessOptionsBeamer + + +\setbeamercolor{structure}{fg=beamer@structure@color} diff --git a/macros/latex/contrib/beamer/base/themes/color/beamercolorthemewhale.sty b/macros/latex/contrib/beamer/base/themes/color/beamercolorthemewhale.sty new file mode 100644 index 0000000000..ffb91984e4 --- /dev/null +++ b/macros/latex/contrib/beamer/base/themes/color/beamercolorthemewhale.sty @@ -0,0 +1,30 @@ +% Copyright 2007 by Till Tantau +% +% This file may be distributed and/or modified +% +% 1. under the LaTeX Project Public License and/or +% 2. under the GNU Public License. +% +% See the file doc/licenses/LICENSE for more details. + +\mode<presentation> + +\setbeamercolor*{palette primary}{use=structure,fg=white,bg=structure.fg} +\setbeamercolor*{palette secondary}{use=structure,fg=white,bg=structure.fg!75!black} +\setbeamercolor*{palette tertiary}{use=structure,fg=white,bg=structure.fg!50!black} +\setbeamercolor*{palette quaternary}{fg=white,bg=black} + +\setbeamercolor*{sidebar}{use=structure,bg=structure.fg} + +\setbeamercolor*{palette sidebar primary}{use=structure,fg=structure.fg!10} +\setbeamercolor*{palette sidebar secondary}{fg=white} +\setbeamercolor*{palette sidebar tertiary}{use=structure,fg=structure.fg!50} +\setbeamercolor*{palette sidebar quaternary}{fg=white} + +\setbeamercolor*{titlelike}{parent=palette primary} + +\setbeamercolor*{separation line}{} +\setbeamercolor*{fine separation line}{} + +\mode +<all> diff --git a/macros/latex/contrib/beamer/base/themes/color/beamercolorthemewolverine.sty b/macros/latex/contrib/beamer/base/themes/color/beamercolorthemewolverine.sty new file mode 100644 index 0000000000..2877c79c8d --- /dev/null +++ b/macros/latex/contrib/beamer/base/themes/color/beamercolorthemewolverine.sty @@ -0,0 +1,35 @@ +% Copyright 2004 by Madhusudan Singh <madhusudan.singh@gmail.com> +% +% This file may be distributed and/or modified +% +% 1. under the LaTeX Project Public License and/or +% 2. under the GNU Public License. +% +% See the file doc/licenses/LICENSE for more details. + +\mode<presentation> + +\definecolor{darkblue}{rgb}{0,0,0.8} + +\setbeamercolor{alerted text}{fg=darkblue!80!yellow} +\setbeamercolor*{palette primary}{fg=darkblue!60!black,bg=yellow!85!orange} +\setbeamercolor*{palette secondary}{fg=darkblue!70!black,bg=yellow!60!orange} +\setbeamercolor*{palette tertiary}{bg=darkblue!80!black,fg=yellow!50!orange} +\setbeamercolor*{palette quaternary}{fg=darkblue,bg=yellow!20!orange} + +\setbeamercolor*{sidebar}{fg=darkblue,bg=orange!75!white} + +\setbeamercolor*{palette sidebar primary}{fg=darkblue!10!black} +\setbeamercolor*{palette sidebar secondary}{fg=white} +\setbeamercolor*{palette sidebar tertiary}{fg=darkblue!50!black} +\setbeamercolor*{palette sidebar quaternary}{fg=yellow!10!orange} + +\setbeamercolor*{titlelike}{parent=palette primary} +\setbeamercolor{frametitle}{bg=yellow!90!orange} +\setbeamercolor{frametitle right}{bg=yellow!60!orange} + +\setbeamercolor*{separation line}{} +\setbeamercolor*{fine separation line}{} + +\mode +<all> diff --git a/macros/latex/contrib/beamer/base/themes/font/beamerfontthemedefault.sty b/macros/latex/contrib/beamer/base/themes/font/beamerfontthemedefault.sty new file mode 100644 index 0000000000..b1bbfc640e --- /dev/null +++ b/macros/latex/contrib/beamer/base/themes/font/beamerfontthemedefault.sty @@ -0,0 +1,127 @@ +% Copyright 2007 by Till Tantau +% Copyright 2012,2015 by Vedran Mileti\'c, Joseph Wright +% Copyright 2017--2018 by Louis Stuart, Joseph Wright +% +% This file may be distributed and/or modified +% +% 1. under the LaTeX Project Public License and/or +% 2. under the GNU Public License. +% +% See the file doc/licenses/LICENSE for more details. + +\mode<presentation> + +\setbeamerfont{normal text}{} % ignored currently +\setbeamerfont{alerted text}{} +\setbeamerfont{example text}{} + +\setbeamerfont{structure}{} +\setbeamerfont{tiny structure}{size=\tiny} + +\setbeamerfont{title}{size=\Large,parent=structure} +\setbeamerfont{title in head/foot}{} +\setbeamerfont{title in sidebar}{size=\tiny} + +\setbeamerfont{subtitle}{size=\normalsize,parent=title} + +\setbeamerfont{author}{} +\setbeamerfont{author in head/foot}{} +\setbeamerfont{author in sidebar}{size=\tiny} + +\setbeamerfont{institute}{size=\scriptsize} +\setbeamerfont{institute in head/foot}{} +\setbeamerfont{institute in sidebar}{} + +\setbeamerfont{date}{} +\setbeamerfont{date in head/foot}{} +\setbeamerfont{date in sidebar}{} + +\setbeamerfont{page number in head/foot}{} + +\setbeamerfont{part name}{size=\LARGE} +\setbeamerfont{part title}{size=\LARGE,parent=title} + +\setbeamerfont{section name}{size=\Large} +\setbeamerfont{section title}{size=\Large,parent=title} + +\setbeamerfont{section in toc}{parent=structure} +\setbeamerfont{section in toc shaded}{parent=section in toc} +\setbeamerfont{section in head/foot}{} +\setbeamerfont{section in sidebar}{size=\tiny} +\setbeamerfont{section number projected}{size=\small,parent={section in toc,projected text}} + +\setbeamerfont{subsection name}{size=\large} +\setbeamerfont{subsection title}{size=\large,parent=title} + +\setbeamerfont{subsection in toc}{} +\setbeamerfont{subsection in toc shaded}{parent=subsection in toc} +\setbeamerfont{subsection in head/foot}{} +\setbeamerfont{subsection in sidebar}{} + +\setbeamerfont{subsubsection in toc}{size=\footnotesize} +\setbeamerfont{subsubsection in toc shaded}{parent=subsubsection in toc} +\setbeamerfont{subsubsection in head/foot}{} +\setbeamerfont{subsubsection in sidebar}{} + +\setbeamerfont{headline}{parent={tiny structure}} +\setbeamerfont{footline}{parent={tiny structure}} + +\setbeamerfont{sidebar}{size=\Tiny,parent={tiny structure}} +\setbeamerfont{sidebar left}{parent=sidebar} +\setbeamerfont{sidebar right}{parent=sidebar} + +\setbeamerfont{frametitle}{parent=structure,size=\Large} +\setbeamerfont{framesubtitle}{parent=frametitle,size=\footnotesize} + +\setbeamerfont{caption}{size=\small} +\setbeamerfont{caption name}{parent={structure,caption}} + +\setbeamerfont{button}{size=\tiny} + +\setbeamerfont{block body}{} +\setbeamerfont{block body alerted}{} +\setbeamerfont{block body example}{} +\setbeamerfont{block title}{size=\large,parent={structure,block body}} +\setbeamerfont{block title alerted}{parent={block title,alerted text}} +\setbeamerfont{block title example}{parent={block title,example text}} + +\setbeamerfont{item}{parent=structure} +\setbeamerfont{subitem}{parent=item} +\setbeamerfont{subsubitem}{parent=subitem} + +\setbeamerfont{item projected}{size=\tiny,parent={item,projected text}} +\setbeamerfont{subitem projected}{parent=item projected} +\setbeamerfont{subsubitem projected}{parent=subitem projected} + +\setbeamerfont{itemize item}{parent=item} +\setbeamerfont{itemize subitem}{parent=subitem} +\setbeamerfont{itemize subsubitem}{parent=subsubitem} + +\setbeamerfont{enumerate item}{parent=item} +\setbeamerfont{enumerate subitem}{parent=subitem} +\setbeamerfont{enumerate subsubitem}{parent=subsubitem} + +\setbeamerfont{itemize/enumerate body}{} +\setbeamerfont{itemize/enumerate subbody}{size=\small} +\setbeamerfont{itemize/enumerate subsubbody}{size=\footnotesize} + +\setbeamerfont{description item}{parent=item} + +\setbeamerfont{description body}{} + +\setbeamerfont{projected text}{parent={tiny structure}} + +\setbeamerfont{abstract}{size=\small} +\setbeamerfont{abstract title}{parent={abstract,structure},size=\normalsize} + +\setbeamerfont{verse}{family=\rmfamily,shape=\itshape} + +\setbeamerfont{quotation}{shape=\itshape} +\setbeamerfont{quote}{parent=quotation} + +\setbeamerfont{note page}{size=\small} +\setbeamerfont{note title}{parent=note page} +\setbeamerfont{note date}{size=\footnotesize} + +\mode +<all> diff --git a/macros/latex/contrib/beamer/base/themes/font/beamerfontthemeprofessionalfonts.sty b/macros/latex/contrib/beamer/base/themes/font/beamerfontthemeprofessionalfonts.sty new file mode 100644 index 0000000000..a71e7ce78f --- /dev/null +++ b/macros/latex/contrib/beamer/base/themes/font/beamerfontthemeprofessionalfonts.sty @@ -0,0 +1,12 @@ +% Copyright 2007 by Till Tantau +% Copyright 2015 by Vedran Mileti\'c, Joseph Wright +% +% This file may be distributed and/or modified +% +% 1. under the LaTeX Project Public License and/or +% 2. under the GNU Public License. +% +% See the file doc/licenses/LICENSE for more details. + +\mode<presentation>{\beamer@suppressreplacementstrue} + diff --git a/macros/latex/contrib/beamer/base/themes/font/beamerfontthemeserif.sty b/macros/latex/contrib/beamer/base/themes/font/beamerfontthemeserif.sty new file mode 100644 index 0000000000..7dedf1e437 --- /dev/null +++ b/macros/latex/contrib/beamer/base/themes/font/beamerfontthemeserif.sty @@ -0,0 +1,31 @@ +% Copyright 2007 by Till Tantau +% Copyright 2015 by Vedran Mileti\'c, Joseph Wright +% +% This file may be distributed and/or modified +% +% 1. under the LaTeX Project Public License and/or +% 2. under the GNU Public License. +% +% See the file doc/licenses/LICENSE for more details. + +\DeclareOptionBeamer{stillsansserifmath}[]{\def\mathfamilydefault{\sfdefault}\beamer@sansmathtrue} +\DeclareOptionBeamer{stillsansserifsmall}[]{\def\beamer@tsfont{\sffamily}} +\DeclareOptionBeamer{stillsansseriflarge}[]{\def\beamer@sfont{\sffamily}} +\DeclareOptionBeamer{stillsansseriftext}[]{\def\familydefault{\sfdefault}} + +\DeclareOptionBeamer{onlymath}[]{ + \def\beamer@tsfont{\sffamily} + \def\beamer@sfont{\sffamily} + \def\familydefault{\sfdefault} +} + +\def\beamer@tsfont{\rmfamily} +\def\beamer@sfont{\rmfamily} +\def\familydefault{\rmdefault} +\def\mathfamilydefault{\rmdefault} +\beamer@sansmathfalse + +\ProcessOptionsBeamer + +\setbeamerfont{tiny structure}{family=\beamer@tsfont} +\setbeamerfont{structure}{family=\beamer@sfont} diff --git a/macros/latex/contrib/beamer/base/themes/font/beamerfontthemestructurebold.sty b/macros/latex/contrib/beamer/base/themes/font/beamerfontthemestructurebold.sty new file mode 100644 index 0000000000..145094c925 --- /dev/null +++ b/macros/latex/contrib/beamer/base/themes/font/beamerfontthemestructurebold.sty @@ -0,0 +1,29 @@ +% Copyright 2007 by Till Tantau +% Copyright 2015 by Vedran Mileti\'c, Joseph Wright +% +% This file may be distributed and/or modified +% +% 1. under the LaTeX Project Public License and/or +% 2. under the GNU Public License. +% +% See the file doc/licenses/LICENSE for more details. + +\def\beamer@ftb@str{ + \setbeamerfont{structure}{series=\bfseries} + \setbeamerfont{block title}{size={}} +} +\def\beamer@ftb@tstr{\setbeamerfont{tiny structure}{series=\bfseries}} + +\DeclareOptionBeamer{onlysmall}{\let\beamer@ftb@str=\relax} +\DeclareOptionBeamer{onlylarge}{\let\beamer@ftb@tstr=\relax} + +\ProcessOptionsBeamer + +\mode<presentation> + +\beamer@ftb@str +\beamer@ftb@tstr + +\mode +<all> + diff --git a/macros/latex/contrib/beamer/base/themes/font/beamerfontthemestructureitalicserif.sty b/macros/latex/contrib/beamer/base/themes/font/beamerfontthemestructureitalicserif.sty new file mode 100644 index 0000000000..c64753f1a9 --- /dev/null +++ b/macros/latex/contrib/beamer/base/themes/font/beamerfontthemestructureitalicserif.sty @@ -0,0 +1,29 @@ +% Copyright 2007 by Till Tantau +% Copyright 2015 by Vedran Mileti\'c, Joseph Wright +% +% This file may be distributed and/or modified +% +% 1. under the LaTeX Project Public License and/or +% 2. under the GNU Public License. +% +% See the file doc/licenses/LICENSE for more details. + +\def\beamer@ftb@str{% + \setbeamerfont{structure}{shape=\itshape,family=\rmfamily} + \setbeamerfont{block title}{size={}} +} +\def\beamer@ftb@tstr{\setbeamerfont{tiny structure}{shape=\itshape,family=\rmfamily}} + +\DeclareOptionBeamer{onlysmall}{\let\beamer@ftb@str=\relax} +\DeclareOptionBeamer{onlylarge}{\let\beamer@ftb@tstr=\relax} + +\ProcessOptionsBeamer + +\mode<presentation> + +\beamer@ftb@str +\beamer@ftb@tstr + +\mode +<all> + diff --git a/macros/latex/contrib/beamer/base/themes/font/beamerfontthemestructuresmallcapsserif.sty b/macros/latex/contrib/beamer/base/themes/font/beamerfontthemestructuresmallcapsserif.sty new file mode 100644 index 0000000000..87ac2dd001 --- /dev/null +++ b/macros/latex/contrib/beamer/base/themes/font/beamerfontthemestructuresmallcapsserif.sty @@ -0,0 +1,30 @@ +% Copyright 2007 by Till Tantau +% Copyright 2015 by Vedran Mileti\'c, Joseph Wright +% +% This file may be distributed and/or modified +% +% 1. under the LaTeX Project Public License and/or +% 2. under the GNU Public License. +% +% See the file doc/licenses/LICENSE for more details. + +\def\beamer@ftb@str{ + \setbeamerfont{structure}{shape=\scshape,family=\rmfamily} + \setbeamerfont{section in toc}{size=\large} +} +\def\beamer@ftb@tstr{\setbeamerfont{tiny structure}{shape=\scshape,family=\rmfamily}} + +\DeclareOptionBeamer{onlysmall}{\let\beamer@ftb@str=\relax} +\DeclareOptionBeamer{onlylarge}{\let\beamer@ftb@tstr=\relax} + +\ProcessOptionsBeamer + +\mode<presentation> + +\beamer@ftb@str +\beamer@ftb@tstr + + +\mode +<all> + diff --git a/macros/latex/contrib/beamer/base/themes/inner/beamerinnerthemecircles.sty b/macros/latex/contrib/beamer/base/themes/inner/beamerinnerthemecircles.sty new file mode 100644 index 0000000000..822e949979 --- /dev/null +++ b/macros/latex/contrib/beamer/base/themes/inner/beamerinnerthemecircles.sty @@ -0,0 +1,17 @@ +% Copyright 2007 by Till Tantau +% Copyright 2015 by Vedran Mileti\'c, Joseph Wright +% +% This file may be distributed and/or modified +% +% 1. under the LaTeX Project Public License and/or +% 2. under the GNU Public License. +% +% See the file doc/licenses/LICENSE for more details. + +\mode<presentation> + +\setbeamertemplate{items}[circle] +\setbeamertemplate{sections/subsections in toc}[circle] + +\mode +<all> diff --git a/macros/latex/contrib/beamer/base/themes/inner/beamerinnerthemedefault.sty b/macros/latex/contrib/beamer/base/themes/inner/beamerinnerthemedefault.sty new file mode 100644 index 0000000000..6dd4455ecd --- /dev/null +++ b/macros/latex/contrib/beamer/base/themes/inner/beamerinnerthemedefault.sty @@ -0,0 +1,450 @@ +% Copyright 2007 by Till Tantau +% Copyright 2012--2015 by Vedran Mileti\'c, Joseph Wright +% Copyright 2017,2018 by Louis Stuart, Joseph Wright +% +% This file may be distributed and/or modified +% +% 1. under the LaTeX Project Public License and/or +% 2. under the GNU Public License. +% +% See the file doc/licenses/LICENSE for more details. + +\mode<presentation> + +% Some images: + +\pgfdeclareimage[width=14pt,height=12pt]{beamericonbook}{beamericonbook} +\pgfdeclareimage[width=14pt,height=12pt]{beamericonbookshaded}{beamericonbook.20} +\pgfaliasimage{beamericonbook.!20opaque}{beamericonbookshaded} +\pgfaliasimage{beamericonbook.!15opaque}{beamericonbookshaded} +\pgfaliasimage{beamericonbook.!10opaque}{beamericonbookshaded} +\pgfaliasimage{beamericonbook.!5opaque}{beamericonbookshaded} +\pgfaliasimage{beamericonbook.!2opaque}{beamericonbookshaded} +\pgfdeclareimage[width=11pt,height=14pt]{beamericonarticle}{beamericonarticle} +\pgfdeclareimage[width=11pt,height=14pt]{beamericonarticleshaded}{beamericonarticle.20} +\pgfaliasimage{beamericonarticle.!20opaque}{beamericonarticleshaded} +\pgfaliasimage{beamericonarticle.!15opaque}{beamericonarticleshaded} +\pgfaliasimage{beamericonarticle.!10opaque}{beamericonarticleshaded} +\pgfaliasimage{beamericonarticle.!5opaque}{beamericonarticleshaded} +\pgfaliasimage{beamericonarticle.!2opaque}{beamericonarticleshaded} +\pgfdeclareimage[width=14pt,height=14pt]{beamericononline}{beamericononline} +\pgfdeclareimage[width=14pt,height=14pt]{beamericononlineshaded}{beamericononline.20} +\pgfaliasimage{beamericononline.!20opaque}{beamericononlineshaded} +\pgfaliasimage{beamericononline.!15opaque}{beamericononlineshaded} +\pgfaliasimage{beamericononline.!10opaque}{beamericononlineshaded} +\pgfaliasimage{beamericononline.!5opaque}{beamericononlineshaded} +\pgfaliasimage{beamericononline.!2opaque}{beamericononlineshaded} + +% Title page: default + +\defbeamertemplate*{title page}{default}[1][] +{ + \vbox{} + \vfill + \begingroup + \centering + \begin{beamercolorbox}[sep=8pt,center,#1]{title} + \usebeamerfont{title}\inserttitle\par% + \ifx\insertsubtitle\@empty% + \else% + \vskip0.25em% + {\usebeamerfont{subtitle}\usebeamercolor[fg]{subtitle}\insertsubtitle\par}% + \fi% + \end{beamercolorbox}% + \vskip1em\par + \begin{beamercolorbox}[sep=8pt,center,#1]{author} + \usebeamerfont{author}\insertauthor + \end{beamercolorbox} + \begin{beamercolorbox}[sep=8pt,center,#1]{institute} + \usebeamerfont{institute}\insertinstitute + \end{beamercolorbox} + \begin{beamercolorbox}[sep=8pt,center,#1]{date} + \usebeamerfont{date}\insertdate + \end{beamercolorbox}\vskip0.5em + {\usebeamercolor[fg]{titlegraphic}\inserttitlegraphic\par} + \endgroup + \vfill +} + + +% Part page: default + +\defbeamertemplate*{part page}{default}[1][] +{ + \begingroup + \centering + {\usebeamerfont{part name}\usebeamercolor[fg]{part name}\partname~\insertromanpartnumber} + \vskip1em\par + \begin{beamercolorbox}[sep=16pt,center,#1]{part title} + \usebeamerfont{part title}\insertpart\par + \end{beamercolorbox} + \endgroup +} + + +% Section page: default + +\defbeamertemplate*{section page}{default}[1][] +{ + \begingroup + \centering + {\usebeamerfont{section name}\usebeamercolor[fg]{section name}\sectionname~\insertsectionnumber} + \vskip1em\par + \begin{beamercolorbox}[sep=12pt,center,#1]{section title} + \usebeamerfont{section title}\insertsection\par + \end{beamercolorbox} + \endgroup +} + +% Subection page: default + +\defbeamertemplate*{subsection page}{default}[1][] +{ + \begingroup + \centering + {\usebeamerfont{subsection name}\usebeamercolor[fg]{subsection name}\subsectionname~\insertsubsectionnumber} + \vskip1em\par + \begin{beamercolorbox}[sep=8pt,center,#1]{subsection title} + \usebeamerfont{subsection title}\insertsubsection\par + \end{beamercolorbox} + \endgroup +} + + + + +% +% Table of contents +% + +\defbeamertemplateparent{sections/subsections in toc}{section in toc,subsection in toc,subsubsection in toc} +{} + +\defbeamertemplateparent{sections/subsections in toc shaded}{section in toc shaded,subsection in toc shaded,subsubsection in toc shaded}[1][20] +{[#1]} + + + + +% (sub-)section in toc: default + +\defbeamertemplate*{section in toc}{default} +{\inserttocsection\par} + +\defbeamertemplate*{subsection in toc}{default} +{\leavevmode\leftskip=1.5em\inserttocsubsection\par} + +\defbeamertemplate*{subsubsection in toc}{default} +{\leavevmode\normalsize\usebeamerfont{subsection in toc}\leftskip=3em% + \usebeamerfont{subsubsection in toc}\inserttocsubsubsection\par} + + +% (sub-)section in toc shaded, default + +\defbeamertemplate*{section in toc shaded}{default}[1][20] +{\begin{colormixin}{#1!parent.bg}\usebeamertemplate{section in toc}\end{colormixin}\unskip} + +\defbeamertemplate*{subsection in toc shaded}{default}[1][20] +{\begin{colormixin}{#1!parent.bg}\usebeamertemplate{subsection in toc}\end{colormixin}\unskip} + +\defbeamertemplate*{subsubsection in toc shaded}{default}[1][20] +{\begin{colormixin}{#1!parent.bg}\usebeamertemplate{subsubsection in toc}\end{colormixin}\unskip} + + + + + +% +% Item +% + +\defbeamertemplateparent{items}{itemize items,enumerate items} +{} + + +% Itemize items + +\defbeamertemplateparent{itemize items}{itemize item,itemize subitem,itemize subsubitem} +{} + + +% Itemize items, default + +\defbeamertemplate*{itemize item}{default}{\usebeamerfont*{itemize item}\raise1.25pt\hbox{\donotcoloroutermaths$\blacktriangleright$}} +\defbeamertemplate*{itemize subitem}{default}{\usebeamerfont*{itemize subitem}\raise1.5pt\hbox{\donotcoloroutermaths$\blacktriangleright$}} +\defbeamertemplate*{itemize subsubitem}{default}{\usebeamerfont*{itemize subsubitem}\raise1.5pt\hbox{\donotcoloroutermaths$\blacktriangleright$}} + + +% Enumerate items, default + +\defbeamertemplateparent{enumerate items}{enumerate item,enumerate subitem,enumerate subsubitem,enumerate mini template} +{} + +\defbeamertemplate*{enumerate item}{default}{\insertenumlabel.} +\defbeamertemplate*{enumerate subitem}{default}{\insertenumlabel.\insertsubenumlabel} +\defbeamertemplate*{enumerate subsubitem}{default}{\insertenumlabel.\insertsubenumlabel.\insertsubsubenumlabel} +\defbeamertemplate*{enumerate mini template}{default}{\insertenumlabel} + + +% Description item, default + +\defbeamertemplate*{description item}{default}{\insertdescriptionitem} + + +% Itemize/Enumerate body + +\defbeamertemplate*{itemize/enumerate body begin}{default}{} +\defbeamertemplate*{itemize/enumerate body end}{default}{} + +\defbeamertemplate*{itemize/enumerate subbody begin}{default}{} +\defbeamertemplate*{itemize/enumerate subbody end}{default}{} + +\defbeamertemplate*{itemize/enumerate subsubbody begin}{default}{} +\defbeamertemplate*{itemize/enumerate subsubbody end}{default}{} + +% Description body + +\defbeamertemplate*{description body begin}{default}{} +\defbeamertemplate*{description body end}{default}{} + + +% Alerted text + +\defbeamertemplate*{alerted text begin}{default}{\setbeamercolor{local structure}{parent=alerted text}} + + + +% Structured text + +% empyt defaults + + +% Bibliography items + +\defbeamertemplate*{bibliography item}{default} +{\lower3.5pt\hbox{\hskip2pt\pgfuseimage{beamericonarticle}\hskip1pt}} + +\defbeamertemplate*{bibliography entry article}{default}{} +\defbeamertemplate*{bibliography entry title}{default}{\par} +\defbeamertemplate*{bibliography entry location}{default}{\par} +\defbeamertemplate*{bibliography entry note}{default}{\par} + + +% Buttons + +\newdimen\beamer@dima% +\newdimen\beamer@dimb% + +\defbeamertemplate*{button}{default} +{% + \setbox\beamer@tempbox=\hbox{{\insertbuttontext}}% + \ht\beamer@tempbox=6pt% + \dp\beamer@tempbox=0pt% + \setbox\beamer@tempbox=\vbox{\box\beamer@tempbox\vskip2pt}% + \beamer@tempdim=\wd\beamer@tempbox% + \beamer@dima=\beamer@tempdim\advance\beamer@dima by2.2pt + \beamer@dimb=\beamer@tempdim\advance\beamer@dimb by4pt + \begin{pgfpicture}{-4pt}{0pt}{\the\beamer@tempdim}{8pt} + \color{bg} + \pgfsetlinewidth{0.8pt} + \pgfpathqmoveto{0pt}{0pt} + \pgfpathqcurveto{-2.2pt}{0pt}{-4pt}{1.8pt}{-4pt}{4pt} + \pgfpathqcurveto{-4pt}{6.2pt}{-2.2pt}{8pt}{0pt}{8pt} + \pgfpathlineto{\pgfpoint{\the\beamer@tempdim}{8pt}} + \pgfpathcurveto% + {\pgfpoint{\the\beamer@dima}{8pt}}% + {\pgfpoint{\the\beamer@dimb}{6.2pt}}% + {\pgfpoint{\the\beamer@dimb}{4pt}} + \pgfpathcurveto% + {\pgfpoint{\the\beamer@dimb}{1.8pt}}% + {\pgfpoint{\the\beamer@dima}{0pt}}% + {\pgfpoint{\the\beamer@tempdim}{0pt}} + \pgfpathclose + \pgfusepathqfill + \colorlet{bg}{parent.bg} + \usebeamercolor[fg]{button border} + \pgfpathqmoveto{0pt}{0pt} + \pgfpathqcurveto{-2.2pt}{0pt}{-4pt}{1.8pt}{-4pt}{4pt} + \pgfpathqcurveto{-4pt}{6.2pt}{-2.2pt}{8pt}{0pt}{8pt} + \pgfpathlineto{\pgfpoint{\the\beamer@tempdim}{8pt}} + \pgfpathcurveto% + {\pgfpoint{\the\beamer@dima}{8pt}}% + {\pgfpoint{\the\beamer@dimb}{6.2pt}}% + {\pgfpoint{\the\beamer@dimb}{4pt}} + \pgfpathcurveto% + {\pgfpoint{\the\beamer@dimb}{1.8pt}}% + {\pgfpoint{\the\beamer@dima}{0pt}}% + {\pgfpoint{\the\beamer@tempdim}{0pt}} + \pgfpathclose + \pgfusepathqstroke + \end{pgfpicture}% + \hskip-\beamer@tempdim% + \box\beamer@tempbox% + \kern4pt% +} + + +% Abstract + +\defbeamertemplate*{abstract title}{default} +{% + \begin{center}% + \abstractname + \end{center}% +} + +\defbeamertemplate*{abstract begin}{default} +{\beamercolorbox[vmode]{abstract}\leftskip2em\rightskip2em plus 1fill\usebeamerfont*{abstract}} + +\defbeamertemplate*{abstract end}{default} +{\medskip\endbeamercolorbox} + + +% Verse + +\defbeamertemplate*{verse begin}{default} +{\beamercolorbox[vmode]{verse}} + +\defbeamertemplate*{verse end}{default} +{\endbeamercolorbox} + + +% Quotation + +\defbeamertemplate*{quotation begin}{default} +{\beamercolorbox[vmode]{quotation}} + +\defbeamertemplate*{quotation end}{default} +{\endbeamercolorbox} + + +% Quote + +\defbeamertemplate*{quote begin}{default} +{\beamercolorbox[vmode]{quote}} + +\defbeamertemplate*{quote end}{default} +{\endbeamercolorbox} + + +% Footnotes + +\defbeamertemplate*{footnote}{default} +{ + \parindent 1em\noindent% + \raggedright + \hbox to 1.8em{\hfil\insertfootnotemark}\insertfootnotetext\par% +} + + +% Captions + +\defbeamertemplate*{caption}{default} +{% + \raggedright + {% + \usebeamercolor[fg]{caption name}% + \usebeamerfont*{caption name}% + \insertcaptionname + \usebeamertemplate{caption label separator}% + }% + \insertcaption\par +} +\defbeamertemplate*{caption label separator}{default}{:\ } + +% Blocks + +\defbeamertemplateparent{blocks}{block begin,block end,% + block alerted begin,block alerted end,% + block example begin,block example end} +{} + +\defbeamertemplate*{block begin}{default} +{ + \par\vskip\medskipamount% + \begin{beamercolorbox}[colsep*=.75ex]{block title} + \usebeamerfont*{block title}\insertblocktitle% + \end{beamercolorbox}% + {\parskip0pt\par}% + \ifbeamercolorempty[bg]{block title} + {} + {\ifbeamercolorempty[bg]{block body}{}{\nointerlineskip\vskip-0.5pt}}% + \usebeamerfont{block body}% + \begin{beamercolorbox}[colsep*=.75ex,vmode]{block body}% + \ifbeamercolorempty[bg]{block body}{\vskip-.25ex}{\vskip-.75ex}\vbox{}% +} +\defbeamertemplate*{block end}{default} +{\end{beamercolorbox}\vskip\smallskipamount} + +\defbeamertemplate*{block alerted begin}{default} +{ + \par\vskip\medskipamount% + \begin{beamercolorbox}[colsep*=.75ex]{block title alerted} + \usebeamerfont*{block title alerted}\insertblocktitle% + \end{beamercolorbox}% + {\parskip0pt\par}% + \ifbeamercolorempty[bg]{block title alerted} + {} + {\ifbeamercolorempty[bg]{block body alerted}{}{\nointerlineskip\vskip-0.5pt}}% + \usebeamerfont{block body alerted}% + \begin{beamercolorbox}[colsep*=.75ex,vmode]{block body alerted}% + \ifbeamercolorempty[bg]{block body alerted}{\vskip-.25ex}{\vskip-.75ex}\vbox{}% +} + +\defbeamertemplate*{block alerted end}{default} +{\end{beamercolorbox}\vskip\smallskipamount} + + +\defbeamertemplate*{block example begin}{default} +{ + \par\vskip\medskipamount% + \begin{beamercolorbox}[colsep*=.75ex]{block title example} + \usebeamerfont*{block title example}\insertblocktitle% + \end{beamercolorbox}% + {\parskip0pt\par}% + \ifbeamercolorempty[bg]{block title example} + {} + {\ifbeamercolorempty[bg]{block body example}{}{\nointerlineskip\vskip-0.5pt}}% + \usebeamerfont{block body example}% + \begin{beamercolorbox}[colsep*=.75ex,vmode]{block body example}% + \ifbeamercolorempty[bg]{block body example}{\vskip-.25ex}{\vskip-.75ex}\vbox{}% +} +\defbeamertemplate*{block example end}{default} +{\end{beamercolorbox}\vskip\smallskipamount} + + + + +% Theorems + +\defbeamertemplateparent{theorems}{theorem begin,theorem end} +{} + +\defbeamertemplate*{theorem begin}{default} +{% + \begin{\inserttheoremblockenv} + {% + \inserttheoremname + \ifx\inserttheoremaddition\@empty\else\ (\inserttheoremaddition)\fi% + }% +} + +\defbeamertemplate*{theorem end}{default} +{\end{\inserttheoremblockenv}} + + +% Proofs +\defbeamertemplate*{proof begin}{default} +{\begin{block}{\insertproofname}} + +\defbeamertemplate*{proof end}{default} +{\end{block}} + +\defbeamertemplate*{qed symbol}{default} +{\openbox} + + + + +\mode +<all> diff --git a/macros/latex/contrib/beamer/base/themes/inner/beamerinnerthemeinmargin.sty b/macros/latex/contrib/beamer/base/themes/inner/beamerinnerthemeinmargin.sty new file mode 100644 index 0000000000..534d3cd9d7 --- /dev/null +++ b/macros/latex/contrib/beamer/base/themes/inner/beamerinnerthemeinmargin.sty @@ -0,0 +1,129 @@ +% Copyright 2007 by Till Tantau +% Copyright 2015 by Vedran Mileti\'c, Joseph Wright +% +% This file may be distributed and/or modified +% +% 1. under the LaTeX Project Public License and/or +% 2. under the GNU Public License. +% +% See the file doc/licenses/LICENSE for more details. + +\mode<presentation> + +\setbeamercolor*{sidebar}{parent=block title} +\setbeamercolor{local structure}{parent=sidebar} +\setbeamercolor{section in toc}{parent=sidebar} + +\setbeamercolor{button}{use=structure,bg=structure.fg!50!bg,fg=white} + +\setbeamercolor*{title}{parent=structure} + +\setbeamercolor{block title alerted}{use=sidebar,fg=sidebar.fg!25!red} +\setbeamercolor{block title example}{use=sidebar,fg=sidebar.fg!50!green} + +\setbeamersize{text margin left=1.5ex} +\setbeamersize{text margin right=1.5ex} +\setbeamersize{sidebar width left=.25\paperwidth} +\setlength\leftmargini{0pt} +\setlength\leftmarginii{1.5ex} +\setlength\leftmarginiii{1.5ex} + + +\newcommand\beamer@putleft[2]{% + \hbox to 0pt{\hss\vtop{% + \normalsize% + \@tempdima=\beamer@leftsidebar% + \advance\@tempdima by-3ex% + \hsize=\@tempdima% + \leftskip=0pt plus 1fill% + \rightskip=0pt\relax% + \leavevmode#1}\kern#2}% +} +\newenvironment{beamer@putright}{\vtop\bgroup\leavevmode}{\egroup} + +\defbeamertemplate*{section in toc}{inmargin} +{\beamer@putleft{\inserttocsection\strut}{2.5ex}} + +\defbeamertemplate*{subsection in toc}{inmargin} +{\leavevmode% + \inserttocsubsection\par\vskip.5ex} + +\defbeamertemplate*{subsubsection in toc}{inmargin} +{\leavevmode% + \inserttocsubsubsection\par\vskip.5ex} + + +\def\inserttitleindicator{} +\def\insertauthorindicator{Who?} +\def\insertinstituteindicator{From?} +\def\insertdateindicator{When?} + +\defbeamertemplate*{title page}{inmargin} +{ + \begin{block}{\inserttitleindicator} + \usebeamercolor[fg]{title}\usebeamerfont{title}\inserttitle\par + \usebeamercolor[fg]{subtitle}\usebeamerfont{subtitle}\insertsubtitle + \end{block} + \vfill + \ifx\insertauthor\@empty + \else + \begin{block}{\insertauthorindicator} + \usebeamercolor[fg]{author}\usebeamerfont{author}\insertauthor\par + \end{block} + \fi + \ifx\insertinstitute\@empty + \else + \begin{block}{\insertinstituteindicator} + \usebeamercolor[fg]{institute}\usebeamerfont{institute}\insertinstitute\par + \end{block} + \fi + \ifx\insertdate\@empty + \else + \begin{block}{\insertdateindicator} + \usebeamercolor[fg]{date}\usebeamerfont{date}\insertdate\par + \end{block} + \fi +} + +\defbeamertemplate*{block begin}{inmargin} +{ + \par\vskip\medskipamount% + \leavevmode% + \beamer@putleft{\normalfont{\usebeamercolor[fg]{block title}\usebeamerfont*{block title}\insertblocktitle}}{2.5ex}% + \beamer@putright\usebeamercolor[fg]{block body}% +} +\defbeamertemplate*{block end}{inmargin} +{\endbeamer@putright\vskip\smallskipamount} + +\defbeamertemplate*{block alerted begin}{inmargin} +{ + \par\vskip\medskipamount% + \leavevmode% + \beamer@putleft{\normalfont{\usebeamercolor[fg]{block title alerted}\usebeamerfont*{block title alerted}\insertblocktitle}}{2.5ex}% + \beamer@putright\usebeamercolor[fg]{block body alerted}% +} +\defbeamertemplate*{block alerted end}{inmargin} +{\endbeamer@putright\vskip\smallskipamount} + +\defbeamertemplate*{block example begin}{inmargin} +{ + \par\vskip\medskipamount% + \leavevmode% + \beamer@putleft{\normalfont{\usebeamercolor[fg]{block title example}\usebeamerfont*{block title example}\insertblocktitle}}{2.5ex}% + \beamer@putright\usebeamercolor[fg]{block body example}% +} +\defbeamertemplate*{block example end}{inmargin} +{\endbeamer@putright\vskip\smallskipamount} + +\AtBeginDocument +{ + \addtobeamertemplate{enumerate item}{\llap\bgroup}{\normalsize\kern1.5ex\egroup} + \addtobeamertemplate{enumerate subitem}{\llap\bgroup}{\normalsize\kern1.5ex\kern\leftmarginii\egroup} + \addtobeamertemplate{enumerate subsubitem}{\llap\bgroup}{\normalsize\kern1.5ex\kern\leftmarginii\kern\leftmarginiii\egroup} + \addtobeamertemplate{itemize item}{\llap\bgroup}{\normalsize\kern1.5ex\egroup} + \addtobeamertemplate{itemize subitem}{\llap\bgroup}{\normalsize\kern1.125ex\kern\leftmarginii\egroup} + \addtobeamertemplate{itemize subsubitem}{\llap\bgroup}{\small\kern0.75ex\kern\leftmarginii\kern\leftmarginiii\egroup} +} + +\mode +<all> diff --git a/macros/latex/contrib/beamer/base/themes/inner/beamerinnerthemerectangles.sty b/macros/latex/contrib/beamer/base/themes/inner/beamerinnerthemerectangles.sty new file mode 100644 index 0000000000..d0229307a8 --- /dev/null +++ b/macros/latex/contrib/beamer/base/themes/inner/beamerinnerthemerectangles.sty @@ -0,0 +1,16 @@ +% Copyright 2007 by Till Tantau +% Copyright 2015 by Vedran Mileti\'c, Joseph Wright +% +% This file may be distributed and/or modified +% +% 1. under the LaTeX Project Public License and/or +% 2. under the GNU Public License. +% +% See the file doc/licenses/LICENSE for more details. + +\mode<presentation> + +\setbeamertemplate{sections/subsections in toc}[square] +\setbeamertemplate{items}[square] + +\mode<all> diff --git a/macros/latex/contrib/beamer/base/themes/inner/beamerinnerthemerounded.sty b/macros/latex/contrib/beamer/base/themes/inner/beamerinnerthemerounded.sty new file mode 100644 index 0000000000..6d742fc12e --- /dev/null +++ b/macros/latex/contrib/beamer/base/themes/inner/beamerinnerthemerounded.sty @@ -0,0 +1,25 @@ +% Copyright 2007 by Till Tantau +% Copyright 2015 by Vedran Mileti\'c, Joseph Wright +% +% This file may be distributed and/or modified +% +% 1. under the LaTeX Project Public License and/or +% 2. under the GNU Public License. +% +% See the file doc/licenses/LICENSE for more details. + +\DeclareOptionBeamer{shadow}[true]{\def\beamer@themerounded@shadow{#1}} +\ExecuteOptionsBeamer{shadow=false} +\ProcessOptionsBeamer + +\mode<presentation> + +\setbeamertemplate{blocks}[rounded][shadow=\beamer@themerounded@shadow] +\setbeamertemplate{items}[ball] +\setbeamertemplate{sections/subsections in toc}[ball] +\setbeamertemplate{title page}[default][colsep=-4bp,rounded=true,shadow=\beamer@themerounded@shadow] +\setbeamertemplate{part page}[default][colsep=-4bp,rounded=true,shadow=\beamer@themerounded@shadow] +\setbeamertemplate{section page}[default][colsep=-4bp,rounded=true,shadow=\beamer@themerounded@shadow] +\setbeamertemplate{subsection page}[default][colsep=-4bp,rounded=true,shadow=\beamer@themerounded@shadow] + +\mode<all> diff --git a/macros/latex/contrib/beamer/base/themes/outer/beamerouterthemedefault.sty b/macros/latex/contrib/beamer/base/themes/outer/beamerouterthemedefault.sty new file mode 100644 index 0000000000..cd7537d36c --- /dev/null +++ b/macros/latex/contrib/beamer/base/themes/outer/beamerouterthemedefault.sty @@ -0,0 +1,237 @@ +% Copyright 2007 by Till Tantau +% Copyright 2012,2015 by Vedran Mileti\'c, Joseph Wright +% Copyright 2017,2018 by Louis Stuart, Joseph Wright +% +% This file may be distributed and/or modified +% +% 1. under the LaTeX Project Public License and/or +% 2. under the GNU Public License. +% +% See the file doc/licenses/LICENSE for more details. + +\mode<presentation> + + +% Mini frames + +\defbeamertemplateparent{mini frames} + {mini frame,mini frame in current section,mini frame in current subsection} +{} + +\defbeamertemplate*{mini frame}{default} +{% + \begin{pgfpicture}{0pt}{0pt}{0.1cm}{0.1cm} + \pgfpathcircle{\pgfpoint{0.05cm}{0.05cm}}{0.05cm} + \pgfusepath{fill,stroke} + \end{pgfpicture}% +} +[action] +{ + \setbeamersize{mini frame size=.14cm,mini frame offset=.03cm} +} + +\defbeamertemplate*{mini frame in current section}{default} +{% + \begin{pgfpicture}{0pt}{0pt}{0.1cm}{0.1cm} + \pgfpathcircle{\pgfpoint{0.05cm}{0.05cm}}{0.05cm} + \pgfusepath{stroke} + \end{pgfpicture}% +} + +\defbeamertemplate*{mini frame in current subsection}{default} +{% + \begin{pgfpicture}{0pt}{0pt}{0.1cm}{0.1cm} + \pgfpathcircle{\pgfpoint{0.05cm}{0.05cm}}{0.05cm} + \pgfusepath{stroke} + \end{pgfpicture}% +} + +\defbeamertemplate*{mini frame in other section}{default}[1][50] +{\color{fg!#1!bg}\usebeamertemplate{mini frame in current section}} +\defbeamertemplate*{mini frame in other subsection}{default}[1][50] +{\color{fg!#1!bg}\usebeamertemplate{mini frame in current subsection}} + + + + +% Navigation symbols + +\defbeamertemplate*{navigation symbols}{default} +{% + \hbox{% + \hbox{\insertslidenavigationsymbol} + \hbox{\insertframenavigationsymbol} + \hbox{\insertsubsectionnavigationsymbol} + \hbox{\insertsectionnavigationsymbol} + \hbox{\insertdocnavigationsymbol} + \hbox{\insertbackfindforwardnavigationsymbol}% + }% +} + +% No navigation symbols in handout or trans mode: +\only<handout| trans>{\setbeamertemplate{navigation symbols}{}} + + + +% Section and subsections in head/foot + +\defbeamertemplate*{section in head/foot}{default} +{\insertsectionhead} + +\defbeamertemplate*{section in head/foot shaded}{default}[1][50] +{\color{fg!#1!bg}\usebeamertemplate{section in head/foot}} + +\defbeamertemplate*{subsection in head/foot}{default} +{\insertsubsectionhead} + +\defbeamertemplate*{subsection in head/foot shaded}{default}[1][50] +{\color{fg!#1!bg}\usebeamertemplate{subsection in head/foot}} + +\defbeamertemplate*{subsubsection in head/foot}{default} +{\insertsubsubsectionhead} + +\defbeamertemplate*{subsubsection in head/foot shaded}{default}[1][50] +{\color{fg!#1!bg}\usebeamertemplate{subsubsection in head/foot}} + + +% Page numbers in head/foot +\defbeamertemplate*{page number in head/foot}{default} +{} + +% Headline and footline + +\defbeamertemplate*{headline}{default} +{} + +\defbeamertemplate*{footline}{default} +{} + + +% background + +\defbeamertemplate*{background}{default} +{} + +\defbeamertemplate*{background canvas}{default} +{% + \ifbeamercolorempty[bg]{background canvas}{}{\color{bg}\vrule width\paperwidth height\paperheight}% +} + + +% Sidebar + +\defbeamertemplate*{sidebar left}{default} +{} + +\defbeamertemplate*{sidebar right}{default} +{ + \vfill% + \llap{\insertlogo\hskip0.1cm}% + \vskip2pt% + \llap{\usebeamertemplate***{navigation symbols}\hskip0.1cm}% + \vskip2pt% +} + +\defbeamertemplate*{sidebar canvas left}{default} +{% + \ifbeamercolorempty[bg]{sidebar left}{} + {\color{bg}\vrule height\sidebarheight width\beamer@leftsidebar}% +} + +\defbeamertemplate*{sidebar canvas right}{default} +{% + \ifbeamercolorempty[bg]{sidebar right}{} + {\color{bg}\vrule height\sidebarheight width\beamer@rightsidebar}% +} + + + +% Frame title: default + +\defbeamertemplate*{frametitle}{default}[1][left] +{% + \ifbeamercolorempty[bg]{frametitle}{}{\nointerlineskip}% + \@tempdima=\textwidth% + \advance\@tempdima by\beamer@leftmargin% + \advance\@tempdima by\beamer@rightmargin% + \begin{beamercolorbox}[sep=0.3cm,#1,wd=\the\@tempdima]{frametitle} + \usebeamerfont{frametitle}% + \vbox{}\vskip-1ex% + \if@tempswa\else\csname beamer@fte#1\endcsname\fi% + \strut\insertframetitle\par% + {% + \ifx\insertframesubtitle\@empty% + \else% + {\usebeamerfont{framesubtitle}\usebeamercolor[fg]{framesubtitle}\strut\insertframesubtitle\par}% + \fi + }% + \vskip-1ex% + \if@tempswa\else\vskip-.3cm\fi% set inside beamercolorbox... evil here... + \end{beamercolorbox}% +} + +\def\beamer@fteright{\vskip0.35cm\advance\leftskip by 1.7cm\advance\rightskip by1.7cm} + + +% Frame title continuations, default + +\defbeamertemplate*{frametitle continuation}{default}{\insertcontinuationcountroman} + + + +% Notes + +\defbeamertemplate*{note page}{default} +{% + {% + \scriptsize + \usebeamerfont{note title}\usebeamercolor[fg]{note title}% + \ifbeamercolorempty[bg]{note title}{}{% + \insertvrule{.25\paperheight}{note title.bg}% + \vskip-.25\paperheight% + \nointerlineskip% + }% + \vbox{ + \hfill\insertslideintonotes{0.25}\hskip-\Gm@rmargin\hskip0pt% + \vskip-0.25\paperheight% + \nointerlineskip + \begin{pgfpicture}{0cm}{0cm}{0cm}{0cm} + \begin{pgflowlevelscope}{\pgftransformrotate{90}} + {\pgftransformshift{\pgfpoint{-2cm}{0.2cm}}% + \pgftext[base,left]{\usebeamerfont{note date}\usebeamercolor[fg]{note date}\the\year-\ifnum\month<10\relax0\fi\the\month-\ifnum\day<10\relax0\fi\the\day}} + \end{pgflowlevelscope} + \end{pgfpicture}} + \nointerlineskip + \vbox to .25\paperheight{\vskip0.5em + \hbox{\insertshorttitle[width=0.75\textwidth]}% + \setbox\beamer@tempbox=\hbox{\insertsection}% + \hbox{\ifdim\wd\beamer@tempbox>1pt{\hskip4pt\raise3pt\hbox{\vrule + width0.4pt height7pt\vrule width 9pt + height0.4pt}}\hskip1pt\hbox{\begin{minipage}[t]{0.71\textwidth}\def\breakhere{}\insertsection\end{minipage}}\fi% + }% + \setbox\beamer@tempbox=\hbox{\insertsubsection}% + \hbox{\ifdim\wd\beamer@tempbox>1pt{\hskip17.4pt\raise3pt\hbox{\vrule + width0.4pt height7pt\vrule width 9pt + height0.4pt}}\hskip1pt\hbox{\begin{minipage}[t]{0.71\textwidth}\def\breakhere{}\insertsubsection\end{minipage}}\fi% + }% + \setbox\beamer@tempbox=\hbox{\insertshortframetitle}% + \hbox{\ifdim\wd\beamer@tempbox>1pt{\hskip30.8pt\raise3pt\hbox{\vrule + width0.4pt height7pt\vrule width 9pt + height0.4pt}}\hskip1pt\hbox{\insertshortframetitle[width=0.67\textwidth]}\fi% + }% + \vfil}% + }% + \ifbeamercolorempty[bg]{note page}{}{% + \nointerlineskip% + \insertvrule{.75\paperheight}{note page.bg}% + \vskip-.75\paperheight% + }% + \vskip.25em + \nointerlineskip + \insertnote +} + + + +\mode +<all> diff --git a/macros/latex/contrib/beamer/base/themes/outer/beamerouterthemeinfolines.sty b/macros/latex/contrib/beamer/base/themes/outer/beamerouterthemeinfolines.sty new file mode 100644 index 0000000000..e7bae70936 --- /dev/null +++ b/macros/latex/contrib/beamer/base/themes/outer/beamerouterthemeinfolines.sty @@ -0,0 +1,56 @@ +% Copyright 2007 by Till Tantau +% Copyright 2012,2015 by Vedran Mileti\'c, Joseph Wright +% Copyright 2017,2018 by Louis Stuart, Joseph Wright +% +% This file may be distributed and/or modified +% +% 1. under the LaTeX Project Public License and/or +% 2. under the GNU Public License. +% +% See the file doc/licenses/LICENSE for more details. + +\mode<presentation> + +\setbeamercolor*{author in head/foot}{parent=palette tertiary} +\setbeamercolor*{title in head/foot}{parent=palette secondary} +\setbeamercolor*{date in head/foot}{parent=palette primary} + +\setbeamercolor*{section in head/foot}{parent=palette tertiary} +\setbeamercolor*{subsection in head/foot}{parent=palette primary} + +\setbeamertemplate{page number in head/foot}[totalframenumber]% + +\defbeamertemplate*{footline}{infolines theme} +{% + \leavevmode% + \hbox{% + \begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,center]{author in head/foot}% + \usebeamerfont{author in head/foot}\insertshortauthor\expandafter\ifblank\expandafter{\beamer@shortinstitute}{}{~~(\insertshortinstitute)} + \end{beamercolorbox}% + \begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,center]{title in head/foot}% + \usebeamerfont{title in head/foot}\insertshorttitle + \end{beamercolorbox}% + \begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,right]{date in head/foot}% + \usebeamerfont{date in head/foot}\insertshortdate{}\hspace*{2em} + \usebeamercolor[fg]{page number in head/foot}\usebeamerfont{page number in head/foot}\usebeamertemplate{page number in head/foot}\hspace*{2ex} + \end{beamercolorbox}}% + \vskip0pt% +} + +\defbeamertemplate*{headline}{infolines theme} +{% + \leavevmode% + \hbox{% + \begin{beamercolorbox}[wd=.5\paperwidth,ht=2.65ex,dp=1.5ex,right]{section in head/foot}% + \usebeamerfont{section in head/foot}\insertsectionhead\hspace*{2ex} + \end{beamercolorbox}% + \begin{beamercolorbox}[wd=.5\paperwidth,ht=2.65ex,dp=1.5ex,left]{subsection in head/foot}% + \usebeamerfont{subsection in head/foot}\hspace*{2ex}\insertsubsectionhead + \end{beamercolorbox}}% + \vskip0pt% +} + +\setbeamersize{text margin left=1em,text margin right=1em} + +\mode +<all> diff --git a/macros/latex/contrib/beamer/base/themes/outer/beamerouterthememiniframes.sty b/macros/latex/contrib/beamer/base/themes/outer/beamerouterthememiniframes.sty new file mode 100644 index 0000000000..b4a9717a5b --- /dev/null +++ b/macros/latex/contrib/beamer/base/themes/outer/beamerouterthememiniframes.sty @@ -0,0 +1,123 @@ +% Copyright 2007 by Till Tantau +% Copyright 2015 by Vedran Mileti\'c, Joseph Wright +% +% This file may be distributed and/or modified +% +% 1. under the LaTeX Project Public License and/or +% 2. under the GNU Public License. +% +% See the file doc/licenses/LICENSE for more details. + +\setbeamercolor{section in head/foot}{parent=palette tertiary} +\setbeamercolor{subsection in head/foot}{parent=palette secondary} +\setbeamercolor{author in head/foot}{parent=subsection in head/foot} +\setbeamercolor{title in head/foot}{parent=section in head/foot} + + +\def\beamer@theme@footline@empty{} +\def\beamer@theme@footline@authorinstitute{ + \defbeamertemplate*{footline}{miniframes theme} + {% + \begin{beamercolorbox}[colsep=1.5pt]{upper separation line foot} + \end{beamercolorbox} + \begin{beamercolorbox}[ht=2.5ex,dp=1.125ex,% + leftskip=.3cm,rightskip=.3cm plus1fil]{author in head/foot}% + \leavevmode{\usebeamerfont{author in head/foot}\insertshortauthor}% + \hfill% + {\usebeamerfont{institute in head/foot}\usebeamercolor[fg]{institute in head/foot}\insertshortinstitute% + \ifbeamertemplateempty{page number in head/foot}{}{\qquad}% + \usebeamercolor[fg]{page number in head/foot}\usebeamerfont{page number in head/foot}\usebeamertemplate{page number in head/foot}% + }% + \end{beamercolorbox}% + \begin{beamercolorbox}[colsep=1.5pt]{lower separation line foot} + \end{beamercolorbox} + } +} +\def\beamer@theme@footline@authortitle{ + \defbeamertemplate*{footline}{miniframes theme} + {% + \begin{beamercolorbox}[colsep=1.5pt]{upper separation line foot} + \end{beamercolorbox} + \begin{beamercolorbox}[ht=2.5ex,dp=1.125ex,% + leftskip=.3cm,rightskip=.3cm plus1fil]{title in head/foot}% + \leavevmode{\usebeamerfont{title in head/foot}\insertshorttitle}% + \hfill% + {\usebeamerfont{author in head/foot}\usebeamercolor[fg]{author in head/foot}\insertshortauthor% + \ifbeamertemplateempty{page number in head/foot}{}{\qquad}% + \usebeamercolor[fg]{page number in head/foot}\usebeamerfont{page number in head/foot}\usebeamertemplate{page number in head/foot}% + }% + \end{beamercolorbox}% + \begin{beamercolorbox}[colsep=1.5pt]{lower separation line foot} + \end{beamercolorbox} + } +} +\def\beamer@theme@footline@institutetitle{ + \defbeamertemplate*{footline}{miniframes theme} + {% + \begin{beamercolorbox}[colsep=1.5pt]{upper separation line foot} + \end{beamercolorbox} + \begin{beamercolorbox}[ht=2.5ex,dp=1.125ex,% + leftskip=.3cm,rightskip=.3cm plus1fil]{title in head/foot}% + \leavevmode{\usebeamerfont{title in head/foot}\insertshorttitle}% + \hfill% + {\usebeamerfont{institute in head/foot}\usebeamercolor[fg]{institute in head/foot}\insertshortinstitute% + \ifbeamertemplateempty{page number in head/foot}{}{\qquad}% + \usebeamercolor[fg]{page number in head/foot}\usebeamerfont{page number in head/foot}\usebeamertemplate{page number in head/foot}% + }% + \end{beamercolorbox}% + \begin{beamercolorbox}[colsep=1.5pt]{lower separation line foot} + \end{beamercolorbox} + } +} +\def\beamer@theme@footline@authorinstitutetitle{ + \defbeamertemplate*{footline}{miniframes theme} + {% + \begin{beamercolorbox}[colsep=1.5pt]{upper separation line foot} + \end{beamercolorbox} + \begin{beamercolorbox}[ht=2.5ex,dp=1.125ex,% + leftskip=.3cm,rightskip=.3cm plus1fil]{author in head/foot}% + \leavevmode{\usebeamerfont{author in head/foot}\insertshortauthor}% + \hfill% + {\usebeamerfont{institute in head/foot}\usebeamercolor[fg]{institute in head/foot}\insertshortinstitute}% + \end{beamercolorbox}% + \begin{beamercolorbox}[ht=2.5ex,dp=1.125ex,% + leftskip=.3cm,rightskip=.3cm plus1fil]{title in head/foot}% + {\usebeamerfont{title in head/foot}\insertshorttitle}\hfill{\usebeamercolor[fg]{page number in head/foot}\usebeamerfont{page number in head/foot}\usebeamertemplate{page number in head/foot}}% + \end{beamercolorbox}% + \begin{beamercolorbox}[colsep=1.5pt]{lower separation line foot} + \end{beamercolorbox} + } +} + +\newif\ifbeamer@theme@subsection +\beamer@theme@subsectiontrue + +\DeclareOptionBeamer{footline}{\csname beamer@theme@footline@#1\endcsname} +\DeclareOptionBeamer{subsection}[true]{\csname beamer@theme@subsection#1\endcsname} +\ProcessOptionsBeamer + + +\mode<presentation> + + % Head +\defbeamertemplate*{headline}{miniframes theme} +{% + \begin{beamercolorbox}[colsep=1.5pt]{upper separation line head} + \end{beamercolorbox} + \begin{beamercolorbox}{section in head/foot} + \vskip2pt\insertnavigation{\paperwidth}\vskip2pt + \end{beamercolorbox}% + \ifbeamer@theme@subsection% + \begin{beamercolorbox}[colsep=1.5pt]{middle separation line head} + \end{beamercolorbox} + \begin{beamercolorbox}[ht=2.5ex,dp=1.125ex,% + leftskip=.3cm,rightskip=.3cm plus1fil]{subsection in head/foot} + \usebeamerfont{subsection in head/foot}\insertsubsectionhead + \end{beamercolorbox}% + \fi% + \begin{beamercolorbox}[colsep=1.5pt]{lower separation line head} + \end{beamercolorbox} +} + +\mode +<all> diff --git a/macros/latex/contrib/beamer/base/themes/outer/beamerouterthemeshadow.sty b/macros/latex/contrib/beamer/base/themes/outer/beamerouterthemeshadow.sty new file mode 100644 index 0000000000..f76955cbf9 --- /dev/null +++ b/macros/latex/contrib/beamer/base/themes/outer/beamerouterthemeshadow.sty @@ -0,0 +1,83 @@ +% Copyright 2007 by Till Tantau +% Copyright 2015 by Vedran Mileti\'c, Joseph Wright +% +% This file may be distributed and/or modified +% +% 1. under the LaTeX Project Public License and/or +% 2. under the GNU Public License. +% +% See the file doc/licenses/LICENSE for more details. + +\mode<presentation> + +\useoutertheme{split} + + +\setbeamercolor{frametitle}{parent=subsection in head/foot} +\setbeamercolor{frametitle right}{parent=section in head/foot} + + +\pgfdeclarehorizontalshading[frametitle.bg,frametitle right.bg]{beamer@frametitleshade}{\paperheight}{% + color(0pt)=(frametitle.bg); + color(\paperwidth)=(frametitle right.bg)} + +\AtBeginDocument{ + \pgfdeclareverticalshading{beamer@topshade}{\paperwidth}{% + color(0pt)=(bg); + color(4pt)=(black!50!bg)} +} + +\addtobeamertemplate{headline} +{} +{% + \vskip-0.2pt + \pgfuseshading{beamer@topshade} + \vskip-2pt +} + + +\defbeamertemplate*{frametitle}{shadow theme} +{% + \nointerlineskip% + \vskip-2pt% + \hbox{\leavevmode + \advance\beamer@leftmargin by -12bp% + \advance\beamer@rightmargin by -12bp% + \beamer@tempdim=\textwidth% + \advance\beamer@tempdim by \beamer@leftmargin% + \advance\beamer@tempdim by \beamer@rightmargin% + \hskip-\Gm@lmargin\hbox{% + \setbox\beamer@tempbox=\hbox{\begin{minipage}[b]{\paperwidth}% + \vbox{}\vskip-.75ex% + \leftskip0.3cm% + \rightskip0.3cm plus1fil\leavevmode + \usebeamercolor[fg]{frametitle}\usebeamerfont{frametitle}\strut\insertframetitle\par% + \ifx\insertframesubtitle\@empty\else% + {\usebeamerfont*{framesubtitle}{\usebeamercolor[fg]{framesubtitle}\insertframesubtitle}\strut\par}% + \fi% + \nointerlineskip + \vbox{}% + \end{minipage}}% + \beamer@tempdim=\ht\beamer@tempbox% + \advance\beamer@tempdim by 2pt% + \begin{pgfpicture}{0pt}{0pt}{\paperwidth}{\beamer@tempdim} + \usebeamercolor{frametitle right} + \pgfpathrectangle{\pgfpointorigin}{\pgfpoint{\paperwidth}{\beamer@tempdim}} + \pgfusepath{clip} + \pgftext[left,base]{\pgfuseshading{beamer@frametitleshade}} + \end{pgfpicture} + \hskip-\paperwidth% + \box\beamer@tempbox% + }% + \hskip-\Gm@rmargin% + }% + \nointerlineskip + \vskip-0.2pt + \hbox to\textwidth{\hskip-\Gm@lmargin\pgfuseshading{beamer@topshade}\hskip-\Gm@rmargin} + \vskip-2pt +} + + + +\mode +<all> diff --git a/macros/latex/contrib/beamer/base/themes/outer/beamerouterthemesidebar.sty b/macros/latex/contrib/beamer/base/themes/outer/beamerouterthemesidebar.sty new file mode 100644 index 0000000000..001c21be9a --- /dev/null +++ b/macros/latex/contrib/beamer/base/themes/outer/beamerouterthemesidebar.sty @@ -0,0 +1,176 @@ +% Copyright 2007 by Till Tantau +% Copyright 2015 by Vedran Mileti\'c, Joseph Wright +% Copyright 2017,2018 by Louis Stuart, Joseph Wright +% +% This file may be distributed and/or modified +% +% 1. under the LaTeX Project Public License and/or +% 2. under the GNU Public License. +% +% See the file doc/licenses/LICENSE for more details. + +\newdimen\beamer@sidebarwidth +\newdimen\beamer@headheight +\usebeamerfont{frametitle} +\beamer@sidebarwidth=2.5\baselineskip +\beamer@headheight=2.5\baselineskip +\reset@font + +\def\beamer@lefttext{left} + +\DeclareOptionBeamer{hideothersubsections}[]{\beamer@nav@subsectionstyle{show/show/hide}} +\DeclareOptionBeamer{hideallsubsections}[]{\beamer@nav@subsectionstyle{hide}} + +\DeclareOptionBeamer{width}{\beamer@sidebarwidth=#1} +\DeclareOptionBeamer{height}{\beamer@headheight=#1} +\DeclareOptionBeamer{left}{\def\beamer@sidebarside{left}} +\DeclareOptionBeamer{right}{\def\beamer@sidebarside{right}} +\ExecuteOptionsBeamer{left} +\ProcessOptionsBeamer + + +\mode<presentation> + +\ifdim\beamer@headheight>0pt +% if head height is 0pt, use default frame title + + \setbeamercolor*{frametitle}{parent=sidebar} + + \defbeamertemplate*{frametitle}{sidebar theme} + {% + \nointerlineskip% + \ifbeamer@plainframe% + \hbox{\usebeamercolor[bg]{frametitle}% + \@tempdima\paperwidth\advance\@tempdima-\beamer@sidebarwidth + \hskip-\beamer@leftmargin\vrule height\beamer@headheight width\@tempdima\hskip-\beamer@rightmargin}% + \nointerlineskip% + \fi% + \vskip-\beamer@headheight% + \vbox to \beamer@headheight{% + \vfil + \leftskip=-\beamer@leftmargin% + \advance\leftskip by0.3cm% + \rightskip=-\beamer@rightmargin% + \advance\rightskip by0.3cm plus1fil% + {\usebeamercolor[fg]{frametitle}\usebeamerfont{frametitle}\strut\insertframetitle\par}% + \ifx\insertframesubtitle\@empty\else% + {\usebeamercolor[fg]{framesubtitle}\usebeamerfont{framesubtitle}\strut\insertframesubtitle\par}% + \fi% + \vbox{}% + \vskip-1em% + \vfil + }% + } + + \defbeamertemplate*{headline}{sidebar theme} + {% + \begin{beamercolorbox}[wd=\paperwidth]{frametitle} + \ifx\beamer@sidebarside\beamer@lefttext% + \else% + \hfill% + \fi% + \ifdim\beamer@sidebarwidth>0pt% + \usebeamercolor[bg]{logo}% + \vrule width\beamer@sidebarwidth height \beamer@headheight% + \hskip-\beamer@sidebarwidth% + \hbox to \beamer@sidebarwidth{\hss\vbox to + \beamer@headheight{\vss\hbox{\color{fg}\insertlogo}\vss}\hss}% + \else% + \vrule width0pt height \beamer@headheight% + \fi% + \end{beamercolorbox} + } +\fi + + +\def\beamer@sidebarformat#1#2#3{% + \begin{beamercolorbox}[wd=\beamer@sidebarwidth,leftskip=#1,rightskip=1ex plus1fil,vmode]{#2} + \vbox{}% + #3\par% + \vbox{}% + \vskip-1.5ex% + \end{beamercolorbox} +} + +\defbeamertemplate*{section in sidebar}{sidebar theme} +{% + \vbox{% + \vskip1ex% + \beamer@sidebarformat{3pt}{section in sidebar}{\insertsectionhead}% + }% +} + +\defbeamertemplate*{section in sidebar shaded}{sidebar theme} +{% + \vbox{% + \vskip1ex% + \beamer@sidebarformat{3pt}{section in sidebar shaded}{\insertsectionhead}% + }% +} + +\defbeamertemplate*{subsection in sidebar}{sidebar theme} +{% + \beamer@sidebarformat{5pt}{subsection in sidebar}{\insertsubsectionhead}% +} + +\defbeamertemplate*{subsection in sidebar shaded}{sidebar theme} +{% + \beamer@sidebarformat{5pt}{subsection in sidebar shaded}{\insertsubsectionhead}% +} + +\defbeamertemplate*{subsubsection in sidebar}{sidebar theme} +{% + \beamer@sidebarformat{7pt}{subsubsection in sidebar}{\insertsubsubsectionhead}% +} + +\defbeamertemplate*{subsubsection in sidebar shaded}{sidebar theme} +{% + \beamer@sidebarformat{7pt}{subsubsection in sidebar shaded}{\insertsubsubsectionhead}% +} + + +\ifdim\beamer@sidebarwidth>0pt + + % Sidebar + \setbeamersize{sidebar width \beamer@sidebarside=\beamer@sidebarwidth} + \defbeamertemplate*{sidebar \beamer@sidebarside}{sidebar theme} + { + \beamer@tempdim=\beamer@sidebarwidth% + \advance\beamer@tempdim by -6pt% + {\usebeamerfont{title in sidebar}% + \vskip1.5em% + \hskip3pt% + \usebeamercolor[fg]{title in sidebar}% + \insertshorttitle[width=\beamer@tempdim,center,respectlinebreaks]\par% + \vskip1.25em% + }% + {% + \hskip3pt% + \usebeamercolor[fg]{author in sidebar}% + \usebeamerfont{author in sidebar}% + \insertshortauthor[width=\beamer@tempdim,center,respectlinebreaks]\par% + \vskip1.25em% + }% + \insertverticalnavigation{\beamer@sidebarwidth}% + \vfill + \ifx\beamer@sidebarside\beamer@lefttext% + \else% + \usebeamercolor{normal text}% + \llap{\usebeamertemplate***{navigation symbols}\hskip0.1cm}% + \vskip2pt% + \fi% + }% + + \ifx\beamer@sidebarside\beamer@lefttext% + \defbeamertemplate*{sidebar right}{sidebar theme} + {% + \vfill% + \llap{\usebeamertemplate***{navigation symbols}\hskip0.1cm}% + \vskip2pt} + \fi + % Margins + \setbeamersize{text margin left=0.5cm,text margin right=0.5cm} +\fi + +\mode +<all> diff --git a/macros/latex/contrib/beamer/base/themes/outer/beamerouterthemesmoothbars.sty b/macros/latex/contrib/beamer/base/themes/outer/beamerouterthemesmoothbars.sty new file mode 100644 index 0000000000..36d1622e23 --- /dev/null +++ b/macros/latex/contrib/beamer/base/themes/outer/beamerouterthemesmoothbars.sty @@ -0,0 +1,117 @@ +% Copyright 2007 by Till Tantau +% Copyright 2015 by Vedran Mileti\'c, Joseph Wright +% +% This file may be distributed and/or modified +% +% 1. under the LaTeX Project Public License and/or +% 2. under the GNU Public License. +% +% See the file doc/licenses/LICENSE for more details. + +\newif\ifbeamer@sb@subsection + +\DeclareOptionBeamer{subsection}[true]{\csname beamer@sb@subsection#1\endcsname} +\ExecuteOptionsBeamer{subsection=true} +\ProcessOptionsBeamer + + + +\mode<presentation> + +\setbeamercolor{frametitle}{parent=palette primary} +\setbeamercolor{subsection in head/foot}{parent=palette secondary} +\setbeamercolor{section in head/foot}{parent=palette quaternary} + + +\beamer@compresstrue + +\AtBeginDocument{ + { + \usebeamerfont*{headline} + \colorlet{global.bg}{bg} + \usebeamercolor{subsection in head/foot} + \usebeamercolor{section in head/foot} + \usebeamercolor{frametitle} + + \ifbeamer@sb@subsection + \pgfdeclareverticalshading{beamer@barshade}{\the\paperwidth}{% + color(0ex)=(global.bg);% + color(1ex)=(subsection in head/foot.bg);% + color(3.25ex)=(subsection in head/foot.bg);% + color(4.25ex)=(section in head/foot.bg);% + color(9.75ex)=(section in head/foot.bg)% + } + \pgfdeclareverticalshading{beamer@aboveframetitle}{\the\paperwidth}{% + color(0ex)=(frametitle.bg);% + color(1ex)=(frametitle.bg);% + color(2ex)=(subsection in head/foot.bg) + } + \else + \pgfdeclareverticalshading{beamer@barshade}{\the\paperwidth}{% + color(0ex)=(global.bg);% + color(1ex)=(section in head/foot.bg);% + color(7ex)=(section in head/foot.bg)% + } + \pgfdeclareverticalshading{beamer@aboveframetitle}{\the\paperwidth}{% + color(0ex)=(frametitle.bg);% + color(1ex)=(frametitle.bg);% + color(2ex)=(section in head/foot.bg) + } + \fi + + \pgfdeclareverticalshading{beamer@belowframetitle}{\the\paperwidth}{% + color(0ex)=(global.bg);% + color(1ex)=(frametitle.bg) + } + } +} + + % Head +\defbeamertemplate*{headline}{smoothbars theme} +{% + \pgfuseshading{beamer@barshade}% + \ifbeamer@sb@subsection% + \vskip-9.75ex% + \else% + \vskip-7ex% + \fi% + \begin{beamercolorbox}[ignorebg,ht=2.25ex,dp=3.75ex]{section in head/foot} + \insertnavigation{\paperwidth} + \end{beamercolorbox}% + \ifbeamer@sb@subsection% + \begin{beamercolorbox}[ignorebg,ht=2.125ex,dp=1.125ex,% + leftskip=.3cm,rightskip=.3cm plus1fil]{subsection in head/foot} + \usebeamerfont{subsection in head/foot}\insertsubsectionhead + \end{beamercolorbox}% + \fi% +}% + + +\defbeamertemplate*{frametitle}{smoothbars theme} +{% + \nointerlineskip% + \usebeamerfont{headline}% + \begin{beamercolorbox}[wd=\paperwidth,ht=1.5ex,dp=0ex,vmode]{empty} + \pgfuseshading{beamer@aboveframetitle}% + \end{beamercolorbox}% + \vskip-.5ex% + \nointerlineskip% + \begin{beamercolorbox}[wd=\paperwidth,leftskip=.3cm,rightskip=.3cm plus1fil,vmode]{frametitle} + \usebeamerfont*{frametitle}\insertframetitle% + \ifx\insertframesubtitle\@empty% + \strut\par% + \else + \par{\usebeamerfont*{framesubtitle}{\usebeamercolor[fg]{framesubtitle}\insertframesubtitle}\strut\par}% + \fi%% + \usebeamerfont{headline}% + \vskip.5ex + \end{beamercolorbox}% + \nointerlineskip + \begin{beamercolorbox}[wd=\paperwidth,ht=.5ex,dp=0ex]{empty} + \pgfuseshading{beamer@belowframetitle}% + \end{beamercolorbox}% +} + + +\mode +<all> diff --git a/macros/latex/contrib/beamer/base/themes/outer/beamerouterthemesmoothtree.sty b/macros/latex/contrib/beamer/base/themes/outer/beamerouterthemesmoothtree.sty new file mode 100644 index 0000000000..21ca7701eb --- /dev/null +++ b/macros/latex/contrib/beamer/base/themes/outer/beamerouterthemesmoothtree.sty @@ -0,0 +1,95 @@ +% Copyright 2007 by Till Tantau +% Copyright 2015 by Vedran Mileti\'c, Joseph Wright +% +% This file may be distributed and/or modified +% +% 1. under the LaTeX Project Public License and/or +% 2. under the GNU Public License. +% +% See the file doc/licenses/LICENSE for more details. + +\mode<presentation> + +\setbeamercolor{frametitle}{parent=palette primary} + +\AtBeginDocument{ + { + \usebeamerfont*{headline} + + \usebeamercolor{normal text} + \usebeamercolor{title in head/foot} + \usebeamercolor{subsection in head/foot} + \usebeamercolor{section in head/foot} + \usebeamercolor{frametitle} + + \pgfdeclareverticalshading{beamer@treeshade}{\the\paperwidth}{% + color(0ex)=(normal text.bg);% + color(1ex)=(subsection in head/foot.bg);% + color(3.25ex)=(subsection in head/foot.bg);% + color(4.25ex)=(section in head/foot.bg);% + color(6.5ex)=(section in head/foot.bg);% + color(7.5ex)=(title in head/foot.bg);% + color(10.25ex)=(title in head/foot.bg)% + } + + \pgfdeclareverticalshading{beamer@aboveframetitle}{\the\paperwidth}{% + color(0ex)=(frametitle.bg);% + color(1ex)=(frametitle.bg);% + color(2ex)=(subsection in head/foot.bg) + } + + \pgfdeclareverticalshading{beamer@belowframetitle}{\the\paperwidth}{% + color(0ex)=(normal text.bg);% + color(1ex)=(frametitle.bg) + } + } +} + +\defbeamertemplate*{headline}{smoothtree theme} +{% + \pgfuseshading{beamer@treeshade}% + \vskip-10.25ex% + \begin{beamercolorbox}[wd=\paperwidth,ht=2.125ex,dp=1.125ex,ignorebg,% + leftskip=.3cm,rightskip=.3cm plus1fil]{title in head/foot} + \usebeamerfont{title in head/foot}\insertshorttitle + \end{beamercolorbox} + \begin{beamercolorbox}[wd=\paperwidth,ht=2.125ex,dp=1.125ex,ignorebg,% + leftskip=.3cm,rightskip=.3cm plus1fil]{section in head/foot} + \usebeamerfont{section in head/foot}% + \hskip6pt\insertsectionhead + \end{beamercolorbox} + \begin{beamercolorbox}[wd=\paperwidth,ht=2.125ex,dp=1.125ex,ignorebg,% + leftskip=.3cm,rightskip=.3cm plus1fil]{subsection in head/foot} + \usebeamerfont{subsection in head/foot}% + \hskip12pt\insertsubsectionhead + \end{beamercolorbox} +} + +\defbeamertemplate*{frametitle}{smoothtree theme} +{% + \nointerlineskip% + \usebeamerfont{headline}% + \begin{beamercolorbox}[wd=\paperwidth,ht=1.5ex,dp=0ex]{empty} + \pgfuseshading{beamer@aboveframetitle}% + \end{beamercolorbox}% + \vskip-.5ex% + \nointerlineskip% + \begin{beamercolorbox}[wd=\paperwidth,leftskip=.935cm,rightskip=.3cm plus1fil]{frametitle} + \usebeamerfont*{frametitle}\insertframetitle% + \ifx\insertframesubtitle\@empty% + \strut\par% + \else + \par{\usebeamerfont*{framesubtitle}{\usebeamercolor[fg]{framesubtitle}\insertframesubtitle}\strut\par}% + \fi%% + \usebeamerfont{headline}% + \vskip.5ex + \end{beamercolorbox}% + \nointerlineskip + \begin{beamercolorbox}[wd=\paperwidth,ht=.5ex,dp=0ex]{empty} + \pgfuseshading{beamer@belowframetitle}% + \end{beamercolorbox}% +} + + +\mode +<all> diff --git a/macros/latex/contrib/beamer/base/themes/outer/beamerouterthemesplit.sty b/macros/latex/contrib/beamer/base/themes/outer/beamerouterthemesplit.sty new file mode 100644 index 0000000000..c8aff5287b --- /dev/null +++ b/macros/latex/contrib/beamer/base/themes/outer/beamerouterthemesplit.sty @@ -0,0 +1,78 @@ +% Copyright 2007 by Till Tantau +% Copyright 2012,2015 by Vedran Mileti\'c, Joseph Wright +% +% This file may be distributed and/or modified +% +% 1. under the LaTeX Project Public License and/or +% 2. under the GNU Public License. +% +% See the file doc/licenses/LICENSE for more details. + +\mode<presentation> + +\setbeamercolor{section in head/foot}{parent=palette quaternary} +\setbeamercolor{subsection in head/foot}{parent=palette primary} + +\setbeamercolor{author in head/foot}{parent=section in head/foot} +\setbeamercolor{title in head/foot}{parent=subsection in head/foot} + + + +\usesectionheadtemplate + {\hfill\insertsectionhead} + {\hfill\color{fg!50!bg}\insertsectionhead} + + % Head +\ifbeamer@compress + +\defbeamertemplate*{headline}{split theme} +{% + \leavevmode% + \begin{beamercolorbox}[wd=.5\paperwidth,ht=2.5ex,dp=1.125ex]{section in head/foot}% + \insertsectionnavigationhorizontal{.5\paperwidth}{\hskip0pt plus1filll}{}% + \end{beamercolorbox}% + \begin{beamercolorbox}[wd=.5\paperwidth,ht=2.5ex,dp=1.125ex]{subsection in head/foot}% + \insertsubsectionnavigationhorizontal{.5\paperwidth}{}{\hskip0pt plus1filll}% + \end{beamercolorbox}% +} + +\else + +\defbeamertemplate*{headline}{split theme} +{% + \leavevmode% + \@tempdimb=2.4375ex% + \ifnum\beamer@subsectionmax<\beamer@sectionmax% + \multiply\@tempdimb by\beamer@sectionmax% + \else% + \multiply\@tempdimb by\beamer@subsectionmax% + \fi% + \ifdim\@tempdimb>0pt% + \advance\@tempdimb by 1.825ex% + \begin{beamercolorbox}[wd=.5\paperwidth,ht=\@tempdimb]{section in head/foot}% + \vbox to\@tempdimb{\vfil\insertsectionnavigation{.5\paperwidth}\vfil}% + \end{beamercolorbox}% + \begin{beamercolorbox}[wd=.5\paperwidth,ht=\@tempdimb]{subsection in head/foot}% + \vbox to\@tempdimb{\vfil\insertsubsectionnavigation{.5\paperwidth}\vfil}% + \end{beamercolorbox}% + \fi% +} + +\fi + + +\defbeamertemplate*{footline}{split theme} +{% + \leavevmode% + \hbox{\begin{beamercolorbox}[wd=.5\paperwidth,ht=2.5ex,dp=1.125ex,leftskip=.3cm plus1fill,rightskip=.3cm]{author in head/foot}% + \usebeamerfont{author in head/foot}\insertshortauthor + \end{beamercolorbox}% + \begin{beamercolorbox}[wd=.5\paperwidth,ht=2.5ex,dp=1.125ex,leftskip=.3cm,rightskip=.3cm plus1fil]{title in head/foot}% + \usebeamerfont{title in head/foot}\insertshorttitle\hfill\usebeamercolor[fg]{page number in head/foot}\usebeamerfont{page number in head/foot}\usebeamertemplate{page number in head/foot} + \end{beamercolorbox}}% + \vskip0pt% +} + + +\mode +<all> diff --git a/macros/latex/contrib/beamer/base/themes/outer/beamerouterthemetree.sty b/macros/latex/contrib/beamer/base/themes/outer/beamerouterthemetree.sty new file mode 100644 index 0000000000..9c9e052908 --- /dev/null +++ b/macros/latex/contrib/beamer/base/themes/outer/beamerouterthemetree.sty @@ -0,0 +1,61 @@ +% Copyright 2007 by Till Tantau +% Copyright 2015 by Vedran Mileti\'c, Joseph Wright +% +% This file may be distributed and/or modified +% +% 1. under the LaTeX Project Public License and/or +% 2. under the GNU Public License. +% +% See the file doc/licenses/LICENSE for more details. + +\newif\ifbeamer@tree@showhooks +\beamer@tree@showhookstrue + +\DeclareOptionBeamer{hooks}[true]{\csname beamer@tree@showhooks#1\endcsname} +\ProcessOptionsBeamer + +\mode<presentation> + +\defbeamertemplate*{headline}{tree theme} +{% + \begin{beamercolorbox}[wd=\paperwidth,colsep=1.5pt]{upper separation line head} + \end{beamercolorbox} + \begin{beamercolorbox}[wd=\paperwidth,ht=2.5ex,dp=1.125ex,% + leftskip=.3cm,rightskip=.3cm plus1fil]{title in head/foot} + \usebeamerfont{title in head/foot}\insertshorttitle + \end{beamercolorbox} + \begin{beamercolorbox}[wd=\paperwidth,ht=2.5ex,dp=1.125ex,% + leftskip=.3cm,rightskip=.3cm plus1fil]{section in head/foot} + \usebeamerfont{section in head/foot}% + \ifbeamer@tree@showhooks + \setbox\beamer@tempbox=\hbox{\insertsectionhead}% + \ifdim\wd\beamer@tempbox>1pt% + \hskip2pt\raise1.9pt\hbox{\vrule width0.4pt height1.875ex\vrule width 5pt height0.4pt}% + \hskip1pt% + \fi% + \else% + \hskip6pt% + \fi% + \insertsectionhead + \end{beamercolorbox} + \begin{beamercolorbox}[wd=\paperwidth,ht=2.5ex,dp=1.125ex,% + leftskip=.3cm,rightskip=.3cm plus1fil]{subsection in head/foot} + \usebeamerfont{subsection in head/foot}% + \ifbeamer@tree@showhooks + \setbox\beamer@tempbox=\hbox{\insertsubsectionhead}% + \ifdim\wd\beamer@tempbox>1pt% + \hskip9.4pt\raise1.9pt\hbox{\vrule width0.4pt height1.875ex\vrule width 5pt height0.4pt}% + \hskip1pt% + \fi% + \else% + \hskip12pt% + \fi% + \insertsubsectionhead + \end{beamercolorbox} + \begin{beamercolorbox}[wd=\paperwidth,colsep=1.5pt]{lower separation line head} + \end{beamercolorbox} +} + + +\mode +<all> diff --git a/macros/latex/contrib/beamer/base/themes/theme/beamerthemeAnnArbor.sty b/macros/latex/contrib/beamer/base/themes/theme/beamerthemeAnnArbor.sty new file mode 100644 index 0000000000..fda63a34a3 --- /dev/null +++ b/macros/latex/contrib/beamer/base/themes/theme/beamerthemeAnnArbor.sty @@ -0,0 +1,19 @@ +% Copyright 2004 by Madhusudan Singh <madhusudan.singh@gmail.com> +% +% This file may be distributed and/or modified +% +% 1. under the LaTeX Project Public License and/or +% 2. under the GNU Public License. +% +% See the file doc/licenses/LICENSE for more details. + +\mode<presentation> + +\useinnertheme[shadow=true]{rounded} +\useoutertheme{infolines} +\usecolortheme{wolverine} + +\setbeamerfont{block title}{size={}} +\setbeamercolor{titlelike}{parent=structure,bg=yellow!85!orange} +\mode +<all> diff --git a/macros/latex/contrib/beamer/base/themes/theme/beamerthemeAntibes.sty b/macros/latex/contrib/beamer/base/themes/theme/beamerthemeAntibes.sty new file mode 100644 index 0000000000..d1b136cddf --- /dev/null +++ b/macros/latex/contrib/beamer/base/themes/theme/beamerthemeAntibes.sty @@ -0,0 +1,20 @@ +% Copyright 2007 by Till Tantau +% +% This file may be distributed and/or modified +% +% 1. under the LaTeX Project Public License and/or +% 2. under the GNU Public License. +% +% See the file doc/licenses/LICENSE for more details. + +\mode<presentation> + +\useoutertheme{tree} +\usecolortheme{whale} +\usecolortheme{orchid} +\useinnertheme{rectangles} + +\setbeamerfont{block title}{size={}} + +\mode +<all> diff --git a/macros/latex/contrib/beamer/base/themes/theme/beamerthemeBergen.sty b/macros/latex/contrib/beamer/base/themes/theme/beamerthemeBergen.sty new file mode 100644 index 0000000000..ae704db424 --- /dev/null +++ b/macros/latex/contrib/beamer/base/themes/theme/beamerthemeBergen.sty @@ -0,0 +1,19 @@ +% Copyright 2007 by Till Tantau +% +% This file may be distributed and/or modified +% +% 1. under the LaTeX Project Public License and/or +% 2. under the GNU Public License. +% +% See the file doc/licenses/LICENSE for more details. + +\mode<presentation> + +\usecolortheme{orchid} +\useinnertheme{rectangles} +\useinnertheme{inmargin} + +\setbeamercolor{item projected}{fg=black} + +\mode +<all> diff --git a/macros/latex/contrib/beamer/base/themes/theme/beamerthemeBerkeley.sty b/macros/latex/contrib/beamer/base/themes/theme/beamerthemeBerkeley.sty new file mode 100644 index 0000000000..25b8b0863c --- /dev/null +++ b/macros/latex/contrib/beamer/base/themes/theme/beamerthemeBerkeley.sty @@ -0,0 +1,31 @@ +% Copyright 2007 by Till Tantau +% +% This file may be distributed and/or modified +% +% 1. under the LaTeX Project Public License and/or +% 2. under the GNU Public License. +% +% See the file doc/licenses/LICENSE for more details. + +\DeclareOptionBeamer{hideothersubsections}{\PassOptionsToPackage{hideothersubsections=#1}{beamerouterthemesidebar}} +\DeclareOptionBeamer{hideallsubsections}{\PassOptionsToPackage{hideallsubsections=#1}{beamerouterthemesidebar}} + +\DeclareOptionBeamer{width}{\PassOptionsToPackage{width=#1}{beamerouterthemesidebar}} +\DeclareOptionBeamer{left}{\PassOptionsToPackage{left}{beamerouterthemesidebar}} +\DeclareOptionBeamer{right}{\PassOptionsToPackage{right}{beamerouterthemesidebar}} +\ProcessOptionsBeamer + +\mode<presentation> + +\useoutertheme{sidebar} +\useinnertheme{rectangles} + +\usecolortheme{whale} +\usecolortheme{orchid} + +\setbeamercolor*{frametitle}{parent=palette primary} + +\setbeamerfont{block title}{size={}} + +\mode +<all> diff --git a/macros/latex/contrib/beamer/base/themes/theme/beamerthemeBerlin.sty b/macros/latex/contrib/beamer/base/themes/theme/beamerthemeBerlin.sty new file mode 100644 index 0000000000..9f97307f5d --- /dev/null +++ b/macros/latex/contrib/beamer/base/themes/theme/beamerthemeBerlin.sty @@ -0,0 +1,23 @@ +% Copyright 2007 by Till Tantau +% +% This file may be distributed and/or modified +% +% 1. under the LaTeX Project Public License and/or +% 2. under the GNU Public License. +% +% See the file doc/licenses/LICENSE for more details. + +\DeclareOptionBeamer{compress}{\beamer@compresstrue} +\ProcessOptionsBeamer + +\mode<presentation> + +\useoutertheme[footline=authorinstitutetitle]{miniframes} +\usecolortheme{whale} +\usecolortheme{orchid} +\useinnertheme{rectangles} + +\setbeamerfont{block title}{size={}} + +\mode +<all> diff --git a/macros/latex/contrib/beamer/base/themes/theme/beamerthemeBoadilla.sty b/macros/latex/contrib/beamer/base/themes/theme/beamerthemeBoadilla.sty new file mode 100644 index 0000000000..3fe1f18be7 --- /dev/null +++ b/macros/latex/contrib/beamer/base/themes/theme/beamerthemeBoadilla.sty @@ -0,0 +1,38 @@ +% Copyright 2004 by Manuel Carro <mcarro@fi.upm.es> +% +% This file may be distributed and/or modified +% +% 1. under the LaTeX Project Public License and/or +% 2. under the GNU Public License. +% +% See the file doc/licenses/LICENSE for more details. + +\mode<presentation> + +\newif\ifbeamer@secheader +\beamer@secheaderfalse + +\DeclareOptionBeamer{secheader}{\beamer@secheadertrue} +\ProcessOptionsBeamer + +\usecolortheme{rose} +\useinnertheme[shadow]{rounded} +\usecolortheme{dolphin} +\useoutertheme{infolines} + + +% Tills' opinion: should be done in an inner theme, not here. + +\usesubitemizeitemtemplate{% + \tiny\raise1.5pt\hbox{\color{beamerstructure}$\blacktriangleright$}% +} +\usesubsubitemizeitemtemplate{% + \tiny\raise1.5pt\hbox{\color{beamerstructure}$\bigstar$}% +} + +\setbeamersize{text margin left=1em,text margin right=1em} + +\ifbeamer@secheader\else\setbeamertemplate{headline}[default]\fi + +\mode +<all> diff --git a/macros/latex/contrib/beamer/base/themes/theme/beamerthemeCambridgeUS.sty b/macros/latex/contrib/beamer/base/themes/theme/beamerthemeCambridgeUS.sty new file mode 100644 index 0000000000..892af201d3 --- /dev/null +++ b/macros/latex/contrib/beamer/base/themes/theme/beamerthemeCambridgeUS.sty @@ -0,0 +1,19 @@ +% Copyright 2004 by Madhusudan Singh <madhusudan.singh@gmail.com> +% +% This file may be distributed and/or modified +% +% 1. under the LaTeX Project Public License and/or +% 2. under the GNU Public License. +% +% See the file doc/licenses/LICENSE for more details. + +\mode<presentation> + +\useinnertheme[shadow=true]{rounded} +\useoutertheme{infolines} +\usecolortheme{beaver} + +\setbeamerfont{block title}{size={}} +\setbeamercolor{titlelike}{parent=structure,bg=white} +\mode +<all> diff --git a/macros/latex/contrib/beamer/base/themes/theme/beamerthemeCopenhagen.sty b/macros/latex/contrib/beamer/base/themes/theme/beamerthemeCopenhagen.sty new file mode 100644 index 0000000000..7404961309 --- /dev/null +++ b/macros/latex/contrib/beamer/base/themes/theme/beamerthemeCopenhagen.sty @@ -0,0 +1,21 @@ +% Copyright 2007 by Till Tantau +% +% This file may be distributed and/or modified +% +% 1. under the LaTeX Project Public License and/or +% 2. under the GNU Public License. +% +% See the file doc/licenses/LICENSE for more details. + +\mode<presentation> + +\useoutertheme{split} +\useinnertheme{rounded} + +\usecolortheme{whale} +\usecolortheme{orchid} + +\setbeamerfont{block title}{size={}} + +\mode +<all> diff --git a/macros/latex/contrib/beamer/base/themes/theme/beamerthemeDarmstadt.sty b/macros/latex/contrib/beamer/base/themes/theme/beamerthemeDarmstadt.sty new file mode 100644 index 0000000000..8a4634f4ad --- /dev/null +++ b/macros/latex/contrib/beamer/base/themes/theme/beamerthemeDarmstadt.sty @@ -0,0 +1,20 @@ +% Copyright 2007 by Till Tantau +% +% This file may be distributed and/or modified +% +% 1. under the LaTeX Project Public License and/or +% 2. under the GNU Public License. +% +% See the file doc/licenses/LICENSE for more details. + +\mode<presentation> + +\useoutertheme{smoothbars} +\useinnertheme[shadow=true]{rounded} +\usecolortheme{orchid} +\usecolortheme{whale} + +\setbeamerfont{block title}{size={}} + +\mode +<all> diff --git a/macros/latex/contrib/beamer/base/themes/theme/beamerthemeDresden.sty b/macros/latex/contrib/beamer/base/themes/theme/beamerthemeDresden.sty new file mode 100644 index 0000000000..bc896ad0e4 --- /dev/null +++ b/macros/latex/contrib/beamer/base/themes/theme/beamerthemeDresden.sty @@ -0,0 +1,21 @@ +% Copyright 2007 by Till Tantau +% +% This file may be distributed and/or modified +% +% 1. under the LaTeX Project Public License and/or +% 2. under the GNU Public License. +% +% See the file doc/licenses/LICENSE for more details. + +\DeclareOptionBeamer{compress}{\beamer@compresstrue} +\ProcessOptionsBeamer + +\mode<presentation> + +\useoutertheme[footline=authorinstitutetitle]{miniframes} +\usecolortheme{whale} + +\setbeamercolor{titlelike}{parent=structure} + +\mode +<all> diff --git a/macros/latex/contrib/beamer/base/themes/theme/beamerthemeEastLansing.sty b/macros/latex/contrib/beamer/base/themes/theme/beamerthemeEastLansing.sty new file mode 100644 index 0000000000..f0bd88453b --- /dev/null +++ b/macros/latex/contrib/beamer/base/themes/theme/beamerthemeEastLansing.sty @@ -0,0 +1,21 @@ +% Copyright 2012 by Alan Munn <amunn@msu.edu> Modified for MSU colours +% Copyright 2004 by Madhusudan Singh <madhusudan.singh@gmail.com> +% +% This file may be distributed and/or modified +% +% 1. under the LaTeX Project Public License and/or +% 2. under the GNU Public License. +% +% See the file doc/licenses/LICENSE for more details. +% + +\mode<presentation> + +\useinnertheme{rounded} +\useoutertheme{infolines} +\usecolortheme{spruce} +\setbeamerfont{block title}{size=\large} +\setbeamertemplate{itemize subitem}[triangle] +\setbeamercolor{titlelike}{parent=structure,bg=white!85!MSUgreen} +\mode +<all> diff --git a/macros/latex/contrib/beamer/base/themes/theme/beamerthemeFrankfurt.sty b/macros/latex/contrib/beamer/base/themes/theme/beamerthemeFrankfurt.sty new file mode 100644 index 0000000000..98074be140 --- /dev/null +++ b/macros/latex/contrib/beamer/base/themes/theme/beamerthemeFrankfurt.sty @@ -0,0 +1,20 @@ +% Copyright 2007 by Till Tantau +% +% This file may be distributed and/or modified +% +% 1. under the LaTeX Project Public License and/or +% 2. under the GNU Public License. +% +% See the file doc/licenses/LICENSE for more details. + +\mode<presentation> + +\useoutertheme[subsection=false]{smoothbars} +\useinnertheme[shadow=true]{rounded} +\usecolortheme{orchid} +\usecolortheme{whale} + +\setbeamerfont{block title}{size={}} + +\mode +<all> diff --git a/macros/latex/contrib/beamer/base/themes/theme/beamerthemeGoettingen.sty b/macros/latex/contrib/beamer/base/themes/theme/beamerthemeGoettingen.sty new file mode 100644 index 0000000000..8a6efe14c6 --- /dev/null +++ b/macros/latex/contrib/beamer/base/themes/theme/beamerthemeGoettingen.sty @@ -0,0 +1,31 @@ +% Copyright 2007 by Till Tantau +% +% This file may be distributed and/or modified +% +% 1. under the LaTeX Project Public License and/or +% 2. under the GNU Public License. +% +% See the file doc/licenses/LICENSE for more details. + +\DeclareOptionBeamer{hideothersubsections}{\PassOptionsToPackage{hideothersubsections}{beamerouterthemesidebar}} +\DeclareOptionBeamer{hideallsubsections}{\PassOptionsToPackage{hideallsubsections}{beamerouterthemesidebar}} + +\PassOptionsToPackage{right}{beamerouterthemesidebar} +\PassOptionsToPackage{width=2cm}{beamerouterthemesidebar} + +\DeclareOptionBeamer{width}{\PassOptionsToPackage{width=#1}{beamerouterthemesidebar}} +\DeclareOptionBeamer{left}{\PassOptionsToPackage{left}{beamerouterthemesidebar}} +\DeclareOptionBeamer{right}{\PassOptionsToPackage{right}{beamerouterthemesidebar}} + +\ProcessOptionsBeamer + +\mode<presentation> + +\useoutertheme[height=0pt]{sidebar} + +{\usebeamercolor{structure}} + +\setbeamertemplate{sidebar canvas \beamer@sidebarside}[vertical shading][top=structure.fg!25,bottom=structure.fg!10] + +\mode +<all> diff --git a/macros/latex/contrib/beamer/base/themes/theme/beamerthemeHannover.sty b/macros/latex/contrib/beamer/base/themes/theme/beamerthemeHannover.sty new file mode 100644 index 0000000000..1d1a713f97 --- /dev/null +++ b/macros/latex/contrib/beamer/base/themes/theme/beamerthemeHannover.sty @@ -0,0 +1,34 @@ +% Copyright 2007 by Till Tantau +% +% This file may be distributed and/or modified +% +% 1. under the LaTeX Project Public License and/or +% 2. under the GNU Public License. +% +% See the file doc/licenses/LICENSE for more details. + +\DeclareOptionBeamer{width} +{\PassOptionsToPackage{width=#1}{beamerouterthemesidebar}} + +\DeclareOptionBeamer{hideothersubsections} +{\PassOptionsToPackage{hideothersubsections=#1}{beamerouterthemesidebar}} + +\DeclareOptionBeamer{hideallsubsections} +{\PassOptionsToPackage{hideallsubsections=#1}{beamerouterthemesidebar}} + +\ProcessOptionsBeamer + + + +\mode<presentation> + +\useoutertheme[height=0pt,left]{sidebar} + +\usecolortheme{seahorse} +\setbeamercolor*{titlelike}{parent=structure} + +\useinnertheme{circles} +\setbeamertemplate{frametitle}[default][right] + +\mode +<all> diff --git a/macros/latex/contrib/beamer/base/themes/theme/beamerthemeIlmenau.sty b/macros/latex/contrib/beamer/base/themes/theme/beamerthemeIlmenau.sty new file mode 100644 index 0000000000..6e8b5f6161 --- /dev/null +++ b/macros/latex/contrib/beamer/base/themes/theme/beamerthemeIlmenau.sty @@ -0,0 +1,23 @@ +% Copyright 2007 by Till Tantau +% +% This file may be distributed and/or modified +% +% 1. under the LaTeX Project Public License and/or +% 2. under the GNU Public License. +% +% See the file doc/licenses/LICENSE for more details. + +\DeclareOptionBeamer{compress}{\beamer@compresstrue} +\ProcessOptionsBeamer + +\mode<presentation> + +\useoutertheme[footline=authorinstitutetitle]{miniframes} +\usecolortheme{whale} +\usecolortheme{orchid} +\useinnertheme{rounded} + +\setbeamerfont{block title}{size={}} + +\mode +<all> diff --git a/macros/latex/contrib/beamer/base/themes/theme/beamerthemeJuanLesPins.sty b/macros/latex/contrib/beamer/base/themes/theme/beamerthemeJuanLesPins.sty new file mode 100644 index 0000000000..f83af320b1 --- /dev/null +++ b/macros/latex/contrib/beamer/base/themes/theme/beamerthemeJuanLesPins.sty @@ -0,0 +1,20 @@ +% Copyright 2007 by Till Tantau +% +% This file may be distributed and/or modified +% +% 1. under the LaTeX Project Public License and/or +% 2. under the GNU Public License. +% +% See the file doc/licenses/LICENSE for more details. + +\mode<presentation> + +\useoutertheme{smoothtree} +\usecolortheme{whale} +\usecolortheme{orchid} +\useinnertheme[shadow=true]{rounded} + +\setbeamerfont{block title}{size={}} + +\mode +<all> diff --git a/macros/latex/contrib/beamer/base/themes/theme/beamerthemeLuebeck.sty b/macros/latex/contrib/beamer/base/themes/theme/beamerthemeLuebeck.sty new file mode 100644 index 0000000000..94652ce5dd --- /dev/null +++ b/macros/latex/contrib/beamer/base/themes/theme/beamerthemeLuebeck.sty @@ -0,0 +1,21 @@ +% Copyright 2007 by Till Tantau +% +% This file may be distributed and/or modified +% +% 1. under the LaTeX Project Public License and/or +% 2. under the GNU Public License. +% +% See the file doc/licenses/LICENSE for more details. + +\mode<presentation> + +\useoutertheme{split} +\useinnertheme{rectangles} + +\usecolortheme{whale} +\usecolortheme{orchid} + +\setbeamerfont{block title}{size={}} + +\mode +<all> diff --git a/macros/latex/contrib/beamer/base/themes/theme/beamerthemeMadrid.sty b/macros/latex/contrib/beamer/base/themes/theme/beamerthemeMadrid.sty new file mode 100644 index 0000000000..e6c2c4e32f --- /dev/null +++ b/macros/latex/contrib/beamer/base/themes/theme/beamerthemeMadrid.sty @@ -0,0 +1,26 @@ +% Copyright 2007 by Till Tantau +% +% This file may be distributed and/or modified +% +% 1. under the LaTeX Project Public License and/or +% 2. under the GNU Public License. +% +% See the file doc/licenses/LICENSE for more details. + +\mode<presentation> + +\newif\ifbeamer@secheader +\beamer@secheaderfalse + +\DeclareOptionBeamer{secheader}{\beamer@secheadertrue} +\ProcessOptionsBeamer + +\usecolortheme{whale} +\usecolortheme{orchid} +\useinnertheme[shadow]{rounded} +\useoutertheme{infolines} + +\ifbeamer@secheader\else\setbeamertemplate{headline}[default]\fi + +\mode +<all> diff --git a/macros/latex/contrib/beamer/base/themes/theme/beamerthemeMalmoe.sty b/macros/latex/contrib/beamer/base/themes/theme/beamerthemeMalmoe.sty new file mode 100644 index 0000000000..bdabdbc90d --- /dev/null +++ b/macros/latex/contrib/beamer/base/themes/theme/beamerthemeMalmoe.sty @@ -0,0 +1,18 @@ +% Copyright 2007 by Till Tantau +% +% This file may be distributed and/or modified +% +% 1. under the LaTeX Project Public License and/or +% 2. under the GNU Public License. +% +% See the file doc/licenses/LICENSE for more details. + +\mode<presentation> + +\useoutertheme{split} +\usecolortheme{whale} + +\setbeamercolor*{titlelike}{parent=structure} + +\mode +<all> diff --git a/macros/latex/contrib/beamer/base/themes/theme/beamerthemeMarburg.sty b/macros/latex/contrib/beamer/base/themes/theme/beamerthemeMarburg.sty new file mode 100644 index 0000000000..5d0d739760 --- /dev/null +++ b/macros/latex/contrib/beamer/base/themes/theme/beamerthemeMarburg.sty @@ -0,0 +1,39 @@ +% Copyright 2007 by Till Tantau +% +% This file may be distributed and/or modified +% +% 1. under the LaTeX Project Public License and/or +% 2. under the GNU Public License. +% +% See the file doc/licenses/LICENSE for more details. + +\PassOptionsToPackage{right}{beamerouterthemesidebar} +\PassOptionsToPackage{width=2cm}{beamerouterthemesidebar} + +\DeclareOptionBeamer{hideothersubsections}{\PassOptionsToPackage{hideothersubsections=#1}{beamerouterthemesidebar}} +\DeclareOptionBeamer{hideallsubsections}{\PassOptionsToPackage{hideallsubsections=#1}{beamerouterthemesidebar}} + +\DeclareOptionBeamer{width}{\PassOptionsToPackage{width=#1}{beamerouterthemesidebar}} +\DeclareOptionBeamer{left}{\PassOptionsToPackage{left}{beamerouterthemesidebar}} +\DeclareOptionBeamer{right}{\PassOptionsToPackage{right}{beamerouterthemesidebar}} +\ProcessOptionsBeamer + + + +\mode<presentation> + +\usecolortheme{whale} + +\setbeamercolor*{titlelike}{use=structure,fg=structure.fg} + +\useoutertheme[height=0pt]{sidebar} + +\setbeamercolor{sidebar}{parent=palette primary} + +{\usebeamercolor{palette quaternary}} +{\usebeamercolor{palette primary}} + +\setbeamertemplate{sidebar canvas \beamer@sidebarside}[vertical shading][top=palette quaternary.bg,bottom=palette primary.bg] + +\mode +<all> diff --git a/macros/latex/contrib/beamer/base/themes/theme/beamerthemeMontpellier.sty b/macros/latex/contrib/beamer/base/themes/theme/beamerthemeMontpellier.sty new file mode 100644 index 0000000000..bca5a6736c --- /dev/null +++ b/macros/latex/contrib/beamer/base/themes/theme/beamerthemeMontpellier.sty @@ -0,0 +1,16 @@ +% Copyright 2007 by Till Tantau +% +% This file may be distributed and/or modified +% +% 1. under the LaTeX Project Public License and/or +% 2. under the GNU Public License. +% +% See the file doc/licenses/LICENSE for more details. + +\mode<presentation> + +\useoutertheme{tree} +\setbeamercolor{separation line}{use=structure,bg=structure.fg!50!bg} + +\mode +<all> diff --git a/macros/latex/contrib/beamer/base/themes/theme/beamerthemePaloAlto.sty b/macros/latex/contrib/beamer/base/themes/theme/beamerthemePaloAlto.sty new file mode 100644 index 0000000000..c11e03d21f --- /dev/null +++ b/macros/latex/contrib/beamer/base/themes/theme/beamerthemePaloAlto.sty @@ -0,0 +1,29 @@ +% Copyright 2007 by Till Tantau +% +% This file may be distributed and/or modified +% +% 1. under the LaTeX Project Public License and/or +% 2. under the GNU Public License. +% +% See the file doc/licenses/LICENSE for more details. + +\DeclareOptionBeamer{hideothersubsections}{\PassOptionsToPackage{hideothersubsections=#1}{beamerouterthemesidebar}} +\DeclareOptionBeamer{hideallsubsections}{\PassOptionsToPackage{hideallsubsections=#1}{beamerouterthemesidebar}} + +\DeclareOptionBeamer{width}{\PassOptionsToPackage{width=#1}{beamerouterthemesidebar}} +\DeclareOptionBeamer{left}{\PassOptionsToPackage{left}{beamerouterthemesidebar}} +\DeclareOptionBeamer{right}{\PassOptionsToPackage{right}{beamerouterthemesidebar}} +\ProcessOptionsBeamer + +\mode<presentation> + +\useoutertheme{sidebar} +\useinnertheme[shadow=true]{rounded} +\usecolortheme{orchid} +\usecolortheme{whale} + +\setbeamercolor*{frametitle}{parent=palette primary} +\setbeamerfont{block title}{size={}} + +\mode +<all> diff --git a/macros/latex/contrib/beamer/base/themes/theme/beamerthemePittsburgh.sty b/macros/latex/contrib/beamer/base/themes/theme/beamerthemePittsburgh.sty new file mode 100644 index 0000000000..896dcc7e03 --- /dev/null +++ b/macros/latex/contrib/beamer/base/themes/theme/beamerthemePittsburgh.sty @@ -0,0 +1,17 @@ +% Copyright 2007 by Till Tantau +% +% This file may be distributed and/or modified +% +% 1. under the LaTeX Project Public License and/or +% 2. under the GNU Public License. +% +% See the file doc/licenses/LICENSE for more details. + +\mode<presentation> + +\setbeamertemplate{frametitle}[default][right] + +\useinnertheme{circles} + +\mode +<all> diff --git a/macros/latex/contrib/beamer/base/themes/theme/beamerthemeRochester.sty b/macros/latex/contrib/beamer/base/themes/theme/beamerthemeRochester.sty new file mode 100644 index 0000000000..044447db2d --- /dev/null +++ b/macros/latex/contrib/beamer/base/themes/theme/beamerthemeRochester.sty @@ -0,0 +1,24 @@ +% Copyright 2007 by Till Tantau +% +% This file may be distributed and/or modified +% +% 1. under the LaTeX Project Public License and/or +% 2. under the GNU Public License. +% +% See the file doc/licenses/LICENSE for more details. + +\DeclareOptionBeamer{height}{\PassOptionsToPackage{height=#1}{beamerouterthemesidebar}} +\ProcessOptionsBeamer + +\mode<presentation> + +\useoutertheme[width=0pt]{sidebar} +\useinnertheme{rectangles} +\usecolortheme{whale} +\usecolortheme{orchid} + +\setbeamercolor*{frametitle}{parent=palette primary} +\setbeamerfont{block title}{size={}} + +\mode +<all> diff --git a/macros/latex/contrib/beamer/base/themes/theme/beamerthemeSingapore.sty b/macros/latex/contrib/beamer/base/themes/theme/beamerthemeSingapore.sty new file mode 100644 index 0000000000..0e1d2df1df --- /dev/null +++ b/macros/latex/contrib/beamer/base/themes/theme/beamerthemeSingapore.sty @@ -0,0 +1,41 @@ +% Copyright 2007 by Till Tantau +% +% This file may be distributed and/or modified +% +% 1. under the LaTeX Project Public License and/or +% 2. under the GNU Public License. +% +% See the file doc/licenses/LICENSE for more details. + +\DeclareOptionBeamer{compress}{\beamer@compresstrue} +\ProcessOptionsBeamer + + +\mode<presentation> + +\setbeamercolor{section in head/foot}{use=structure,bg=structure.fg!25!bg} + +\useoutertheme[subsection=false]{miniframes} + +\setbeamertemplate{frametitle}[default][center] + +\AtBeginDocument{% + { + \usebeamercolor{section in head/foot} + } + + \pgfdeclareverticalshading{beamer@headfade}{\paperwidth} + {% + color(0cm)=(bg); + color(1.25cm)=(section in head/foot.bg)% + } + + \setbeamercolor{section in head/foot}{bg=} +} + +\addtoheadtemplate{\pgfuseshading{beamer@headfade}\vskip-1.25cm}{} + +\beamertemplatedotitem + +\mode +<all> diff --git a/macros/latex/contrib/beamer/base/themes/theme/beamerthemeSzeged.sty b/macros/latex/contrib/beamer/base/themes/theme/beamerthemeSzeged.sty new file mode 100644 index 0000000000..76dff0a911 --- /dev/null +++ b/macros/latex/contrib/beamer/base/themes/theme/beamerthemeSzeged.sty @@ -0,0 +1,20 @@ +% Copyright 2007 by Till Tantau +% +% This file may be distributed and/or modified +% +% 1. under the LaTeX Project Public License and/or +% 2. under the GNU Public License. +% +% See the file doc/licenses/LICENSE for more details. + +\DeclareOptionBeamer{compress}{\beamer@compresstrue} +\ProcessOptionsBeamer + +\mode<presentation> + +\useoutertheme[footline=institutetitle]{miniframes} + +\setbeamercolor{separation line}{use=structure,bg=structure.fg!50!bg} + +\mode +<all> diff --git a/macros/latex/contrib/beamer/base/themes/theme/beamerthemeWarsaw.sty b/macros/latex/contrib/beamer/base/themes/theme/beamerthemeWarsaw.sty new file mode 100644 index 0000000000..232758f14b --- /dev/null +++ b/macros/latex/contrib/beamer/base/themes/theme/beamerthemeWarsaw.sty @@ -0,0 +1,20 @@ +% Copyright 2007 by Till Tantau +% +% This file may be distributed and/or modified +% +% 1. under the LaTeX Project Public License and/or +% 2. under the GNU Public License. +% +% See the file doc/licenses/LICENSE for more details. + +\mode<presentation> + +\useinnertheme[shadow=true]{rounded} +\useoutertheme{shadow} +\usecolortheme{orchid} +\usecolortheme{whale} + +\setbeamerfont{block title}{size={}} + +\mode +<all> diff --git a/macros/latex/contrib/beamer/base/themes/theme/beamerthemeboxes.sty b/macros/latex/contrib/beamer/base/themes/theme/beamerthemeboxes.sty new file mode 100644 index 0000000000..22978f7265 --- /dev/null +++ b/macros/latex/contrib/beamer/base/themes/theme/beamerthemeboxes.sty @@ -0,0 +1,118 @@ +% Copyright 2007 by Till Tantau +% +% This file may be distributed and/or modified +% +% 1. under the LaTeX Project Public License and/or +% 2. under the GNU Public License. +% +% See the file doc/licenses/LICENSE for more details. + +\DeclareOptionBeamer{headheight}{\beamer@boxheadheight=#1} +\DeclareOptionBeamer{footheight}{\beamer@boxfootheight=#1} + +\newdimen\beamer@boxheadheight +\newdimen\beamer@boxfootheight +\beamer@boxheadheight=10pt +\beamer@boxfootheight=10pt + +\ProcessOptionsBeamer + +% For example: +%\addheadboxtemplate{\color{black}}{\hfill\color{white}\insertshorttitle\hskip0.3cm} +%\addheadboxtemplate{\color{structure}}{\hskip0.3cm\color{white}\insertshortauthor} + +%\addfootboxtemplate{\color{black}}{\hfill\color{white}\insertshortinstitute\hskip0.3cm} +%\addfootboxtemplate{\color{structure}}{} +%\addfootboxtemplate{\color{black}}{\hfill\color{white}\insertframenumber\hskip0.3cm} + + +\mode<presentation> + + + % Head +\newcount\beamer@headboxes +\newdimen\beamer@headboxsizes +\newcount\beamer@currentbox +\def\addheadboxtemplate#1#2{ + \expandafter\def\csname beamer@headbox\the\beamer@headboxes\endcsname{#2} + \expandafter\def\csname beamer@headbg\the\beamer@headboxes\endcsname{#1} + \advance\beamer@headboxes by 1\relax + \beamer@headboxsizes=\paperwidth + \divide\beamer@headboxsizes by\beamer@headboxes +} + +\def\addheadbox#1#2{\addheadboxtemplate{\usebeamercolor[bg]{#1}}{\usebeamercolor[fg]{#1}\usebeamerfont{#1}#2}} + + +\defbeamertemplate*{headline}{boxes theme} +{% + \leavevmode + \beamer@currentbox=0\relax% + \loop% + \ifnum\beamer@currentbox<\beamer@headboxes% + \hbox to\beamer@headboxsizes{% + % Background + {% + \csname beamer@headbg\the\beamer@currentbox\endcsname% + \vrule width\beamer@headboxsizes height\beamer@boxheadheight% + \hskip-\beamer@headboxsizes% + }% + % Box + {% + \setbox\beamer@tempbox=\hbox to\beamer@headboxsizes{% + \csname beamer@headbox\the\beamer@currentbox\endcsname\hfil}% + \dp\beamer@tempbox=0pt% + \setbox\beamer@tempbox=\hbox{\vbox{\box\beamer@tempbox\vskip3pt}}% + \ht\beamer@tempbox=\beamer@boxheadheight% + \dp\beamer@tempbox=0pt% + \box\beamer@tempbox% + }}% + \advance\beamer@currentbox by 1% + \repeat% +}% + + + % Foot +\newcount\beamer@footboxes +\newdimen\beamer@footboxsizes +\def\addfootboxtemplate#1#2{ + \expandafter\def\csname beamer@footbox\the\beamer@footboxes\endcsname{#2} + \expandafter\def\csname beamer@footbg\the\beamer@footboxes\endcsname{#1} + \advance\beamer@footboxes by 1\relax + \beamer@footboxsizes=\paperwidth + \divide\beamer@footboxsizes by\beamer@footboxes +} + +\def\addfootbox#1#2{\addfootboxtemplate{\usebeamercolor[bg]{#1}}{\usebeamercolor[fg]{#1}\usebeamerfont{#1}#2}} + +\defbeamertemplate*{footline}{boxes theme} +{% + \leavevmode + \beamer@currentbox=0\relax% + \loop% + \ifnum\beamer@currentbox<\beamer@footboxes% + \hbox to\beamer@footboxsizes{% + % Background + {% + \csname beamer@footbg\the\beamer@currentbox\endcsname% + \vrule width\beamer@footboxsizes height\beamer@boxfootheight% + \hskip-\beamer@footboxsizes% + }% + % Box + {% + \setbox\beamer@tempbox=\hbox to\beamer@footboxsizes{% + \csname beamer@footbox\the\beamer@currentbox\endcsname\hfil}% + \dp\beamer@tempbox=0pt% + \setbox\beamer@tempbox=\hbox{\vbox{\box\beamer@tempbox\vskip3pt}}% + \ht\beamer@tempbox=\beamer@boxfootheight% + \dp\beamer@tempbox=0pt% + \box\beamer@tempbox% + }% + }% + \advance\beamer@currentbox by 1% + \repeat% +}% + + +\mode +<all> diff --git a/macros/latex/contrib/beamer/base/themes/theme/beamerthemedefault.sty b/macros/latex/contrib/beamer/base/themes/theme/beamerthemedefault.sty new file mode 100644 index 0000000000..b613bec641 --- /dev/null +++ b/macros/latex/contrib/beamer/base/themes/theme/beamerthemedefault.sty @@ -0,0 +1,18 @@ +% Copyright 2007 by Till Tantau +% +% This file may be distributed and/or modified +% +% 1. under the LaTeX Project Public License and/or +% 2. under the GNU Public License. +% +% See the file doc/licenses/LICENSE for more details. + +\mode<presentation> + +\usefonttheme{default} +\usecolortheme{default} +\useinnertheme{default} +\useoutertheme{default} + +\mode +<all> diff --git a/macros/latex/contrib/beamer/base/themes/theme/compatibility/beamerthemebars.sty b/macros/latex/contrib/beamer/base/themes/theme/compatibility/beamerthemebars.sty new file mode 100644 index 0000000000..10158f1465 --- /dev/null +++ b/macros/latex/contrib/beamer/base/themes/theme/compatibility/beamerthemebars.sty @@ -0,0 +1,19 @@ +% Copyright 2007 by Till Tantau +% Copyright 2015 by Vedran Mileti\'c, Joseph Wright +% +% This file may be distributed and/or modified +% +% 1. under the LaTeX Project Public License and/or +% 2. under the GNU Public License. +% +% See the file doc/licenses/LICENSE for more details. + +\mode<presentation> + +\usefonttheme[onlysmall]{structurebold} +\useoutertheme[footline=authorinstitutetitle]{miniframes} +\usecolortheme{whale} + + +\mode +<all> diff --git a/macros/latex/contrib/beamer/base/themes/theme/compatibility/beamerthemeclassic.sty b/macros/latex/contrib/beamer/base/themes/theme/compatibility/beamerthemeclassic.sty new file mode 100644 index 0000000000..6f5aeb518e --- /dev/null +++ b/macros/latex/contrib/beamer/base/themes/theme/compatibility/beamerthemeclassic.sty @@ -0,0 +1,19 @@ +% Copyright 2007 by Till Tantau +% Copyright 2015 by Vedran Mileti\'c, Joseph Wright +% +% This file may be distributed and/or modified +% +% 1. under the LaTeX Project Public License and/or +% 2. under the GNU Public License. +% +% See the file doc/licenses/LICENSE for more details. + +\mode<presentation> + +\usefonttheme[onlylarge]{structureitalicserif} +\usefonttheme[onlysmall]{structuresmallcapsserif} + +\usetheme{Singapore} + +\mode +<all> diff --git a/macros/latex/contrib/beamer/base/themes/theme/compatibility/beamerthemecompatibility.sty b/macros/latex/contrib/beamer/base/themes/theme/compatibility/beamerthemecompatibility.sty new file mode 100644 index 0000000000..694ae26a56 --- /dev/null +++ b/macros/latex/contrib/beamer/base/themes/theme/compatibility/beamerthemecompatibility.sty @@ -0,0 +1,30 @@ +% Copyright 2007 by Till Tantau +% Copyright 2015 by Vedran Mileti\'c, Joseph Wright +% +% This file may be distributed and/or modified +% +% 1. under the LaTeX Project Public License and/or +% 2. under the GNU Public License. +% +% See the file doc/licenses/LICENSE for more details. + +\mode<presentation> + +\usefonttheme[onlysmall]{structurebold} +\setbeamerfont{frametitle}{series=\bfseries} + +\useoutertheme[subsection=false]{miniframes} +\addtobeamertemplate{headline} +{} +{% + \begin{beamercolorbox}[wd=\paperwidth,colsep=0.2pt]{fine separation line} + \end{beamercolorbox}% +} + +\setbeamercolor{fine separation line}{use=structure,bg=structure.fg!50!bg} + + +\beamertemplatedefaultframetitle[center] + +\mode +<all> diff --git a/macros/latex/contrib/beamer/base/themes/theme/compatibility/beamerthemelined.sty b/macros/latex/contrib/beamer/base/themes/theme/compatibility/beamerthemelined.sty new file mode 100644 index 0000000000..199c5e39d1 --- /dev/null +++ b/macros/latex/contrib/beamer/base/themes/theme/compatibility/beamerthemelined.sty @@ -0,0 +1,64 @@ +% Copyright 2007 by Till Tantau +% Copyright 2015 by Vedran Mileti\'c, Joseph Wright +% +% This file may be distributed and/or modified +% +% 1. under the LaTeX Project Public License and/or +% 2. under the GNU Public License. +% +% See the file doc/licenses/LICENSE for more details. + +\mode<presentation> + +\setbeamertemplate{headline}[text line] +{% + \vbox{% + \vskip3pt% + \beamerline{\insertnavigation{\paperwidth}}% + \vskip1.5pt% + \insertvrule{0.4pt}{beamerstructure!50!averagebackgroundcolor}% + \vskip1.5pt% + \tinyline{\color{beamerstructure}\insertsubsection\hfill} + \insertvrule{4pt}{beamerstructure!50!averagebackgroundcolor}% + }% +} + + % Footline +\setbeamertemplate{footline}[text line] +{% + \ifbeamertemplateempty{logo} + {% + \vbox{% + \setbox\beamer@tempbox=\hbox{\tiny\insertshortauthor: \insertshorttitle\hskip1.5cm\insertshortinstitute}% + \ifdim\wd\beamer@tempbox>\paperwidth% + \insertvrule{4pt}{beamerstructure!50!averagebackgroundcolor}% + \vskip1.5pt + \tinyline{\color{beamerstructure}\insertshortauthor:\hfill\insertshortinstitute}% + \tinyline{\color{beamerstructure}\insertshorttitle\hfill\lower1pt\hbox{\insertnavigationsymbols}}% + \else% + \setbox\beamer@tempbox=\hbox{\beamerline{\hbox to\paperwidth{\hfill\lower1pt\hbox{\insertnavigationsymbols}}}}% + \ht\beamer@tempbox=0pt% + \box\beamer@tempbox% + \insertvrule{4pt}{beamerstructure!50!averagebackgroundcolor}% + \vskip1.5pt + \tinyline{\color{beamerstructure}\insertshortauthor: \insertshorttitle\hfill\insertshortinstitute}% + \fi}% + } + {% + \vbox{% + \insertvrule{4pt}{beamerstructure!50!averagebackgroundcolor}% + \vskip1.5pt% + \setbox\beamer@logobox=\hbox{\lower1pt\hbox{\usebeamertemplate*{logo}}}% + \tinyline{\color{beamerstructure}\insertshortauthor:\hfill}% + \tinyline{\color{beamerstructure}\insertshorttitle\hfill\lower1pt\hbox{\insertnavigationsymbols}\hskip0.1cm\hbox{\dp\beamer@logobox=0pt\ht\beamer@logobox=0pt\box\beamer@logobox} + }% + }% + }% +} + + + +\userightsidebartemplate{0cm}{} + +\mode +<all> diff --git a/macros/latex/contrib/beamer/base/themes/theme/compatibility/beamerthemeplain.sty b/macros/latex/contrib/beamer/base/themes/theme/compatibility/beamerthemeplain.sty new file mode 100644 index 0000000000..11e77dacf5 --- /dev/null +++ b/macros/latex/contrib/beamer/base/themes/theme/compatibility/beamerthemeplain.sty @@ -0,0 +1,19 @@ +% Copyright 2007 by Till Tantau +% Copyright 2015 by Vedran Mileti\'c, Joseph Wright +% +% This file may be distributed and/or modified +% +% 1. under the LaTeX Project Public License and/or +% 2. under the GNU Public License. +% +% See the file doc/licenses/LICENSE for more details. + +\mode<presentation> + +\PackageWarning{beamerthemeplain}{This package is obsolet - use font theme italics instead} + +\usefonttheme{structureitalicserif} +\beamertemplatedefaultframetitle[center] + +\mode +<all> diff --git a/macros/latex/contrib/beamer/base/themes/theme/compatibility/beamerthemeshadow.sty b/macros/latex/contrib/beamer/base/themes/theme/compatibility/beamerthemeshadow.sty new file mode 100644 index 0000000000..0d88030911 --- /dev/null +++ b/macros/latex/contrib/beamer/base/themes/theme/compatibility/beamerthemeshadow.sty @@ -0,0 +1,23 @@ +% Copyright 2007 by Till Tantau +% Copyright 2015 by Vedran Mileti\'c, Joseph Wright +% +% This file may be distributed and/or modified +% +% 1. under the LaTeX Project Public License and/or +% 2. under the GNU Public License. +% +% See the file doc/licenses/LICENSE for more details. + +\mode<presentation> + +\useinnertheme[shadow=true]{rounded} +\usecolortheme{orchid} +\usecolortheme{whale} +\useoutertheme{shadow} +\usefonttheme[onlysmall]{structurebold} + +\setbeamercolor{title}{use=structure,fg=white,bg=structure.fg} +\setbeamerfont{block title}{size={}} + +\mode +<all> diff --git a/macros/latex/contrib/beamer/base/themes/theme/compatibility/beamerthemesidebar.sty b/macros/latex/contrib/beamer/base/themes/theme/compatibility/beamerthemesidebar.sty new file mode 100644 index 0000000000..985d2df5fb --- /dev/null +++ b/macros/latex/contrib/beamer/base/themes/theme/compatibility/beamerthemesidebar.sty @@ -0,0 +1,51 @@ +% Copyright 2007 by Till Tantau +% Copyright 2015 by Vedran Mileti\'c, Joseph Wright +% +% This file may be distributed and/or modified +% +% 1. under the LaTeX Project Public License and/or +% 2. under the GNU Public License. +% +% See the file doc/licenses/LICENSE for more details. + +\newif\ifbeamer@sidebartab +\newif\ifbeamer@sidebardark + +\beamer@sidebartabfalse +\beamer@sidebardarkfalse + +\PassOptionsToPackage{width=2.5cm}{beamerouterthemesidebar} + +\DeclareOptionBeamer{width}{\PassOptionsToPackage{width=#1}{beamerouterthemesidebar}} +\DeclareOptionBeamer{tab}[true]{\csname beamer@sidebartab#1\endcsname} +\DeclareOptionBeamer{dark}[true]{\csname beamer@sidebardark#1\endcsname} + +\ProcessOptionsBeamer + +\mode<presentation> + +\useoutertheme[right,height=0pt]{sidebar} + +\ifbeamer@sidebardark + \usefonttheme{structurebold} + \usecolortheme{whale} + + \setbeamercolor{sidebar}{parent=palette primary} + + \usebeamercolor{palette quaternary} + \usebeamercolor{palette primary} + \setbeamertemplate{sidebar canvas right}[vertical shading][top=palette quaternary.bg,bottom=palette primary.bg] +\else + \usecolortheme{seahorse} + + \usebeamercolor{sidebar} + \setbeamertemplate{sidebar canvas right}[vertical shading][top=sidebar.bg,bottom=white] +\fi + +\ifbeamer@sidebartab + \usecolortheme{sidebartab} +\fi + +\mode +<all> + diff --git a/macros/latex/contrib/beamer/base/themes/theme/compatibility/beamerthemesplit.sty b/macros/latex/contrib/beamer/base/themes/theme/compatibility/beamerthemesplit.sty new file mode 100644 index 0000000000..2d65a315b1 --- /dev/null +++ b/macros/latex/contrib/beamer/base/themes/theme/compatibility/beamerthemesplit.sty @@ -0,0 +1,18 @@ +% Copyright 2007 by Till Tantau +% Copyright 2015 by Vedran Mileti\'c, Joseph Wright +% +% This file may be distributed and/or modified +% +% 1. under the LaTeX Project Public License and/or +% 2. under the GNU Public License. +% +% See the file doc/licenses/LICENSE for more details. + +\mode<presentation> + +\usecolortheme{whale} +\useoutertheme{split} +\usefonttheme[onlysmall]{structurebold} + +\mode +<all> diff --git a/macros/latex/contrib/beamer/base/themes/theme/compatibility/beamerthemetree.sty b/macros/latex/contrib/beamer/base/themes/theme/compatibility/beamerthemetree.sty new file mode 100644 index 0000000000..2fbefc23ee --- /dev/null +++ b/macros/latex/contrib/beamer/base/themes/theme/compatibility/beamerthemetree.sty @@ -0,0 +1,22 @@ +% Copyright 2007 by Till Tantau +% Copyright 2015 by Vedran Mileti\'c, Joseph Wright +% +% This file may be distributed and/or modified +% +% 1. under the LaTeX Project Public License and/or +% 2. under the GNU Public License. +% +% See the file doc/licenses/LICENSE for more details. + +\mode<presentation> + +\def\beamer@theme@col{\setbeamercolor{separation line}{use=structure,bg=structure.fg!50!bg}} +\DeclareOptionBeamer{bars}{\def\beamer@theme@col{\usecolortheme{whale}}} +\ProcessOptionsBeamer + +\usefonttheme[onlysmall]{structurebold} +\beamer@theme@col +\useoutertheme{tree} + +\mode +<all> |