feat: add new color theme based on the tomorrow color theme
This commit is contained in:
parent
2a4bbfa945
commit
13e73007c6
|
@ -346,6 +346,8 @@ of \themename specific colors, which can also be redefined to your liking.
|
|||
\setbeamercolor{progress bar in section page}{ ... }
|
||||
\end{lstlisting}
|
||||
|
||||
\subsubsection{Themes}
|
||||
|
||||
For low-light situations \themename it might be helpful to use the
|
||||
|moloch-highcontrast| color theme. It is enabled like any other color theme:
|
||||
|
||||
|
@ -353,6 +355,14 @@ For low-light situations \themename it might be helpful to use the
|
|||
\usecolortheme{moloch-highcontrast}
|
||||
\end{lstlisting}
|
||||
|
||||
There is also a theme based on the
|
||||
\href{tomorrow color theme}{https://github.com/chriskempson/tomorrow-theme},
|
||||
which you can enable like this:
|
||||
|
||||
\begin{lstlisting}
|
||||
\usecolortheme{moloch-tomorrow}
|
||||
\end{lstlisting}
|
||||
|
||||
\subsection{Commands}
|
||||
|
||||
\subsubsection{Standout Frames}
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
moloch-tomorrow.pdf
|
Binary file not shown.
|
@ -0,0 +1,95 @@
|
|||
\documentclass[10pt]{beamer}
|
||||
|
||||
\usepackage[T1]{fontenc}
|
||||
|
||||
\usetheme{moloch}
|
||||
\usecolortheme{moloch-tomorrow}
|
||||
\usepackage{lmodern}
|
||||
|
||||
\setbeamertemplate{page number in head/foot}[appendixframenumber]
|
||||
\setbeamertemplate{section in toc}[sections numbered]
|
||||
|
||||
\usepackage{booktabs}
|
||||
|
||||
\usepackage{xspace}
|
||||
|
||||
\newcommand{\themename}{\textbf{moloch}\xspace}
|
||||
|
||||
\title{Moloch}
|
||||
\subtitle{A Minimal Beamer Theme}
|
||||
\date{\today}
|
||||
\author{The Author}
|
||||
\institute{Some Institution, Some University}
|
||||
\titlegraphic{\hfill\includegraphics[width=3.5cm]{moloch-logo.pdf}}
|
||||
|
||||
\begin{document}
|
||||
|
||||
\maketitle
|
||||
|
||||
\begin{frame}{Table of Contents}
|
||||
\tableofcontents[hideallsubsections]
|
||||
\end{frame}
|
||||
|
||||
\section{Introduction}
|
||||
|
||||
\begin{frame}[fragile]{Moloch}
|
||||
|
||||
The \themename theme is a Beamer theme with minimal visual noise. It is a fork of the
|
||||
\href{https://github.com/matze/mtheme}{metropolis theme} by Matthias Vogelgesang, which in
|
||||
turn was inspired by by the \href{https://github.com/hsrmbeamertheme/hsrmbeamertheme}{hsrm
|
||||
theme} by Benjamin Weiss. \medskip
|
||||
|
||||
Enable the theme by calling
|
||||
\begin{verbatim}\documentclass{beamer}
|
||||
\usetheme{moloch}\end{verbatim}
|
||||
\end{frame}
|
||||
\begin{frame}[fragile]{Sections}
|
||||
Sections group slides of the same topic by introducing a section page between them. A progress bar is shown which indicates how far along in the presentation you are.
|
||||
|
||||
\begin{verbatim}\section{Title Formats}\end{verbatim}
|
||||
\end{frame}
|
||||
|
||||
\begin{frame}[fragile]{Blocks}
|
||||
Three different block environments are pre-defined: \verb|block|, \verb|alertblock|,
|
||||
and \verb|exampleblock|. They can be styled using the option
|
||||
\verb|block|, which takes values \verb|transparent| (default, left column) and \verb|fill| (right column).
|
||||
|
||||
\begin{columns}[T]
|
||||
\begin{column}{0.45\textwidth}
|
||||
\begin{block}{Default}
|
||||
Block content.
|
||||
\end{block}
|
||||
|
||||
\begin{alertblock}{Alert}
|
||||
Block content.
|
||||
\end{alertblock}
|
||||
|
||||
\begin{exampleblock}{Example}
|
||||
Block content.
|
||||
\end{exampleblock}
|
||||
\end{column}
|
||||
\begin{column}{0.45\textwidth}
|
||||
{
|
||||
\molochset{block=fill}
|
||||
|
||||
\begin{block}{Default}
|
||||
Block content.
|
||||
\end{block}
|
||||
|
||||
\begin{alertblock}{Alert}
|
||||
Block content.
|
||||
\end{alertblock}
|
||||
|
||||
\begin{exampleblock}{Example}
|
||||
Block content.
|
||||
\end{exampleblock}
|
||||
}
|
||||
\end{column}
|
||||
\end{columns}
|
||||
\end{frame}
|
||||
|
||||
\begin{frame}[standout]
|
||||
Questions?
|
||||
\end{frame}
|
||||
|
||||
\end{document}
|
|
@ -0,0 +1,51 @@
|
|||
% \iffalse meta-comment -------------------------------------------------------
|
||||
% Copyright 2015 Matthias Vogelgesang and the LaTeX community. A full list of
|
||||
% contributors can be found at
|
||||
%
|
||||
% https://github.com/matze/mtheme/graphs/contributors
|
||||
%
|
||||
% and the original template was based on the HSRM theme by Benjamin Weiss.
|
||||
%
|
||||
% This work is licensed under a Creative Commons Attribution-ShareAlike 4.0
|
||||
% International License (https://creativecommons.org/licenses/by-sa/4.0/).
|
||||
%% ---------------------------------------------------------------------------
|
||||
%% Copyright 2024 Johan Larsson and contributors
|
||||
% ------------------------------------------------------------------------- \fi
|
||||
% \iffalse
|
||||
%<*package>
|
||||
\NeedsTeXFormat{LaTeX2e}
|
||||
\ProvidesPackage{beamercolorthememoloch-tomorrow}[2024-10-30 v0.5.0 Moloch color theme] % x-release-please-version
|
||||
%</package>
|
||||
% \fi
|
||||
% \CheckSum{0}
|
||||
% \StopEventually{}
|
||||
% \iffalse
|
||||
%<*package>
|
||||
% ------------------------------------------------------------------------- \fi
|
||||
%
|
||||
\usecolortheme{moloch}
|
||||
|
||||
\definecolor{tomorrowForeground}{HTML}{1d1f21}
|
||||
\definecolor{tomorrowBackground}{RGB}{255,255,255}
|
||||
\definecolor{tomorrowHeader}{HTML}{1d1f21}
|
||||
\definecolor{tomorrowAlert}{HTML}{cc6666}
|
||||
\definecolor{tomorrowExample}{HTML}{4271ae}
|
||||
\definecolor{tomorrowProgress}{HTML}{8959a8}
|
||||
|
||||
\setbeamercolor{normal text}{fg=tomorrowForeground,bg=tomorrowBackground}
|
||||
\setbeamercolor{moloch accent}{fg=tomorrowAccent}
|
||||
\setbeamercolor{frametitle}{bg=tomorrowHeader}
|
||||
\setbeamercolor{alerted text}{fg=tomorrowAlert}
|
||||
\setbeamercolor{example text}{fg=tomorrowExample}
|
||||
\setbeamercolor{progress bar}{fg=tomorrowProgress}
|
||||
|
||||
%
|
||||
% \begin{macrocode}
|
||||
\mode<all>
|
||||
% \end{macrocode}
|
||||
%
|
||||
% \iffalse
|
||||
%</package>
|
||||
% \fi
|
||||
% \Finale
|
||||
\endinput
|
|
@ -25,5 +25,7 @@
|
|||
\generate{\file{beamerouterthememoloch.sty}{\from{beamerouterthememoloch.dtx}{package}}}
|
||||
\generate{\file{beamerfontthememoloch.sty}{\from{beamerfontthememoloch.dtx}{package}}}
|
||||
\generate{\file{beamercolorthememoloch.sty}{\from{beamercolorthememoloch.dtx}{package}}}
|
||||
\generate{\file{beamercolorthememoloch-tomorrow.sty}{%
|
||||
\from{beamercolorthememoloch-tomorrow.dtx}{package}}}
|
||||
|
||||
\endbatchfile
|
||||
|
|
Loading…
Reference in New Issue