Compare commits

..

No commits in common. "main" and "v0.3.0" have entirely different histories.
main ... v0.3.0

38 changed files with 335 additions and 8095 deletions

5
.envrc
View File

@ -1,5 +0,0 @@
# shellcheck shell=bash
if ! has nix_direnv_version || ! nix_direnv_version 3.0.6; then
source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/3.0.6/direnvrc" "sha256-RYcUJaRMf8oF5LznDrlCXbkOQrywm0HDv1VjYGaJGdM="
fi
use flake

View File

@ -11,13 +11,28 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v27
- uses: teatimeguest/setup-texlive-action@v3
with:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
packages: >-
scheme-basic
beamer
biblatex
enumitem
fileinfo
hypdoc
hyperref
l3build
listings
metalogo
parskip
pgf
pgfopts
setspace
xurl
- name: document
run: nix develop --command l3build-wrapped doc
run: l3build doc
- name: build
run: nix develop --command l3build-wrapped ctan -q -H --show-log-on-error
run: l3build ctan -q -H --show-log-on-error
release:
if: ${{ github.ref == 'refs/heads/main' }}
permissions:
@ -27,6 +42,6 @@ jobs:
- build-and-test
runs-on: ubuntu-latest
steps:
- uses: googleapis/release-please-action@v4
- uses: google-github-actions/release-please-action@v4
with:
token: ${{ secrets.RELEASE_PLEASE_TOKEN }}

10
.gitignore vendored
View File

@ -303,18 +303,10 @@ TSWLatexianTemp*
# Ignore sty files generated from dtx
*.sty
doc/moloch.pdf
examples/demo/demo.pdf
build/
.latex-cache
*-ctan.zip
.oc
*.curlopt
*.zip
# nix -----------------------------------------------
# Ignore build outputs from performing a nix-build or `nix build` command
result
result-*
# Ignore direnv folder
.direnv/

View File

@ -1,3 +1,3 @@
{
".": "1.0.1"
".": "0.3.0"
}

View File

