2 Customization
The theme provides a number of options, which can be set using a key=value interface. The primary way to set options is to provide a comma-separated list of option-value pairs when loading Moloch in the preamble:
\usetheme[
option1=value1,
option2=value2,
...
]{moloch}Options can be changed at any time—even mid-presentation—with the molochset() macro.
\molochset{
option1=newvalue1,
option2=newvalue2,
...
}The list of options is structured as shown in the following example.
<option-name> [<list>, <of>, <values>]
A short description of the option.
2.1 Main Theme
titleformat [regular, smallcaps, allsmallcaps, allcaps]
Changes the format of titles, subtitles, section titles, frame titles, and the text on “standout” frames. The available options produce Regular, SmallCaps, allsmallcaps, or ALLCAPS titles. Note that these commands do not affect math and numbers, so may not work as you expect if your titles contain these.
standoutnumberformat [regular, smallcaps, allsmallcaps, allcaps]
Changes the format of “standout” frames (see titleformat, above).
2.2 Inner Theme
These options control the inner theme, which is responsible for elements like section and subsection pages.
sectionpage [none, simple, progressbar]
Adds a slide at the start of each section (simple) with an optional thin progress bar below the section title (progressbar). The none option disables the section page.
\documentclass{beamer}
\usetheme{moloch}
\begin{document}
\molochset{sectionpage=progressbar} % the default
\section{Section One}
\molochset{sectionpage=simple}
\section{Section Two}
\molochset{sectionpage=none}
\section{Section Three} % Will not have a section page
\end{document}subsectionpage [none, simple, progressbar]
Optionally adds a slide at the start of each subsection. If enabled with the simple or progressbar options, the style of the section page will be updated to match the style of the subsection page. Note that section slides and subsection slides can appear consecutively if both are enabled; you may want to use this option together with sectionpage=none depending on the section structure of your presentation.
standoutnumbering [none, hide, show]
This option decides whether or not to count standout pages as frames if frame counting. Option none (the default) means that the standout frames are not counted. hide means that they are counted but that there won’t be any footer showing a frame number. show means that they are counted and that the frame number count is shown in the same fashion as for regular frames.
2.3 Outer Theme
These options control the outer theme, which is responsible for elements like the frame numbering and progress bar.
numbering [none, counter, fraction]
This option is deprecated and will be removed in a future version. Please use Beamer’s page number in head/foot template instead. Controls whether the frame number at the bottom right of each slide is omitted (none), shown (counter) or displayed as a fraction of the total number of frames (fraction).
progressbar [none, head, frametitle, foot]
Optionally adds a progress bar to the top of each frame (head), the bottom of each frame (foot), or directly below each frame title (frametitle).
\documentclass{beamer}
\usetheme{moloch}
\begin{document}
\molochset{progressbar=none} % the default
\begin{frame}
\frametitle{Progress Bar Example}
The default is to have no progress bar.
\end{frame}
\molochset{progressbar=head}
\begin{frame}
\frametitle{Progress Bar Example}
The progress bar is now displayed at the top of the frame.
\end{frame}
\molochset{progressbar=foot}
\begin{frame}
\frametitle{Progress Bar Example}
The progress bar is now displayed at the bottom of the frame.
\end{frame}
\molochset{progressbar=frametitle}
\begin{frame}
\frametitle{Progress Bar Example}
The progress bar is now displayed in the frametitle area.
\end{frame}
\end{document}2.4 Color Theme
These options control color aspects of the theme, and are forwarded to the color theme.
block [transparent, fill]
Optionally adds a light grey background to block environments like theorem and example.
\documentclass{beamer}
\usetheme{moloch}
\begin{document}
\begin{frame}
\begin{block}{Default Block}
This is a standard block.
\end{block}
\molochset{block=fill}
\begin{block}{Filled Block}
This is a filled block.
\end{block}
\end{frame}
\end{document}background [dark, light]
Provides the option to have a dark background and light foreground instead of the reverse.
\documentclass{beamer}
\usetheme[background=dark]{moloch}
\begin{document}
\begin{frame}
\frametitle{Background Color}
This slide uses the \texttt{background=dark} option, swaps the
foreground and background colors defined by the moloch theme.
\end{frame}
\end{document}2.5 Font Theme
titleformat plain, titleformat frametitle, titleformat section [regular, smallcaps, allsmallcaps, allcaps]
Individually controls the format of titles, subtitles, section titles, and frame titles (see titleformat, above).
2.6 Color Customization
The included Moloch color theme is used by default, but its colors can be easily changed to suit your tastes. All of the theme’s styles are defined in terms of three beamer colors:
normal text(dark fg, light bg)alerted text(colored fg, should be visible against dark or light)example text(colored fg, should be visible against dark or light)
An easy way to customize the theme is to redefine these colors using the following syntax in your preabmle:
\setbeamercolor{ ... }{ fg= ... , bg= ... }For additional customization, you can redefine any of the other stock beamer colors. In addition to the stock colors the theme defines a number of Moloch specific colors, which can also be redefined to your liking.
\setbeamercolor{progress bar}{ ... }
\setbeamercolor{title separator}{ ... }
\setbeamercolor{progress bar in head/foot}{ ... }
\setbeamercolor{progress bar in section page}{ ... }2.7 Themes
2.7.1 Default Theme
The default color theme is almost exactly the same as in the original Metropolis theme, except we have modified the green color for the example blocks to be a bit less saturated.
\usecolortheme{moloch}2.7.2 The High Contrast Theme
For low-light situations Moloch it might be helpful to use the moloch-highcontrast color theme. It is enabled like any other color theme:
\usecolortheme{moloch-highcontrast}2.7.3 The Tomorrow Theme
There is also a theme based on the https://github.com/chriskempson/tomorrow-theme, which you can enable like this:
\usecolortheme{moloch-tomorrow}





