Compare commits

...

79 Commits
v0.4.0 ... main

Author SHA1 Message Date
xenia b39c368b52 wip: add package.nix for build packaging 2025-06-11 00:51:03 -04:00
xenia d23403af80 fix: improve page numbering styles and calculation
- For improved compatibility with
  [Pympress](https://github.com/Cimbali/pympress), use the recommended
  format for PDF page numbers on notes pages. This allows presentations
  built with `show notes` on (i.e., notes on every other page) to work
  out of the box. Other notes page formats and other PDF viewers are not
  impacted.
- Change page numbering defaults to `appendixpagenumber` so that
  appendix pages are restarted from the beginning. Additionally,
  progressbar calculation will only take into account the
  `mainframenumber`, which doesn't include appendix pages.
- Remove deprecated options relating to frame numbering, as I'm not sure
  whether it impacts the change in defaults above.
2025-06-09 23:23:12 -04:00
Johan Larsson 8594369316
feat: redesign itemize environment (#50) 2025-05-21 15:24:16 +02:00
Johan Larsson 70e573e9fe
test: update separation test example 2025-05-13 09:36:43 +02:00
Johan Larsson 88b24e1f50
test: use larger portion of test 2025-05-13 09:33:37 +02:00
Johan Larsson 888e1201b4
test: update test file with nested itemize environment 2025-05-13 09:33:19 +02:00
Johan Larsson 81037c66e1
feat: use beamer-like itemize item and subitem templates
This brings the itemize templates more in line with beamer. The changes
are mostly that the symbols are slightly raised. Alignment with te
subsubitem symbol is not great, but I will defer it to another update.
This also closes #49, since we now rely on `$...$` instead of `\(...\)`.

fix: avoid coloring bullets based on math colors
2025-05-13 09:28:44 +02:00
Johan Larsson fd86a305e9
fix: move command substitutions into inner and outer themes
Closes #47.
2025-04-13 14:24:43 +02:00
Johan Larsson 75c3f569f2
docs: fix typo 2025-04-13 14:12:27 +02:00
Johan Larsson a549f1f97e
chore: update ctan announcement 2025-04-01 21:52:41 +02:00
Johan Larsson 9e73b441ee
chore(main): release 1.0.1 (#46) 2025-04-01 20:51:12 +02:00
Johan Larsson 0c4d38e3c2
fix: use proper package names 2025-04-01 16:51:13 +02:00
Johan Larsson de71f21673
chore: autotag 2025-04-01 16:45:41 +02:00
Johan Larsson ba01d33b19
fix: add missing files for updating version tags 2025-04-01 16:45:17 +02:00
Johan Larsson c4984dc7fa
chore: remove release-as specifier 2025-04-01 16:44:20 +02:00
Johan Larsson 96ea09b909
chore(main): release 1.0.0 (#43) 2025-04-01 16:42:10 +02:00
Johan Larsson 396b0a8374
chore: drop out of development mode 2025-04-01 16:39:26 +02:00
Johan Larsson b65079d9d1
chore: remove commented parts from nix flake 2025-04-01 16:33:49 +02:00
Johan Larsson a6abea0b02
chore: autoformat demo.tex 2025-04-01 16:33:49 +02:00
Johan Larsson de3db5e517
feat: support `\thanks` in title page (#45) 2025-04-01 16:33:37 +02:00
Johan Larsson be0d8f23c7
feat: add customization of bar line width (#42)
Adds the ability to set the line width of the progress bars and title
separator (on the title page) through `progressbar linewidth` and
`titleseparator linewidth`. Closes #41.
2025-03-12 15:04:16 +01:00
urbadav 795d202d6d
docs: fix demo link in README.md (#40) 2025-03-03 21:04:35 +01:00
Johan Larsson b3385876f7
docs: add a link to the demo example in the README
See #38 for context.
2025-02-25 10:05:40 +01:00
Johan Larsson 44967ba549
docs: add rendered demo to repository
See #38 for context.
2025-02-25 10:04:14 +01:00
samcarter c16698d1b7
chore: remove hyperref and use \frametitle in tomorrow theme example 2025-02-10 14:16:56 +01:00
samcarter 579e785b20
replacing `\begin{frame}{...}` with the more robust and flexible syntax `\begin{frame}\frametitle{...}` (#36) 2025-02-10 14:10:17 +01:00
Johan Larsson 055ca31098 chore: update ctan announcement 2025-01-17 17:15:42 +01:00
Johan Larsson 2f334ed60e
chore(main): release 0.6.0 (#34) 2025-01-17 17:00:09 +01:00
Johan Larsson 3b0500cc9d chore: update date stamps 2025-01-17 16:48:24 +01:00
Johan Larsson 33e4f5face docs: fix tomorrow theme demo 2025-01-17 16:34:58 +01:00
Johan Larsson ae98ea328a docs: update demo for tomorrow color theme 2025-01-17 16:33:58 +01:00
Johan Larsson 3039994e27 feat: add back highcontrast theme from metropolis 2025-01-17 16:25:57 +01:00
Johan Larsson 13e73007c6
feat: add new color theme based on the tomorrow color theme 2025-01-17 16:21:29 +01:00
Johan Larsson 2a4bbfa945 ci: fix name of wrapper 2025-01-17 13:43:33 +01:00
Johan Larsson 80904599e6 build: use l3build wrapper 2025-01-17 13:40:13 +01:00
Johan Larsson d1bb7cb144 chore: wrap paragraph in source 2025-01-17 12:29:53 +01:00
Johan Larsson 1c6b1a171d test: update test testfile 2025-01-17 12:19:38 +01:00
Johan Larsson af901954e1 test: update standoutnumbering testfile 2025-01-17 11:37:51 +01:00
Johan Larsson 54c2e5c2ab build: setup nix flake and use it for gh actions 2025-01-17 11:11:57 +01:00
Johan Larsson eb4bf54e73
revert: "feat: deprecate `\mreducelistspacing`"
This reverts commit 3d87ec2d8d.
2024-12-02 19:58:43 +01:00
Johan Larsson 2a6afe5d72
test: update standoutnumbering test output 2024-12-02 09:47:18 +01:00
Johan Larsson ce7540d71c
revert: "test: remove standoutnumbering test"
This reverts commit c485a5d2bc.
2024-12-02 09:46:59 +01:00
Johan Larsson 191aef9fd7
test: lock test output 2024-12-02 09:46:12 +01:00
Johan Larsson 3d87ec2d8d
feat: deprecate `\mreducelistspacing` 2024-12-02 07:51:56 +01:00
Johan Larsson 8e3551965c
doc: use FiraMono in demo 2024-12-02 07:43:39 +01:00
Johan Larsson 2633db809b
chore: remove commented-out code from demo 2024-12-02 07:43:14 +01:00
Johan Larsson c485a5d2bc
test: remove standoutnumbering test
It is failing for uknown reasons, possibly ci latex version mismatch.
2024-12-02 07:42:29 +01:00
Johan Larsson 85eabc7bee
feat: use golden rule in top-bottom spacing of title page
Use the golden rule to set top and bottom spacing for the title page.
This closes #29.
2024-12-02 07:30:29 +01:00
Johan Larsson 35276a885f
ci: add latex package microtype 2024-11-22 22:48:56 +01:00
Johan Larsson 8ee58c03b8
doc: document standoutnumbering 2024-11-22 20:59:31 +01:00
Johan Larsson e770ca1893
doc: redesign manual for moloch 2024-11-22 20:52:19 +01:00
Johan Larsson 6deb04548f
test: make sectionpages test more complicated again 2024-11-22 20:14:32 +01:00
Johan Larsson bdc36c8972
test: rerun test for sectionpages 2024-11-22 20:13:26 +01:00
Johan Larsson 42f212ab09
test: make standoutnumbering test less trivial 2024-11-22 20:11:27 +01:00
Johan Larsson 922a272fdc
test: have anothe go at fixing the regression test 2024-11-22 20:10:03 +01:00
Johan Larsson 866634f191
test: simply test even further 2024-11-22 19:48:26 +01:00
Johan Larsson bd2abe00df
test: simplify test 2024-11-22 15:07:24 +01:00
Johan Larsson d61ae2da5e
test: use hyperref=draft for test 2024-11-22 14:56:02 +01:00
Johan Larsson 783ec80ca2
test: fix failing tests 2024-11-22 14:44:29 +01:00
John Purnell 5a98c69a3f
feat: redesign section and subsection pages (#30)
Redesign section and subsection pages so that section titles are aligned, which 
helps avoid having titles jump if section and subsection pages are viewed
in sequence. The alignment of subtitles on section pages with
the progressbar layout have also been modified to look better. Finally,
section pages have their content raised slightly in both the progressbar
and simple templates.

---------

Co-authored-by: Johan Larsson <jolars@posteo.com>
2024-11-22 14:09:14 +01:00
Johan Larsson fcfbbe1f21
chore: fix erroneous test in standout-numbering 2024-11-20 20:09:54 +01:00
Johan Larsson d6d0e3c615
feat: add option to customize frame numbering of standout pages
Add a new option: standoutnumbering, to customize frame numbering
behavior for standout pages.

Closes #33
2024-11-20 20:03:29 +01:00
Johan Larsson 1fea99cb3c chore: autoformat manual 2024-11-16 20:51:23 +01:00
Johan Larsson 21a2980b6e chore: make the demo anonymous 2024-10-31 14:58:28 +01:00
Johan Larsson 11f8285cbb chore: update ctan announcement text 2024-10-30 14:25:33 +01:00
Johan Larsson 7605fc36df
chore(main): release 0.5.0 (#20) 2024-10-30 14:23:05 +01:00
Johan Larsson de455795bd chore: update dates in tags 2024-10-30 14:10:43 +01:00
Johan Larsson c6731124aa chore: convert fonts in screenshot to paths 2024-10-30 14:07:35 +01:00
Johan Larsson b7cfb2c60c chore(tests): update tests 2024-10-30 13:46:23 +01:00
Johan Larsson e8921a6964 fix: set use=block title in block body for fill
Closes #28
2024-10-29 21:49:07 +01:00
Johan Larsson 0de54ed7ed chore: autoformat with stylua 2024-10-29 20:11:48 +01:00
John Purnell 1306af5a73
fix: remove duplicated footnote color specifications (#26)
bf63dcd duplicated the existing footnote color specifications.
2024-10-28 11:23:34 +01:00
John Purnell e5be4806ab
fix: remove extra space below progressbar section pages (#27)
The missing trailing comment after the Metropolis conversion was adding extraneous vertical space below progress bar section pages.
2024-10-28 09:25:48 +01:00
Johan Larsson c3b6729e2f chore: fix typo (Metroplis -> Metropolis)
Thanks to Jorge Montoya for the report.
2024-08-13 20:23:07 +02:00
Johan Larsson 8f2a59e239 feat: replace `\vfill` with `\vfil` in title frame 2024-07-24 22:14:46 +02:00
Johan Larsson 21bbe492e7 tests: update expected test output 2024-07-24 21:57:52 +02:00
Marei Peischl 873ae15482
feat: switch from fill to fil (#21) 2024-07-24 21:51:24 +02:00
Johan Larsson 185027af36 chore: add ctan announcement notes 2024-07-09 20:53:51 +02:00
Johan Larsson 28003e7502 fix: tag files with date 2024-07-09 20:51:49 +02:00
38 changed files with 7663 additions and 371 deletions

5
.envrc Normal file
View File

@ -0,0 +1,5 @@
# 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,28 +11,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: teatimeguest/setup-texlive-action@v3
- uses: cachix/install-nix-action@v27
with:
packages: >-
scheme-basic
beamer
biblatex
enumitem
fileinfo
hypdoc
hyperref
l3build
listings
metalogo
parskip
pgf
pgfopts
setspace
xurl
github_access_token: ${{ secrets.GITHUB_TOKEN }}
- name: document
run: l3build doc
run: nix develop --command l3build-wrapped doc
- name: build
run: l3build ctan -q -H --show-log-on-error
run: nix develop --command l3build-wrapped ctan -q -H --show-log-on-error
release:
if: ${{ github.ref == 'refs/heads/main' }}
permissions:

10
.gitignore vendored
View File

@ -303,10 +303,18 @@ 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 @@
{
".": "0.4.0"
".": "1.0.1"
}

View File

@ -1,5 +1,55 @@
# 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)

View File

@ -13,6 +13,7 @@ The fork was created for the following reasons:
- 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.

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 174 KiB

View File

@ -15,7 +15,7 @@ maxprintline = 9999
uploadconfig = {
pkg = "moloch",
version = "0.4.0", -- x-release-please-version
version = "1.0.1", -- x-release-please-version
author = "Johan Larsson",
uploader = "Johan Larsson",
license = "cc-by-sa-4",

View File

@ -0,0 +1,19 @@
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,6 +11,9 @@
%% ---------------------------------------------------------------------------
%% Copyright 2024 Johan Larsson and contributors
%% ---------------------------------------------------------------------------
\PassOptionsToPackage{unicode,pdfusetitle}{hyperref}
\PassOptionsToPackage{hyphens}{xurl}
\PassOptionsToPackage{dvipsnames}{xcolor}
\documentclass{ltxdoc}
@ -18,7 +21,10 @@
\usepackage{setspace}
\usepackage{xspace}
\usepackage{xurl}
\onehalfspacing
\usepackage{lmodern}
\usepackage{microtype}
\UseMicrotypeSet[protrusion]{basicmath} % disable protrusion for tt fonts
\usepackage{enumitem}
\setlist[itemize]{noitemsep}
@ -35,8 +41,8 @@
\lstset{%
language=[LaTeX]{TeX},
basicstyle=\ttfamily,
keywordstyle=\color{mLightBrown}\bfseries,
commentstyle=\color{mLightGreen},
keywordstyle=\color{MidnightBlue}\bfseries,
commentstyle=\color{Periwinkle},
stringstyle=\color{mLightGreen},
backgroundcolor=\color{mBackground},
numbers=none,
@ -58,22 +64,27 @@
xrightmargin=0em,
aboveskip=1em,
belowskip=1em,
morekeywords={usetheme,institute,maketitle,@moloch@titleformat,%
plain,setbeamercolor,molochset,setsansfont,setmonofont},
morekeywords={
usetheme,
institute,
maketitle,
@moloch@titleformat,
%plain,
setbeamercolor,
molochset,
setsansfont,
setmonofont
},
}
\lstMakeShortInline|
\usepackage{metalogo}
\usepackage[colorlinks=true,
linkcolor=mLightBrown,
menucolor=mLightBrown,
pagecolor=mLightBrown,
urlcolor=mLightBrown]{hyperref}
\usepackage[colorlinks=true,linkcolor=MidnightBlue,urlcolor=MidnightBlue]{hyperref}
\newcommand{\DescribeOption}[4]{
\DescribeMacro{#1}
\begin{minipage}[t]{\textwidth}
\textit{\textbf{\textcolor{mLightGreen}{#2}}}\dotfill\,#3\par
\textit{\textbf{\textcolor{JungleGreen}{#2}}}\dotfill\,#3\par
\begingroup
\vspace{0.5em}#4\par
\endgroup
@ -82,24 +93,24 @@
\newcommand{\themename}{\textsf{moloch}\xspace}
\def\molochversion{0.4.0} % x-release-please-version
\def\molochversion{1.0.1} % 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
\tableofcontents
\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
@ -114,7 +125,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 Metroplis theme by Matthias Vogelgesang.
\themename is a fork of the popular Metropolis 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.
@ -179,7 +190,6 @@ 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:
@ -201,10 +211,9 @@ 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
@ -225,8 +234,7 @@ The list of options is structured as shown in the following example.
A short description of the option.
}
\subsubsection{Main theme}
\subsubsection{Main Theme}
\DescribeOption{titleformat}%
{regular, smallcaps, allsmallcaps, allcaps}
@ -245,8 +253,7 @@ The list of options is structured as shown in the following example.
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
@ -263,8 +270,16 @@ 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.
@ -280,7 +295,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|
@ -292,8 +307,7 @@ The list of options is structured as shown in the following example.
of the reverse.
}
\subsubsection{Font theme}
\subsubsection{Font Theme}
\DescribeMacro{titleformat title}
\DescribeMacro{titleformat subtitle}
@ -305,7 +319,6 @@ The list of options is structured as shown in the following example.
frame titles (see |titleformat|, above).
}
\subsection{Color Customization}
The included \themename color theme is used by default, but its colors can be
@ -333,6 +346,8 @@ of \themename specific colors, which can also be redefined to your liking.
\setbeamercolor{progress bar in section page}{ ... }
\end{lstlisting}
\subsubsection{Themes}
For low-light situations \themename it might be helpful to use the
|moloch-highcontrast| color theme. It is enabled like any other color theme:
@ -340,10 +355,17 @@ 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
@ -369,7 +391,7 @@ 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
@ -377,11 +399,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}
@ -403,8 +425,7 @@ 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
@ -424,8 +445,7 @@ on each slide.
\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
@ -457,14 +477,12 @@ solution for Org mode users, using |org-set-property|.
:END:
\end{lstlisting}
\subsection{Standout frames with Pandoc}
\subsection{Standout Frames with Pandoc}
With Pandoc versions prior to 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
@ -474,7 +492,6 @@ 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

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

Binary file not shown.

View File

@ -0,0 +1,82 @@
\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}

BIN
examples/demo/demo.pdf Normal file

Binary file not shown.

View File

@ -7,12 +7,11 @@
\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{xspace}
@ -21,21 +20,23 @@
\title{Moloch}
\subtitle{A Minimal Beamer Theme}
\date{\today}
\author{Johan Larsson}
\institute{The Department of Statistics, Lund University}
\author{The Author}
\institute{Some Institution, Some University}
\titlegraphic{\hfill\includegraphics[width=3.5cm]{moloch-logo.pdf}}
\begin{document}
\maketitle
\begin{frame}{Table of Contents}
\begin{frame}
\frametitle{Table of Contents}
\tableofcontents[hideallsubsections]
\end{frame}
\section{Introduction}
\begin{frame}[fragile]{Moloch}
\begin{frame}[fragile]
\frametitle{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
@ -46,7 +47,8 @@
\begin{verbatim}\documentclass{beamer}
\usetheme{moloch}\end{verbatim}
\end{frame}
\begin{frame}[fragile]{Sections}
\begin{frame}[fragile]
\frametitle{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}
@ -54,7 +56,8 @@
\section{Title Formats}
\begin{frame}[fragile]{Moloch Title Formats}
\begin{frame}[fragile]
\frametitle{Moloch Title Formats}
\themename supports four different title formats:
\begin{itemize}
\item \texttt{regular} (Regular)
@ -70,8 +73,8 @@
{
\molochset{titleformat frame=smallcaps}
\begin{frame}{Small Caps}
This frame uses the \texttt{smallcaps} title format.
\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.
@ -81,7 +84,8 @@
{
\molochset{titleformat frame=allsmallcaps}
\begin{frame}{All Small Caps}
\begin{frame}
\frametitle{All Small Caps}
This frame uses the \texttt{allsmallcaps} title format.
\begin{alertblock}{Potential Problems}
@ -104,7 +108,8 @@
{
\molochset{titleformat frame=allcaps}
\begin{frame}{All Caps}
\begin{frame}
\frametitle{All Caps}
This frame uses the \texttt{allcaps} title format.
\begin{alertblock}{Potential Problems}
@ -115,7 +120,8 @@
\section{Elements}
\begin{frame}[fragile]{Typography}
\begin{frame}[fragile]
\frametitle{Typography}
\begin{verbatim}The theme provides sensible defaults to
\emph{emphasize} text, \alert{accent} parts or show
\textbf{bold} results.\end{verbatim}
@ -126,7 +132,8 @@
\alert{accent} parts or show \textbf{bold} results.
\end{frame}
\begin{frame}{Font Features Test}
\begin{frame}
\frametitle{Font Features Test}
\begin{itemize}
\item Regular
\item \textit{Italic}
@ -141,7 +148,8 @@
\end{itemize}
\end{frame}
\begin{frame}{Lists}
\begin{frame}
\frametitle{Lists}
\begin{columns}[T,onlytextwidth]
\column{0.3\textwidth}
Items
@ -162,14 +170,16 @@
\end{description}
\end{columns}
\end{frame}
\begin{frame}{Animation}
\begin{frame}
\frametitle{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}{Figures}
\begin{frame}
\frametitle{Figures}
\begin{figure}
\newcounter{density}
\setcounter{density}{20}
@ -196,7 +206,8 @@
\end{figure}
\end{frame}
\begin{frame}{Tables}
\begin{frame}
\frametitle{Tables}
\framesubtitle{Largest cities in the world}
\begin{table}
\caption{Largest cities in the world (source: Wikipedia)}
@ -212,7 +223,8 @@
\end{tabular}
\end{table}
\end{frame}
\begin{frame}[fragile]{Blocks}
\begin{frame}[fragile]
\frametitle{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).
@ -251,13 +263,56 @@
\end{columns}
\end{frame}
\begin{frame}{Math}
\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{equation*}
e = \lim_{n\to \infty} \left(1 + \frac{1}{n}\right)^n
\end{equation*}
\end{frame}
\begin{frame}{Quotes}
\begin{frame}
\frametitle{Quotes}
\begin{quote}
Verily, I say unto you, the days spoken of in the Apocalypse are nigh!
\end{quote}
@ -265,19 +320,22 @@
{%
\setbeamertemplate{frame footer}{My custom footer}
\begin{frame}[fragile]{Frame Footer}
\begin{frame}[fragile]
\frametitle{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]{References}
\begin{frame}[fragile]
\frametitle{References}
Here are some references~\cite{Knuth92,ConcreteMath,Simpson,Er01,greenwade93} to showcase \verb+[allowframebreaks]+.
\end{frame}
\section{Conclusion}
\begin{frame}{Summary}
\begin{frame}
\frametitle{Summary}
Get the source of this theme and the demo presentation from
\begin{center}

64
flake.lock Normal file
View File

@ -0,0 +1,64 @@
{
"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
}

53
flake.nix Normal file
View File

@ -0,0 +1,53 @@
{
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}/"
# '';
};
}
);
}

87
package.nix Normal file
View File

@ -0,0 +1,87 @@
{
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

@ -7,6 +7,8 @@
"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

@ -0,0 +1,50 @@
% \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

@ -0,0 +1,51 @@
% \iffalse meta-comment -------------------------------------------------------
% Copyright 2015 Matthias Vogelgesang and the LaTeX community. A full list of
% contributors can be found at
%
% https://github.com/matze/mtheme/graphs/contributors
%
% and the original template was based on the HSRM theme by Benjamin Weiss.
%
% This work is licensed under a Creative Commons Attribution-ShareAlike 4.0
% International License (https://creativecommons.org/licenses/by-sa/4.0/).
%% ---------------------------------------------------------------------------
%% Copyright 2024 Johan Larsson and contributors
% ------------------------------------------------------------------------- \fi
% \iffalse
%<*package>
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{beamercolorthememoloch-tomorrow}[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}[2024-03-06 v0.4.0 Moloch color theme] % x-release-please-version
\ProvidesPackage{beamercolorthememoloch}[2025-04-01 v1.0.1 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,8 +127,11 @@
\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
@ -191,6 +194,7 @@
bg=normal text.bg!80!fg
}
\setbeamercolor{block body}{%
use=block title,
bg=block title.bg!50!normal text.bg
}
\setbeamercolor{block title alerted}{%
@ -223,14 +227,6 @@
\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.
@ -244,7 +240,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}[2024-03-06 v0.4.0 Moloch font theme] % x-release-please-version
\ProvidesPackage{beamerfontthememoloch}[2025-04-01 v1.0.1 Moloch font theme] % x-release-please-version
%</package>
% \fi
% \CheckSum{0}
@ -76,8 +76,8 @@
\let\moloch@titleformat\lowercase%
\setbeamerfont{title}{shape=\scshape}%
\PackageNote{beamerthememoloch}{%
Be aware that titleformat title=allsmallcaps can lead to problems%
}
Be aware that titleformat title=allsmallcaps can
lead to problems}
},
allcaps/.code={%
\let\moloch@titleformat\uppercase%
@ -108,15 +108,15 @@
\let\moloch@subtitleformat\MakeLowercase%
\setbeamerfont{subtitle}{shape=\scshape}%
\PackageNote{beamerthememoloch}{%
Be aware that titleformat subtitle=allsmallcaps can lead to problems%
}
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%
}
Be aware that titleformat subtitle=allcaps can
lead to problems}
},
}
% \end{macrocode}
@ -140,15 +140,15 @@
\let\moloch@sectiontitleformat\MakeLowercase%
\setbeamerfont{section title}{shape=\scshape}%
\PackageNote{beamerthememoloch}{%
Be aware that titleformat section=allsmallcaps can lead to problems%
}
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%
}
Be aware that titleformat section=allcaps
can lead to problems}
},
}
% \end{macrocode}
@ -172,8 +172,8 @@
\let\moloch@frametitleformat\MakeLowercase%
\setbeamerfont{frametitle}{shape=\scshape}%
\PackageNote{beamerthememoloch}{%
Be aware that titleformat frame=allsmallcaps can lead to problems%
}
Be aware that titleformat frame=allsmallcaps
can lead to problems}
},
allcaps/.code={%
\let\moloch@frametitleformat\MakeUppercase%

View File

@ -14,7 +14,7 @@
% \iffalse
%<*package>
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{beamerinnerthememoloch}[2024-03-06 v0.4.0 Moloch inner theme] % x-release-please-version
\ProvidesPackage{beamerinnerthememoloch}[2025-04-01 v1.0.1 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,7 +47,16 @@
\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}
%
@ -89,13 +98,66 @@
% \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
subsectionpage=none,
standoutnumbering=none,
titleseparator linewidth=0.4pt,
}
}
% \end{macrocode}
@ -103,7 +165,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
@ -111,9 +173,9 @@
% space on the title slide.
% \begin{macrocode}
\setbeamertemplate{title page}{
\begin{minipage}[b][\paperheight]{\textwidth}
\null%
\vfill%
\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
@ -123,17 +185,16 @@
}
\ifx\insertinstitute\@empty\else\usebeamertemplate*{institute}\fi
\ifx\insertdate\@empty\else\usebeamertemplate*{date}\fi
\vfill
\vspace{0pt plus 1fil}%
\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, remove
% |\@thanks|, and ensure the title frame number doesn't count.
% but we patch them here to make the title page |[plain]| by default
% and ensure the title frame number doesn't count.
%
% \begin{macro}{\maketitle}
% \begin{macro}{\titlepage}
@ -146,11 +207,20 @@
\ifbeamer@inframe
\titlepage
\else
\begingroup
\renewcommand\footnoterule{}%
\frame[plain,noframenumbering]{\titlepage}
\endgroup
\fi
}
\def\titlepage{%
\usebeamertemplate{title page}
% 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
}
% \end{macrocode}
% \end{macro}
@ -175,7 +245,6 @@
\raggedright%
\moloch@titleformat{\inserttitle}%
\par%
\vspace*{0.2em}
}
% \end{macrocode}
% \end{macro}
@ -184,26 +253,23 @@
% Set the subtitle on the title page.
% \begin{macrocode}
\setbeamertemplate{subtitle}{
\vspace*{0.1em}
\vspace*{0.3em}
\raggedright%
\moloch@subtitleformat{\insertsubtitle}%
\par%
\vspace*{0.2em}
}
% \end{macrocode}
% \end{macro}
%
% \begin{macro}{title separator}
% Template to set the title graphic in a zero-height box. (It won't
% change the position of other elements.)
% Template to set the title separator.
% \begin{macrocode}
\newlength{\moloch@titleseparator@linewidth}
\setlength{\moloch@titleseparator@linewidth}{0.4pt}
\setbeamertemplate{title separator}{
\tikzexternaldisable%
\begin{tikzpicture}
\begin{tikzpicture}[baseline=(current bounding box.north)]
\mmzUnmemoizable%
\fill[fg] (0,0) rectangle (\textwidth, \moloch@titleseparator@linewidth);
\useasboundingbox (0,0) rectangle (\textwidth,-\moloch@titleseparator@linewidth);
\end{tikzpicture}%
\tikzexternalenable%
\par%
@ -247,9 +313,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.
%
@ -259,12 +325,14 @@
\usebeamercolor[fg]{section title}
\usebeamerfont{section title}
\moloch@sectiontitleformat{\insertsectionhead}\par
\ifx\insertsubsectionhead\@empty\else
\usebeamercolor[fg]{subsection title}
\usebeamerfont{subsection title}
\insertsubsectionhead
\usebeamercolor[fg]{subsection title}%
\usebeamerfont{subsection title}%
\strut%
\ifx\insertsubsectionhead\@empty\else%
\insertsubsectionhead%
\fi
\end{center}
\vspace{\baselineskip - 1ex + \moloch@titleseparator@linewidth}
}
\defbeamertemplate{section page}{progressbar}{
\centering
@ -272,17 +340,17 @@
\raggedright
\usebeamercolor[fg]{section title}
\usebeamerfont{section title}
\moloch@sectiontitleformat{\insertsectionhead}\\[-1ex]
\moloch@sectiontitleformat{\insertsectionhead}\\[-0.5\baselineskip]
\usebeamertemplate*{progress bar in section page}
\par
\ifx\insertsubsectionhead\@empty\else%
\usebeamercolor[fg]{subsection title}%
\usebeamerfont{subsection title}%
\insertsubsectionhead
\strut%
\ifx\insertsubsectionhead\@empty\else%
\insertsubsectionhead%
\fi
\end{minipage}
\par
\vspace{\baselineskip}
}
\newcommand{\moloch@disablesectionpage}{
\AtBeginSection{
@ -334,15 +402,12 @@
% |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/\inserttotalframenumber)
\textwidth * min(1,\insertframenumber/\insertmainframenumber)
}%
\tikzexternaldisable%
\begin{tikzpicture}
\begin{tikzpicture}[baseline=(current bounding box.north)]
\mmzUnmemoizable%
\fill[bg]
(0,0)
@ -351,13 +416,15 @@
\fill[fg]
(0,0)
rectangle
(\moloch@progressonsectionpage, \moloch@progressonsectionpage@linewidth);
\end{tikzpicture}
(\moloch@progressonsectionpage,
\moloch@progressonsectionpage@linewidth);
\useasboundingbox (0,0) rectangle (\textwidth,-\moloch@progressonsectionpage@linewidth);
\end{tikzpicture}%
\tikzexternalenable%
}
% \end{macrocode}
%
% The above code assumes that |\insertframenumber| is less than or equal to
% The code above 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
@ -372,12 +439,15 @@
% \end{macrocode}
% \end{macro}
%
% \subsubsection{Lists and floats}
% \subsubsection{Lists and Floats}
%
% \begin{macrocode}
\setbeamertemplate{itemize item}{\(\bullet\)}
\setbeamertemplate{itemize subitem}{\(\circ\)}
\setbeamertemplate{itemize subsubitem}{\textbullet}
\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{caption label separator}{: }
\setbeamertemplate{caption}[numbered]
% \end{macrocode}
@ -387,17 +457,15 @@
% \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
@ -409,8 +477,8 @@
%
% \begin{macrocode}
\define@key{beamerframe}{c}[true]{% centered
\beamer@frametopskip=0pt plus 1fill\relax%
\beamer@framebottomskip=0pt plus 1fill\relax%
\beamer@frametopskip=0pt plus 1fil\relax%
\beamer@framebottomskip=0pt plus 1fil\relax%
\beamer@frametopskipautobreak=0pt plus .4\paperheight\relax%
\beamer@framebottomskipautobreak=0pt plus .6\paperheight\relax%
\def\beamer@initfirstlineunskip{}%
@ -419,7 +487,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:
@ -439,7 +507,8 @@
\booltrue{moloch@standout}
\begingroup
\setkeys{beamerframe}{c}
\setkeys{beamerframe}{noframenumbering}
\ifbool{moloch@enableStandoutNumbering}{}{%
\setkeys{beamerframe}{noframenumbering}}
\ifbeamercolorempty[bg]{palette primary}{
\setbeamercolor{background canvas}{
use=palette primary,
@ -455,6 +524,11 @@
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}
%
@ -488,7 +562,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}[2024-03-06 v0.4.0 Moloch outer theme] % x-release-please-version
\ProvidesPackage{beamerouterthememoloch}[2025-04-01 v1.0.1 Moloch outer theme] % x-release-please-version
%</package>
% \fi
% \CheckSum{0}
@ -38,6 +38,20 @@
% \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}
%
@ -71,53 +85,63 @@
% \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 |framenumber|.
% preamble and replace |appendixframenumber|.
%
% \begin{macrocode}
\setbeamertemplate{page number in head/foot}[framenumber]
\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}}
% \end{macrocode}
%
% \subsubsection{Head and footline}
@ -167,18 +191,20 @@
\totalheightof{%
\ifcsdef{moloch@frametitleformat}{\moloch@frametitleformat X}{X}%
}%
}%
}%
}
\newcommand{\moloch@frametitlestrut@end}{%
\vphantom{\rule[-\moloch@frametitle@padding]{0pt}{\moloch@frametitle@padding}}
\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 1fill\relax,%
rightskip=\the\glueexpr 1.6ex plus 1fil\relax,%
]{frametitle}%
\usebeamerfont{frametitle}%
\moloch@frametitlestrut@start%
@ -198,7 +224,8 @@
\moloch@frametitlestrut@end%
\end{beamercolorbox}%
}
\setbeamertemplate{frametitle continuation}{\romannumeral\insertcontinuationcount}
\setbeamertemplate{frametitle continuation}{%
\romannumeral\insertcontinuationcount}
% \end{macrocode}
% \end{macro}
%
@ -207,9 +234,6 @@
% 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%
\pgfmathsetlength{\moloch@progressinheadfoot}{%

View File

@ -12,7 +12,7 @@
% \iffalse
%<*package>
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{beamerthememoloch}[2024-03-06 v0.4.0 Moloch Beamer theme] % x-release-please-version
\ProvidesPackage{beamerthememoloch}[2025-04-01 v1.0.1 Moloch 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}
@ -104,20 +104,7 @@
}
% \end{macrocode}
%
% 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.
% 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{Component sub-packages}
% \subsubsection{Component Sub-Packages}
%
% Having processed the options, we can now load the component sub-packages of
% the theme.
@ -129,7 +116,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.
@ -150,7 +137,7 @@
%
%
%
% \subsubsection{Process package options}
% \subsubsection{Process Package Options}
%
% \begin{macrocode}
\moloch@setdefaults

