summaryrefslogtreecommitdiff
path: root/obsolete/macros/latex/contrib/beamer-contrib/themes/fibeamer/theme/mu/med.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'obsolete/macros/latex/contrib/beamer-contrib/themes/fibeamer/theme/mu/med.dtx')
-rw-r--r--obsolete/macros/latex/contrib/beamer-contrib/themes/fibeamer/theme/mu/med.dtx138
1 files changed, 138 insertions, 0 deletions
diff --git a/obsolete/macros/latex/contrib/beamer-contrib/themes/fibeamer/theme/mu/med.dtx b/obsolete/macros/latex/contrib/beamer-contrib/themes/fibeamer/theme/mu/med.dtx
new file mode 100644
index 0000000000..850a6e0e23
--- /dev/null
+++ b/obsolete/macros/latex/contrib/beamer-contrib/themes/fibeamer/theme/mu/med.dtx
@@ -0,0 +1,138 @@
+% \file{theme/mu/beamercolorthemefibeamer-med.sty}
+% This is the color theme for presentations written at the Faculty
+% of Medicine 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-med}[2016/05/06]
+\mode<presentation>
+% \end{macrocode}
+% This color theme uses the combination of yellow and shades of gray. The
+% |fibeamer@{dark,|\-|light}@background{Inner,|\-|Outer}| colors are used
+% within the background canvas template, which is defined within the base
+% color theme of the Masaryk University and which draws the gradient
+% background of the frames.
+% \begin{macrocode}
+ \definecolor{fibeamer@black}{HTML}{000000}
+ \definecolor{fibeamer@white}{HTML}{FFFFFF}
+ \definecolor{fibeamer@red}{HTML}{c82600}
+ \colorlet{fibeamer@lightRed}{fibeamer@red!30!fibeamer@white}
+ \colorlet{fibeamer@darkRed}{fibeamer@red!60!fibeamer@black}
+ \definecolor{fibeamer@gray}{HTML}{999999}
+ \definecolor{fibeamer@lightOrange}{HTML}{FFA25E}
+ \colorlet{fibeamer@orange}{fibeamer@lightOrange!80!fibeamer@darkRed}
+% \end{macrocode}
+% \changes{v1.1.4:2}{2016/05/06}{Removed gradient backgrounds from
+% the color themes of the Masaryk University in Brno. [VN]}
+% \begin{macrocode}
+ %% Background gradients
+ \colorlet{fibeamer@dark@backgroundInner}{fibeamer@darkRed}
+ \colorlet{fibeamer@dark@backgroundOuter}{fibeamer@darkRed}
+ \colorlet{fibeamer@light@backgroundInner}{fibeamer@white}
+ \colorlet{fibeamer@light@backgroundOuter}{fibeamer@white}
+% \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*{frametitle}{fg=fibeamer@lightRed}
+ \setbeamercolor*{framesubtitle}{fg=fibeamer@white}
+ %% Text
+ \setbeamercolor*{normal text}{fg=fibeamer@white, bg=fibeamer@red}
+ \setbeamercolor*{structure}{fg=fibeamer@white, bg=fibeamer@red}
+% \end{macrocode}
+% \changes{v1.1.0:7}{2016/01/12}{Added support for \cs{alert} to
+% the themes of the Masaryk University in Brno. [VN]}
+% \changes{v1.1.4:5}{2016/05/06}{Unified the alert colors in the
+% color themes of the Masaryk University in Brno. [VN]}
+% \begin{macrocode}
+ \setbeamercolor*{alerted text}{fg=fibeamer@lightOrange}
+% \end{macrocode}
+% \changes{v1.1.4:3}{2016/05/06}{Added proper link coloring for the
+% color themes of the Masaryk University in Brno. [VN]}
+% \changes{v1.1.6}{2017/04/23}{Added proper citation coloring for the
+% color themes of the Masaryk University in Brno. [VN]}
+% \begin{macrocode}
+ %% Items, footnotes and links
+ \setbeamercolor*{item}{fg=fibeamer@lightRed}
+ \setbeamercolor*{footnote mark}{fg=fibeamer@lightRed}
+ \hypersetup{urlcolor=fibeamer@lightRed, citecolor=fibeamer@lightRed}
+ %% Blocks
+ \setbeamercolor*{block title}{%
+ fg=fibeamer@white, bg=fibeamer@red!60!fibeamer@white}
+ \setbeamercolor*{block title example}{%
+ fg=fibeamer@white, bg=fibeamer@red!60!fibeamer@white}
+ \setbeamercolor*{block title alerted}{%
+ fg=fibeamer@darkRed, bg=fibeamer@lightOrange}
+ \setbeamercolor*{block body}{%
+ fg=fibeamer@red,
+ bg=fibeamer@gray!15!fibeamer@white}
+ \usebeamercolor*{normal text}
+ % Code listings
+ \lstset{%
+ commentstyle=\color{green!30!fibeamer@white},
+ keywordstyle=\color{blue!30!fibeamer@white},
+ stringstyle=\color{fibeamer@lightRed}}
+ }{%
+ \endgroup}
+% \end{macrocode}
+% Outside the |darkframes| environment, the light theme is used.
+% \begin{macrocode}
+ %% Structures
+ \setbeamercolor{frametitle}{fg=fibeamer@red}
+ \setbeamercolor{framesubtitle}{fg=fibeamer@black!75!fibeamer@white}
+ %% Text
+ \setbeamercolor{normal text}{fg=fibeamer@black, bg=fibeamer@white}
+ \setbeamercolor{structure}{fg=fibeamer@black, bg=fibeamer@white}
+% \end{macrocode}
+% \changes{v1.1.0:7}{2016/01/12}{Added support for \cs{alert} to
+% the themes of the Masaryk University in Brno. [VN]}
+% \changes{v1.1.4:5}{2016/05/06}{Unified the alert colors in the
+% color themes of the Masaryk University in Brno. [VN]}
+% \begin{macrocode}
+ \setbeamercolor{alerted text}{fg=orange}
+ \addtobeamertemplate{block begin}{%
+ \iffibeamer@dark % alerted text in plain block at dark slides
+ \setbeamercolor{alerted text}{fg=fibeamer@orange}%
+ \fi}{}
+% \end{macrocode}
+% \changes{v1.1.4:3}{2016/05/06}{Added proper link coloring for the
+% color themes of the Masaryk University in Brno. [VN]}
+% \changes{v1.1.6}{2017/04/23}{Added proper citation coloring for the
+% color themes of the Masaryk University in Brno. [VN]}
+% \begin{macrocode}
+ %% Items, footnotes and links
+ \setbeamercolor*{item}{fg=fibeamer@red}
+ \setbeamercolor*{footnote mark}{fg=fibeamer@red}
+ \hypersetup{urlcolor=fibeamer@red, citecolor=fibeamer@red}
+ %% Blocks
+ \setbeamercolor{block title}{%
+ fg=fibeamer@white, bg=fibeamer@red}
+ \setbeamercolor{block title example}{%
+ fg=fibeamer@white, bg=fibeamer@red}
+ \setbeamercolor{block title alerted}{%
+ fg=fibeamer@white, bg=orange}
+ \setbeamercolor{block body}{%
+ fg=fibeamer@red!90!fibeamer@black,
+ bg=fibeamer@gray!20!fibeamer@white}
+ %% Title
+ \setbeamercolor{title}{fg=fibeamer@white, bg=fibeamer@red}
+ % Code listings
+ \lstset{%
+ basicstyle=\footnotesize\ttfamily,
+ breakatwhitespace=false,
+ breaklines=true,
+ commentstyle=\color{green!60!fibeamer@black},
+ extendedchars=true,
+ keywordstyle=\color{blue},
+ showspaces=false,
+ showstringspaces=false,
+ showtabs=false,
+ stringstyle=\color{violet}}
+\mode
+<all>
+% \end{macrocode}