From 9cae4f47b91ce3982f822bba831b250e18b9c110 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 4 Oct 2015 22:25:03 +0000 Subject: fibeamer (4oct15) git-svn-id: svn://tug.org/texlive/trunk@38548 c570f23f-e606-0410-a88d-b1316a301751 --- .../source/latex/fibeamer/theme/mu/ped.dtx | 96 ++++++++++++++++++++++ 1 file changed, 96 insertions(+) create mode 100644 Master/texmf-dist/source/latex/fibeamer/theme/mu/ped.dtx (limited to 'Master/texmf-dist/source/latex/fibeamer/theme/mu/ped.dtx') diff --git a/Master/texmf-dist/source/latex/fibeamer/theme/mu/ped.dtx b/Master/texmf-dist/source/latex/fibeamer/theme/mu/ped.dtx new file mode 100644 index 00000000000..f2f5d584a74 --- /dev/null +++ b/Master/texmf-dist/source/latex/fibeamer/theme/mu/ped.dtx @@ -0,0 +1,96 @@ +% \file{theme/mu/beamercolorthemefibeamer-ped.sty} +% This is the color theme for presentations written at the +% Faculty of Education at the Masaryk University in Brno. +% This theme has no effect outside the presentation mode. +% \begin{macrocode} +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{fibeamer/theme/mu/% + beamercolorthemefibeamer-mu-ped}[2015/08/26] +\mode +% \end{macrocode} +% This color theme uses the combination of orange and dark gray in light frames +% and the combination of gold and white in dark frames. The +% |fibeamer@back|\-|groundInner| and |fibeamer@backgroundOuter| colors are used +% within the background canvas template, which is defined within the color +% theme of the Masaryk University and which draws the gradient background of +% dark frames. +% \begin{macrocode} + \definecolor{fibeamer@gold}{HTML}{CF7000} + \definecolor{fibeamer@orange}{HTML}{FABE6E} + \definecolor{fibeamer@orangeDark}{HTML}{F89C22} + \definecolor{fibeamer@gray}{HTML}{999999} + \colorlet{fibeamer@backgroundInner}{fibeamer@gold} + \colorlet{fibeamer@backgroundOuter}{fibeamer@gold!60!black} +% \end{macrocode} +% The |darkframes| environment switches the |\iffibeamer@darktrue| +% conditional on and sets a dark color theme. +% \begin{macrocode} + \renewenvironment{darkframes}{% + \begingroup + \fibeamer@darktrue + %% Structures + \setbeamercolor*{structure}{fg=white, bg=fibeamer@gold} + \setbeamercolor*{frametitle}{fg=fibeamer@gold!25!white} + \setbeamercolor*{framesubtitle}{fg=white} + %% Text + \setbeamercolor*{normal text}{fg=white, bg=white} + %% Items + \setbeamercolor*{item}{fg=fibeamer@gold!25!white} + \setbeamercolor{footnote mark}{fg=fibeamer@gold!25!white} + %% Blocks + \setbeamercolor*{block title}{ + use=structure, fg=white, bg=fibeamer@gold!60!white} + \setbeamercolor*{block title example}{ + use=example text, fg=white, bg=fibeamer@gold!60!white} + \setbeamercolor*{block title alerted}{ + use=alerted text, fg=white, bg=fibeamer@gold!90!white} + \setbeamercolor*{block body}{ + fg=fibeamer@gold, use=block title, + bg=fibeamer@gray!15!white} + \usebeamercolor*{normal text} + % Code listings + \lstset{ + commentstyle=\color{green!25!white}, + keywordstyle=\color{blue!25!white}, + stringstyle=\color{fibeamer@gold!30!white}} + }{% + \endgroup} +% \end{macrocode} +% Outside the |darkframes| environment, the light theme is used. +% \begin{macrocode} + %% Structures + \setbeamercolor{structure}{fg=black!75!white, bg=white} + \setbeamercolor{frametitle}{fg=fibeamer@orangeDark} + \setbeamercolor{framesubtitle}{fg=black!60!white} + %% Text + \setbeamercolor{normal text}{fg=black!75!white} + %% Items + \setbeamercolor{item}{fg=fibeamer@orangeDark} + \setbeamercolor{footnote mark}{fg=fibeamer@orangeDark} + %% Blocks + \setbeamercolor{block title}{ + use=structure, fg=black!75!white, bg=fibeamer@orange} + \setbeamercolor{block title example}{ + use=example text, fg=black!75!white, bg=fibeamer@orange} + \setbeamercolor{block title alerted}{ + use=alerted text, fg=white, bg=black!75!white} + \setbeamercolor{block body}{ + fg=fibeamer@orange, use=block title, bg=black!75!white} + %% Title + \setbeamercolor{title}{fg=white, bg=fibeamer@gold} + \setbeamercolor{title}{use=structure} + % Code listings + \lstset{ + basicstyle=\footnotesize\ttfamily, + breakatwhitespace=false, + breaklines=true, + commentstyle=\color{green!60!black}, + extendedchars=true, + keywordstyle=\color{blue}, + showspaces=false, + showstringspaces=false, + showtabs=false, + stringstyle=\color{violet}} +\mode + +% \end{macrocode} -- cgit v1.2.3