| 1 |
% \iffalse meta-comment |
| 2 |
% |
| 3 |
% Copyright (C) 2017 by Ivan Gankevich <[email protected]> |
| 4 |
% ------------------------------------------------------- |
| 5 |
% |
| 6 |
% This file may be distributed and/or modified under the |
| 7 |
% conditions of the LaTeX Project Public License, either version 1.3c |
| 8 |
% of this license or (at your option) any later version. |
| 9 |
% The latest version of this license is in: |
| 10 |
% |
| 11 |
% http://www.latex-project.org/lppl.txt |
| 12 |
% |
| 13 |
% and version 1.3c or later is part of all distributions of LaTeX |
| 14 |
% version 2005/12/01 or later. |
| 15 |
% |
| 16 |
% \fi |
| 17 |
% \iffalse |
| 18 |
%<*package> |
| 19 |
\NeedsTeXFormat{LaTeX2e} |
| 20 |
\ProvidesPackage{beamercolorthemeSaintPetersburg}[2017/11/20 Saint Petersburg color theme] |
| 21 |
%</package> |
| 22 |
% \fi |
| 23 |
% \CheckSum{0} |
| 24 |
% \StopEventually{} |
| 25 |
% \iffalse |
| 26 |
%<*package> |
| 27 |
% \fi |
| 28 |
% \subsection{SaintPetersburg color theme} |
| 29 |
% Define corporate and several additional colours. |
| 30 |
% \begin{macrocode} |
| 31 |
\definecolor{spbuTerracotta}{cmyk}{.08,.91,.92,.33} |
| 32 |
\definecolor{spbuGray}{cmyk}{.21,.11,.09,.22} |
| 33 |
\definecolor{spbuWhite1}{RGB}{245,246,245} |
| 34 |
\definecolor{spbuWhite2}{RGB}{230,231,230} |
| 35 |
\definecolor{spbuWhite3}{RGB}{217,218,217} |
| 36 |
\definecolor{spbuWhiteRed2}{RGB}{255,231,230} |
| 37 |
\definecolor{spbuWhiteRed3}{RGB}{255,160,160} |
| 38 |
\definecolor{spbuRed}{RGB}{200,40,40} |
| 39 |
\definecolor{spbuDarkGray}{HTML}{404040} |
| 40 |
\definecolor{spbuDarkGray2}{HTML}{5F7177} |
| 41 |
% \end{macrocode} |
| 42 |
|
| 43 |
% Define base beamer color templates. |
| 44 |
% \begin{macrocode} |
| 45 |
\setbeamercolor{normal text}{fg=spbuDarkGray,bg=spbuWhite1} |
| 46 |
\setbeamercolor{frametitle}{bg=spbuWhite1,fg=spbuTerracotta} |
| 47 |
\setbeamercolor{title}{bg=spbuWhite1,fg=spbuTerracotta} |
| 48 |
\setbeamercolor{subtitle}{parent=title} |
| 49 |
\setbeamercolor{date}{parent=normal text} |
| 50 |
\setbeamercolor{author}{parent=normal text} |
| 51 |
\setbeamercolor{institute}{parent=normal text} |
| 52 |
\setbeamercolor{background canvas}{parent=normal text} |
| 53 |
\setbeamercolor{background}{parent=background canvas} |
| 54 |
\setbeamercolor{math text}{fg=spbuDarkGray,bg=spbuWhite1} |
| 55 |
\setbeamercolor{item}{parent=normal text} |
| 56 |
\setbeamercolor{block title}{fg=spbuDarkGray,bg=spbuWhite3} |
| 57 |
\setbeamercolor{block body}{fg=spbuDarkGray,bg=spbuWhite2} |
| 58 |
\setbeamercolor{block title alerted}{fg=spbuRed,bg=spbuWhiteRed3} |
| 59 |
\setbeamercolor{block body alerted}{fg=spbuDarkGray,bg=spbuWhiteRed2} |
| 60 |
\setbeamercolor{block title example}{bg=spbuWhite3} |
| 61 |
\setbeamercolor{block body example}{fg=spbuDarkGray,bg=spbuWhite2} |
| 62 |
% \end{macrocode} |
| 63 |
|
| 64 |
% Define part, section, subsection pages, table of contents page |
| 65 |
% beamer colour templates. |
| 66 |
% \begin{macrocode} |
| 67 |
\setbeamercolor{section in toc}{parent=normal text} |
| 68 |
\setbeamercolor{part page}{parent=frametitle} |
| 69 |
\setbeamercolor{section page}{parent=frametitle} |
| 70 |
\setbeamercolor{subsection page}{parent=frametitle} |
| 71 |
\setbeamercolor{part title}{parent=frametitle,fg=spbuDarkGray} |
| 72 |
% \end{macrocode} |
| 73 |
|
| 74 |
% Define background colour template. |
| 75 |
% \begin{macrocode} |
| 76 |
\beamertemplatesolidbackgroundcolor{spbuWhite1} |
| 77 |
% \end{macrocode} |
| 78 |
|
| 79 |
% Define bibliography items. |
| 80 |
% \begin{macrocode} |
| 81 |
\setbeamercolor{bibliography item}{parent=normal text} |
| 82 |
\setbeamercolor*{bibliography entry title}{parent=normal text} |
| 83 |
\setbeamercolor*{bibliography entry author}{parent=normal text} |
| 84 |
\setbeamercolor*{bibliography entry location}{parent=normal text,fg=spbuDarkGray2} |
| 85 |
\setbeamercolor*{bibliography entry journal}{parent=normal text,fg=spbuDarkGray2} |
| 86 |
\setbeamercolor*{bibliography entry note}{parent=normal text} |
| 87 |
% \end{macrocode} |
| 88 |
|
| 89 |
% Define abstract. |
| 90 |
% \begin{macrocode} |
| 91 |
\setbeamercolor{abstract title}{parent=frametitle} |
| 92 |
\setbeamercolor{abstract}{parent=normal text} |
| 93 |
% \end{macrocode} |
| 94 |
|
| 95 |
% Define captions. |
| 96 |
% \begin{macrocode} |
| 97 |
\setbeamercolor{caption name}{parent=frametitle} |
| 98 |
\setbeamercolor{caption}{parent=normal text} |
| 99 |
% \end{macrocode} |
| 100 |
|
| 101 |
% Define headline. |
| 102 |
% \begin{macrocode} |
| 103 |
\setbeamercolor{title in head/foot}{parent=title} |
| 104 |
\setbeamercolor{subtitle in head/foot}{parent=subtitle} |
| 105 |
\setbeamercolor{author in head/foot}{parent=author} |
| 106 |
\setbeamercolor{date in head/foot}{parent=date} |
| 107 |
\setbeamercolor{institute in head/foot}{parent=institute} |
| 108 |
% \end{macrocode} |
| 109 |
|
| 110 |
% Set white background for printing the poster. |
| 111 |
% \begin{macrocode} |
| 112 |
\makeatletter% |
| 113 |
\if@spbuPoster% |
| 114 |
\beamertemplatesolidbackgroundcolor{white} |
| 115 |
\fi% |
| 116 |
\makeatother% |
| 117 |
% \end{macrocode} |
| 118 |
% \iffalse |
| 119 |
%</package> |
| 120 |
% \fi |
| 121 |
% \Finale |
| 122 |
\endinput |