hopping around

~ヘタレ研究者は今日も逝く~

maroon/violet for beamer

beamerのカラーテーマの,maroon版(UofC)と紫版(東北大)を作ってみました。カラーテーマのフォルダ(普通,/usr/local/share/texmf/tex/latex/beamer/themes/color/あたり)に入れて,ls -Rをすれば動くはず。

beamercolorthememaroon.sty:

% Copyright 2008 by MORITA Hatsuru

%

% This file may be distributed and/or modified

%

% 1. under the LaTeX Project Public License and/or

% 2. under the GNU Public License.

%

% See the file doc/licenses/LICENSE for more details.

\ProvidesPackageRCS $Header: /cvsroot/latex-beamer/latex-beamer/themes/color/beamercolorthememaroon.sty,v 0.9 2008/08/18 20:48:24 hatsuru Exp $

\mode

\definecolor{maroon}{RGB}{128,0,0}

\definecolor{salmon}{RGB}{255,127,80}

\definecolor{crimson}{RGB}{220,20,60}

\setbeamercolor{structure}{fg=crimson}

\setbeamercolor{palette primary}{fg=salmon,bg=maroon!70}

\setbeamercolor{palette secondary}{fg=salmon,bg=maroon!80}

\setbeamercolor{palette tertiary}{fg=salmon,bg=maroon!90}

\setbeamercolor{palette quaternary}{fg=salmon,bg=maroon}

\setbeamercolor{titlelike}{parent=palette quaternary}

\setbeamercolor{block title}{fg=salmon,bg=maroon}

\setbeamercolor{block title alerted}{use=alerted text,fg=salmon,bg=alerted text.fg!75!bg}

\setbeamercolor{block title example}{use=example text,fg=salmon,bg=example text.fg!75!bg}

\setbeamercolor{block body}{parent=normal text,use=block title,bg=block title.bg!25!bg}

\setbeamercolor{block body alerted}{parent=normal text,use=block title alerted,bg=block title alerted.bg!25!bg}

\setbeamercolor{block body example}{parent=normal text,use=block title example,bg=block title example.bg!25!bg}

\setbeamercolor{sidebar}{bg=maroon!70}

\setbeamercolor{palette sidebar primary}{fg=salmon}

\setbeamercolor{palette sidebar secondary}{fg=salmon!75}

\setbeamercolor{palette sidebar tertiary}{fg=salmon!75}

\setbeamercolor{palette sidebar quaternary}{fg=salmon}

\setbeamercolor*{separation line}{}

\setbeamercolor*{fine separation line}{}

\mode

beamercolorthemetohoku.sty:

% Copyright 2008 by MORITA Hatsuru

%

% This file may be distributed and/or modified

%

% 1. under the LaTeX Project Public License and/or

% 2. under the GNU Public License.

%

% See the file doc/licenses/LICENSE for more details.

\ProvidesPackageRCS $Header: /cvsroot/latex-beamer/latex-beamer/themes/color/beamercolorthemetohokunavy.sty,v 0.9 2008/08/18 20:48:24 hatsuru Exp $

\mode

\definecolor{tohokunavy}{RGB}{62,21,134}

\definecolor{aliceblue}{RGB}{240,248,255}

\setbeamercolor{structure}{fg=tohokunavy}

\setbeamercolor{palette primary}{fg=aliceblue,bg=tohokunavy!70}

\setbeamercolor{palette secondary}{fg=aliceblue,bg=tohokunavy!80}

\setbeamercolor{palette tertiary}{fg=aliceblue,bg=tohokunavy!90}

\setbeamercolor{palette quaternary}{fg=aliceblue,bg=tohokunavy}

\setbeamercolor{titlelike}{parent=palette quaternary}

\setbeamercolor{block title}{fg=aliceblue,bg=tohokunavy}

\setbeamercolor{block title alerted}{use=alerted text,fg=aliceblue,bg=alerted text.fg!75!bg}

\setbeamercolor{block title example}{use=example text,fg=aliceblue,bg=example text.fg!75!bg}

\setbeamercolor{block body}{parent=normal text,use=block title,bg=block title.bg!25!bg}

\setbeamercolor{block body alerted}{parent=normal text,use=block title alerted,bg=block title alerted.bg!25!bg}

\setbeamercolor{block body example}{parent=normal text,use=block title example,bg=block title example.bg!25!bg}

\setbeamercolor{sidebar}{bg=tohokunavy!70}

\setbeamercolor{palette sidebar primary}{fg=aliceblue}

\setbeamercolor{palette sidebar secondary}{fg=aliceblue!75}

\setbeamercolor{palette sidebar tertiary}{fg=aliceblue!75}

\setbeamercolor{palette sidebar quaternary}{fg=aliceblue}

\setbeamercolor*{separation line}{}

\setbeamercolor*{fine separation line}{}

\mode