diff options
author | Karl Berry <karl@freefriends.org> | 2015-10-04 22:25:03 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2015-10-04 22:25:03 +0000 |
commit | 9cae4f47b91ce3982f822bba831b250e18b9c110 (patch) | |
tree | 13de16a4b4a07cc0df3438efad33c7f5cdcc499c /Master/texmf-dist/source/latex/fibeamer/theme/mu/phil.dtx | |
parent | 1518c098fe559de1c3f9f8f531ebe2443c005e06 (diff) |
fibeamer (4oct15)
git-svn-id: svn://tug.org/texlive/trunk@38548 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/fibeamer/theme/mu/phil.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/fibeamer/theme/mu/phil.dtx | 94 |
1 files changed, 94 insertions, 0 deletions
diff --git a/Master/texmf-dist/source/latex/fibeamer/theme/mu/phil.dtx b/Master/texmf-dist/source/latex/fibeamer/theme/mu/phil.dtx new file mode 100644 index 00000000000..e8c199891a4 --- /dev/null +++ b/Master/texmf-dist/source/latex/fibeamer/theme/mu/phil.dtx @@ -0,0 +1,94 @@ +% \file{theme/mu/beamercolorthemefibeamer-phil.sty} +% This is the color theme for presentations written at the Faculty +% of Arts 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-phil}[2015/08/26] +\mode<presentation> +% \end{macrocode} +% This color theme uses the combination of aquamarine, gray and +% white. 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@blue}{HTML}{0071B2} + \definecolor{fibeamer@gray}{HTML}{999999} + \colorlet{fibeamer@backgroundInner}{fibeamer@blue!80!black} + \colorlet{fibeamer@backgroundOuter}{fibeamer@blue!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@blue} + \setbeamercolor*{frametitle}{fg=fibeamer@blue!25!white} + \setbeamercolor*{framesubtitle}{fg=white} + %% Text + \setbeamercolor*{normal text}{fg=white, bg=white} + %% Items + \setbeamercolor*{item}{fg=fibeamer@blue!25!white} + \setbeamercolor{footnote mark}{fg=fibeamer@blue!25!white} + %% Blocks + \setbeamercolor*{block title}{ + use=structure, fg=white, bg=fibeamer@blue!60!white} + \setbeamercolor*{block title example}{ + use=example text, fg=white, bg=fibeamer@blue!60!white} + \setbeamercolor*{block title alerted}{ + use=alerted text, fg=white, bg=fibeamer@blue} + \setbeamercolor*{block body}{ + fg=fibeamer@blue, 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{red!25!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@blue} + \setbeamercolor{framesubtitle}{fg=black!75!white} + %% Text + \setbeamercolor{normal text}{fg=black} + %% Items + \setbeamercolor{item}{fg=fibeamer@blue} + \setbeamercolor{footnote mark}{fg=fibeamer@blue} + %% Blocks + \setbeamercolor{block title}{ + use=structure, fg=white, bg=fibeamer@blue!50!white} + \setbeamercolor{block title example}{ + use=example text, fg=white, bg=fibeamer@blue!50!white} + \setbeamercolor{block title alerted}{ + use=alerted text, fg=white, bg=fibeamer@blue} + \setbeamercolor{block body}{ + fg=fibeamer@blue, use=block title, bg=fibeamer@gray!20!white} + %% Title + \setbeamercolor{title}{fg=white, bg=fibeamer@blue} + \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 +<all> +% \end{macrocode} |