1
0
mirror of https://github.com/eddelbuettel/binb synced 2024-12-22 12:39:58 +01:00
binb/inst/iqssDemo/beamercolorthemeiqss.sty

237 lines
8.6 KiB
TeX

% Modified from beamerclorthemedefault.sty.
% Original work 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.
%
\RequirePackage{listings}
\mode<presentation>
% - Main color BLUE (Title, bullets, arrows)
% - First accent ORANGE (math, or RED)
% - Second accent PURPLE
% - Third accent GREEN
% - Fourth accent RED
% - Fifth accent YELLOW
% red green blue
%Orange 0.776 0.357 0.157
%Blue 0.208 0.380 1.000
%Purple 0.471 0.000 0.471
%Yellow 0.808 0.616 0.133
%Green 0.341 0.553 0.090
\definecolor{iqss@orange}{rgb}{0.776,0.357,0.157}
\definecolor{iqss@blue}{rgb}{0.19,0.55,0.91}
\definecolor{iqss@purple}{rgb}{0.471, 0.000 0.471}
\definecolor{iqss@yellow}{rgb}{0.808, 0.616 0.133}
\definecolor{iqss@green}{rgb}{0.341, 0.553 0.090}
\definecolor{iqss@red}{rgb}{0.65, 0.11 0.19}
\definecolor{iqss@gray}{rgb}{0.95,0.95,0.95}
\lstset{ %
basicstyle=\ttfamily\footnotesize,
backgroundcolor=\color{iqss@gray},
commentstyle=\color{iqss@green},
keywordstyle=\color{iqss@blue},
stringstyle=\color{iqss@purple},
keepspaces=true,
showspaces=false,
showstringspaces=false,
showtabs=false
}
\newcommand<>{\alertb}[1]{\setbeamercolor{alerted text}{fg=iqss@red}%
\begin{alertenv}#2\relax#1\end{alertenv}%
\setbeamercolor{alerted text}{fg=iqss@blue}%
}
\newcommand<>{\alertc}[1]{\setbeamercolor{alerted text}{fg=iqss@green}%
\begin{alertenv}#2\relax#1\end{alertenv}%
\setbeamercolor{alerted text}{fg=iqss@blue}%
}
\newcommand<>{\alertd}[1]{\setbeamercolor{alerted text}{fg=iqss@yellow}%
\begin{alertenv}#2\relax#1\end{alertenv}%
\setbeamercolor{alerted text}{fg=iqss@blue}%
}
\newcommand<>{\alerte}[1]{\setbeamercolor{alerted text}{fg=iqss@purple}%
\begin{alertenv}#2\relax#1\end{alertenv}%
\setbeamercolor{alerted text}{fg=iqss@blue}%
}
\setbeamercolor{normal text}{fg=black,bg=white}
\setbeamercolor{alerted text}{fg=iqss@blue}
\setbeamercolor{example text}{fg=iqss@green}
\setbeamercolor{structure}{fg=iqss@orange}
\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}
%Edd \setbeamercolor{title}{parent=titlelike,fg=white,bg=iqss@orange}
\setbeamercolor{title}{parent=titlelike,fg=iqss@orange}
\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=title}
\setbeamercolor{section name}{}
\setbeamercolor{section title}{parent=title}
\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,bg=iqss@gray}
\setbeamercolor{block title alerted}{parent=alerted text,bg=iqss@gray}
\setbeamercolor{block title example}{parent=example text,bg=iqss@gray}
\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}{fg=fg!50!bg}
\setbeamercolor{page number in head/foot}{fg=iqss@orange}
\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>