@ -1,70 +1,5 @@
# Changelog
## [1.0.1](https://github.com/jolars/moloch/compare/v1.0.0...v1.0.1) (2025-04-01)
### Bug Fixes
* add missing files for updating version tags ([ba01d33](https://github.com/jolars/moloch/commit/ba01d33b1993d4992372420f25f6390c5e4baa91))
* use proper package names ([0c4d38e](https://github.com/jolars/moloch/commit/0c4d38e3c2e2b0b93bfc1b6c1abe6bf0a3a01311))
## [1.0.0](https://github.com/jolars/moloch/compare/v0.6.0...v1.0.0) (2025-04-01)
### Features
* add customization of bar line width ([#42](https://github.com/jolars/moloch/issues/42)) ([be0d8f2](https://github.com/jolars/moloch/commit/be0d8f23c72b9760baeb31a58d2e9988cba5d19a))
* support `\thanks` in title page ([#45](https://github.com/jolars/moloch/issues/45)) ([de3db5e](https://github.com/jolars/moloch/commit/de3db5e517c06d1b8793b3a1c134b9bf4ad8b189))
## [0.6.0](https://github.com/jolars/moloch/compare/v0.5.0...v0.6.0) (2025-01-17)
### Features
* add back highcontrast theme from metropolis ([3039994](https://github.com/jolars/moloch/commit/3039994e27a01d54d7a3cfa696318413161f5e15))
* add new color theme based on the tomorrow color theme ([13e7300](https://github.com/jolars/moloch/commit/13e73007c6d29989684aa228f7f74d3bdcce526f))
* add option to customize frame numbering of standout pages ([d6d0e3c](https://github.com/jolars/moloch/commit/d6d0e3c61565f06d1987c275e2460c9b61ef8ae3)), closes [#33](https://github.com/jolars/moloch/issues/33)
* deprecate `\mreducelistspacing` ([3d87ec2](https://github.com/jolars/moloch/commit/3d87ec2d8d4a81c09d13083aa61af2a36ce6dd1d))
* redesign section and subsection pages ([#30](https://github.com/jolars/moloch/issues/30)) ([5a98c69](https://github.com/jolars/moloch/commit/5a98c69a3f07b5b36d5d2c5e5a117e25c472ad22))
* use golden rule in top-bottom spacing of title page ([85eabc7](https://github.com/jolars/moloch/commit/85eabc7beef4296dcc7a7ac53eb0f7a785fe8c35))
### Reverts
* "feat: deprecate `\mreducelistspacing`" ([eb4bf54](https://github.com/jolars/moloch/commit/eb4bf54e734a64936903d18dbb6d1668d769fa01))
* "test: remove standoutnumbering test" ([ce7540d](https://github.com/jolars/moloch/commit/ce7540d71caf490cbd3129345cd778b1519394d9))
## [0.5.0](https://github.com/jolars/moloch/compare/v0.4.0...v0.5.0) (2024-10-30)
### Features
* replace `\vfill` with `\vfil` in title frame ([8f2a59e](https://github.com/jolars/moloch/commit/8f2a59e239cf0ae32f1a5c8fbf6ad739fa1cd328))
* switch from fill to fil ([#21](https://github.com/jolars/moloch/issues/21)) ([873ae15](https://github.com/jolars/moloch/commit/873ae154824ed10d45f05c6efe4c4cc73eca1a22))
### Bug Fixes
* remove duplicated footnote color specifications ([#26](https://github.com/jolars/moloch/issues/26)) ([1306af5](https://github.com/jolars/moloch/commit/1306af5a73e0a030ece2ad9825496cc28507ad54))
* remove extra space below progressbar section pages ([#27](https://github.com/jolars/moloch/issues/27)) ([e5be480](https://github.com/jolars/moloch/commit/e5be4806ab9b975be8e8f67434c80fd2155e30b2))
* set use=block title in block body for fill ([e8921a6](https://github.com/jolars/moloch/commit/e8921a69642166ef22b9b27cd3633a735c22f153)), closes [#28](https://github.com/jolars/moloch/issues/28)
* tag files with date ([28003e7](https://github.com/jolars/moloch/commit/28003e7502ce420a0e24b96e27ba3d30b9b0ecbc))
## [0.4.0](https://github.com/jolars/moloch/compare/v0.3.0...v0.4.0) (2024-07-09)
### Features
* add a small amount of vertical space before subtitle ([b224a9b](https://github.com/jolars/moloch/commit/b224a9b5067187e64a7669b61aee029447535729))
* support memoize package (closes [#16](https://github.com/jolars/moloch/issues/16)) ([1ca26e8](https://github.com/jolars/moloch/commit/1ca26e857a331fcb29296c4987b69aea0db90fae))
* support title format modifications ([#18](https://github.com/jolars/moloch/issues/18)) ([46a4f49](https://github.com/jolars/moloch/commit/46a4f49e8bb95798c2d6f3b69a1b96128d95cb8b))
### Bug Fixes
* add % at the end of some commands ([33b9833](https://github.com/jolars/moloch/commit/33b9833f21d3e0654fe2452d0b8ac8e8eb3a47bb))
* convert raw command in manual to text ([ac305e9](https://github.com/jolars/moloch/commit/ac305e9b547ce44e0573f333adc4e6684eb88b68))
## [0.3.0](https://github.com/jolars/moloch/compare/v0.2.0...v0.3.0) (2024-03-06)

View File

@ -12,24 +12,19 @@ The fork was created for the following reasons:
- To remove some of the more opinionated design choices, such as special handling of the Fira family of fonts.
- To strip away some features that added complexity to the code base without achieving valuable functionality for the majority of users, such as special code block designs and the pgfplots theme.
[Here's a blog post](https://jolars.co/blog/2024-05-30-moloch/) in which I introduce the theme and write in more detail about the changes with respect to Metropolis.
Also see the [demo](examples/demo/demo.pdf) for a quick introduction to the theme.
Do not expect this theme to be backwards compatible with the Metropolis theme.
![Screenshot](https://raw.githubusercontent.com/jolars/moloch/main/assets/screenshot.svg)
## Installation
Moloch is on [CTAN](https://ctan.org/pkg/moloch), so you can install it using your favorite LaTeX package manager. For example, with `tlmgr`:
```bash
```sh
tlmgr install moloch
```
You can also install the theme from source, in which case you need a working LaTeX installation with `l3build` installed. Then just follow these steps:
```bash
```sh
git clone https://github.com/jolars/moloch.git
cd moloch
l3build install

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 174 KiB

View File

@ -9,26 +9,26 @@ textfiles = { "*.md", "LICENSE" }
checkengines = { "pdftex" }
checksuppfiles = { "*.tex" }
packtdszip = false
packtdszip = true
maxprintline = 9999
uploadconfig = {
pkg = "moloch",
version = "1.0.1", -- x-release-please-version
version = "0.3.0", -- x-release-please-version
author = "Johan Larsson",
uploader = "Johan Larsson",
license = "cc-by-sa-4",
summary = "A clean and simple beamer theme",
description = "Moloch is a clean and simple beamer theme. "
.. "It is a fork of the Metropolis theme, but has a "
.. "more minimalistic and slightly less opinionated design.",
.. "It is a fork of the Metropolis theme, but has a "
.. "more minimalistic and slightly less opinionated design.",
ctanPath = "/macros/latex/contrib/beamer-contrib/themes/moloch",
repository = "https://github.com/jolars/moloch",
bugtracker = "https://github.com/jolars/moloch/issues",
support = "https://github.com/jolars/moloch/discussions",
topic = "presentation",
announcement_file = "ctan_announcement.txt",
update = false,
}
function update_tag(file, content, tagname, tagdate)

View File

@ -1,19 +0,0 @@
This release of Moloch adds support for `\thanks` in the title page and allows
customization of the bar line width. The 1.0.0 version was not released
on CTAN due to a couple of small issues, which were then fixed in 1.0.1.
See below fro detailed changes.
## [1.0.1](https://github.com/jolars/moloch/compare/v1.0.0...v1.0.1) (2025-04-01)
### Bug Fixes
* add missing files for updating version tags ([ba01d33](https://github.com/jolars/moloch/commit/ba01d33b1993d4992372420f25f6390c5e4baa91))
* use proper package names ([0c4d38e](https://github.com/jolars/moloch/commit/0c4d38e3c2e2b0b93bfc1b6c1abe6bf0a3a01311))
## [1.0.0](https://github.com/jolars/moloch/compare/v0.6.0...v1.0.0) (2025-04-01)
### Features
* add customization of bar line width ([#42](https://github.com/jolars/moloch/issues/42)) ([be0d8f2](https://github.com/jolars/moloch/commit/be0d8f23c72b9760baeb31a58d2e9988cba5d19a))
* support `\thanks` in title page ([#45](https://github.com/jolars/moloch/issues/45)) ([de3db5e](https://github.com/jolars/moloch/commit/de3db5e517c06d1b8793b3a1c134b9bf4ad8b189))

View File

@ -11,9 +11,6 @@
%% ---------------------------------------------------------------------------
%% Copyright 2024 Johan Larsson and contributors
%% ---------------------------------------------------------------------------
\PassOptionsToPackage{unicode,pdfusetitle}{hyperref}
\PassOptionsToPackage{hyphens}{xurl}
\PassOptionsToPackage{dvipsnames}{xcolor}
\documentclass{ltxdoc}
@ -21,10 +18,7 @@
\usepackage{setspace}
\usepackage{xspace}
\usepackage{xurl}
\usepackage{lmodern}
\usepackage{microtype}
\UseMicrotypeSet[protrusion]{basicmath} % disable protrusion for tt fonts
\onehalfspacing
\usepackage{enumitem}
\setlist[itemize]{noitemsep}
@ -41,8 +35,8 @@
\lstset{%
language=[LaTeX]{TeX},
basicstyle=\ttfamily,
keywordstyle=\color{MidnightBlue}\bfseries,
commentstyle=\color{Periwinkle},
keywordstyle=\color{mLightBrown}\bfseries,
commentstyle=\color{mLightGreen},
stringstyle=\color{mLightGreen},
backgroundcolor=\color{mBackground},
numbers=none,
@ -64,27 +58,22 @@
xrightmargin=0em,
aboveskip=1em,
belowskip=1em,
morekeywords={
usetheme,
institute,
maketitle,
@moloch@titleformat,
%plain,
setbeamercolor,
molochset,
setsansfont,
setmonofont
},
morekeywords={usetheme,institute,maketitle,%
plain,setbeamercolor,molochset,setsansfont,setmonofont},
}
\lstMakeShortInline|
\usepackage{metalogo}
\usepackage[colorlinks=true,linkcolor=MidnightBlue,urlcolor=MidnightBlue]{hyperref}
\usepackage[colorlinks=true,
linkcolor=mLightBrown,
menucolor=mLightBrown,
pagecolor=mLightBrown,
urlcolor=mLightBrown]{hyperref}
\newcommand{\DescribeOption}[4]{
\DescribeMacro{#1}
\begin{minipage}[t]{\textwidth}
\textit{\textbf{\textcolor{JungleGreen}{#2}}}\dotfill\,#3\par
\textit{\textbf{\textcolor{mLightGreen}{#2}}}\dotfill\,#3\par
\begingroup
\vspace{0.5em}#4\par
\endgroup
@ -93,24 +82,24 @@
\newcommand{\themename}{\textsf{moloch}\xspace}
\def\molochversion{1.0.1} % x-release-please-version
\def\molochversion{0.3.0} % x-release-please-version
\usepackage{readprov}
% \ReadPackageInfos{beamerthememoloch}
\title{The \themename Package (v\molochversion)}
\title{The \themename package (v\molochversion)}
\author{Johan Larsson \and Matthias Vogelgesang\footnote{Matthias wrote the original version of this manual for the Metropolis theme, which has since been modified by Johan Larsson.}}
\date{\today}
\begin{document}
\maketitle
\hypersetup{linkcolor=black}
\tableofcontents
\hypersetup{linkcolor=MidnightBlue}
\section{Introduction}
Beamer is a great way to make presentations with LaTeX, but its theme
selection is surprisingly sparse. The stock themes share an aesthetic that can
be a little cluttered, while the few distinctive custom themes available are
@ -125,7 +114,7 @@ slide or to the section slides.
If you have any issues, find mistakes in the manual or want to help make
the theme even better, please get in touch there.
\themename is a fork of the popular Metropolis theme by Matthias Vogelgesang.
\themename is a fork of the popular Metroplis theme by Matthias Vogelgesang.
The motivation for the fork was to fix some longstanding bugs in Metropolis
and also simplify the codebase to make it easier to maintain and less
fragile to changes in the underlying Beamer code.
@ -177,10 +166,10 @@ The following code shows a minimal example of a Beamer presentation using
\begin{lstlisting}
\documentclass{beamer}
\usetheme{moloch}
\title{A Minimal Example}
\title{A minimal example}
\date{\today}
\author{Johan Larsson}
\institute{Some University}
\institute{Centre for Modern Beamer Themes}
\begin{document}
\maketitle
\section{First Section}
@ -190,6 +179,7 @@ The following code shows a minimal example of a Beamer presentation using
\end{document}
\end{lstlisting}
\subsection{Dependencies}
\themename depends on the |beamer| class and the following standard packages:
@ -197,7 +187,6 @@ The following code shows a minimal example of a Beamer presentation using
\begin{itemize}
\item |tikz|
\item |pgfopts|
\item |etoolbox|
\item |calc|
\end{itemize}
\end{multicols}
@ -211,9 +200,10 @@ presentations, you can run the following command
$ pandoc -t beamer -V theme:moloch -o output.pdf input.md
\end{lstlisting}
\section{Customization}
\subsection{Package Options}
\subsection{Package options}
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
@ -234,26 +224,7 @@ The list of options is structured as shown in the following example.
A short description of the option.
}
\subsubsection{Main Theme}
\DescribeOption{titleformat}%
{regular, smallcaps, allsmallcaps, allcaps}
{regular}{
Changes the format of titles, subtitles, section titles, frame titles, and
the text on ``standout'' frames. The available options produce
Regular, \textsc{SmallCaps}, \textsc{\MakeLowercase{AllSmallCaps}}, or
\MakeUppercase{AllCaps} titles. Note that these commands do not
affect math and numbers, so may not work as you expect if your titles
contain these.
}
\DescribeOption{titleformat plain}%
{regular, smallcaps, allsmallcaps, allcaps}%
{regular}{
Changes the format of ``standout'' frames (see |titleformat|, above).
}
\subsubsection{Inner Theme}
\subsubsection{Inner theme}
\DescribeOption{sectionpage}{none, simple, progressbar}{progressbar}{
Adds a slide at the start of each section (|simple|) with an optional thin
@ -270,16 +241,8 @@ The list of options is structured as shown in the following example.
on the section structure of your presentation.
}
\DescribeOption{standoutnumbering}{none, hide, show}{none}{
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.
}
\subsubsection{Outer Theme}
\subsubsection{Outer theme}
\DescribeOption{numbering}{none, counter, fraction}{}{
\emph{This option is deprecated and will be removed in a future version.
@ -295,7 +258,7 @@ The list of options is structured as shown in the following example.
(|frametitle|).
}
\subsubsection{Color Theme}
\subsubsection{Color theme}
\DescribeOption{block}{transparent, fill}{transparent}{
Optionally adds a light grey background to block environments like |theorem|
@ -307,18 +270,6 @@ The list of options is structured as shown in the following example.
of the reverse.
}
\subsubsection{Font Theme}
\DescribeMacro{titleformat title}
\DescribeMacro{titleformat subtitle}
\DescribeMacro{titleformat section}
\DescribeOption{titleformat frame}%
{regular, smallcaps, allsmallcaps, allcaps}%
{regular}{
Individually controls the format of titles, subtitles, section titles, and
frame titles (see |titleformat|, above).
}
\subsection{Color Customization}
The included \themename color theme is used by default, but its colors can be
@ -346,8 +297,6 @@ 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:
@ -355,17 +304,10 @@ 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}
\subsubsection{Standout frames}
The \themename inner theme offers a custom frame format with large, centered
text and an inverted background---perfect for focusing attention on
@ -379,19 +321,7 @@ single sentence or image. To use it, add the key |standout| to the frame:
\section{Known Issues}
\subsection{Title Formats}
Be aware that not every font supports small caps, so the |smallcaps| or
|allsmallcaps| options may not work for all fonts.
In particular, the Computer Modern sans-serif typeface, which is used
by default when \themename is compiled with pdf\LaTeX, does not have a
small-caps variant.
Note that title format options |allsmallcaps| and |allcaps| do not
affect the sizes of numerals, punctuation, and math symbol, and are
probably best avoided if your titles contain these characters.
\subsection{Interactions with Other Color Themes}
\subsection{Interactions with other color themes}
\themename can be used along with any other Beamer color theme, such as
|crane| or |seahorse|. If you wish to do this, it is usually best to include
@ -399,11 +329,11 @@ the \themename subpackages individually so the \themename color theme is
never loaded. This will prevent conflicts between the \themename color theme
and your preferred theme.
For example, overriding the color theme as follows may not work as expected
because |\usetheme{moloch}| loads the \themename color theme, which defines a
relationship between the frametitle background and the primary palette of the
theme. Since |seahorse| assumes a different relationship between its palettes,
the result is a grey, rather than periwinkle, frametitle background.
For example, overriding the color theme as follows may not work as expected because |\usetheme{moloch}| loads the \themename color theme, which
defines a relationship between the frametitle background and the primary
palette of the theme. Since |seahorse| assumes a different relationship
between its palettes, the result is a grey, rather than periwinkle,
frametitle background.
\begin{lstlisting}
\usetheme{moloch}
@ -425,7 +355,8 @@ favourite Beamer color theme. In particular, \themename does not set a
background color for the title; this will cause issues when using color themes
like |whale| which set a white foreground for the title.
\subsection{Notes on Second Screen}
\subsection{Notes on second screen}
If you use the \verb+[show notes on second screen]+ option built in to Beamer and
compile with \XeLaTeX, text on slides following the first section slide may
@ -439,13 +370,14 @@ on each slide.
\makeatletter
\def\beamer@framenotesbegin{% at beginning of slide
\usebeamercolor[fg]{normal text}
\gdef\beamer@noteitems{}%
\gdef\beamer@notes{}%
\gdef\beamer@noteitems{}%
\gdef\beamer@notes{}%
}
\makeatother
\end{lstlisting}
\subsection{Standout Frames with Labels}
\subsection{Standout frames with labels}
Because the |standout| frame option creates a group to restrict the colour
change to a single slide, labels defined after calling |standout| will stay
@ -461,7 +393,7 @@ To fix this problem, change the order of the keys in the frame.
\begin{lstlisting}
\begin{frame}[label=conclusion, standout]{Conclusion}
Awesome slide
Awesome slide
\end{frame}
\end{lstlisting}
@ -477,12 +409,14 @@ solution for Org mode users, using |org-set-property|.
:END:
\end{lstlisting}
\subsection{Standout Frames with Pandoc}
With Pandoc versions prior to 1.17.2 it was not possible to create standout frames
\subsection{Standout frames with Pandoc}
With Pandoc versions prior 1.17.2 it was not possible to create standout frames
because Pandoc only supported a specific list of frame attributes thus ignoring
additional attributes such as |{.standout}|.
\section{License}
\themename is licensed under a
@ -492,6 +426,7 @@ This means that if you change the theme and re-distribute it, you must retain
the copyright notice header and license it under the same CC-BY-SA license.
This does not affect any presentations that you create with the theme.
\section{Implementation}
\DocInput{beamerthememoloch.dtx}

View File

@ -1 +0,0 @@
moloch-tomorrow.pdf

View File

@ -1,82 +0,0 @@
\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}
\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
\section{Introduction}
\begin{frame}[fragile]
\frametitle{Moloch}
This small demo shows how the
\href{https://github.com/chriskempson/tomorrow-theme}{tomorrow color theme}
for moloch looks.\bigskip
Enable the color theme by calling
\begin{verbatim}
\usecolortheme{moloch-tomorrow}\end{verbatim}
\end{frame}
\begin{frame}[fragile]
\frametitle{Tomorrow Color Theme}
The tomorrow color theme has a higher contrast than the standard moloch theme, and uses
different colors for alerts and examples.
\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}
\section{A Section Just to Showcase Progress Bar Color}
\begin{frame}[standout]
Questions?
\end{frame}
\end{document}

Binary file not shown.

View File

@ -7,11 +7,12 @@
\setbeamertemplate{page number in head/foot}[appendixframenumber]
\setbeamertemplate{section in toc}[sections numbered]
% \molochset{progressbar=foot}
\usepackage{booktabs}
\usepackage[scale=2]{ccicons}
\usepackage[semibold,light]{FiraSans}
\usepackage{FiraMono}
\usepackage{lmodern}
\usepackage{xspace}
@ -20,108 +21,39 @@
\title{Moloch}
\subtitle{A Minimal Beamer Theme}
\date{\today}
\author{The Author}
\institute{Some Institution, Some University}
\author{Johan Larsson}
\institute{The Department of Statistics, Lund University}
\titlegraphic{\hfill\includegraphics[width=3.5cm]{moloch-logo.pdf}}
\begin{document}
\maketitle
\begin{frame}
\frametitle{Table of Contents}
\begin{frame}{Table of Contents}
\tableofcontents[hideallsubsections]
\end{frame}
\section{Introduction}
\begin{frame}[fragile]
\frametitle{Moloch}
\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
\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]
\frametitle{Sections}
\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}
\begin{verbatim}\section{Elements}\end{verbatim}
\end{frame}
\section{Title Formats}
\begin{frame}[fragile]
\frametitle{Moloch Title Formats}
\themename supports four different title formats:
\begin{itemize}
\item \texttt{regular} (Regular)
\item \texttt{smallcaps} (\textsc{Small Caps})
\item \texttt{allsmallcaps} (\textsc{all small caps})
\item \texttt{allcaps} (ALL CAPS)
\end{itemize}
They can either be set globally for every frame or used locally just for the current frame
and onwards by using
\begin{verbatim}\molochset{titleformat frame=<option>}\end{verbatim}
\end{frame}
{
\molochset{titleformat frame=smallcaps}
\begin{frame}
\frametitle{Small Caps}
\begin{alertblock}{Potential Problems}
Be aware that not every font supports small caps. If you use the Computer (or Latin) Modern Sans Serif font, for instance, text in small caps will just be typeset in a normal font.
\end{alertblock}
\end{frame}
}
{
\molochset{titleformat frame=allsmallcaps}
\begin{frame}
\frametitle{All Small Caps}
This frame uses the \texttt{allsmallcaps} title format.
\begin{alertblock}{Potential Problems}
This title format also uses small caps, so you face the same problems as with the \texttt{smallcaps} title format.
\medskip
In addition, note that numbers and math will be unaffected by this setting and will match
poorly with text as a result. For that reason, we suggest you make sure titles are all
plain text if you use this option.
\medskip
Finally, observe that the height of the frame title box will be modified to account for the
decreased text height since there are no capital letters. This too means that numbers and
math will not work well.
\end{alertblock}
\end{frame}
}
{
\molochset{titleformat frame=allcaps}
\begin{frame}
\frametitle{All Caps}
This frame uses the \texttt{allcaps} title format.
\begin{alertblock}{Potential Problems}
This title format is not as problematic as the \texttt{allsmallcaps} format, but basically suffers from the same deficiencies. So please have a look at the documentation if you want to use it.
\end{alertblock}
\end{frame}
}
\section{Elements}
\begin{frame}[fragile]
\frametitle{Typography}
\begin{frame}[fragile]{Typography}
\begin{verbatim}The theme provides sensible defaults to
\emph{emphasize} text, \alert{accent} parts or show
\textbf{bold} results.\end{verbatim}
@ -132,8 +64,7 @@
\alert{accent} parts or show \textbf{bold} results.
\end{frame}
\begin{frame}
\frametitle{Font Features Test}
\begin{frame}{Font Features Test}
\begin{itemize}
\item Regular
\item \textit{Italic}
@ -148,8 +79,7 @@
\end{itemize}
\end{frame}
\begin{frame}
\frametitle{Lists}
\begin{frame}{Lists}
\begin{columns}[T,onlytextwidth]
\column{0.3\textwidth}
Items
@ -165,21 +95,19 @@
\column{0.33\textwidth}
Descriptions
\begin{description}[PowerPoint]
\begin{description}
\item[PowerPoint] Meeh. \item[Beamer] Yeeeha.
\end{description}
\end{columns}
\end{frame}
\begin{frame}
\frametitle{Animation}
\begin{frame}{Animation}
\begin{itemize}[<+- | alert@+>]
\item \alert<4>{This is\only<4>{ really} important}
\item Now this
\item And now this
\end{itemize}
\end{frame}
\begin{frame}
\frametitle{Figures}
\begin{frame}{Figures}
\begin{figure}
\newcounter{density}
\setcounter{density}{20}
@ -206,8 +134,7 @@
\end{figure}
\end{frame}
\begin{frame}
\frametitle{Tables}
\begin{frame}{Tables}
\framesubtitle{Largest cities in the world}
\begin{table}
\caption{Largest cities in the world (source: Wikipedia)}
@ -223,8 +150,7 @@
\end{tabular}
\end{table}
\end{frame}
\begin{frame}[fragile]
\frametitle{Blocks}
\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).
@ -263,56 +189,13 @@
\end{columns}
\end{frame}
\begin{frame}[c]
\frametitle{Progress Bars}
A prominent feature of \themename is the use of progress bars to
visualize the progress of the presentation. \medskip
By default bars are shown on section pages, but this can be toggled
through \texttt{sectionpage=progressbar|simple|none} and also enabled for
subsection pages through \texttt{subsectionpage=progressbar}.\medskip
Finally, you can enable progress bars on frames by setting
\texttt{progressbar=none|head|frametitle|foot} (depending on where
you'd like the bar to be placed).\medskip
\end{frame}
\begin{frame}[c,fragile]
\frametitle{Progress Bar Customization}
You can customize the width of the bars using
\texttt{progressbar linewidth=<length>}.\medskip
On the following pages, we have set
\begin{verbatim}\molochset{
progressbar=frametitle,
progressbar linewidth=1pt
}
\end{verbatim}
to enable progress bars below the frame title and set its width to 1pt.
\end{frame}
\molochset{progressbar=frametitle,progressbar linewidth=1pt}
\begin{frame}[c,fragile]
\frametitle{The Title Page}
There is only very little customization available of the title page at the
time of writing.\medskip
But you can at least modify the line width of the title separator
by setting \texttt{titleseparator linewidth=<length>}
\end{frame}
\begin{frame}
\frametitle{Math}
\begin{frame}{Math}
\begin{equation*}
e = \lim_{n\to \infty} \left(1 + \frac{1}{n}\right)^n
\end{equation*}
\end{frame}
\begin{frame}
\frametitle{Quotes}
\begin{frame}{Quotes}
\begin{quote}
Verily, I say unto you, the days spoken of in the Apocalypse are nigh!
\end{quote}
@ -320,22 +203,19 @@
{%
\setbeamertemplate{frame footer}{My custom footer}
\begin{frame}[fragile]
\frametitle{Frame Footer}
\begin{frame}[fragile]{Frame Footer}
\themename defines a custom beamer template to add a text to the footer. It can be set via
\begin{verbatim}\setbeamertemplate{frame footer}{My custom footer}\end{verbatim}
\end{frame}
}
\begin{frame}[fragile]
\frametitle{References}
\begin{frame}[fragile]{References}
Here are some references~\cite{Knuth92,ConcreteMath,Simpson,Er01,greenwade93} to showcase \verb+[allowframebreaks]+.
\end{frame}
\section{Conclusion}
\begin{frame}
\frametitle{Summary}
\begin{frame}{Summary}
Get the source of this theme and the demo presentation from
\begin{center}
@ -343,8 +223,7 @@
\end{center}
The theme is licensed under the
\href{http://creativecommons.org/licenses/by-sa/4.0/}{Creative Commons
Attribution-ShareAlike 4.0 International License}.
\href{http://creativecommons.org/licenses/by-sa/4.0/}{Creative Commons Attribution-ShareAlike 4.0 International License}.
\begin{center}
\ccbysa

View File

@ -1,64 +0,0 @@
{
"nodes": {
"flake-utils": {
"inputs": {
"systems": [
"systems"
]
},
"locked": {
"lastModified": 1731533236,
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
},
"nixpkgs": {
"locked": {
"lastModified": 1737003892,
"narHash": "sha256-RCzJE9wKByLCXmRBp+z8LK9EgdW+K+W/DXnJS4S/NVo=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "ae06b9c2d83cb5c8b12d7d0e32692e93d1379713",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixpkgs-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"root": {
"inputs": {
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs",
"systems": "systems"
}
},
"systems": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"type": "github"
}
}
},
"root": "root",
"version": 7
}

View File

@ -1,53 +0,0 @@
{
description = "A basic flake with a shell";
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
inputs.systems.url = "github:nix-systems/default";
inputs.flake-utils = {
url = "github:numtide/flake-utils";
inputs.systems.follows = "systems";
};
outputs =
{ nixpkgs, flake-utils, ... }:
flake-utils.lib.eachDefaultSystem (
system:
let
pkgs = nixpkgs.legacyPackages.${system};
texlive = pkgs.texlive.combine {
inherit (pkgs.texlive)
scheme-basic
l3build
beamer
biblatex
enumitem
fileinfo
hypdoc
hyperref
listings
metalogo
parskip
pgf
pgfopts
setspace
xurl
microtype
;
};
l3build-wrapped = pkgs.writeShellScriptBin "l3build-wrapped" ''
# NOTE: the trailing slash in TEXMF is required
TEXMF="${texlive}/" ${texlive}/bin/l3build "$@"
'';
in
{
devShells.default = pkgs.mkShell {
buildInputs = [
texlive
l3build-wrapped
];
# shellHook = ''
# export TEXMF="${texlive}/"
# '';
};
}
);
}

View File

@ -1,87 +0,0 @@
{
writeShellScript,
writableTmpDirAsHomeHook,
stdenvNoCC,
texlivePackages,
texliveBasic,
}:
let
texEnv = texliveBasic.withPackages (ps: with ps; [
# l3build
beamer
biblatex
enumitem
fileinfo
hypdoc
hyperref
listings
metalogo
parskip
pgf
pgfopts
setspace
xurl
microtype
latexmk
]);
in stdenvNoCC.mkDerivation rec {
pname = "moloch";
version = "1.0.2-DEV-xenia";
outputs = [
"tex"
"texdoc"
];
passthru.tlDeps = with texlivePackages; [ latex ];
src = ./.;
dontConfigure = true;
nativeBuildInputs = [
texEnv
# multiple-outputs.sh fails if $out is not defined
(writeShellScript "force-tex-output.sh" ''
out="''${tex-}"
'')
writableTmpDirAsHomeHook # Need a writable $HOME for latexmk
];
# we just build manually, but moloch's own method of building is using l3build
# i have no idea how to get that working, so for now just do it normal style
buildPhase = ''
runHook preBuild
# Generate the style files
cd src
latex beamertheme${pname}.ins
# Generate the documentation
cp ../doc/${pname}.tex .
latexmk -pdf ${pname}.tex
cd ..
runHook postBuild
'';
installPhase = ''
runHook preInstall
path="$tex/tex/latex/${pname}"
mkdir -p "$path"
cp src/*.{cls,def,clo,sty} "$path/"
path="$texdoc/doc/tex/latex/${pname}"
mkdir -p "$path"
cp src/${pname}.pdf "$path/"
runHook postInstall
'';
}

View File

@ -2,13 +2,12 @@
"packages": {
".": {
"release-type": "go",
"bump-minor-pre-major": true,
"extra-files": [
"src/beamercolorthememoloch.dtx",
"src/beamerfontthememoloch.dtx",
"src/beamerouterthememoloch.dtx",
"src/beamerinnerthememoloch.dtx",
"src/beamercolorthememoloch-highcontrast.dtx",
"src/beamercolorthememoloch-tomorrow.dtx",
"src/beamerthememoloch.dtx",
"doc/moloch.tex",
"build.lua"

View File

@ -1,50 +0,0 @@
% \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 2025 Johan Larsson and contributors
% ------------------------------------------------------------------------- \fi
% \iffalse
%<*package>
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{beamercolorthememoloch-highcontrast}[2025-04-01 v1.0.1 Moloch high-contrast color theme] % x-release-please-version
%</package>
% \fi
% \CheckSum{0}
% \StopEventually{}
% \iffalse
%<*package>
% ------------------------------------------------------------------------- \fi
%
\usecolortheme{moloch}
\definecolor{mAlert}{HTML}{AD003D}
\definecolor{mExample}{HTML}{005580}
\setbeamercolor{normal text}{%
fg=black,
bg=white
}
\setbeamercolor{alerted text}{%
fg=mAlert,
}
\setbeamercolor{example text}{%
fg=mExample,
}
%
% \begin{macrocode}
\mode<all>
% \end{macrocode}
%
% \iffalse
%</package>
% \fi
% \Finale
\endinput

View File

@ -1,51 +0,0 @@
% \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}[2025-04-01 v1.0.1 Moloch tomorrow 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

View File

@ -14,7 +14,7 @@
% \iffalse
%<*package>
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{beamercolorthememoloch}[2025-04-01 v1.0.1 Moloch color theme] % x-release-please-version
\ProvidesPackage{beamercolorthememoloch}[2024-03-06 v0.3.0 Moloch color theme] % x-release-please-version
%</package>
% \fi
% \CheckSum{0}
@ -23,11 +23,11 @@
%<*package>
% ------------------------------------------------------------------------- \fi
%
% \subsection{\themename Color Theme}
% \subsection{\themename color theme}
%
%
%
% \subsubsection{Package Dependencies}
% \subsubsection{Package dependencies}
% \begin{macrocode}
\RequirePackage{pgfopts}
% \end{macrocode}
@ -75,7 +75,7 @@
%
%
%
% \subsubsection{Base Colors}
% \subsubsection{Base colors}
%
% \begin{macrocode}
\definecolor{mDarkBrown}{HTML}{604c38}
@ -86,7 +86,7 @@
%
%
%
% \subsubsection{Base Styles}
% \subsubsection{Base styles}
%
% All colors in \themename are derived from the definitions of |normal text|,
% |alerted text|, and |example text|.
@ -115,7 +115,7 @@
%
%
%
% \subsubsection{Derived Colors}
% \subsubsection{Derived colors}
%
% The titles and structural elements (e.g. |itemize| bullets) are set in the
% same color as |normal text|. This would ideally done by setting |normal text|
@ -127,11 +127,8 @@
\setbeamercolor{titlelike}{use=normal text, parent=normal text}
\setbeamercolor{author}{use=normal text, parent=normal text}
\setbeamercolor{date}{use=normal text, parent=normal text}
\setbeamercolor{institute}{%
use=normal text, fg=normal text.fg!80!normal text.bg}
\setbeamercolor{institute}{use=normal text, fg=normal text.fg!80!normal text.bg}
\setbeamercolor{structure}{use=normal text, fg=normal text.fg}
\setbeamercolor{thanks}{%
use=normal text,fg=normal text.fg!80!normal text.bg}
% \end{macrocode}
%
% The “primary” palette should be used for the most important navigational
@ -194,7 +191,6 @@
bg=normal text.bg!80!fg
}
\setbeamercolor{block body}{%
use=block title,
bg=block title.bg!50!normal text.bg
}
\setbeamercolor{block title alerted}{%
@ -227,6 +223,14 @@
\setbeamercolor{footnote mark}{fg=.}
% \end{macrocode}
%
%
% Footnotes
%
% \begin{macrocode}
\setbeamercolor{footnote}{fg=normal text.fg!90}
\setbeamercolor{footnote mark}{fg=.}
% \end{macrocode}
%
% We also reset the bibliography colors in order to pick up the surrounding
% colors at the time of use. This prevents us having to set the correct color in
% normal and standout mode.
@ -240,7 +244,7 @@
%
%
%
% \subsubsection{Process Package Options}
% \subsubsection{Process package options}
%
% \begin{macrocode}
\moloch@color@setdefaults

View File

@ -14,7 +14,7 @@
% \iffalse
%<*package>
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{beamerfontthememoloch}[2025-04-01 v1.0.1 Moloch font theme] % x-release-please-version
\ProvidesPackage{beamerfontthememoloch}[2024-03-06 v0.3.0 Moloch font theme] % x-release-please-version
%</package>
% \fi
% \CheckSum{0}
@ -27,12 +27,9 @@
%
% A |beamer| font theme sets the style of the font used in the document.
%
%
%
% \subsubsection{Package dependencies}
%
% \begin{macrocode}
\RequirePackage{etoolbox}
\RequirePackage{pgfopts}
% \end{macrocode}
%
@ -54,188 +51,6 @@
\setbeamerfont{standout}{size=\Large, series=\bfseries}
% \end{macrocode}
%
%
%
% \subsubsection{Title format options}
%
% \begin{macro}{titleformat title}
% Controls the format of the title.
% \begin{macrocode}
\pgfkeys{
/moloch/font/titleformat title/.cd,
.is choice,
regular/.code={%
\let\moloch@titleformat\@empty%
\setbeamerfont{title}{shape=\normalfont}%
},
smallcaps/.code={%
\let\moloch@titleformat\@empty%
\setbeamerfont{title}{shape=\scshape}%
},
allsmallcaps/.code={%
\let\moloch@titleformat\lowercase%
\setbeamerfont{title}{shape=\scshape}%
\PackageNote{beamerthememoloch}{%
Be aware that titleformat title=allsmallcaps can
lead to problems}
},
allcaps/.code={%
\let\moloch@titleformat\uppercase%
\setbeamerfont{title}{shape=\normalfont}
\PackageNote{beamerthememoloch}{%
Be aware that titleformat title=allcaps can lead to problems%
}
},
}
% \end{macrocode}
% \end{macro}
%
% \begin{macro}{titleformat subtitle}
% Control the format of the subtitle.
% \begin{macrocode}
\pgfkeys{
/moloch/font/titleformat subtitle/.cd,
.is choice,
regular/.code={%
\let\moloch@subtitleformat\@empty%
\setbeamerfont{subtitle}{shape=\normalfont}%
},
smallcaps/.code={%
\let\moloch@subtitleformat\@empty%
\setbeamerfont{subtitle}{shape=\scshape}%
},
allsmallcaps/.code={%
\let\moloch@subtitleformat\MakeLowercase%
\setbeamerfont{subtitle}{shape=\scshape}%
\PackageNote{beamerthememoloch}{%
Be aware that titleformat subtitle=allsmallcaps
can lead to problems}
},
allcaps/.code={%
\let\moloch@subtitleformat\MakeUppercase%
\setbeamerfont{subtitle}{shape=\normalfont}%
\PackageNote{beamerthememoloch}{%
Be aware that titleformat subtitle=allcaps can
lead to problems}
},
}
% \end{macrocode}
% \end{macro}
%
% \begin{macro}{titleformat section}
% Controls the format of the section title.
% \begin{macrocode}
\pgfkeys{
/moloch/font/titleformat section/.cd,
.is choice,
regular/.code={%
\let\moloch@sectiontitleformat\@empty%
\setbeamerfont{section title}{shape=\normalfont}%
},
smallcaps/.code={%
\let\moloch@sectiontitleformat\@empty%
\setbeamerfont{section title}{shape=\scshape}%
},
allsmallcaps/.code={%
\let\moloch@sectiontitleformat\MakeLowercase%
\setbeamerfont{section title}{shape=\scshape}%
\PackageNote{beamerthememoloch}{%
Be aware that titleformat section=allsmallcaps
can lead to problems}
},
allcaps/.code={%
\let\moloch@sectiontitleformat\MakeUppercase%
\setbeamerfont{section title}{shape=\normalfont}%
\PackageNote{beamerthememoloch}{%
Be aware that titleformat section=allcaps
can lead to problems}
},
}
% \end{macrocode}
% \end{macro}
%
% \begin{macro}{frametitleformat}
% Control the format of the frame title.
% \begin{macrocode}
\pgfkeys{
/moloch/font/titleformat frame/.cd,
.is choice,
regular/.code={%
\let\moloch@frametitleformat\@empty%
\setbeamerfont{frametitle}{shape=\normalfont}%
},
smallcaps/.code={%
\let\moloch@frametitleformat\@empty%
\setbeamerfont{frametitle}{shape=\scshape}%
},
allsmallcaps/.code={%
\let\moloch@frametitleformat\MakeLowercase%
\setbeamerfont{frametitle}{shape=\scshape}%
\PackageNote{beamerthememoloch}{%
Be aware that titleformat frame=allsmallcaps
can lead to problems}
},
allcaps/.code={%
\let\moloch@frametitleformat\MakeUppercase%
\setbeamerfont{frametitle}{shape=\normalfont}
\PackageNote{beamerthememoloch}{%
Be aware that titleformat frame=allcaps can lead to problems%
}
},
}
% \end{macrocode}
% \end{macro}
%
% \begin{macro}{titleformat aliases}
% Allows |titleformat title| et al. to be used in the |\usetheme|
% declaration, where \LaTeX{} automatically removes all spaces.
% \begin{macrocode}
\pgfkeys{
/moloch/font/.cd,
titleformattitle/.code=\pgfkeysalso{titleformat title=#1},
titleformatsubtitle/.code=\pgfkeysalso{titleformat subtitle=#1},
titleformatsection/.code=\pgfkeysalso{titleformat section=#1},
titleformatframe/.code=\pgfkeysalso{titleformat frame=#1},
}
% \end{macrocode}
% \end{macro}
%
% \begin{macro}{\moloch@font@setdefaults}
% Sets default values for font theme options.
% \begin{macrocode}
\newcommand{\moloch@font@setdefaults}{
\pgfkeys{/moloch/font/.cd,
titleformat title=regular,
titleformat subtitle=regular,
titleformat section=regular,
titleformat frame=regular,
}
}
% \end{macrocode}
% \end{macro}
%
% We first define hooks to change the case format of the titles.
%
% \begin{macrocode}
\def\moloch@titleformat#1{#1}
\def\moloch@subtitleformat#1{#1}
\def\moloch@sectiontitleformat#1{#1}
\def\moloch@frametitleformat#1{#1}
% \end{macrocode}
%
% To make the uppercase and lowercase macros work in the title, subtitle, etc.,
% we have to patch the appropriate |beamer| commands that set their values.
% This solution was suggested by Enrico Gregorio in an answer to
% \href{http://tex.stackexchange.com/questions/112526/}{this StackExchange
% question}.
%
%
% \subsubsection{Process package options}
%
% \begin{macrocode}
\moloch@font@setdefaults
\ProcessPgfPackageOptions{/moloch/font}
% \end{macrocode}
% \iffalse
%</package>
% \fi

View File

@ -14,7 +14,7 @@
% \iffalse
%<*package>
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{beamerinnerthememoloch}[2025-04-01 v1.0.1 Moloch inner theme] % x-release-please-version
\ProvidesPackage{beamerinnerthememoloch}[2024-03-06 v0.3.0 Moloch inner theme] % x-release-please-version
%</package>
% \fi
% \CheckSum{0}
@ -23,7 +23,7 @@
%<*package>
% ------------------------------------------------------------------------- \fi
%
% \subsection{\themename Inner Theme}
% \subsection{\themename inner theme}
%
% A |beamer| inner theme dictates the style of the frame elements traditionally
% set in the ``body'' of each slide. These include:
@ -38,7 +38,7 @@
%
%
%
% \subsubsection{Package Dependencies}
% \subsubsection{Package dependencies}
%
% \begin{macrocode}
\RequirePackage{keyval}
@ -47,16 +47,7 @@
\RequirePackage{tikz}
% \end{macrocode}
%
% \subsubsection{Memoization and Tikz Externalization}
%
% See the documentation for the correspondign section under the outer theme for
% more information on the following lines.
%
% \begin{macrocode}
\providecommand{\tikzexternalenable}{}
\providecommand{\tikzexternaldisable}{}
\providecommand{\mmzUnmemoizable}{}
% \end{macrocode}
%
% \subsubsection{Options}
%
@ -98,66 +89,13 @@
% \end{macrocode}
% \end{macro}
%
% \begin{macro}{standoutnumbering}
% Whether or not to number standout pages. Option |none| means that
% standout pages are not numbered (do not count as frames). |hide| means
% that they do count as frames, but that the footer with the number is
% not shown. Option |show| means that they both count as frames and
% that the footer with a frame count is shown.
% \begin{macrocode}
\providebool{moloch@enableStandoutFooter}
\providebool{moloch@enableStandoutNumbering}
\pgfkeys{
/moloch/inner/standoutnumbering/.cd,
.is choice,
none/.code={
\boolfalse{moloch@enableStandoutNumbering}
\boolfalse{moloch@enableStandoutFooter}
},
show/.code={
\booltrue{moloch@enableStandoutNumbering}
\booltrue{moloch@enableStandoutFooter}
},
hide/.code={
\booltrue{moloch@enableStandoutNumbering}
\boolfalse{moloch@enableStandoutFooter}
}
}
% \end{macrocode}
% \end{macro}
%
% \begin{macro}{titleseparator linewidth}
% Set the width of the line separating the title from the author.
% \begin{macrocode}
\newlength{\moloch@titleseparator@linewidth}
\pgfkeys{
/moloch/inner/.cd,
titleseparatorlinewidth/.code={\setlength{\moloch@titleseparator@linewidth}{#1}},
titleseparatorlinewidth/.default=0.4pt,
}
% \end{macrocode}
% \end{macro}
%
%
% \begin{macro}{titleseparator aliases}
% Allows |titleseparator linewidth| to be used in |\usetheme|.
% \begin{macrocode}
\pgfkeys{
/moloch/inner/.cd,
titleseparator linewidth/.code=\pgfkeysalso{titleseparatorlinewidth=#1},
}
% \end{macrocode}
% \end{macro}
%
% \begin{macro}{\moloch@inner@setdefaults}
% Set default values for inner theme options.
% \begin{macrocode}
\newcommand{\moloch@inner@setdefaults}{
\pgfkeys{/moloch/inner/.cd,
sectionpage=progressbar,
subsectionpage=none,
standoutnumbering=none,
titleseparator linewidth=0.4pt,
subsectionpage=none
}
}
% \end{macrocode}
@ -165,7 +103,7 @@
%
%
%
% \subsubsection{Title Page}
% \subsubsection{Title page}
%
% \begin{macro}{title page}
% Template for the title page. Each element is only typset if it is defined
@ -173,28 +111,29 @@
% space on the title slide.
% \begin{macrocode}
\setbeamertemplate{title page}{
\null%
\vspace{0pt plus 1.618fil}%
\vfil%
\ifx\inserttitlegraphic\@empty\else\usebeamertemplate*{title graphic}\fi
\ifx\inserttitle\@empty\else\usebeamertemplate*{title}\fi
\ifx\insertsubtitle\@empty\else\usebeamertemplate*{subtitle}\fi
\usebeamertemplate*{title separator}
\expandafter\ifblank\expandafter{\beamer@andstripped}{}{%
\usebeamertemplate*{author}%
}
\ifx\insertinstitute\@empty\else\usebeamertemplate*{institute}\fi
\ifx\insertdate\@empty\else\usebeamertemplate*{date}\fi
\vspace{0pt plus 1fil}%
\null
\begin{minipage}[b][\paperheight]{\textwidth}
\null%
\vfill%
\ifx\inserttitlegraphic\@empty\else\usebeamertemplate*{title graphic}\fi
\ifx\inserttitle\@empty\else\usebeamertemplate*{title}\fi
\ifx\insertsubtitle\@empty\else\usebeamertemplate*{subtitle}\fi
\usebeamertemplate*{title separator}
\expandafter\ifblank\expandafter{\beamer@andstripped}{}{%
\usebeamertemplate*{author}%
}
\ifx\insertinstitute\@empty\else\usebeamertemplate*{institute}\fi
\ifx\insertdate\@empty\else\usebeamertemplate*{date}\fi
\vfill
\null
\end{minipage}%
}
% \end{macrocode}
% \end{macro}%
%
% Normal people should use |\maketitle| or |\titlepage| instead of using the
% |title page| beamer template directly. Beamer already defines these macros,
% but we patch them here to make the title page |[plain]| by default
% and ensure the title frame number doesn't count.
% but we patch them here to make the title page |[plain]| by default, remove
% |\@thanks|, and ensure the title frame number doesn't count.
%
% \begin{macro}{\maketitle}
% \begin{macro}{\titlepage}
@ -207,20 +146,11 @@
\ifbeamer@inframe
\titlepage
\else
\begingroup
\renewcommand\footnoterule{}%
\frame[plain,noframenumbering]{\titlepage}
\endgroup
\fi
}
\def\titlepage{%
% Apply title-page specific footnote settings
\renewcommand{\@makefntext}[1]{%
{\par\usebeamercolor[fg]{thanks}\usebeamerfont{thanks}$^{\@thefnmark}$##1\medskip}%
}
% Process the title page
\usebeamertemplate{title page}\@thanks
\usebeamertemplate{title page}
}
% \end{macrocode}
% \end{macro}
@ -243,8 +173,9 @@
% \begin{macrocode}
\setbeamertemplate{title}{
\raggedright%
\moloch@titleformat{\inserttitle}%
\inserttitle%
\par%
\vspace*{0.2em}
}
% \end{macrocode}
% \end{macro}
@ -253,23 +184,24 @@
% Set the subtitle on the title page.
% \begin{macrocode}
\setbeamertemplate{subtitle}{
\vspace*{0.3em}
\raggedright%
\moloch@subtitleformat{\insertsubtitle}%
\insertsubtitle%
\par%
\vspace*{0.2em}
}
% \end{macrocode}
% \end{macro}
%
% \begin{macro}{title separator}
% Template to set the title separator.
% Template to set the title graphic in a zero-height box. (It won't
% change the position of other elements.)
% \begin{macrocode}
\newlength{\moloch@titleseparator@linewidth}
\setlength{\moloch@titleseparator@linewidth}{0.4pt}
\setbeamertemplate{title separator}{
\tikzexternaldisable%
\begin{tikzpicture}[baseline=(current bounding box.north)]
\mmzUnmemoizable%
\begin{tikzpicture}
\fill[fg] (0,0) rectangle (\textwidth, \moloch@titleseparator@linewidth);
\useasboundingbox (0,0) rectangle (\textwidth,-\moloch@titleseparator@linewidth);
\end{tikzpicture}%
\tikzexternalenable%
\par%
@ -313,9 +245,9 @@
% \end{macro}
%
%
% \subsubsection{Section Page}
% \subsubsection{Section page}
%
% \begin{macro}{section Page}
% \begin{macro}{section page}
%
% Template for the section title slide at the beginning of each section.
%
@ -324,15 +256,13 @@
\begin{center}
\usebeamercolor[fg]{section title}
\usebeamerfont{section title}
\moloch@sectiontitleformat{\insertsectionhead}\par
\usebeamercolor[fg]{subsection title}%
\usebeamerfont{subsection title}%
\strut%
\ifx\insertsubsectionhead\@empty\else%
\insertsubsectionhead%
\insertsectionhead\par
\ifx\insertsubsectionhead\@empty\else
\usebeamercolor[fg]{subsection title}
\usebeamerfont{subsection title}
\insertsubsectionhead
\fi
\end{center}
\vspace{\baselineskip - 1ex + \moloch@titleseparator@linewidth}
}
\defbeamertemplate{section page}{progressbar}{
\centering
@ -340,17 +270,17 @@
\raggedright
\usebeamercolor[fg]{section title}
\usebeamerfont{section title}
\moloch@sectiontitleformat{\insertsectionhead}\\[-0.5\baselineskip]
\insertsectionhead\\[-1ex]
\usebeamertemplate*{progress bar in section page}
\par
\usebeamercolor[fg]{subsection title}%
\usebeamerfont{subsection title}%
\strut%
\ifx\insertsubsectionhead\@empty\else%
\insertsubsectionhead%
\usebeamercolor[fg]{subsection title}%
\usebeamerfont{subsection title}%
\insertsubsectionhead
\fi
\end{minipage}
\par
\vspace{\baselineskip}
}
\newcommand{\moloch@disablesectionpage}{
\AtBeginSection{
@ -402,13 +332,15 @@
% |progress bar in head/foot|.
%
% \begin{macrocode}
\newlength{\moloch@progressonsectionpage}
\newlength{\moloch@progressonsectionpage@linewidth}
\setlength{\moloch@progressonsectionpage@linewidth}{0.4pt}
\setbeamertemplate{progress bar in section page}{
\pgfmathsetlength{\moloch@progressonsectionpage}{
\textwidth * min(1,\insertframenumber/\insertmainframenumber)
}%
\tikzexternaldisable%
\begin{tikzpicture}[baseline=(current bounding box.north)]
\mmzUnmemoizable%
\textwidth * min(1,\insertframenumber/\inserttotalframenumber)
}
\tikzexternaldisable
\begin{tikzpicture}
\fill[bg]
(0,0)
rectangle
@ -416,15 +348,13 @@
\fill[fg]
(0,0)
rectangle
(\moloch@progressonsectionpage,
\moloch@progressonsectionpage@linewidth);
\useasboundingbox (0,0) rectangle (\textwidth,-\moloch@progressonsectionpage@linewidth);
\end{tikzpicture}%
\tikzexternalenable%
(\moloch@progressonsectionpage, \moloch@progressonsectionpage@linewidth);
\end{tikzpicture}
\tikzexternalenable
}
% \end{macrocode}
%
% The code above assumes that |\insertframenumber| is less than or equal to
% The above code assumes that |\insertframenumber| is less than or equal to
% |\inserttotalframenumber|. However, this is not true on the first compile;
% in the absence of an |.aux| file, |\inserttotalframenumber| defaults to 1.
% This behaviour could cause fatal errors for long presentations, as
@ -439,15 +369,12 @@
% \end{macrocode}
% \end{macro}
%
% \subsubsection{Lists and Floats}
% \subsubsection{Lists and floats}
%
% \begin{macrocode}
\setbeamertemplate{itemize item}[circle]
\setbeamertemplate{itemize subitem}{\raise1.5pt\hbox{\vrule width 0.8ex height 0.8ex}}
\setbeamerfont{itemize subsubitem}{size=\tiny}
\setbeamertemplate{itemize subsubitem}{%
\usebeamerfont*{itemize subsubitem}\raise1.75pt\hbox{\donotcoloroutermaths$\blacktriangleright$}%
}
\setbeamertemplate{itemize item}{\(\bullet\)}
\setbeamertemplate{itemize subitem}{\(\circ\)}
\setbeamertemplate{itemize subsubitem}{\textbullet}
\setbeamertemplate{caption label separator}{: }
\setbeamertemplate{caption}[numbered]
% \end{macrocode}
@ -457,15 +384,17 @@
% \subsubsection{Footnotes}
% \begin{macrocode}
\setbeamertemplate{footnote}{%
\parindent 0em\noindent\raggedright \usebeamercolor{footnote}\hbox to
0.8em{\hfil\insertfootnotemark}\insertfootnotetext%%%
\par%
\parindent 0em\noindent%
\raggedright
\usebeamercolor{footnote}%
\hbox to 0.8em{\hfil\insertfootnotemark}%
\insertfootnotetext\par%
}
% \end{macrocode}
%
%
%
% \subsubsection{Text and Spacing Settings}
% \subsubsection{Text and spacing settings}
%
%
% By default, Beamer frames offer the |c| option to \textit{almost} vertically
@ -477,8 +406,8 @@
%
% \begin{macrocode}
\define@key{beamerframe}{c}[true]{% centered
\beamer@frametopskip=0pt plus 1fil\relax%
\beamer@framebottomskip=0pt plus 1fil\relax%
\beamer@frametopskip=0pt plus 1fill\relax%
\beamer@framebottomskip=0pt plus 1fill\relax%
\beamer@frametopskipautobreak=0pt plus .4\paperheight\relax%
\beamer@framebottomskipautobreak=0pt plus .6\paperheight\relax%
\def\beamer@initfirstlineunskip{}%
@ -487,7 +416,7 @@
%
%
%
% \subsubsection{Standout Frames}
% \subsubsection{Standout frames}
%
% \themename offers a custom frame format with large, centered text and an
% inverted background. To use it, add the key |standout| to the frame:
@ -507,8 +436,7 @@
\booltrue{moloch@standout}
\begingroup
\setkeys{beamerframe}{c}
\ifbool{moloch@enableStandoutNumbering}{}{%
\setkeys{beamerframe}{noframenumbering}}
\setkeys{beamerframe}{noframenumbering}
\ifbeamercolorempty[bg]{palette primary}{
\setbeamercolor{background canvas}{
use=palette primary,
@ -524,11 +452,6 @@
fg=palette primary.fg
}
\usebeamercolor[fg]{palette primary}
\setbeamercolor{page number in head/foot}{
use=palette primary,
fg=palette primary.fg
}
\ifbool{moloch@enableStandoutFooter}{}{\setbeamertemplate{footline}{}}
}
% \end{macrocode}
%
@ -562,7 +485,7 @@
% \end{macrocode}
% \end{macro}
%
% \subsubsection{Process Package Options}
% \subsubsection{Process package options}
%
% \begin{macrocode}
\moloch@inner@setdefaults

View File

@ -14,7 +14,7 @@
% \iffalse
%<*package>
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{beamerouterthememoloch}[2025-04-01 v1.0.1 Moloch outer theme] % x-release-please-version
\ProvidesPackage{beamerouterthememoloch}[2024-03-06 v0.3.0 Moloch outer theme] % x-release-please-version
%</package>
% \fi
% \CheckSum{0}
@ -38,20 +38,6 @@
% \end{macrocode}
%
%
% \subsubsection{Memoization and Tikz Externalization}
%
% To avoid generating externalized figures of the progressbar we have to disable
% them with ``tikzexternalenable'' and ``tikzexternaldisable''. However, if the
% ``external'' library is not loaded we would get undefined control sequence
% problems, hence we define them as no-ops if they are not defined yet.
% We do the same for the ``mmzUnmemoizable'' command from the memoize package, in
% order to avoid memoization of the progress bars.
%
% \begin{macrocode}
\providecommand{\tikzexternalenable}{}
\providecommand{\tikzexternaldisable}{}
\providecommand{\mmzUnmemoizable}{}
% \end{macrocode}
%
% \subsubsection{Options}
%
@ -85,63 +71,53 @@
% \end{macrocode}
% \end{macro}
%
% \begin{macro}{progressbar linewidth}
% Sets the linewidth of the progress bar for sectionpages and frames.
% \begin{macrocode}
\newlength{\moloch@progressonsectionpage}
\newlength{\moloch@progressonsectionpage@linewidth}
\newlength{\moloch@progressinheadfoot}
\newlength{\moloch@progressinheadfoot@linewidth}
\pgfkeys{
/moloch/outer/.cd,
progressbarlinewidth/.code={
\setlength{\moloch@progressonsectionpage@linewidth}{#1}
\setlength{\moloch@progressinheadfoot@linewidth}{#1}
},
progressbarlinewidth/.default=0.4pt,
}
% \end{macrocode}
% \end{macro}
%
% \begin{macro}{progressbar aliases}
% Allows |progressbar linewidth| to be used in |\molochset|.
% \begin{macrocode}
\pgfkeys{
/moloch/outer/.cd,
progressbar linewidth/.code=\pgfkeysalso{progressbarlinewidth=#1},
}
% \end{macrocode}
% \end{macro}
%
% \begin{macro}{\moloch@outer@setdefaults}
% Sets default values for outer theme options.
% \begin{macrocode}
\newcommand{\moloch@outer@setdefaults}{
\pgfkeys{/moloch/outer/.cd,
progressbar=none,
progressbar linewidth=0.4pt,
}
}
% \end{macrocode}%
% \end{macro}
%
% \subsubsection{Deprecated Options}
%
% These options are deprecated and will be removed in a future version.
%
% \begin{macro}{numbering}
% Adds slide numbers to the bottom right of each slide.
% \begin{macrocode}
\pgfkeys{
/moloch/outer/numbering/.cd,
.is choice,
none/.code={%
\PackageWarning{moloch}{The ``numbering'' option is deprecated.
Use beamer's ``page number in head/foot'' template instead}%
\setbeamertemplate{page number in head/foot}[default]
},
counter/.code={%
\PackageWarning{moloch}{The ``numbering'' option is deprecated.
Use beamer's ``page number in head/foot'' template instead}%
\setbeamertemplate{page number in head/foot}[framenumber]
},
fraction/.code={%
\PackageWarning{moloch}{The ``numbering'' option is deprecated.
Use beamer's ``page number in head/foot'' template instead}%
\setbeamertemplate{page number in head/foot}[totalframenumber]
},
}
% \end{macrocode}
% \end{macro}
%
% \subsubsection{Slide Numbering}
%
% Moloch defaults to numbering frames. To modify this, simply copy this line to your
% preamble and replace |appendixframenumber|.
% preamble and replace |framenumber|.
%
% \begin{macrocode}
\setbeamertemplate{page number in head/foot}[appendixframenumber]
% \end{macrocode}
%
% \subsubsection{Notes Page Numbering}
%
% Moloch defaults to numbering notes pages in a format compatible with Pympress.
% This means that presentations using |show notes| (i.e., notes on every other
% slide) work by default.
%
% \begin{macrocode}
\addtobeamertemplate{note page}{}{\thispdfpagelabel{notes:\insertframenumber}}
\setbeamertemplate{page number in head/foot}[framenumber]
% \end{macrocode}
%
% \subsubsection{Head and footline}
@ -184,48 +160,26 @@
% Templates for the frame title, which is optionally underlined with a
% progress bar.
% \begin{macrocode}
\newlength{\moloch@frametitle@padding}
\setlength{\moloch@frametitle@padding}{2.2ex}
\newcommand{\moloch@frametitlestrut@start}{%
\rule{0pt}{\moloch@frametitle@padding +%
\totalheightof{%
\ifcsdef{moloch@frametitleformat}{\moloch@frametitleformat X}{X}%
}%
}%
}
\newcommand{\moloch@frametitlestrut@end}{%
\vphantom{%
\rule[-\moloch@frametitle@padding]{0pt}{\moloch@frametitle@padding}%
}
}
\defbeamertemplate{frametitle}{plain}{%
\nointerlineskip%
\begin{beamercolorbox}[%
wd=\paperwidth,%
leftskip=1.6ex,%
rightskip=\the\glueexpr 1.6ex plus 1fil\relax,%
sep=1.1ex,%
leftskip=0.5ex,%
rightskip=\the\glueexpr 0.5ex plus 1fill\relax,%
]{frametitle}%
\usebeamerfont{frametitle}%
\moloch@frametitlestrut@start%
\moloch@frametitleformat{\insertframetitle}%
\vbox{}\vskip-0.4ex%
\strut\insertframetitle\nolinebreak\strut\par%
{%
\ifx\insertframesubtitle\@empty%
\else%
{%
\par%
\usebeamerfont{framesubtitle}%
\vspace{-0.8ex}%
\usebeamercolor[fg]{framesubtitle}%
\insertframesubtitle%
}%
{\usebeamerfont{framesubtitle}\vspace{-0.8ex}\usebeamercolor[fg]{framesubtitle}\strut\insertframesubtitle\strut\par}%
\fi
}%
\moloch@frametitlestrut@end%
\end{beamercolorbox}%
}
\setbeamertemplate{frametitle continuation}{%
\romannumeral\insertcontinuationcount}
\setbeamertemplate{frametitle continuation}{\romannumeral\insertcontinuationcount}
% \end{macrocode}
% \end{macro}
%
@ -234,15 +188,17 @@
% on each page. Much of this code is duplicated in the inner theme's
% template |progress bar in section page|.
% \begin{macrocode}
\newlength{\moloch@progressinheadfoot}
\newlength{\moloch@progressinheadfoot@linewidth}
\setlength{\moloch@progressinheadfoot@linewidth}{0.4pt}
\setbeamertemplate{progress bar in head/foot}{
\nointerlineskip%
\nointerlineskip
\pgfmathsetlength{\moloch@progressinheadfoot}{%
\paperwidth * min(1,\insertframenumber/\inserttotalframenumber)%
}%
}
\begin{beamercolorbox}[wd=\paperwidth]{progress bar in head/foot}
\tikzexternaldisable%
\tikzexternaldisable
\begin{tikzpicture}
\mmzUnmemoizable%
\fill[bg]
(0,0)
rectangle
@ -252,7 +208,7 @@
rectangle
(\moloch@progressinheadfoot, \moloch@progressinheadfoot@linewidth);
\end{tikzpicture}
\tikzexternalenable%
\tikzexternalenable
\end{beamercolorbox}
}
% \end{macrocode}

View File

@ -12,7 +12,7 @@
% \iffalse
%<*package>
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{beamerthememoloch}[2025-04-01 v1.0.1 Moloch theme] % x-release-please-version
\ProvidesPackage{beamerthememoloch}[2024-03-06 v0.3.0 Moloch Beamer theme] % x-release-please-version
%</package>
% \fi
% \CheckSum{0}
@ -21,7 +21,7 @@
%<*package>
% ------------------------------------------------------------------------- \fi
%
% \subsection{\themename Parent Theme}
% \subsection{\themename parent theme}
%
% The primary job of this package is to load the component sub-packages of the
% \themename theme and route the theme options accordingly. It also
@ -29,7 +29,7 @@
%
%
%
% \subsubsection{Package Dependencies}
% \subsubsection{Package dependencies}
%
% \begin{macrocode}
\RequirePackage{pgfopts}
@ -52,59 +52,17 @@
}
% \end{macrocode}
%
% \begin{macro}{titleformat plain}
% Controls the formatting of the text on standout ``plain'' frames.
% \begin{macrocode}
\pgfkeys{
/moloch/titleformat plain/.cd,
.is choice,
regular/.code={%
\let\moloch@plaintitleformat\@empty%
\setbeamerfont{standout}{shape=\normalfont}%
},
smallcaps/.code={%
\let\moloch@plaintitleformat\@empty%
\setbeamerfont{standout}{shape=\scshape}%
},
allsmallcaps/.code={%
\let\moloch@plaintitleformat\MakeLowercase%
\setbeamerfont{standout}{shape=\scshape}%
},
allcaps/.code={%
\let\moloch@plaintitleformat\MakeUppercase%
\setbeamerfont{standout}{shape=\normalfont}%
},
}
% \end{macrocode}
% \end{macro}
%
% \begin{macro}{titleformat}
% Sets a standard format for titles, subtitles, section titles, frame
% titles, and the text on standout ``plain'' frames.
% \begin{macrocode}
\pgfkeys{
/moloch/titleformat/.code=\pgfkeysalso{
font/titleformat title=#1,
font/titleformat subtitle=#1,
font/titleformat section=#1,
font/titleformat frame=#1,
titleformat plain=#1,
}
}
% \end{macrocode}
% \end{macro}
%
% Set default values for options.
% To avoid generating externalized figures of the progressbar we have to disable
% them with ``tikzexternalenable'' and ``tikzexternaldisable''. However, if the
% ``external'' libray is not loaded we would get undefined control sequence
% problems, hence we define them as no-ops if they are not defined yet.
%
% \begin{macrocode}
\newcommand{\moloch@setdefaults}{
\pgfkeys{/moloch/.cd,
titleformat plain=regular,
}
}
\providecommand{\tikzexternalenable}{}
\providecommand{\tikzexternaldisable}{}
% \end{macrocode}
%
% \subsubsection{Component Sub-Packages}
% \subsubsection{Component sub-packages}
%
% Having processed the options, we can now load the component sub-packages of
% the theme.
@ -116,7 +74,7 @@
\usefonttheme{moloch}
% \end{macrocode}
%
% \subsubsection{Custom Commands}
% \subsubsection{Custom commands}
%
% The parent theme defines custom commands as their proper usage may depend
% on multiple sub-packages.
@ -137,10 +95,9 @@
%
%
%
% \subsubsection{Process Package Options}
% \subsubsection{Process package options}
%
% \begin{macrocode}
\moloch@setdefaults
\ProcessPgfOptions{/moloch}
% \end{macrocode}
%

View File

@ -25,9 +25,5 @@
\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}}}
\generate{\file{beamercolorthememoloch-highcontrast.sty}{%
\from{beamercolorthememoloch-highcontrast.dtx}{package}}}
\endbatchfile

View File

@ -1,4 +0,0 @@
\documentclass[hyperref={draft}]{beamer}
\usetheme{moloch}
\usepackage{lmodern}
\input{sectionpages}

View File

@ -1,45 +0,0 @@
This is a generated file for the l3build validation system.
Don't change this file in any respect.
[2
]
LaTeX Font Info: Trying to load font information for OML+lmm on input line ....
LaTeX Font Info: Trying to load font information for OMS+lmsy on input line ....
LaTeX Font Info: Trying to load font information for OMX+lmex on input line ....
LaTeX Font Info: External font `lmex10' loaded for size
(Font) <10.95> on input line ....
LaTeX Font Info: External font `lmex10' loaded for size
(Font) <8> on input line ....
LaTeX Font Info: External font `lmex10' loaded for size
(Font) <6> on input line ....
LaTeX Font Info: Trying to load font information for U+msa on input line ....
LaTeX Font Info: Trying to load font information for U+msb on input line ....
LaTeX Font Info: Font shape `OT1/lmss/m/it' in size <10.95> not available
(Font) Font shape `OT1/lmss/m/sl' tried instead on input line ....
LaTeX Font Info: Font shape `OT1/lmss/m/it' in size <8> not available
(Font) Font shape `OT1/lmss/m/sl' tried instead on input line ....
LaTeX Font Info: Font shape `OT1/lmss/m/it' in size <6> not available
(Font) Font shape `OT1/lmss/m/sl' tried instead on input line ....
[3
]
[4
]
[5
]
[6
]
[7
]
[8
]
[9
]
[10
]
[11
]
[12
]
\tf@nav=\write...
\tf@toc=\write...
\tf@snm=\write...
(sectionpages.aux)

View File

@ -1,10 +0,0 @@
\documentclass[hyperref={draft}]{beamer}
\useoutertheme{moloch}
\useinnertheme{moloch}
\usefonttheme{moloch}
\usecolortheme{moloch}
\usepackage{lmodern}
\input{separationexample}

File diff suppressed because it is too large Load Diff

View File

@ -1,4 +0,0 @@
\documentclass[hyperref={draft}]{beamer}
\usetheme{moloch}
\usepackage{lmodern}
\input{standoutnumbering}

View File

@ -1,600 +0,0 @@
This is a generated file for the l3build validation system.
Don't change this file in any respect.
Completed box being shipped out [1]
\vbox(200.87663+0.0)x263.47263
.\hbox(0.0+0.0)x0.0
.\hbox(0.0+0.0)x0.0
..\kern -72.26999
..\vbox(0.0+0.0)x0.0, glue set 72.26999fil
...\kern -72.26999
...\hbox(0.0+0.0)x0.0
....\hbox(0.0+0.0)x0.0, glue set 72.26999fil, shifted 72.26999
.....\kern -72.26999
.....\glue 0.0 plus 1.0fil minus 1.0fil
....\glue 0.0 plus 1.0fil minus 1.0fil
...\glue 0.0 plus 1.0fil minus 1.0fil
.\vbox(0.0+0.0)x0.0, glue set 73.27373fil
..\kern 0.0
..\kern -72.26999
..\kern -1.00374
..\hbox(0.0+0.0)x0.0, glue set 44.82098fil
...\kern 0.0
...\kern -43.81725
...\kern -1.00374
...\glue 0.0 plus 1.0fil minus 1.0fil
..\glue 0.0 plus 1.0fil minus 1.0fil
.\glue(\lineskip) 0.0
.\vbox(200.87663+0.0)x263.47263
..\glue -72.26999
..\vbox(273.14662+0.0)x307.28987, shifted -43.81725
...\vbox(0.0+0.0)x307.28987
....\glue 0.0 plus 1.0fil
....\hbox(0.0+0.0)x307.28987
.....\pdfcolorstack 0 push {0.13725 0.2157 0.23137 rg 0.13725 0.2157 0.23137 RG}
.....\hbox(0.0+0.0)x307.28987
......\vbox(0.0+0.0)x307.28987
.......\hbox(0.0+0.0)x-28.45274
........\glue -28.45274
........\hbox(0.0+0.0)x0.0
.........\hbox(273.14662+0.0)x364.19536, shifted 273.14662
..........\hbox(273.14662+0.0)x364.19536
...........\pdfcolorstack 0 push {0.13725 0.2157 0.23137 rg 0.13725 0.2157 0.23137 RG}
...........\pdfcolorstack 0 push {0.13725 0.2157 0.23137 rg 0.13725 0.2157 0.23137 RG}
...........\pdfcolorstack 0 push {0.13725 0.2157 0.23137 rg 0.13725 0.2157 0.23137 RG}
...........\rule(273.14662+*)x364.19536
...........\pdfcolorstack 0 pop
...........\pdfcolorstack 0 pop
...........\pdfcolorstack 0 pop
........\hbox(0.0+0.0)x0.0
.........\hbox(0.0+0.0)x0.0
..........\hbox(0.0+0.0)x0.0
...........\pdfcolorstack 0 push {0.13725 0.2157 0.23137 rg 0.13725 0.2157 0.23137 RG}
...........\pdfcolorstack 0 push {0.13725 0.2157 0.23137 rg 0.13725 0.2157 0.23137 RG}
...........\pdfcolorstack 0 pop
...........\pdfcolorstack 0 pop
.......\glue(\baselineskip) 0.0
.......\hbox(0.0+0.0)x-56.90549
........\hbox(0.0+0.0)x0.0
.........\hbox(273.14662+0.0)x-28.45274, shifted 273.14662
..........\hbox(273.14662+0.0)x-28.45274
...........\glue -28.45274
...........\hbox(0.0+0.0)x0.0
............\vbox(273.14662+0.0)x0.0, glue set 273.14662fil
.............\pdfcolorstack 0 push {0.13725 0.2157 0.23137 rg 0.13725 0.2157 0.23137 RG}
.............\glue 0.0 plus 1.0fil minus 1.0fil
............\pdfcolorstack 0 pop
...........\vbox(273.14662+0.0)x0.0, glue set 273.14662fil
............\pdfcolorstack 0 push {0.13725 0.2157 0.23137 rg 0.13725 0.2157 0.23137 RG}
............\pdfcolorstack 0 push {0.13725 0.2157 0.23137 rg 0.13725 0.2157 0.23137 RG}
............\pdfcolorstack 0 pop
............\pdfcolorstack 0 pop
............\glue 0.0 plus 1.0fil
........\hbox(0.0+0.0)x0.0
.........\hbox(273.14662+0.0)x335.74261, shifted 273.14662
..........\hbox(273.14662+0.0)x335.74261
...........\glue 307.28987
...........\glue 28.45274
...........\hbox(0.0+0.0)x0.0
............\vbox(273.14662+0.0)x0.0, glue set 273.14662fil
.............\pdfcolorstack 0 push {0.13725 0.2157 0.23137 rg 0.13725 0.2157 0.23137 RG}
.............\glue 0.0 plus 1.0fil minus 1.0fil
............\pdfcolorstack 0 pop
...........\vbox(273.14662+0.0)x0.0, glue set 264.14662fill
............\pdfcolorstack 0 push {0.13725 0.2157 0.23137 rg 0.13725 0.2157 0.23137 RG}
............\pdfcolorstack 0 push {0.13725 0.2157 0.23137 rg 0.13725 0.2157 0.23137 RG}
............\glue 0.0 plus 1.0fill
............\hbox(0.0+0.0)x0.0, glue set - 2.84544fil
.............\glue 0.0 plus 1.0fil minus 1.0fil
.............\pdfcolorstack 0 push {0.10294 0.16177 0.17352 rg 0.10294 0.16177 0.17352 RG}
.............\pdfcolorstack 0 pop
.............\glue 2.84544
............\glue 2.0
............\glue(\baselineskip) 5.0
............\hbox(0.0+0.0)x0.0, glue set - 2.84544fil
.............\glue 0.0 plus 1.0fil minus 1.0fil
.............\pdfcolorstack 0 push {0.13725 0.2157 0.23137 rg 0.13725 0.2157 0.23137 RG}
.............\pdfcolorstack 0 push {0.6429 0.67427 0.68054 rg 0.6429 0.67427 0.68054 RG}
.............\pdfcolorstack 0 pop
.............\pdfcolorstack 0 pop
.............\glue 2.84544
............\pdfcolorstack 0 pop
............\pdfcolorstack 0 pop
............\glue 2.0
............\glue 0.0 plus 1.0fil
........\hbox(0.0+0.0)x-56.90549
.........\glue -28.45274
.........\hbox(0.0+0.0)x0.0
..........\vbox(0.0+0.0)x0.0
...........\pdfcolorstack 0 push {0.13725 0.2157 0.23137 rg 0.13725 0.2157 0.23137 RG}
...........\pdfcolorstack 0 push {0.13725 0.2157 0.23137 rg 0.13725 0.2157 0.23137 RG}
...........\pdfcolorstack 0 pop
...........\pdfcolorstack 0 pop
.........\glue -28.45274
........\glue 0.0 plus 1.0fil
.......\glue(\parskip) 0.0
.......\glue(\parskip) 0.0
.......\glue(\baselineskip) 0.0
.......\hbox(0.0+0.0)x307.28987, glue set 307.28987fil
........\hbox(0.0+0.0)x0.0
........\penalty 10000
........\glue(\parfillskip) 0.0 plus 1.0fil
........\glue(\rightskip) 0.0
.....\pdfcolorstack 0 pop
...\glue 0.0
...\glue(\lineskip) 0.0
...\vbox(269.14662+0.0)x307.28987
....\pdfcolorstack 0 push {0 g 0 G}
....\write-{}
....\pdfcolorstack 0 push {0.13725 0.2157 0.23137 rg 0.13725 0.2157 0.23137 RG}
....\pdfcolorstack 0 push {0.13725 0.2157 0.23137 rg 0.13725 0.2157 0.23137 RG}
....\pdfcolorstack 0 push {0.13725 0.2157 0.23137 rg 0.13725 0.2157 0.23137 RG}
....\pdfcolorstack 0 push {0.13725 0.2157 0.23137 rg 0.13725 0.2157 0.23137 RG}
....\pdfcolorstack 0 push {0.98 g 0.98 G}
....\glue(\topskip) 0.0
....\vbox(269.14662+0.0)x307.28987, glue set 124.81012fil
.....\penalty 10000
.....\vbox(0.0+0.0)x0.0
.....\penalty 10000
.....\penalty 10000
.....\penalty 10000
.....\penalty 10000
.....\glue 0.0 plus 1.0fil
.....\penalty 10000
.....\penalty 10000
.....\glue 0.0
.....\vbox(0.0+0.0)x0.0
.....\glue(\parskip) 0.0
.....\glue(\parskip) 0.0
.....\glue(\baselineskip) 7.99992
.....\hbox(10.00008+1.5264)x307.28987, glue set 111.68523fil
......\glue(\leftskip) 0.0 plus 1.0fil
......\hbox(0.0+0.0)x0.0
......\OT1/lmss/bx/n/14.4 H
......\OT1/lmss/bx/n/14.4 e
......\OT1/lmss/bx/n/14.4 l
......\OT1/lmss/bx/n/14.4 l
......\OT1/lmss/bx/n/14.4 o
......\OT1/lmss/bx/n/14.4 ,
......\glue 5.28 plus 3.29997 minus 1.40799
......\OT1/lmss/bx/n/14.4 w
......\kern-0.44
......\OT1/lmss/bx/n/14.4 o
......\kern-0.44
......\OT1/lmss/bx/n/14.4 r
......\OT1/lmss/bx/n/14.4 l
......\OT1/lmss/bx/n/14.4 d
......\OT1/lmss/bx/n/14.4 !
......\penalty 10000
......\glue(\parfillskip) 0.0
......\glue(\rightskip) 0.0 plus 1.0fil
.....\glue 0.0 plus 1.0fil
....\write1{\@writefile{nav}{\protect \headcommand {\protect \slideentry {0}{0}{1}{1/1}{}{0}}}}
....\write1{\@writefile{nav}{\protect \headcommand {\protect \beamer@framepages {1}{1}}}}
....\glue 0.0 plus 1.0fil
....\glue 0.0
...\glue(\baselineskip) 4.0
...\hbox(0.0+0.0)x307.28987
....\pdfcolorstack 0 push {0.13725 0.2157 0.23137 rg 0.13725 0.2157 0.23137 RG}
....\hbox(0.0+0.0)x307.28987, glue set 307.28987fil
.....\vbox(0.0+0.0)x0.0
......\hbox(0.0+0.0)x-56.90549
.......\hbox(0.0+0.0)x-56.90549
........\glue -28.45274
........\hbox(0.0+0.0)x0.0
.........\vbox(0.0+0.0)x0.0
..........\pdfcolorstack 0 push {0.13725 0.2157 0.23137 rg 0.13725 0.2157 0.23137 RG}
..........\pdfcolorstack 0 push {0.13725 0.2157 0.23137 rg 0.13725 0.2157 0.23137 RG}
..........\pdfcolorstack 0 pop
..........\pdfcolorstack 0 pop
........\glue -28.45274
.......\glue 0.0 plus 1.0fil
.......\glue 0.0 plus 1.0fil
......\glue(\lineskip) 0.0
......\hbox(0.0+0.0)x0.0
.....\glue 0.0 plus 1.0fil
....\pdfcolorstack 0 pop
.\kern 0.0
.\kern 0.0
Completed box being shipped out [2]
\vbox(200.87663+0.0)x263.47263
.\hbox(0.0+0.0)x0.0
..\kern -72.26999
..\vbox(0.0+0.0)x0.0, glue set 72.26999fil
...\kern -72.26999
...\hbox(0.0+0.0)x0.0
....\hbox(0.0+0.0)x0.0, glue set 72.26999fil, shifted 72.26999
.....\kern -72.26999
.....\glue 0.0 plus 1.0fil minus 1.0fil
....\glue 0.0 plus 1.0fil minus 1.0fil
...\glue 0.0 plus 1.0fil minus 1.0fil
.\vbox(0.0+0.0)x0.0, glue set 73.27373fil
..\kern 0.0
..\kern -72.26999
..\kern -1.00374
..\hbox(0.0+0.0)x0.0, glue set 44.82098fil
...\kern 0.0
...\kern -43.81725
...\kern -1.00374
...\glue 0.0 plus 1.0fil minus 1.0fil
..\glue 0.0 plus 1.0fil minus 1.0fil
.\glue(\lineskip) 0.0
.\vbox(200.87663+0.0)x263.47263
..\glue -72.26999
..\vbox(273.14662+0.0)x307.28987, shifted -43.81725
...\vbox(0.0+0.0)x307.28987
....\glue 0.0 plus 1.0fil
....\hbox(0.0+0.0)x307.28987
.....\pdfcolorstack 0 push {0.13725 0.2157 0.23137 rg 0.13725 0.2157 0.23137 RG}
.....\hbox(0.0+0.0)x307.28987
......\vbox(0.0+0.0)x307.28987
.......\hbox(0.0+0.0)x-28.45274
........\glue -28.45274
........\hbox(0.0+0.0)x0.0
.........\hbox(273.14662+0.0)x364.19536, shifted 273.14662
..........\hbox(273.14662+0.0)x364.19536
...........\pdfcolorstack 0 push {0.13725 0.2157 0.23137 rg 0.13725 0.2157 0.23137 RG}
...........\pdfcolorstack 0 push {0.13725 0.2157 0.23137 rg 0.13725 0.2157 0.23137 RG}
...........\pdfcolorstack 0 push {0.13725 0.2157 0.23137 rg 0.13725 0.2157 0.23137 RG}
...........\rule(273.14662+*)x364.19536
...........\pdfcolorstack 0 pop
...........\pdfcolorstack 0 pop
...........\pdfcolorstack 0 pop
........\hbox(0.0+0.0)x0.0
.........\hbox(0.0+0.0)x0.0
..........\hbox(0.0+0.0)x0.0
...........\pdfcolorstack 0 push {0.13725 0.2157 0.23137 rg 0.13725 0.2157 0.23137 RG}
...........\pdfcolorstack 0 push {0.13725 0.2157 0.23137 rg 0.13725 0.2157 0.23137 RG}
...........\pdfcolorstack 0 pop
...........\pdfcolorstack 0 pop
.......\glue(\baselineskip) 0.0
.......\hbox(0.0+0.0)x-56.90549
........\hbox(0.0+0.0)x0.0
.........\hbox(265.20912+0.0)x-28.45274, shifted 265.20912
..........\hbox(265.20912+0.0)x-28.45274
...........\glue -28.45274
...........\hbox(0.0+0.0)x0.0
............\vbox(265.20912+0.0)x0.0, glue set 265.20912fil
.............\pdfcolorstack 0 push {0.13725 0.2157 0.23137 rg 0.13725 0.2157 0.23137 RG}
.............\glue 0.0 plus 1.0fil minus 1.0fil
............\pdfcolorstack 0 pop
...........\vbox(265.20912+0.0)x0.0, glue set 265.20912fil
............\pdfcolorstack 0 push {0.13725 0.2157 0.23137 rg 0.13725 0.2157 0.23137 RG}
............\pdfcolorstack 0 push {0.13725 0.2157 0.23137 rg 0.13725 0.2157 0.23137 RG}
............\pdfcolorstack 0 pop
............\pdfcolorstack 0 pop
............\glue 0.0 plus 1.0fil
........\hbox(0.0+0.0)x0.0
.........\hbox(265.20912+0.0)x335.74261, shifted 265.20912
..........\hbox(265.20912+0.0)x335.74261
...........\glue 307.28987
...........\glue 28.45274
...........\hbox(0.0+0.0)x0.0
............\vbox(265.20912+0.0)x0.0, glue set 265.20912fil
.............\pdfcolorstack 0 push {0.13725 0.2157 0.23137 rg 0.13725 0.2157 0.23137 RG}
.............\glue 0.0 plus 1.0fil minus 1.0fil
............\pdfcolorstack 0 pop
...........\vbox(265.20912+0.0)x0.0, glue set 256.20912fill
............\pdfcolorstack 0 push {0.13725 0.2157 0.23137 rg 0.13725 0.2157 0.23137 RG}
............\pdfcolorstack 0 push {0.13725 0.2157 0.23137 rg 0.13725 0.2157 0.23137 RG}
............\glue 0.0 plus 1.0fill
............\hbox(0.0+0.0)x0.0, glue set - 2.84544fil
.............\glue 0.0 plus 1.0fil minus 1.0fil
.............\pdfcolorstack 0 push {0.10294 0.16177 0.17352 rg 0.10294 0.16177 0.17352 RG}
.............\pdfcolorstack 0 pop
.............\glue 2.84544
............\glue 2.0
............\glue(\baselineskip) 5.0
............\hbox(0.0+0.0)x0.0, glue set - 2.84544fil
.............\glue 0.0 plus 1.0fil minus 1.0fil
.............\pdfcolorstack 0 push {0.13725 0.2157 0.23137 rg 0.13725 0.2157 0.23137 RG}
.............\pdfcolorstack 0 push {0.6429 0.67427 0.68054 rg 0.6429 0.67427 0.68054 RG}
.............\pdfcolorstack 0 pop
.............\pdfcolorstack 0 pop
.............\glue 2.84544
............\pdfcolorstack 0 pop
............\pdfcolorstack 0 pop
............\glue 2.0
............\glue 0.0 plus 1.0fil
........\hbox(0.0+0.0)x-56.90549
.........\glue -28.45274
.........\hbox(0.0+0.0)x0.0
..........\vbox(0.0+0.0)x0.0
...........\pdfcolorstack 0 push {0.13725 0.2157 0.23137 rg 0.13725 0.2157 0.23137 RG}
...........\pdfcolorstack 0 push {0.13725 0.2157 0.23137 rg 0.13725 0.2157 0.23137 RG}
...........\pdfcolorstack 0 pop
...........\pdfcolorstack 0 pop
.........\glue -28.45274
........\glue 0.0 plus 1.0fil
.......\glue(\parskip) 0.0
.......\glue(\parskip) 0.0
.......\glue(\baselineskip) 0.0
.......\hbox(0.0+0.0)x307.28987, glue set 307.28987fil
........\hbox(0.0+0.0)x0.0
........\penalty 10000
........\glue(\parfillskip) 0.0 plus 1.0fil
........\glue(\rightskip) 0.0
.....\pdfcolorstack 0 pop
...\glue 0.0
...\glue(\lineskip) 0.0
...\vbox(261.20912+0.0)x307.28987
....\write-{}
....\pdfcolorstack 0 pop
....\pdfcolorstack 0 push {0.98 g 0.98 G}
....\glue(\topskip) 0.0
....\vbox(261.20912+0.0)x307.28987, glue set 120.84137fil
.....\penalty 10000
.....\vbox(0.0+0.0)x0.0
.....\penalty 10000
.....\penalty 10000
.....\penalty 10000
.....\penalty 10000
.....\glue 0.0 plus 1.0fil
.....\penalty 10000
.....\penalty 10000
.....\glue 0.0
.....\vbox(0.0+0.0)x0.0
.....\glue(\parskip) 0.0
.....\glue(\parskip) 0.0
.....\glue(\baselineskip) 7.99992
.....\hbox(10.00008+1.5264)x307.28987, glue set 111.68523fil
......\glue(\leftskip) 0.0 plus 1.0fil
......\hbox(0.0+0.0)x0.0
......\OT1/lmss/bx/n/14.4 H
......\OT1/lmss/bx/n/14.4 e
......\OT1/lmss/bx/n/14.4 l
......\OT1/lmss/bx/n/14.4 l
......\OT1/lmss/bx/n/14.4 o
......\OT1/lmss/bx/n/14.4 ,
......\glue 5.28 plus 3.29997 minus 1.40799
......\OT1/lmss/bx/n/14.4 w
......\kern-0.44
......\OT1/lmss/bx/n/14.4 o
......\kern-0.44
......\OT1/lmss/bx/n/14.4 r
......\OT1/lmss/bx/n/14.4 l
......\OT1/lmss/bx/n/14.4 d
......\OT1/lmss/bx/n/14.4 !
......\penalty 10000
......\glue(\parfillskip) 0.0
......\glue(\rightskip) 0.0 plus 1.0fil
.....\glue 0.0 plus 1.0fil
....\write1{\@writefile{nav}{\protect \headcommand {\protect \slideentry {0}{0}{2}{2/2}{}{0}}}}
....\write1{\@writefile{nav}{\protect \headcommand {\protect \beamer@framepages {2}{2}}}}
....\glue 0.0 plus 1.0fil
....\glue 0.0
...\glue(\baselineskip) 4.0
...\hbox(7.9375+0.0)x307.28987
....\pdfcolorstack 0 push {0.13725 0.2157 0.23137 rg 0.13725 0.2157 0.23137 RG}
....\hbox(7.9375+0.0)x307.28987
.....\vbox(7.9375+0.0)x307.28987
......\hbox(7.9375+0.0)x307.28987
.......\hbox(7.9375+0.0)x307.28987
........\glue -28.45274
........\hbox(7.9375+0.0)x364.19536
.........\vbox(7.9375+0.0)x364.19536
..........\pdfcolorstack 0 push {0.13725 0.2157 0.23137 rg 0.13725 0.2157 0.23137 RG}
..........\pdfcolorstack 0 push {0.13725 0.2157 0.23137 rg 0.13725 0.2157 0.23137 RG}
..........\hbox(7.9375+0.0)x364.19536
...........\pdfcolorstack 0 push {0.13725 0.2157 0.23137 rg 0.13725 0.2157 0.23137 RG}
...........\vbox(7.9375+0.0)x364.19536
............\hbox(3.9375+0.0)x364.19536, glue set 345.63286fill
.............\glue(\leftskip) 4.0
.............\hbox(0.0+0.0)x0.0
.............\pdfcolorstack 0 push {0.98 g 0.98 G}
.............\pdfcolorstack 0 push {0.98 g 0.98 G}
.............\pdfcolorstack 0 pop
.............\glue 0.0 plus 1.0fill
.............\pdfcolorstack 0 push {0.98 g 0.98 G}
.............\hbox(3.9375+0.0)x9.5625, glue set 6.375fil
..............\glue 0.0 plus 1.0fil minus 1.0fil
..............\OT1/lmss/m/n/6 1
.............\pdfcolorstack 0 pop
.............\penalty 10000
.............\glue(\parfillskip) 0.0 plus 1.0fil
.............\glue(\rightskip) 5.0
............\glue 4.0
...........\pdfcolorstack 0 pop
...........\pdfcolorstack 0 pop
..........\pdfcolorstack 0 pop
..........\pdfcolorstack 0 pop
........\glue -28.45274
.......\glue 0.0 plus 1.0fil
.......\glue 0.0 plus 1.0fil
......\glue(\lineskip) 0.0
......\hbox(0.0+0.0)x0.0
.....\glue 0.0 plus 1.0fil
....\pdfcolorstack 0 pop
.\kern 0.0
Completed box being shipped out [3]
\vbox(200.87663+0.0)x263.47263
.\hbox(0.0+0.0)x0.0
..\kern -72.26999
..\vbox(0.0+0.0)x0.0, glue set 72.26999fil
...\kern -72.26999
...\hbox(0.0+0.0)x0.0
....\hbox(0.0+0.0)x0.0, glue set 72.26999fil, shifted 72.26999
.....\kern -72.26999
.....\glue 0.0 plus 1.0fil minus 1.0fil
....\glue 0.0 plus 1.0fil minus 1.0fil
...\glue 0.0 plus 1.0fil minus 1.0fil
.\vbox(0.0+0.0)x0.0, glue set 73.27373fil
..\kern 0.0
..\kern -72.26999
..\kern -1.00374
..\hbox(0.0+0.0)x0.0, glue set 44.82098fil
...\kern 0.0
...\kern -43.81725
...\kern -1.00374
...\glue 0.0 plus 1.0fil minus 1.0fil
..\glue 0.0 plus 1.0fil minus 1.0fil
.\glue(\lineskip) 0.0
.\vbox(200.87663+0.0)x263.47263
..\glue -72.26999
..\vbox(273.14662+0.0)x307.28987, shifted -43.81725
...\vbox(0.0+0.0)x307.28987
....\glue 0.0 plus 1.0fil
....\hbox(0.0+0.0)x307.28987
.....\pdfcolorstack 0 push {0.13725 0.2157 0.23137 rg 0.13725 0.2157 0.23137 RG}
.....\hbox(0.0+0.0)x307.28987
......\vbox(0.0+0.0)x307.28987
.......\hbox(0.0+0.0)x-28.45274
........\glue -28.45274
........\hbox(0.0+0.0)x0.0
.........\hbox(273.14662+0.0)x364.19536, shifted 273.14662
..........\hbox(273.14662+0.0)x364.19536
...........\pdfcolorstack 0 push {0.13725 0.2157 0.23137 rg 0.13725 0.2157 0.23137 RG}
...........\pdfcolorstack 0 push {0.13725 0.2157 0.23137 rg 0.13725 0.2157 0.23137 RG}
...........\pdfcolorstack 0 push {0.13725 0.2157 0.23137 rg 0.13725 0.2157 0.23137 RG}
...........\rule(273.14662+*)x364.19536
...........\pdfcolorstack 0 pop
...........\pdfcolorstack 0 pop
...........\pdfcolorstack 0 pop
........\hbox(0.0+0.0)x0.0
.........\hbox(0.0+0.0)x0.0
..........\hbox(0.0+0.0)x0.0
...........\pdfcolorstack 0 push {0.13725 0.2157 0.23137 rg 0.13725 0.2157 0.23137 RG}
...........\pdfcolorstack 0 push {0.13725 0.2157 0.23137 rg 0.13725 0.2157 0.23137 RG}
...........\pdfcolorstack 0 pop
...........\pdfcolorstack 0 pop
.......\glue(\baselineskip) 0.0
.......\hbox(0.0+0.0)x-56.90549
........\hbox(0.0+0.0)x0.0
.........\hbox(273.14662+0.0)x-28.45274, shifted 273.14662
..........\hbox(273.14662+0.0)x-28.45274
...........\glue -28.45274
...........\hbox(0.0+0.0)x0.0
............\vbox(273.14662+0.0)x0.0, glue set 273.14662fil
.............\pdfcolorstack 0 push {0.13725 0.2157 0.23137 rg 0.13725 0.2157 0.23137 RG}
.............\glue 0.0 plus 1.0fil minus 1.0fil
............\pdfcolorstack 0 pop
...........\vbox(273.14662+0.0)x0.0, glue set 273.14662fil
............\pdfcolorstack 0 push {0.13725 0.2157 0.23137 rg 0.13725 0.2157 0.23137 RG}
............\pdfcolorstack 0 push {0.13725 0.2157 0.23137 rg 0.13725 0.2157 0.23137 RG}
............\pdfcolorstack 0 pop
............\pdfcolorstack 0 pop
............\glue 0.0 plus 1.0fil
........\hbox(0.0+0.0)x0.0
.........\hbox(273.14662+0.0)x335.74261, shifted 273.14662
..........\hbox(273.14662+0.0)x335.74261
...........\glue 307.28987
...........\glue 28.45274
...........\hbox(0.0+0.0)x0.0
............\vbox(273.14662+0.0)x0.0, glue set 273.14662fil
.............\pdfcolorstack 0 push {0.13725 0.2157 0.23137 rg 0.13725 0.2157 0.23137 RG}
.............\glue 0.0 plus 1.0fil minus 1.0fil
............\pdfcolorstack 0 pop
...........\vbox(273.14662+0.0)x0.0, glue set 264.14662fill
............\pdfcolorstack 0 push {0.13725 0.2157 0.23137 rg 0.13725 0.2157 0.23137 RG}
............\pdfcolorstack 0 push {0.13725 0.2157 0.23137 rg 0.13725 0.2157 0.23137 RG}
............\glue 0.0 plus 1.0fill
............\hbox(0.0+0.0)x0.0, glue set - 2.84544fil
.............\glue 0.0 plus 1.0fil minus 1.0fil
.............\pdfcolorstack 0 push {0.10294 0.16177 0.17352 rg 0.10294 0.16177 0.17352 RG}
.............\pdfcolorstack 0 pop
.............\glue 2.84544
............\glue 2.0
............\glue(\baselineskip) 5.0
............\hbox(0.0+0.0)x0.0, glue set - 2.84544fil
.............\glue 0.0 plus 1.0fil minus 1.0fil
.............\pdfcolorstack 0 push {0.13725 0.2157 0.23137 rg 0.13725 0.2157 0.23137 RG}
.............\pdfcolorstack 0 push {0.6429 0.67427 0.68054 rg 0.6429 0.67427 0.68054 RG}
.............\pdfcolorstack 0 pop
.............\pdfcolorstack 0 pop
.............\glue 2.84544
............\pdfcolorstack 0 pop
............\pdfcolorstack 0 pop
............\glue 2.0
............\glue 0.0 plus 1.0fil
........\hbox(0.0+0.0)x-56.90549
.........\glue -28.45274
.........\hbox(0.0+0.0)x0.0
..........\vbox(0.0+0.0)x0.0
...........\pdfcolorstack 0 push {0.13725 0.2157 0.23137 rg 0.13725 0.2157 0.23137 RG}
...........\pdfcolorstack 0 push {0.13725 0.2157 0.23137 rg 0.13725 0.2157 0.23137 RG}
...........\pdfcolorstack 0 pop
...........\pdfcolorstack 0 pop
.........\glue -28.45274
........\glue 0.0 plus 1.0fil
.......\glue(\parskip) 0.0
.......\glue(\parskip) 0.0
.......\glue(\baselineskip) 0.0
.......\hbox(0.0+0.0)x307.28987, glue set 307.28987fil
........\hbox(0.0+0.0)x0.0
........\penalty 10000
........\glue(\parfillskip) 0.0 plus 1.0fil
........\glue(\rightskip) 0.0
.....\pdfcolorstack 0 pop
...\glue 0.0
...\glue(\lineskip) 0.0
...\vbox(269.14662+0.0)x307.28987
....\write-{}
....\pdfcolorstack 0 pop
....\pdfcolorstack 0 push {0.98 g 0.98 G}
....\glue(\topskip) 0.0
....\vbox(269.14662+0.0)x307.28987, glue set 124.81012fil
.....\penalty 10000
.....\vbox(0.0+0.0)x0.0
.....\penalty 10000
.....\penalty 10000
.....\penalty 10000
.....\penalty 10000
.....\glue 0.0 plus 1.0fil
.....\penalty 10000
.....\penalty 10000
.....\glue 0.0
.....\vbox(0.0+0.0)x0.0
.....\glue(\parskip) 0.0
.....\glue(\parskip) 0.0
.....\glue(\baselineskip) 7.99992
.....\hbox(10.00008+1.5264)x307.28987, glue set 111.68523fil
......\glue(\leftskip) 0.0 plus 1.0fil
......\hbox(0.0+0.0)x0.0
......\OT1/lmss/bx/n/14.4 H
......\OT1/lmss/bx/n/14.4 e
......\OT1/lmss/bx/n/14.4 l
......\OT1/lmss/bx/n/14.4 l
......\OT1/lmss/bx/n/14.4 o
......\OT1/lmss/bx/n/14.4 ,
......\glue 5.28 plus 3.29997 minus 1.40799
......\OT1/lmss/bx/n/14.4 w
......\kern-0.44
......\OT1/lmss/bx/n/14.4 o
......\kern-0.44
......\OT1/lmss/bx/n/14.4 r
......\OT1/lmss/bx/n/14.4 l
......\OT1/lmss/bx/n/14.4 d
......\OT1/lmss/bx/n/14.4 !
......\penalty 10000
......\glue(\parfillskip) 0.0
......\glue(\rightskip) 0.0 plus 1.0fil
.....\glue 0.0 plus 1.0fil
....\write1{\@writefile{nav}{\protect \headcommand {\protect \slideentry {0}{0}{3}{3/3}{}{0}}}}
....\write1{\@writefile{nav}{\protect \headcommand {\protect \beamer@framepages {3}{3}}}}
....\glue 0.0 plus 1.0fil
....\glue 0.0
...\glue(\baselineskip) 4.0
...\hbox(0.0+0.0)x307.28987
....\pdfcolorstack 0 push {0.13725 0.2157 0.23137 rg 0.13725 0.2157 0.23137 RG}
....\hbox(0.0+0.0)x307.28987, glue set 307.28987fil
.....\vbox(0.0+0.0)x0.0
......\hbox(0.0+0.0)x-56.90549
.......\hbox(0.0+0.0)x-56.90549
........\glue -28.45274
........\hbox(0.0+0.0)x0.0
.........\vbox(0.0+0.0)x0.0
..........\pdfcolorstack 0 push {0.13725 0.2157 0.23137 rg 0.13725 0.2157 0.23137 RG}
..........\pdfcolorstack 0 push {0.13725 0.2157 0.23137 rg 0.13725 0.2157 0.23137 RG}
..........\pdfcolorstack 0 pop
..........\pdfcolorstack 0 pop
........\glue -28.45274
.......\glue 0.0 plus 1.0fil
.......\glue 0.0 plus 1.0fil
......\glue(\lineskip) 0.0
......\hbox(0.0+0.0)x0.0
.....\glue 0.0 plus 1.0fil
....\pdfcolorstack 0 pop
.\kern 0.0
\tf@nav=\write...
\tf@toc=\write...
\tf@snm=\write...
(standoutnumbering.aux)

View File

@ -38,53 +38,15 @@
\end{proof}
\end{frame}
{
\molochset{titleformat frame=smallcaps}
\begin{frame}{Small caps}
This frame uses the \texttt{smallcaps} title format.
\begin{block}{Block}
Some content
\end{block}
\begin{alertblock}{Alert Block}
Yet more content
\end{alertblock}
\begin{exampleblock}{Example Block}
Just to try out the different blocks
\end{exampleblock}
\end{frame}
}
{
\molochset{titleformat frame=allsmallcaps}
\begin{frame}{All small caps}
This frame uses the \texttt{allsmallcaps} title format.
\end{frame}
}
{
\molochset{titleformat frame=allcaps}
\begin{frame}{All caps}
This frame uses the \texttt{allcaps} title format.
\end{frame}
}
\vfil\break
\END
\begin{frame}{Lists}
\begin{columns}[T,onlytextwidth]
\column{0.33\textwidth}
Items
\begin{itemize}
\item Flour
\begin{itemize}
\item Wheat
\begin{itemize}
\item Whole-grain
\item White
\end{itemize}
\end{itemize}
\item Eggs
\item Milk \item Eggs \item Potatoes
\end{itemize}
\column{0.33\textwidth}
@ -143,6 +105,7 @@
\end{column}
\end{columns}
\end{frame}
\appendix
@ -151,7 +114,8 @@
Here are some backup slides
\end{frame}
\vfil\break
\END
\end{document}
\end{document}

View File

@ -1,47 +0,0 @@
\input regression-test
\molochset{sectionpage=progressbar}
\molochset{subsectionpage=progressbar}
\begin{document}
\maketitle
\START
\begin{frame}[c]
Sections: progressbar, subsections: progressbar
\end{frame}
\section{Section}
\subsection{Subsection}
\begin{frame}[c]
Sections: progressbar, subsections: simple
\end{frame}
\molochset{sectionpage=progressbar}
\section{Section}
\molochset{subsectionpage=simple}
\subsection{Subsection}
\molochset{subsectionpage=progressbar}
\molochset{sectionpage=progressbar}
\section{Section}
\subsection{Subsection}
\begin{frame}[c]
Sections: simple, subsections: simple
\end{frame}
\molochset{sectionpage=simple}
\molochset{subsectionpage=simple}
\section{Section}
\subsection{Subsection}
\end{document}

View File

@ -1,44 +0,0 @@
\input regression-test
\title{Moloch Test Suite}
\subtitle{A subtitle that is way to long and in fact might just need to be split across lines}
\author[Johan]{Johan Larsson}
\institute[LU]{Lund Univesity//Department of Statistics}
\date{April 23, 2024}
\begin{document}
\START
\showoutput
\begin{frame}{Table of contents}
\setbeamertemplate{section in toc}[sections numbered]
\tableofcontents[hideallsubsections]
\end{frame}
\section{Results}
\subsection{Proof of the Main Theorem}
\begin{frame}<1>
\frametitle{There Is No Largest Prime Number}
\framesubtitle{The proof uses \textit{reductio ad absurdum}.}
\begin{theorem}
There is no largest prime number.
\end{theorem}
\begin{proof}
\begin{enumerate}
\item<1-| alert@1> Suppose $p$ were the largest prime number.
\item<2-> Let $q$ be the product of the first $p$ numbers.
\item<3-> Then $q$\;+\,$1$ is not divisible by any of them.
\item<1-> Thus $q$\;+\,$1$ is also prime and greater than $p$.\qedhere
\end{enumerate}
\end{proof}
\end{frame}
\vfil\break
\END
\end{document}

View File

@ -1,26 +0,0 @@
\input regression-test
\begin{document}
\START
\showoutput
\molochset{standoutnumbering=none}
\begin{frame}[standout]
Hello, world!
\end{frame}
\molochset{standoutnumbering=show}
\begin{frame}[standout]
Hello, world!
\end{frame}
\molochset{standoutnumbering=hide}
\begin{frame}[standout]
Hello, world!
\end{frame}
\end{document}

File diff suppressed because it is too large Load Diff