View File

@ -25,5 +25,9 @@
\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

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

View File

@ -0,0 +1,45 @@
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)

10
testfiles/separation.lvt Normal file
View File

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

1275
testfiles/separation.tlg Normal file

File diff suppressed because it is too large Load Diff

View File

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

View File

@ -0,0 +1,600 @@
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,12 +38,9 @@
\end{proof}
\end{frame}
\vfil\break
\END
{
\molochset{titleformat frame=smallcaps}
\begin{frame}{Small caps}
\molochset{titleformat frame=smallcaps}
\begin{frame}{Small caps}
This frame uses the \texttt{smallcaps} title format.
\begin{block}{Block}
@ -57,21 +54,21 @@
\begin{exampleblock}{Example Block}
Just to try out the different blocks
\end{exampleblock}
\end{frame}
\end{frame}
}
{
\molochset{titleformat frame=allsmallcaps}
\begin{frame}{All small caps}
\molochset{titleformat frame=allsmallcaps}
\begin{frame}{All small caps}
This frame uses the \texttt{allsmallcaps} title format.
\end{frame}
\end{frame}
}
{
\molochset{titleformat frame=allcaps}
\begin{frame}{All caps}
\molochset{titleformat frame=allcaps}
\begin{frame}{All caps}
This frame uses the \texttt{allcaps} title format.
\end{frame}
\end{frame}
}
\begin{frame}{Lists}
@ -79,7 +76,15 @@
\column{0.33\textwidth}
Items
\begin{itemize}
\item Milk \item Eggs \item Potatoes
\item Flour
\begin{itemize}
\item Wheat
\begin{itemize}
\item Whole-grain
\item White
\end{itemize}
\end{itemize}
\item Eggs
\end{itemize}
\column{0.33\textwidth}
@ -138,7 +143,6 @@
\end{column}
\end{columns}
\end{frame}
\appendix
@ -147,8 +151,7 @@
Here are some backup slides
\end{frame}
\end{document}
\vfil\break
\END
\end{document}

View File

@ -0,0 +1,47 @@
\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

@ -0,0 +1,44 @@
\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

@ -0,0 +1,26 @@
\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