]> gitweb.michael.orlitzky.com - beamer-mjo.git/commitdiff
Replace UMBC colors with my own.
authorMichael Orlitzky <michael@orlitzky.com>
Sat, 1 Jul 2023 01:36:37 +0000 (21:36 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Sat, 1 Jul 2023 01:36:37 +0000 (21:36 -0400)
beamercolorthememjo.sty
beamerfontthememjo.sty
beamerinnerthememjo.sty
beamerthememjo.sty
example.tex

index 1be6b296f54b89c4375dfe3bc49a79cdc19e361a..49a71a01ae814290d1b4b37ea7d7fdf730b809fa 100644 (file)
@@ -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}
index 901b8ceef07cd9b1e67c6c807c9bc93a6359c4d6..6300cf62fc254328adcb00a3f5f9b25b9f67d34a 100644 (file)
@@ -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}
index 667e667528fc9eb41bbfe67b47d624335264e580..b6920683355b2716bf1efcc086db8fa4ab37e6b1 100644 (file)
 \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}{}
index 2e18d760cd7849ea46bafe00b58340135dfd1b4c..c2c658f535a063728c1292419d8b97f32155b61e 100644 (file)
@@ -39,7 +39,7 @@
   \fi%
   \insertsectionhead%
 ]
-  {\begin{frame}{#1}}
+  {\begin{frame}{#1}\vskip1em\par}
   {\end{frame}}
 
 % Define a new ``refsframe'' environment for the bibliography.
index 62b7cf8c52201dc09cc848b5bdd71ea87bbab42f..4d66544958e42ca8dbcc31272d12602a468f2a32 100644 (file)
@@ -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
     \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