From: Michael Orlitzky Date: Sat, 1 Jul 2023 01:36:37 +0000 (-0400) Subject: Replace UMBC colors with my own. X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=440748f35563b2111e1039629a320e359a1460c7;p=beamer-mjo.git Replace UMBC colors with my own. --- diff --git a/beamercolorthememjo.sty b/beamercolorthememjo.sty index 1be6b29..49a71a0 100644 --- a/beamercolorthememjo.sty +++ b/beamercolorthememjo.sty @@ -1,23 +1,19 @@ % Colors -\definecolor{umbcyellow}{RGB}{255, 255, 200} +\definecolor{mjobg}{RGB}{255, 255, 238} +\definecolor{mjotext}{RGB}{34, 34, 34} +\definecolor{mjotitle}{RGB}{104, 92, 130} +\definecolor{mjohead}{RGB}{208, 58, 39} -\setbeamercolor{title}{fg=black} -\setbeamercolor{structure}{fg=black} +\setbeamercolor{background canvas}{bg=mjobg} +\setbeamercolor{title}{fg=mjohead} +\setbeamercolor{structure}{fg=mjotext} -\setbeamercolor{frametitle}{bg=umbcyellow,fg=black} -\setbeamerfont{frametitle}{shape=\scshape,family=\rmfamily} +\setbeamercolor{block title}{fg=mjohead} +\setbeamercolor{block body}{fg=mjotext} +\setbeamercolor{frametitle}{fg=mjotitle} -\setbeamercolor{section in toc}{fg=black} -\setbeamercolor{item projected}{bg=black,fg=umbcyellow} - -\setbeamercolor*{palette primary} {bg=umbcyellow, fg=black} -\setbeamercolor*{palette secondary} {bg=umbcyellow, fg=black} -\setbeamercolor*{palette tertiary} {bg=umbcyellow, fg=black} -\setbeamercolor*{palette quaternary}{bg=umbcyellow, fg=black} - - -\setbeamercolor*{section in head/foot}{bg=umbcyellow, fg=black} -\setbeamercolor*{subsection in head/foot}{bg=umbcyellow, fg=black} -\setbeamercolor*{author/framecount in foot}{bg=umbcyellow, fg=black} -\setbeamercolor*{title in head/foot}{bg=umbcyellow, fg=black} +\setbeamercolor*{section in head/foot}{fg=mjotitle} +\setbeamercolor*{subsection in head/foot}{fg=mjotitle} +\setbeamercolor*{author/framecount in foot}{fg=mjotitle} +\setbeamercolor*{title in head/foot}{fg=mjotitle} diff --git a/beamerfontthememjo.sty b/beamerfontthememjo.sty index 901b8ce..6300cf6 100644 --- a/beamerfontthememjo.sty +++ b/beamerfontthememjo.sty @@ -1,16 +1,20 @@ \usefonttheme{serif} +% Title page \setbeamerfont{author}{family=\rmfamily} -\setbeamerfont{footline}{shape=\scshape,family=\rmfamily} \setbeamerfont{title}{size=\large,shape=\itshape} \setbeamerfont{subtitle}{size=\normalsize} -\setbeamerfont{block body}{shape=\upshape} -\setbeamerfont{block title}{size={},shape=\upshape,series=\bfseries} +% Frame bits +\setbeamerfont{frametitle}{shape=\scshape,family=\rmfamily,size=\small} +\setbeamerfont{footline}{shape=\scshape,family=\rmfamily} % Use slightly more leading than normal. \linespread{1.1} +% These are for "Theorem" et al. +\setbeamerfont{block title}{size={}} + % The references can be tiny. \setbeamerfont{bibliography item}{size=\footnotesize} \setbeamerfont{bibliography entry author}{size=\footnotesize} diff --git a/beamerinnerthememjo.sty b/beamerinnerthememjo.sty index 667e667..b692068 100644 --- a/beamerinnerthememjo.sty +++ b/beamerinnerthememjo.sty @@ -40,10 +40,12 @@ \setbeamertemplate{theorem begin}{ { \usebeamerfont*{block title} + \usebeamercolor[fg]{block title} \inserttheoremname \inserttheoremnumber \ifx\inserttheoremaddition\@empty\else\ (\inserttheoremaddition)\fi% \inserttheorempunctuation + \usebeamercolor[fg]{block body} } \usebeamerfont*{block body} } @@ -62,7 +64,9 @@ % Don't break the line that "Proof." is on. \setbeamertemplate{proof begin}{ \usebeamerfont*{block title} + \usebeamercolor[fg]{block title} \insertproofname \usebeamerfont*{block body} + \usebeamercolor[fg]{block body} } \setbeamertemplate{proof end}{} diff --git a/beamerthememjo.sty b/beamerthememjo.sty index 2e18d76..c2c658f 100644 --- a/beamerthememjo.sty +++ b/beamerthememjo.sty @@ -39,7 +39,7 @@ \fi% \insertsectionhead% ] - {\begin{frame}{#1}} + {\begin{frame}{#1}\vskip1em\par} {\end{frame}} % Define a new ``refsframe'' environment for the bibliography. diff --git a/example.tex b/example.tex index 62b7cf8..4d66544 100644 --- a/example.tex +++ b/example.tex @@ -16,7 +16,7 @@ \begin{part}{Part one} \begin{section}{Section one} \begin{partsecframe} - Hello, these are some bullet points: + Hello, these are bullet points: \begin{itemize} \begin{item} Item one @@ -34,6 +34,13 @@ \begin{section}{Section two} \begin{partsecframe} Much slide + + \begin{theorem*} + This is a theorem. + \begin{proof} + And its proof. + \end{proof} + \end{theorem*} \end{partsecframe} \begin{partsecframe} So presentation