Compare commits

...

157 Commits
v0.1.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
Johan Larsson ad1e733016
chore(main): release 0.4.0 (#12) 2024-07-09 20:49:26 +02:00
Johan Larsson 4b35b60cc3 chore: merge branch 'main' of https://github.com/jolars/moloch 2024-07-09 20:46:12 +02:00
Johan Larsson 46a4f49e8b feat: support title format modifications (#18)
* chore: add "to"

* docs: small change to example

* docs: provide longest label in description

* feat: reinstitute support for titleformat settings

Fixes #17. Setting this up on the user side via beamer templates turned
out to be too much of a hassle for users. It seems that the
implementation here works better out of the box compared to what was
originally the case in the metropolis theme, and we don't have to rely
on patching commands as the previous implementation did, so this seems
like a reasonable feature to add back support for.
2024-07-09 20:45:56 +02:00
Johan Larsson 0b25d18ed7
Support title format modifications (#18)
* chore: add "to"

* docs: small change to example

* docs: provide longest label in description

* feat: reinstitute support for titleformat settings

Fixes #17. Setting this up on the user side via beamer templates turned
out to be too much of a hassle for users. It seems that the
implementation here works better out of the box compared to what was
originally the case in the metropolis theme, and we don't have to rely
on patching commands as the previous implementation did, so this seems
like a reasonable feature to add back support for.
2024-07-09 20:36:16 +02:00
Johan Larsson ac305e9b54 fix: convert raw command in manual to text 2024-07-04 08:40:08 +02:00
Johan Larsson 33b9833f21 fix: add % at the end of some commands 2024-07-04 08:34:56 +02:00
Johan Larsson 1ca26e857a feat: support memoize package (closes #16)
Inject `\mmzUnmemoizable` into progress bar tikzpictures to avoid the
memoize package memoizing them. Also provide a dummy for this command in
case the memoize package is not loaded.
2024-07-04 08:29:57 +02:00
Johan Larsson c2f073283a ci: change release action entrypoint 2024-05-30 11:21:39 +02:00
Johan Larsson 3aa4dbb245 docs: mention blog post about moloch in readme 2024-05-30 10:57:53 +02:00
Johan Larsson c289e98222 chore: use bash highlighting in readme 2024-05-30 10:57:41 +02:00
Johan Larsson ea4dd5cb5c doc: rearrange screenshot in readme 2024-04-03 08:51:34 +02:00
Johan Larsson b602035548 chore: optimize screenshot svg 2024-04-03 08:50:50 +02:00
Johan Larsson eb013d9579 chore: clean up screenshot a little 2024-04-03 08:48:20 +02:00
Johan Larsson f3b7f97087 doc: add a screenshot of the first four pages 2024-04-03 08:45:09 +02:00
Johan Larsson b224a9b506 feat: add a small amount of vertical space before subtitle 2024-03-12 12:37:50 +01:00
Johan Larsson c964ab4999 chore: make next feature version stable (1.0.0) 2024-03-12 11:01:11 +01:00
Johan Larsson 1d0a82c8d1 chore: clean announcement file 2024-03-06 22:22:49 +01:00
Johan Larsson 08e6fac595 chore: unset update 2024-03-06 22:19:31 +01:00
Johan Larsson dd929ae0f9 chore: add ctan announcement file 2024-03-06 22:17:48 +01:00
Johan Larsson 6f5de71a94 Merge branch 'main' of https://github.com/jolars/moloch 2024-03-06 20:30:20 +01:00
Johan Larsson 605e41ce72 chore: omit tds 2024-03-06 20:30:19 +01:00
Johan Larsson 17f71de6d0
chore(main): release 0.3.0 (#4) 2024-03-06 20:26:03 +01:00
Johan Larsson b125db834e chore: date-tag packages 2024-03-06 20:21:36 +01:00
Johan Larsson 79ef515fe7 chore: mostly revert title format changes
Revert most of the title format changes introduced with 6a85ef4ecd and
54880512. The baseline is still raised slightly and the left margin reduced slightly, however,
but I think these changes are for the better.
2024-03-04 22:06:43 +01:00
Johan Larsson 9e6506eccd feat: redesign title page
Change spacing between some of the elements and remove the
zero-height vbox that previously stored the titlegraphic.
Closes #10.
2024-03-04 14:38:49 +01:00
Johan Larsson 5477051298 feat: remove parskip setting
Closes #9
2024-03-04 14:14:50 +01:00
Johan Larsson b8b2d1090d fix: apply upstream beamer fix for empty shortauthor
Closes #11. Thanks @samcarter.
2024-03-04 14:03:29 +01:00
Johan Larsson 3c4bf49caa chore: update tests file 2024-03-04 14:02:42 +01:00
Johan Larsson c0b98267ac fix: remove extraneous line space after minipage
Thanks @samcarter
2024-03-04 13:48:51 +01:00
Johan Larsson 6a85ef4ecd feat: remove custom linespread setting
Closes #8
2024-03-04 13:40:56 +01:00
Johan Larsson 6a14981240 fix: improve vertical centering of title slide 2024-03-04 08:42:11 +01:00
Johan Larsson bf63dcd179 feat: reinstate support for `block` option
Closes #6. Thanks @samcarter.
2024-03-03 23:17:38 +01:00
Johan Larsson 54e0fce68b feat: make `framenumber` slide numbering the default 2024-03-03 13:38:50 +01:00
Johan Larsson 9a013e4d46 feat: bring back the `numbering` option and deprecate it
This fixes the second issue in #6.
2024-03-03 13:36:44 +01:00
Johan Larsson 8b3c02dcab docs: add logo
Thanks @samcarter!
2024-03-01 20:02:03 +01:00
Johan Larsson 052123d4e1 docs: add acknowledgement section in readme 2024-03-01 20:01:30 +01:00
Johan Larsson 4724c0787c test: replace cm with lm in tests 2024-03-01 11:43:30 +01:00
Johan Larsson a97141e105 tests: remove biblatex parts from test file 2024-03-01 11:35:59 +01:00
Johan Larsson 9b4fc3956c ci: add hypdoc to installed texlive packages 2024-03-01 08:23:45 +01:00
Johan Larsson 854e909683 ci: add setspace to texlive dependencies 2024-03-01 08:19:34 +01:00
Johan Larsson 7931d22df1 ci: add dependencies for docs 2024-03-01 08:06:26 +01:00
Johan Larsson c658540146 ci: fix package names 2024-02-29 22:52:00 +01:00
Johan Larsson e2d121ff9a ci: use more minimal ci latex installation 2024-02-29 22:32:42 +01:00
Johan Larsson dac5d85ac3 tests: add regression tests for bibliography 2024-02-29 08:49:43 +01:00
Johan Larsson ccd19fe2dd fix: remove font configuration for bibliography; closes #5
In addition to fixing the problems in #5, we also remove the font series
modifications here to avoid messing with the bibliograpy styling
imposed by e.g. biblatex.
2024-02-29 08:46:39 +01:00
Johan Larsson 726430149b tests: update test reference 2024-02-09 09:55:08 +01:00
Johan Larsson 1c499577ea feat: support subtitles
Add support for subtitles, as requested for Metropolis in for instance
https://github.com/matze/mtheme/issues/135.
2024-02-09 09:52:24 +01:00
Johan Larsson 66f7d833a9 fix: remove extraneous space in frametitle continuation template 2024-02-09 09:17:38 +01:00
Johan Larsson 301cab368e docs: fix badge in readme 2024-02-08 11:32:27 +01:00
Johan Larsson 75cc955795 docs: update readme with ctan installation instructions and badge 2024-02-08 11:28:38 +01:00
Johan Larsson 1361b707d6 chore: manually update version numbers 2024-01-23 22:35:46 +01:00
Johan Larsson 58018d7ef5 Merge branch 'main' of https://github.com/jolars/moloch 2024-01-23 22:34:36 +01:00
Johan Larsson f61910dc7d build: pack a tds zip file 2024-01-23 22:34:34 +01:00
Johan Larsson 9793896a74 chore: ignore zip files 2024-01-23 22:34:24 +01:00
Johan Larsson c8c063ece6
chore(main): release 0.2.0 (#2) 2024-01-23 22:32:04 +01:00
Johan Larsson 8fe9272e73 chore: gitignore curloptions 2024-01-23 22:27:53 +01:00
Johan Larsson 1cce0eac97 build: update description 2024-01-23 22:27:26 +01:00
Johan Larsson 819ccd010b build: fix docfiledir and uploadconfig in build.lua 2024-01-23 22:24:18 +01:00
Johan Larsson 2c86723b90 chore: ignore correct pdf files 2024-01-23 22:23:55 +01:00
Johan Larsson 93dcd46054 build: tag version in docs via release-please 2024-01-23 22:23:35 +01:00
Johan Larsson 589d03e1ab doc: update with copyright and version 2024-01-23 22:23:07 +01:00
Johan Larsson be23836eaf chore: don't track pdf of demo 2024-01-23 22:23:00 +01:00
Johan Larsson af7f78f981 chore: add copyright notices 2024-01-23 22:16:11 +01:00
Johan Larsson e2de76b88b chore: break long line 2024-01-23 22:13:23 +01:00
Johan Larsson 1ee7017987 docs: fix typo in readme 2024-01-23 20:44:20 +01:00
Johan Larsson 7fdab28075 chore: upload updated demo 2024-01-23 20:33:31 +01:00
Johan Larsson fb577ac821 build: set up uploadconfig 2024-01-23 20:33:10 +01:00
Johan Larsson deaf323a79 docs: update documentation 2024-01-23 20:32:53 +01:00
Johan Larsson 1cdd39e5ed chore: more demo to examples directory 2024-01-23 19:58:01 +01:00
Johan Larsson e22a3b9f03 build: drop use of version.txt file 2024-01-23 19:24:14 +01:00
Johan Larsson c56d25b551 tests: update test expected output 2024-01-19 19:32:36 +01:00
Johan Larsson e19f93c40a feat!: remove titleformat configuration
We thereby also remove the dependency on etoolbox and use of patchcmd throughout
the package, which should mitigate problems that have arisen previously when
beamer has changes its commands.
2024-01-19 08:59:49 +01:00
Johan Larsson 4a859ed992 tests: update test tlg file 2024-01-18 08:17:50 +01:00
Johan Larsson 01b698c783 feat!: use beamer's own frame numbering template
As suggested in https://github.com/matze/mtheme/issues/309
2024-01-18 08:17:25 +01:00
Johan Larsson 6f88c49765 chore: if tagname is nil, use old_version instead 2024-01-17 19:46:27 +01:00
Johan Larsson a8c3c585e2 chore: remove bootstrap-sha from release config 2024-01-15 22:54:40 +01:00
Johan Larsson 5820223dbb Merge branch 'main' of https://github.com/jolars/moloch 2024-01-15 22:16:12 +01:00
Johan Larsson 65fed51f06 chore: correct Moloch -> Metropolis in readme 2024-01-15 22:16:08 +01:00
44 changed files with 8525 additions and 950 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,13 +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-full
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:
@ -27,6 +27,6 @@ jobs:
- build-and-test
runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@v4
- uses: googleapis/release-please-action@v4
with:
token: ${{ secrets.RELEASE_PLEASE_TOKEN }}

14
.gitignore vendored
View File

@ -302,9 +302,19 @@ TSWLatexianTemp*
# Ignore sty files generated from dtx
*.sty
doc/molochtheme.pdf
demo/demo.pdf
doc/moloch.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.1.0"
".": "1.0.1"
}

View File

@ -1,5 +1,105 @@
# Changelog
## [1.0.1](https://github.com/jolars/moloch/compare/v1.0.0...v1.0.1) (2025-04-01)
### Bug Fixes
* add missing files for updating version tags ([ba01d33](https://github.com/jolars/moloch/commit/ba01d33b1993d4992372420f25f6390c5e4baa91))
* use proper package names ([0c4d38e](https://github.com/jolars/moloch/commit/0c4d38e3c2e2b0b93bfc1b6c1abe6bf0a3a01311))
## [1.0.0](https://github.com/jolars/moloch/compare/v0.6.0...v1.0.0) (2025-04-01)
### Features
* add customization of bar line width ([#42](https://github.com/jolars/moloch/issues/42)) ([be0d8f2](https://github.com/jolars/moloch/commit/be0d8f23c72b9760baeb31a58d2e9988cba5d19a))
* support `\thanks` in title page ([#45](https://github.com/jolars/moloch/issues/45)) ([de3db5e](https://github.com/jolars/moloch/commit/de3db5e517c06d1b8793b3a1c134b9bf4ad8b189))
## [0.6.0](https://github.com/jolars/moloch/compare/v0.5.0...v0.6.0) (2025-01-17)
### Features
* add back highcontrast theme from metropolis ([3039994](https://github.com/jolars/moloch/commit/3039994e27a01d54d7a3cfa696318413161f5e15))
* add new color theme based on the tomorrow color theme ([13e7300](https://github.com/jolars/moloch/commit/13e73007c6d29989684aa228f7f74d3bdcce526f))
* add option to customize frame numbering of standout pages ([d6d0e3c](https://github.com/jolars/moloch/commit/d6d0e3c61565f06d1987c275e2460c9b61ef8ae3)), closes [#33](https://github.com/jolars/moloch/issues/33)
* deprecate `\mreducelistspacing` ([3d87ec2](https://github.com/jolars/moloch/commit/3d87ec2d8d4a81c09d13083aa61af2a36ce6dd1d))
* redesign section and subsection pages ([#30](https://github.com/jolars/moloch/issues/30)) ([5a98c69](https://github.com/jolars/moloch/commit/5a98c69a3f07b5b36d5d2c5e5a117e25c472ad22))
* use golden rule in top-bottom spacing of title page ([85eabc7](https://github.com/jolars/moloch/commit/85eabc7beef4296dcc7a7ac53eb0f7a785fe8c35))
### Reverts
* "feat: deprecate `\mreducelistspacing`" ([eb4bf54](https://github.com/jolars/moloch/commit/eb4bf54e734a64936903d18dbb6d1668d769fa01))
* "test: remove standoutnumbering test" ([ce7540d](https://github.com/jolars/moloch/commit/ce7540d71caf490cbd3129345cd778b1519394d9))
## [0.5.0](https://github.com/jolars/moloch/compare/v0.4.0...v0.5.0) (2024-10-30)
### Features
* replace `\vfill` with `\vfil` in title frame ([8f2a59e](https://github.com/jolars/moloch/commit/8f2a59e239cf0ae32f1a5c8fbf6ad739fa1cd328))
* switch from fill to fil ([#21](https://github.com/jolars/moloch/issues/21)) ([873ae15](https://github.com/jolars/moloch/commit/873ae154824ed10d45f05c6efe4c4cc73eca1a22))
### Bug Fixes
* remove duplicated footnote color specifications ([#26](https://github.com/jolars/moloch/issues/26)) ([1306af5](https://github.com/jolars/moloch/commit/1306af5a73e0a030ece2ad9825496cc28507ad54))
* remove extra space below progressbar section pages ([#27](https://github.com/jolars/moloch/issues/27)) ([e5be480](https://github.com/jolars/moloch/commit/e5be4806ab9b975be8e8f67434c80fd2155e30b2))
* set use=block title in block body for fill ([e8921a6](https://github.com/jolars/moloch/commit/e8921a69642166ef22b9b27cd3633a735c22f153)), closes [#28](https://github.com/jolars/moloch/issues/28)
* tag files with date ([28003e7](https://github.com/jolars/moloch/commit/28003e7502ce420a0e24b96e27ba3d30b9b0ecbc))
## [0.4.0](https://github.com/jolars/moloch/compare/v0.3.0...v0.4.0) (2024-07-09)
### Features
* add a small amount of vertical space before subtitle ([b224a9b](https://github.com/jolars/moloch/commit/b224a9b5067187e64a7669b61aee029447535729))
* support memoize package (closes [#16](https://github.com/jolars/moloch/issues/16)) ([1ca26e8](https://github.com/jolars/moloch/commit/1ca26e857a331fcb29296c4987b69aea0db90fae))
* support title format modifications ([#18](https://github.com/jolars/moloch/issues/18)) ([46a4f49](https://github.com/jolars/moloch/commit/46a4f49e8bb95798c2d6f3b69a1b96128d95cb8b))
### Bug Fixes
* add % at the end of some commands ([33b9833](https://github.com/jolars/moloch/commit/33b9833f21d3e0654fe2452d0b8ac8e8eb3a47bb))
* convert raw command in manual to text ([ac305e9](https://github.com/jolars/moloch/commit/ac305e9b547ce44e0573f333adc4e6684eb88b68))
## [0.3.0](https://github.com/jolars/moloch/compare/v0.2.0...v0.3.0) (2024-03-06)
### Features
* bring back the `numbering` option and deprecate it ([9a013e4](https://github.com/jolars/moloch/commit/9a013e4d46e1c009f058862525c4d92983c4103c))
* make `framenumber` slide numbering the default ([54e0fce](https://github.com/jolars/moloch/commit/54e0fce68b39a10aabf646c000ffa6656dede748))
* redesign title page ([9e6506e](https://github.com/jolars/moloch/commit/9e6506eccdf1a55ac88540df3bf792b88f07fc7a))
* reinstate support for `block` option ([bf63dcd](https://github.com/jolars/moloch/commit/bf63dcd17922277a198465485931f414a9426636))
* remove custom linespread setting ([6a85ef4](https://github.com/jolars/moloch/commit/6a85ef4ecd170550411cd00e65fe1e1a8d88b80b)), closes [#8](https://github.com/jolars/moloch/issues/8)
* remove parskip setting ([5477051](https://github.com/jolars/moloch/commit/54770512988927ab3c8264c7fce592cd0a4e32f8)), closes [#9](https://github.com/jolars/moloch/issues/9)
* support subtitles ([1c49957](https://github.com/jolars/moloch/commit/1c499577ea8f8aadf2403bdbd4efa603cf5a64d6))
### Bug Fixes
* apply upstream beamer fix for empty shortauthor ([b8b2d10](https://github.com/jolars/moloch/commit/b8b2d1090da3082a8b0370ef3411f70cc6c6fc1f))
* improve vertical centering of title slide ([6a14981](https://github.com/jolars/moloch/commit/6a149812409ce9072b785677fe562c5c80af22d4))
* remove extraneous line space after minipage ([c0b9826](https://github.com/jolars/moloch/commit/c0b98267ac70d75d69c5114e93b15722849fe712))
* remove extraneous space in frametitle continuation template ([66f7d83](https://github.com/jolars/moloch/commit/66f7d833a9e9e55626f38b2d3bc50303317a6b1c))
* remove font configuration for bibliography; closes [#5](https://github.com/jolars/moloch/issues/5) ([ccd19fe](https://github.com/jolars/moloch/commit/ccd19fe2dd20f40813e07c96a88700d5844b6e5d))
## [0.2.0](https://github.com/jolars/moloch/compare/v0.1.0...v0.2.0) (2024-01-23)
### ⚠ BREAKING CHANGES
* remove titleformat configuration
* use beamer's own frame numbering template
### Features
* remove titleformat configuration ([e19f93c](https://github.com/jolars/moloch/commit/e19f93c40a92ae28f5e7bf26cc48b68675501c89))
* use beamer's own frame numbering template ([01b698c](https://github.com/jolars/moloch/commit/01b698c7838d2e09057a240054c3acb3c75be8dc))
## 0.1.0 (2024-01-15)

View File

@ -1,24 +1,39 @@
## Moloch
# Moloch <a href="https://ctan.org/pkg/moloch"><img src="https://github.com/jolars/moloch/raw/main/assets/moloch-logo.svg" align="right" width="140" /></a>
[![CTAN](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fctan.org%2Fjson%2F2.0%2Fpkg%2Fmoloch&query=%24.version.number&logo=latex&label=CTAN)](https://ctan.org/pkg/moloch)
[![CI](https://github.com/jolars/moloch/actions/workflows/ci.yml/badge.svg)](https://github.com/jolars/moloch/actions/workflows/ci.yml)
Moloch is a simple Beamer theme suitable for anyone to use. It is
a fork of the [Moloch Theme](https://github.com/matze/mtheme).
a fork of the [Metropolis Theme](https://github.com/matze/mtheme).
The fork was created for the following reasons:
- To fix some outstanding issues that had not been addressed for a long time.
- To remove some of the more opinionated design choices, such as special handling of the Fira family of fonts.
- To strip away some features that ad complexity to the code base without achieving valuable functionality for the majority of users, such as special code block designs and the pgfplots theme.
- To strip away some features that added complexity to the code base without achieving valuable functionality for the majority of users, such as special code block designs and the pgfplots theme.
[Here's a blog post](https://jolars.co/blog/2024-05-30-moloch/) in which I introduce the theme and write in more detail about the changes with respect to Metropolis.
Also see the [demo](examples/demo/demo.pdf) for a quick introduction to the theme.
Do not expect this theme to be backwards compatible with the Metropolis theme.
![Screenshot](https://raw.githubusercontent.com/jolars/moloch/main/assets/screenshot.svg)
## Installation
A CTAN release is planned, but for now you can install the theme manually from source. You need a working LaTeX installation with `l3build` installed. Then just follow these steps:
Moloch is on [CTAN](https://ctan.org/pkg/moloch), so you can install it using your favorite LaTeX package manager. For example, with `tlmgr`:
1. Clone the repository: `git clone https://github.com/jolars/moloch.git`
2. Install the package: `l3build install`
```bash
tlmgr install moloch
```
You can also install the theme from source, in which case you need a working LaTeX installation with `l3build` installed. Then just follow these steps:
```bash
git clone https://github.com/jolars/moloch.git
cd moloch
l3build install
```
## Usage
@ -58,3 +73,10 @@ Also, when writing commit messages, please use the [conventional commits format]
## Versioning
The project uses [semantic versioning](https://semver.org).
## Acknowledgments
Almost all of **moloch** is a result of Mathias Vogelgesang's (@matze) hard work on the
**metropolis theme** (of which **moloch** is a fork).
Thanks to @samcarter for the logo!

BIN
assets/moloch-logo.pdf Normal file

Binary file not shown.

14
assets/moloch-logo.svg Normal file
View File

@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg width="188" height="101.33" version="1.1" viewBox="0 0 188 101.33" xmlns="http://www.w3.org/2000/svg">
<g>
<path transform="scale(1.3333)" d="m79.086 17.234c-5.797 0-10.5 4.711-10.5 10.508 0 5.805 4.703 10.508 10.5 10.508 5.793 0 10.496-4.707 10.496-10.508s-4.703-10.508-10.496-10.508zm0.848 3.637c3.523 0 6.394 2.848 6.394 6.375s-2.871 6.399-6.394 6.399c-3.524 0-6.372-2.872-6.372-6.399s2.852-6.375 6.372-6.375z" fill-rule="evenodd"/>
<path transform="scale(1.3333)" d="m43.648 22.578c-6.347 0-11.492 4.758-11.492 10.633 0 5.871 5.145 10.633 11.492 10.633 6.344 0 11.489-4.762 11.489-10.633 0-5.875-5.145-10.633-11.489-10.633zm-0.836 3.004c4.266 0 7.719 3.18 7.719 7.125s-3.453 7.145-7.719 7.145c-4.261 0-7.722-3.2-7.722-7.145 0-3.941 3.461-7.125 7.722-7.125z" fill-rule="evenodd"/>
<g>
<path transform="scale(1.3333)" d="m108.53 49.102c-1.437-0.805-2.941-1.821-4.504-3.043-1.57-1.211-3.082-2.524-4.531-3.946-1.426-1.414-2.711-2.867-3.851-4.359-1.141-1.512-2-2.965-2.582-4.356-0.555-1.386-0.758-2.656-0.61-3.816 0.153-1.176 1.367-3.547 4.031-6.082 5.133-3.852 12.657-4.02 12.657-4.02l-0.352 6.387s-4.437 0.891-6.004 1.672c-1.539 0.766-2.683 1.711-3.429 2.836-0.719 1.113-1.047 2.375-0.989 3.785 0.082 1.418 0.524 2.934 1.317 4.543 0.8 1.606 1.941 3.285 3.422 5.039 1.484 1.77 3.293 3.555 5.425 5.36z"/>
<path transform="scale(1.3333)" d="M 16.688,43.844 11.555,34.125 0,76 6.098,8.902 17.395,30.051 23.234,19.547 40.566,64.777 21.949,33.336 Z"/>
<path transform="scale(1.3333)" d="m84.738 49.539-29.851 1.137 7.633-50.676 3.371 25.039-8.457 22.832 34.957-7.508z"/>
<path transform="scale(1.3333)" d="m112.37 17.773-2.004 40.805 6.039-19.652 12.578 5.015-1.433 24.508 13.453-43.996-10.953-2.664-0.676 15.543-11.863-2.125 4.738-15z"/>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.8 KiB

295
assets/screenshot.svg Normal file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 174 KiB

View File

@ -3,23 +3,50 @@
module = "moloch"
sourcefiledir = "src"
typesetfiles = { "doc/moloch.tex" }
docfiledir = "doc"
typesetfiles = { "*.tex" }
textfiles = { "*.md", "LICENSE" }
checkengines = { "pdftex" }
checksuppfiles = { "*.tex" }
packtdszip = false
maxprintline = 9999
uploadconfig = {
pkg = "moloch",
version = "1.0.1", -- x-release-please-version
author = "Johan Larsson",
uploader = "Johan Larsson",
license = "cc-by-sa-4",
summary = "A clean and simple beamer theme",
description = "Moloch is a clean and simple beamer theme. "
.. "It is a fork of the Metropolis theme, but has a "
.. "more minimalistic and slightly less opinionated design.",
ctanPath = "/macros/latex/contrib/beamer-contrib/themes/moloch",
repository = "https://github.com/jolars/moloch",
bugtracker = "https://github.com/jolars/moloch/issues",
support = "https://github.com/jolars/moloch/discussions",
topic = "presentation",
announcement_file = "ctan_announcement.txt",
}
function update_tag(file, content, tagname, tagdate)
if string.match(file, "%.dtx$") then
local pattern = "\\ProvidesPackage{(.-)}%[([^%]]-) v([^%]]-) ([^%]]-)%]"
return content:gsub(
pattern,
function(package_name, old_date, old_version, description)
-- if tagdate is nil, use old_date
if tagname == nil then
tagname = old_version
end
return string.format(
"\\ProvidesPackage{%s}[%s v%s %s]",
package_name,
tagdate,
old_version,
tagname,
description
)
end

19
ctan_announcement.txt Normal file
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

@ -9,15 +9,22 @@
%% 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
%% ---------------------------------------------------------------------------
\PassOptionsToPackage{unicode,pdfusetitle}{hyperref}
\PassOptionsToPackage{hyphens}{xurl}
\PassOptionsToPackage{dvipsnames}{xcolor}
\documentclass{ltxdoc}
\usepackage{parskip}
\usepackage{setspace}
\usepackage{xspace}
\onehalfspacing
\usepackage{xurl}
\usepackage{etoolbox}
\usepackage{lmodern}
\usepackage{microtype}
\UseMicrotypeSet[protrusion]{basicmath} % disable protrusion for tt fonts
\usepackage{enumitem}
\setlist[itemize]{noitemsep}
@ -34,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,
@ -57,46 +64,54 @@
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
\end{minipage}
}
\newcommand{\themename}{\textbf{moloch}\xspace}
\newcommand{\themename}{\textsf{moloch}\xspace}
\def\molochversion{1.0.1} % x-release-please-version
\usepackage{readprov}
% \ReadPackageInfos{beamerthememoloch}
\title{Modern Beamer Presentations with the \themename package}
\author{Matthias Vogelgesang \\ \url{matthias.vogelgesang@gmail.com}}
\date{\fileversion~---~\filedate}
\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 an awesome way to make presentations with LaTeX, but its theme
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
often specialized for a particular corporate or institutional brand.
@ -106,12 +121,14 @@ for anyone to use. It tries to minimize noise and maximize space for content;
the only visual flourish it offers is an (optional) progress bar added to each
slide or to the section slides.
\themename's codebase is maintained on \href{https://github.com/matze/mtheme}
{GitHub}. If you have issues, find mistakes in the manual or want to help make
the theme even better, please get in touch there. The
\href{https://github.com/matze/mtheme/graphs/contributors}
{full list of contributors} already contains over a dozen names!
\themename's codebase is maintained at \url{https://github.com/jolars/moloch}.
If you have any issues, find mistakes in the manual or want to help make
the theme even better, please get in touch there.
\themename is a fork of the popular Metropolis theme by Matthias Vogelgesang.
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.
\section{Getting Started}
@ -139,43 +156,19 @@ Mac\TeX\ on OS X also provides a graphical interface for |tlmgr| called
For any other distribution please refer to its documentation on how to update
your packages.
\subsection{Installing from GitHub}
\subsection{Installing from Source}
If you want to use the cutting-edge development version of \themename, you can
install it manually. Like any \LaTeX\ package, this involves four easy steps:
If you want to use the development version of \themename, you can
install it manually. You only need a recent \LaTeX\ distribution
which includes \textbf{l3build}. Then simply follow the steps below.
\begin{description}
\item[Download the source] with a |git clone| of the
\href{https://github.com/matze/mtheme}{\themename repository} or as a
\href{https://github.com/matze/mtheme/archive/master.zip}{zip archive}
of the latest development version.
\item[Download the source] with a |git clone| of
\url{https://github.com/jolars/moloch}
\item[Compile the style files] by running |make sty| inside the downloaded
directory. (Or run \LaTeX{} directly on |source/molochtheme.ins|.)
\item[Move the resulting |*.sty| files] to the folder containing your
presentation. To use \themename with many presentations, run
|make install| or move the |*.sty| files to a folder in your \TeX{} path
instead.
\item[Use the theme for your presentation] by declaring
|\usetheme{moloch}| in the preamble of your Beamer document.
\item[Install the package] by running |l3build install| inside the downloaded
directory.
\end{description}
\themename uses the Make build system to offer the following installation
options for advanced users:
\begin{description}
\item[|make sty|] builds the theme style files.
\item[|make doc|] builds this documentation manual.
\item[|make demo|] builds a demo presentation to test the features of
\themename.
\item[|make all|] builds the theme and manual.
\item[|make clean|] removes the files generated by |make all|.
\item[|make install|] installs the theme into your local texmf folder.
\item[|make uninstall|] removes the theme from your local texmf folder.
\end{description}
\subsection{A Minimal Example}
The following code shows a minimal example of a Beamer presentation using
@ -183,11 +176,11 @@ The following code shows a minimal example of a Beamer presentation using
\begin{lstlisting}
\documentclass{beamer}
\usetheme{moloch} % Use moloch theme
\title{A minimal example}
\usetheme{moloch}
\title{A Minimal Example}
\date{\today}
\author{Matthias Vogelgesang}
\institute{Centre for Modern Beamer Themes}
\author{Johan Larsson}
\institute{Some University}
\begin{document}
\maketitle
\section{First Section}
@ -197,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:
@ -216,13 +208,12 @@ To use this theme with \href{http://johnmacfarlane.net/pandoc/}{Pandoc}-based
presentations, you can run the following command
\begin{lstlisting}
$ pandoc -t beamer --latex-engine=xelatex -V theme:moloch -o output.pdf input.md
$ 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
@ -231,7 +222,7 @@ of option-value pairs when loading \themename in the preamble:
\usetheme[option1=value1, option2=value2, ...]{moloch}
\end{lstlisting}
Options can be changed at any time --- even mid-presentation! --- with the
Options can be changed at any time---even mid-presentation---with the
|\molochset| macro.
\begin{lstlisting}
\molochset{option1=newvalue1, option2=newvalue2, ...}
@ -243,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}
@ -252,8 +242,9 @@ The list of options is structured as shown in the following example.
Changes the format of titles, subtitles, section titles, frame titles, and
the text on ``standout'' frames. The available options produce
Regular, \textsc{SmallCaps}, \textsc{\MakeLowercase{AllSmallCaps}}, or
\MakeUppercase{AllCaps} titles. Please refer to
Section~\ref{sec:titleformats} for known issues with these options.
\MakeUppercase{AllCaps} titles. Note that these commands do not
affect math and numbers, so may not work as you expect if your titles
contain these.
}
\DescribeOption{titleformat plain}%
@ -262,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
@ -280,10 +270,20 @@ 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}{counter}{
\DescribeOption{numbering}{none, counter, fraction}{}{
\emph{This option is deprecated and will be removed in a future version.
Please use Beamer's |page number in head/foot| template instead.}
Controls whether the frame number at the bottom right of each slide is
omitted (|none|), shown (|counter|) or displayed as a fraction of the total
number of frames (|fraction|).
@ -295,15 +295,19 @@ 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|
and |example|.
}
\DescribeOption{background}{dark, light}{light}{
Provides the option to have a dark background and light foreground instead
of the reverse.
}
\subsubsection{Font theme}
\subsubsection{Font Theme}
\DescribeMacro{titleformat title}
\DescribeMacro{titleformat subtitle}
@ -315,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
@ -343,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:
@ -350,13 +355,20 @@ 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
text and an inverted background---perfect for focusing attention on
single sentence or image. To use it, add the key |standout| to the frame:
\begin{lstlisting}
@ -365,54 +377,21 @@ single sentence or image. To use it, add the key |standout| to the frame:
\end{frame}
\end{lstlisting}
\section{Tips \& Tricks}
\subsection{Backup Slides}
Speakers will often include extra slides at the end of their presentation to
refer to during audience questions. One easy way to do this is to include the
\verb|appendixnumberbeamer| package in your preamble and call \verb|\appendix| before your backup slides.
\themename will automatically turn off slide numbering and progress bars for
slides in the appendix.
\section{Known Issues}
\subsection{Title formats}
\label{sec:titleformats}
\subsection{Title Formats}
Be aware that not every font supports small caps, so the |smallcaps| or
|allsmallcaps| options may not work for all fonts.
In particular, the Computer Modern sans-serif typeface, which is used when
\themename is compiled with pdf\LaTeX, does not have a small-caps variant.
In particular, the Computer Modern sans-serif typeface, which is used
by default when \themename is compiled with pdf\LaTeX, does not have a
small-caps variant.
The title format options |allsmallcaps| and |allcaps| are quite nice from an
aesthetic point of view, but their use of |\MakeLowercase| and
|\MakeUppercase| can cause unexpected problems. For example:
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.
\begin{itemize}
\item Some commands, like |\\|, do not work inside |\MakeLowercase| and
|\MakeUppercase|. (See \href{https://github.com/matze/mtheme/issues/125}
{\#125})
\item Only alphabetic characters are affected by |\MakeLowercase|, so
numerals and punctuation remain at full height. This can spoil some of the
aesthetic benefits of |allsmallcaps|. (See
\href{https://github.com/matze/mtheme/issues/33}{\#33})
\item |\MakeLowercase| and |\MakeUppercase| apply to math mode and
|\scshape| does not. This can easily introduce mathematical errors that
are hard to catch.
\item It is impossible to typeset symbols which are encoded as uppercase
letters in a different font. In particular, |\mathbb| and |\mathcal|
letters will be replaced by other math glyphs. (See
\href{https://github.com/matze/mtheme/issues/153}{\#153})
\end{itemize}
The |allsmallcaps| and |allcaps| options are safe to use if your titles contain
only alphabetic characters and do not require the expansion of any macros.
\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
@ -420,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}
@ -446,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
@ -461,14 +439,13 @@ on each slide.
\makeatletter
\def\beamer@framenotesbegin{% at beginning of slide
\usebeamercolor[fg]{normal text}
\gdef\beamer@noteitems{}%
\gdef\beamer@notes{}%
\gdef\beamer@noteitems{}%
\gdef\beamer@notes{}%
}
\makeatother
\end{lstlisting}
\subsection{Standout frames with labels}
\subsection{Standout Frames with Labels}
Because the |standout| frame option creates a group to restrict the colour
change to a single slide, labels defined after calling |standout| will stay
@ -484,7 +461,7 @@ To fix this problem, change the order of the keys in the frame.
\begin{lstlisting}
\begin{frame}[label=conclusion, standout]{Conclusion}
Awesome slide
Awesome slide
\end{frame}
\end{lstlisting}
@ -500,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 1.17.2 it was not possible to create standout frames
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
@ -517,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

@ -1,16 +1,17 @@
\documentclass[10pt]{beamer}
\usetheme{moloch}
\usepackage[T1]{fontenc}
\usepackage{appendixnumberbeamer}
\usetheme{moloch}
\setbeamertemplate{page number in head/foot}[appendixframenumber]
\setbeamertemplate{section in toc}[sections numbered]
\usepackage{booktabs}
\usepackage[scale=2]{ccicons}
\usepackage[medium,light]{FiraSans}
\usepackage[medium]{FiraMono}
\usepackage[semibold,light]{FiraSans}
\usepackage{FiraMono}
\usepackage{xspace}
@ -19,31 +20,35 @@
\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}
\setbeamertemplate{section in toc}[sections numbered]
\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 turn was inspired by
by the \href{https://github.com/hsrmbeamertheme/hsrmbeamertheme}{hsrm theme} by Benjamin Weiss.
\href{https://github.com/matze/mtheme}{metropolis theme} by Matthias Vogelgesang, which in
turn was inspired by by the \href{https://github.com/hsrmbeamertheme/hsrmbeamertheme}{hsrm
theme} by Benjamin Weiss. \medskip
Enable the theme by calling
\begin{verbatim}\documentclass{beamer}
\usetheme{moloch}\end{verbatim}
\end{frame}
\begin{frame}[fragile]{Sections}
\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}
@ -51,48 +56,60 @@
\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 Regular
\item \textsc{Small Caps}
\item \textsc{All Small Caps}
\item ALL CAPS
\item \texttt{regular} (Regular)
\item \texttt{smallcaps} (\textsc{Small Caps})
\item \texttt{allsmallcaps} (\textsc{all small caps})
\item \texttt{allcaps} (ALL CAPS)
\end{itemize}
They can either be set globally for every frame or used locally just for the current frame and onwards by using
They can either be set globally for every frame or used locally just for the current frame
and onwards by using
\begin{verbatim}\molochset{titleformat frame=<option>}\end{verbatim}
\end{frame}
{
\molochset{titleformat frame=smallcaps}
\begin{frame}{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 for example you typeset your presentation with pdfTeX and the Computer Modern Sans Serif font, every text in small caps will be typeset with the Computer Modern Serif font instead.
Be aware that not every font supports small caps. If you use the Computer (or Latin) Modern Sans Serif font, for instance, text in small caps will just be typeset in a normal font.
\end{alertblock}
\end{frame}
}
{
\molochset{titleformat frame=allsmallcaps}
\begin{frame}{All Small Caps}
\begin{frame}
\frametitle{All Small Caps}
This frame uses the \texttt{allsmallcaps} title format.
\begin{alertblock}{Potential Problems}
As this title format also uses small caps you face the same problems as with the \texttt{smallcaps} title format. Additionally this format can cause some other problems. Please refer to the documentation if you consider using it.
This title format also uses small caps, so you face the same problems as with the \texttt{smallcaps} title format.
\medskip
As a rule of thumb: just use it for plaintext-only titles.
In addition, note that numbers and math will be unaffected by this setting and will match
poorly with text as a result. For that reason, we suggest you make sure titles are all
plain text if you use this option.
\medskip
Finally, observe that the height of the frame title box will be modified to account for the
decreased text height since there are no capital letters. This too means that numbers and
math will not work well.
\end{alertblock}
\end{frame}
}
{
\molochset{titleformat frame=allcaps}
\begin{frame}{All Caps}
\begin{frame}
\frametitle{All Caps}
This frame uses the \texttt{allcaps} title format.
\begin{alertblock}{Potential Problems}
@ -103,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}
@ -114,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}
@ -129,7 +148,8 @@
\end{itemize}
\end{frame}
\begin{frame}{Lists}
\begin{frame}
\frametitle{Lists}
\begin{columns}[T,onlytextwidth]
\column{0.3\textwidth}
Items
@ -145,19 +165,21 @@
\column{0.33\textwidth}
Descriptions
\begin{description}
\begin{description}[PowerPoint]
\item[PowerPoint] Meeh. \item[Beamer] Yeeeha.
\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}
@ -183,7 +205,10 @@
\href{http://www.texample.net/tikz/examples/rotated-polygons/}{texample.net}.}
\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)}
\begin{tabular}{@{} lr @{}}
@ -198,30 +223,96 @@
\end{tabular}
\end{table}
\end{frame}
\begin{frame}{Blocks}
Three different block environments are pre-defined.
\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).
\begin{block}{Default}
Block content.
\end{block}
\begin{columns}[T]
\begin{column}{0.45\textwidth}
\begin{block}{Default}
Block content.
\end{block}
\begin{alertblock}{Alert}
Block content.
\end{alertblock}
\begin{alertblock}{Alert}
Block content.
\end{alertblock}
\begin{exampleblock}{Example}
Block content.
\end{exampleblock}
\begin{exampleblock}{Example}
Block content.
\end{exampleblock}
\end{column}
\begin{column}{0.45\textwidth}
{
\molochset{block=fill}
\begin{block}{Default}
Block content.
\end{block}
\begin{alertblock}{Alert}
Block content.
\end{alertblock}
\begin{exampleblock}{Example}
Block content.
\end{exampleblock}
}
\end{column}
\end{columns}
\end{frame}
\begin{frame}{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}
@ -229,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}
@ -249,7 +343,8 @@
\end{center}
The theme is licensed under the
\href{http://creativecommons.org/licenses/by-sa/4.0/}{Creative Commons Attribution-ShareAlike 4.0 International License}.
\href{http://creativecommons.org/licenses/by-sa/4.0/}{Creative Commons
Attribution-ShareAlike 4.0 International License}.
\begin{center}
\ccbysa
@ -263,21 +358,9 @@
\appendix
\begin{frame}[fragile]{Backup Slides}
To add slides at the end of your presentation for reference during audience questions, you just need to
\begin{enumerate}
\item include the "appendixnumberbeamer" package in your preamble, and
\item call \verb+\appendix+ command before your backup slides.
\end{enumerate}
By doing this, the \themename theme will automatically disable slide numbering and progress bars for the slides in the appendix.
\end{frame}
\begin{frame}[allowframebreaks]{References}
\bibliography{demo}
\bibliographystyle{abbrv}
\end{frame}
\end{document}

Binary file not shown.

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

@ -1,15 +1,17 @@
{
"bootstrap-sha": "c7c32a2a617e7dcee61cb7d8aac57d0b8d105e8e",
"packages": {
".": {
"release-type": "simple",
"bump-minor-pre-major": true,
"release-type": "go",
"extra-files": [
"src/beamercolorthememoloch.dtx",
"src/beamerfontthememoloch.dtx",
"src/beamerouterthememoloch.dtx",
"src/beamerinnerthememoloch.dtx",
"src/beamerthememoloch.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

@ -8,11 +8,13 @@
%
% 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}[2024-01-15 v0.1.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}
@ -21,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}
@ -34,6 +36,18 @@
%
% \subsubsection{Options}
%
% \begin{macro}{block}
% Optionally adds a light grey background to block environments like
% |theorem| and |example|.
% \begin{macrocode}
\pgfkeys{
/moloch/color/block/.cd,
.is choice,
transparent/.code=\moloch@block@transparent,
fill/.code=\moloch@block@fill,
}
% \end{macrocode}
% \end{macro}
%
% \begin{macro}{colors}
% Provides the option to have a dark background and light foreground instead
@ -61,7 +75,7 @@
%
%
%
% \subsubsection{Base colors}
% \subsubsection{Base Colors}
%
% \begin{macrocode}
\definecolor{mDarkBrown}{HTML}{604c38}
@ -72,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|.
@ -101,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|
@ -113,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
@ -159,9 +176,38 @@
}
% \end{macrocode}
%
% Block environments use alerted tex and example text for the title
% Block environments such as |theorem| and |example| have no background color
% by default. The option |block=fill| sets a background color based on the
% background and foreground of |normal text|. The option |block=transparent|
% reverts the block environments to an empty background, which can be useful
% if changing colors mid-presentation.
%
% \begin{macrocode}
\newcommand{\moloch@block@transparent}{
\setbeamercolor{block title}{bg=}
\setbeamercolor{block body}{bg=}
\setbeamercolor{block title alerted}{bg=}
\setbeamercolor{block title example}{bg=}
}
\newcommand{\moloch@block@fill}{
\setbeamercolor{block title}{%
bg=normal text.bg!80!fg
}
\setbeamercolor{block body}{%
use=block title,
bg=block title.bg!50!normal text.bg
}
\setbeamercolor{block title alerted}{%
bg=block title.bg,
}
\setbeamercolor{block title example}{%
bg=block title.bg,
}
}
\setbeamercolor{block title}{%
use=normal text,
fg=normal text.fg
}
\setbeamercolor{block title alerted}{%
use={block title, alerted text},
fg=alerted text.fg
@ -170,6 +216,8 @@
use={block title, example text},
fg=example text.fg
}
\setbeamercolor{block body alerted}{use=block body, parent=block body}
\setbeamercolor{block body example}{use=block body, parent=block body}
% \end{macrocode}
%
% Footnotes
@ -192,7 +240,7 @@
%
%
%
% \subsubsection{Process package options}
% \subsubsection{Process Package Options}
%
% \begin{macrocode}
\moloch@color@setdefaults

View File

@ -8,11 +8,13 @@
%
% 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{beamerfontthememoloch}[2024-01-15 v0.1.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}
@ -45,14 +47,10 @@
\setbeamerfont{block title alerted}{size=\normalsize, series=\bfseries}
\setbeamerfont*{subtitle}{size=\large}
\setbeamerfont{frametitle}{size=\large, series=\bfseries}
\setbeamerfont{framesubtitle}{size=\small}
\setbeamerfont{caption}{size=\small}
\setbeamerfont{caption name}{series=\bfseries}
\setbeamerfont{description item}{series=\bfseries}
\setbeamerfont{page number in head/foot}{size=\scriptsize}
\setbeamerfont{bibliography entry author}{size=\normalsize, series=\normalfont}
\setbeamerfont{bibliography entry title}{size=\normalsize, series=\bfseries}
\setbeamerfont{bibliography entry location}{size=\normalsize, series=\normalfont}
\setbeamerfont{bibliography entry note}{size=\small, series=\normalfont}
\setbeamerfont{standout}{size=\Large, series=\bfseries}
% \end{macrocode}
%
@ -78,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%
@ -107,18 +105,18 @@
\setbeamerfont{subtitle}{shape=\scshape}%
},
allsmallcaps/.code={%
\let\moloch@subtitleformat\lowercase%
\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\uppercase%
\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}
@ -142,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}
@ -174,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%
@ -231,94 +229,6 @@
% \href{http://tex.stackexchange.com/questions/112526/}{this StackExchange
% question}.
%
% \begin{macrocode}
\patchcmd{\beamer@title}%
{\def\inserttitle{#2}}%
{\def\inserttitle{\moloch@titleformat{#2}}}%
{}%
{\PackageError{beamerfontthememoloch}{Patching title failed}\@ehc}
\patchcmd{\beamer@subtitle}%
{\def\insertsubtitle{#2}}%
{\def\insertsubtitle{\moloch@subtitleformat{#2}}}%
{}%
{\PackageError{beamerfontthememoloch}{Patching subtitle failed}\@ehc}
\patchcmd{\sectionentry}
{\def\insertsectionhead{#2}}
{\def\insertsectionhead{\moloch@sectiontitleformat{#2}}}
{}
{\PackageError{beamerfontthememoloch}{Patching section title failed}\@ehc}
\@tempswafalse
\patchcmd{\beamer@section}
{\edef\insertsectionhead{\noexpand\hyperlink{Navigation\the\c@page}{\unexpanded{#1}}}}
{\edef\insertsectionhead{\noexpand\hyperlink{Navigation\the\c@page}{%
\noexpand\moloch@sectiontitleformat{\unexpanded{#1}}}}}
{\@tempswatrue}
{}
\patchcmd{\beamer@section}
{\def\insertsectionhead{\hyperlink{Navigation\the\c@page}{#1}}}
{\def\insertsectionhead{\hyperlink{Navigation\the\c@page}{%
\moloch@sectiontitleformat{#1}}}}
{\@tempswatrue}
{}
\patchcmd{\beamer@section}
{\protected@edef\insertsectionhead{\noexpand\hyperlink{Navigation\the\c@page}{#1}}}
{\protected@edef\insertsectionhead{\noexpand\hyperlink{Navigation\the\c@page}{%
\noexpand\moloch@sectiontitleformat{#1}}}}
{\@tempswatrue}
{}
\if@tempswa\else
\PackageError{beamerfontthememoloch}{Patching section title failed}\@ehc
\fi
\@tempswafalse
\patchcmd{\beamer@subsection}
{\edef\insertsubsectionhead{\noexpand\hyperlink{Navigation\the\c@page}{\unexpanded{#1}}}}
{\edef\insertsubsectionhead{\noexpand\hyperlink{Navigation\the\c@page}{%
\noexpand\moloch@sectiontitleformat{\unexpanded{#1}}}}}
{\@tempswatrue}
{}
\patchcmd{\beamer@subsection}
{\def\insertsubsectionhead{\hyperlink{Navigation\the\c@page}{#1}}}
{\def\insertsubsectionhead{\hyperlink{Navigation\the\c@page}{%
\moloch@sectiontitleformat{#1}}}}
{\@tempswatrue}
{}
\patchcmd{\beamer@subsection}
{\protected@edef\insertsubsectionhead{\noexpand\hyperlink{Navigation\the\c@page}{#1}}}
{\protected@edef\insertsubsectionhead{\noexpand\hyperlink{Navigation\the\c@page}{%
\noexpand\moloch@sectiontitleformat{#1}}}}
{\@tempswatrue}
{}
\if@tempswa\else
\PackageError{beamerfontthememoloch}{Patching section title failed}\@ehc
\fi
% \end{macrocode}
%
% Similarly, to make the |\MakeLowercase| and |\MakeUppercase| macros work in
% the frame title we have to patch |\beamer@@frametitle|.
%
% \begin{macrocode}
\patchcmd{\beamer@@frametitle}{%
\gdef\insertframetitle{{%
#2%
\ifnum\beamer@autobreakcount>0
\relax{}\space%
\beamer@insertframetitlecontinuation%
\fi%
}}%
}{%
\gdef\insertframetitle{{%
\moloch@frametitleformat{#2}%
\ifnum\beamer@autobreakcount>0
\relax{}\space%
\beamer@insertframetitlecontinuation%
\fi%
}}%
}{}{%
\PackageError{beamerfontthememoloch}{Patching frame title failed}\@ehc
}
% \end{macrocode}
%
%
%
% \subsubsection{Process package options}
%

View File

@ -8,11 +8,13 @@
%
% 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{beamerinnerthememoloch}[2024-01-15 v0.1.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}
@ -21,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:
@ -36,17 +38,25 @@
%
%
%
% \subsubsection{Package dependencies}
% \subsubsection{Package Dependencies}
%
% \begin{macrocode}
\RequirePackage{etoolbox}
\RequirePackage{keyval}
\RequirePackage{calc}
\RequirePackage{pgfopts}
\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}
%
@ -57,8 +67,14 @@
/moloch/inner/sectionpage/.cd,
.is choice,
none/.code=\moloch@disablesectionpage,
simple/.code={\moloch@enablesectionpage\setbeamertemplate{section page}[simple]},
progressbar/.code={\moloch@enablesectionpage\setbeamertemplate{section page}[progressbar]},
simple/.code={%
\moloch@enablesectionpage%
\setbeamertemplate{section page}[simple]%
},
progressbar/.code={%
\moloch@enablesectionpage%
\setbeamertemplate{section page}[progressbar]%
},
}
% \end{macrocode}
% \end{macro}
@ -70,8 +86,65 @@
/moloch/inner/subsectionpage/.cd,
.is choice,
none/.code=\moloch@disablesubsectionpage,
simple/.code={\moloch@enablesubsectionpage\setbeamertemplate{section page}[simple]},
progressbar/.code={\moloch@enablesubsectionpage\setbeamertemplate{section page}[progressbar]},
simple/.code={%
\moloch@enablesubsectionpage%
\setbeamertemplate{section page}[simple]%
},
progressbar/.code={%
\moloch@enablesubsectionpage%
\setbeamertemplate{section page}[progressbar]%
},
}
% \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}
@ -82,7 +155,9 @@
\newcommand{\moloch@inner@setdefaults}{
\pgfkeys{/moloch/inner/.cd,
sectionpage=progressbar,
subsectionpage=none
subsectionpage=none,
standoutnumbering=none,
titleseparator linewidth=0.4pt,
}
}
% \end{macrocode}
@ -90,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
@ -98,35 +173,28 @@
% space on the title slide.
% \begin{macrocode}
\setbeamertemplate{title page}{
\begin{minipage}[b][\paperheight]{\textwidth}
\ifx\inserttitlegraphic\@empty\else\usebeamertemplate*{title graphic}\fi
\vfill%
\ifx\inserttitle\@empty\else\usebeamertemplate*{title}\fi
\ifx\insertsubtitle\@empty\else\usebeamertemplate*{subtitle}\fi
\usebeamertemplate*{title separator}
% \end{macrocode}
%
% Beamer's definition of |\insertauthor| is always nonempty, so we have
% to test another macro initialized by |\author{...}| to see if the user has
% defined an author. This solution was suggested by Enrico Gregorio in an
% answer to \href{https://tex.stackexchange.com/questions/241306/}{this
% Stack Exchange question}.
%
% \begin{macrocode}
\ifx\beamer@shortauthor\@empty\else\usebeamertemplate*{author}\fi
\ifx\insertinstitute\@empty\else\usebeamertemplate*{institute}\fi
\ifx\insertdate\@empty\else\usebeamertemplate*{date}\fi
\vfill
\null
\end{minipage}
\null%
\vspace{0pt plus 1.618fil}%
\vfil%
\ifx\inserttitlegraphic\@empty\else\usebeamertemplate*{title graphic}\fi
\ifx\inserttitle\@empty\else\usebeamertemplate*{title}\fi
\ifx\insertsubtitle\@empty\else\usebeamertemplate*{subtitle}\fi
\usebeamertemplate*{title separator}
\expandafter\ifblank\expandafter{\beamer@andstripped}{}{%
\usebeamertemplate*{author}%
}
\ifx\insertinstitute\@empty\else\usebeamertemplate*{institute}\fi
\ifx\insertdate\@empty\else\usebeamertemplate*{date}\fi
\vspace{0pt plus 1fil}%
\null
}
% \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}
@ -139,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}
@ -154,11 +231,9 @@
% position of other elements.
% \begin{macrocode}
\setbeamertemplate{title graphic}{
\vbox to 0pt {
\vspace*{2em}
\inserttitlegraphic%
}%
\nointerlineskip%
\inserttitlegraphic%
\par%
\vspace*{1em}
}
% \end{macrocode}
% \end{macro}
@ -168,10 +243,8 @@
% \begin{macrocode}
\setbeamertemplate{title}{
\raggedright%
\linespread{1.0}%
\inserttitle%
\moloch@titleformat{\inserttitle}%
\par%
\vspace*{0.5em}
}
% \end{macrocode}
% \end{macro}
@ -180,27 +253,27 @@
% Set the subtitle on the title page.
% \begin{macrocode}
\setbeamertemplate{subtitle}{
\vspace*{0.3em}
\raggedright%
\insertsubtitle%
\moloch@subtitleformat{\insertsubtitle}%
\par%
\vspace*{0.5em}
}
% \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%
\vspace*{0.8em}
}
% \end{macrocode}
% \end{macro}
@ -209,9 +282,10 @@
% Set the author on the title page.
% \begin{macrocode}
\setbeamertemplate{author}{
\vspace*{2em}
\raggedright%
\insertauthor%
\par%
\vspace*{0.5em}
}
% \end{macrocode}
% \end{macro}
@ -220,9 +294,9 @@
% Set the institute on the title page.
% \begin{macrocode}
\setbeamertemplate{institute}{
\vspace*{0.5em}
\insertinstitute%
\par%
\vspace*{1em}
}
% \end{macrocode}
% \end{macro}
@ -232,7 +306,6 @@
% Set the date on the title page.
% \begin{macrocode}
\setbeamertemplate{date}{
\vspace*{1.5em}
\insertdate%
\par%
}
@ -240,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.
%
@ -251,13 +324,15 @@
\begin{center}
\usebeamercolor[fg]{section title}
\usebeamerfont{section title}
\insertsectionhead\par
\ifx\insertsubsectionhead\@empty\else
\usebeamercolor[fg]{subsection title}
\usebeamerfont{subsection title}
\insertsubsectionhead
\moloch@sectiontitleformat{\insertsectionhead}\par
\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
@ -265,17 +340,17 @@
\raggedright
\usebeamercolor[fg]{section title}
\usebeamerfont{section title}
\insertsectionhead\\[-1ex]
\moloch@sectiontitleformat{\insertsectionhead}\\[-0.5\baselineskip]
\usebeamertemplate*{progress bar in section page}
\par
\usebeamercolor[fg]{subsection title}%
\usebeamerfont{subsection title}%
\strut%
\ifx\insertsubsectionhead\@empty\else%
\usebeamercolor[fg]{subsection title}%
\usebeamerfont{subsection title}%
\insertsubsectionhead
\insertsubsectionhead%
\fi
\end{minipage}
\par
\vspace{\baselineskip}
}
\newcommand{\moloch@disablesectionpage}{
\AtBeginSection{
@ -327,23 +402,29 @@
% |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)
}
\tikzexternaldisable
\begin{tikzpicture}
\fill[bg] (0,0) rectangle (\textwidth, \moloch@progressonsectionpage@linewidth);
\fill[fg] (0,0) rectangle (\moloch@progressonsectionpage, \moloch@progressonsectionpage@linewidth);
\end{tikzpicture}
\tikzexternalenable
\textwidth * min(1,\insertframenumber/\insertmainframenumber)
}%
\tikzexternaldisable%
\begin{tikzpicture}[baseline=(current bounding box.north)]
\mmzUnmemoizable%
\fill[bg]
(0,0)
rectangle
(\textwidth, \moloch@progressonsectionpage@linewidth);
\fill[fg]
(0,0)
rectangle
(\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
@ -358,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}
@ -373,22 +457,16 @@
% \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}
%
% \begin{macrocode}
\newlength{\moloch@parskip}
\setlength{\moloch@parskip}{0.5em}
\setlength{\parskip}{\moloch@parskip}
\linespread{1.15}
% \end{macrocode}
%
% By default, Beamer frames offer the |c| option to \textit{almost} vertically
% center the text, but the placement is a little too high. To fix this, we
@ -399,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{}%
@ -409,10 +487,11 @@
%
%
%
% \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:
%
% |\begin{frame}[standout] ... \end{frame}|.
%
% \begin{macro}{standout}
@ -428,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,
@ -444,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}
%
@ -477,7 +562,7 @@
% \end{macrocode}
% \end{macro}
%
% \subsubsection{Process package options}
% \subsubsection{Process Package Options}
%
% \begin{macrocode}
\moloch@inner@setdefaults

View File

@ -8,11 +8,13 @@
%
% 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{beamerouterthememoloch}[2024-01-15 v0.1.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}
@ -31,28 +33,28 @@
% \subsubsection{Package dependencies}
%
% \begin{macrocode}
\RequirePackage{etoolbox}
\RequirePackage{calc}
\RequirePackage{pgfopts}
% \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}
%
% \begin{macro}{numbering}
% Adds slide numbers to the bottom right of each slide.
% \begin{macrocode}
\pgfkeys{
/moloch/outer/numbering/.cd,
.is choice,
none/.code=\setbeamertemplate{frame numbering}[none],
counter/.code=\setbeamertemplate{frame numbering}[counter],
fraction/.code=\setbeamertemplate{frame numbering}[fraction],
}
% \end{macrocode}
% \end{macro}
%
% \begin{macro}{progressbar}
% Adds a progress bar to the top, bottom, or frametitle of each slide.
% \begin{macrocode}
@ -83,19 +85,64 @@
% \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,
numbering=counter,
progressbar=none,
progressbar linewidth=0.4pt,
}
}
% \end{macrocode}%
% \end{macro}
%
% \subsubsection{Slide Numbering}
%
% Moloch defaults to numbering frames. To modify this, simply copy this line to your
% preamble and replace |appendixframenumber|.
%
% \begin{macrocode}
\setbeamertemplate{page number in head/foot}[appendixframenumber]
% \end{macrocode}
%
% \subsubsection{Notes Page Numbering}
%
% Moloch defaults to numbering notes pages in a format compatible with Pympress.
% This means that presentations using |show notes| (i.e., notes on every other
% slide) work by default.
%
% \begin{macrocode}
\addtobeamertemplate{note page}{}{\thispdfpagelabel{notes:\insertframenumber}}
% \end{macrocode}
%
% \subsubsection{Head and footline}
%
@ -106,22 +153,6 @@
\setbeamertemplate{navigation symbols}{}
% \end{macrocode}
%
% \begin{macro}{frame numbering}
% Templates for the frame number. Can be omitted, shown or displayed as a
% fraction of the total frames.
% \begin{macrocode}
\defbeamertemplate{frame footer}{none}{}
\defbeamertemplate{frame footer}{custom}[1]{ #1 }
% \end{macrocode}
%
% \begin{macrocode}
\defbeamertemplate{frame numbering}{none}{}
\defbeamertemplate{frame numbering}{counter}{\insertframenumber}
\defbeamertemplate{frame numbering}{fraction}{
\insertframenumber/\inserttotalframenumber
}
% \end{macrocode}
% \end{macro}
%
% \begin{macro}{headline}
% \begin{macro}{footline}
@ -129,11 +160,16 @@
% \begin{macrocode}
\defbeamertemplate{headline}{plain}{}
\defbeamertemplate{footline}{plain}{%
\begin{beamercolorbox}[wd=\textwidth, sep=3ex]{footline}%
\begin{beamercolorbox}[
leftskip=4pt,%
rightskip=5pt,%
wd=\textwidth,%
]{footline}%
\usebeamercolor[fg]{page number in head/foot}%
\usebeamerfont{page number in head/foot}%
\usebeamertemplate*{frame footer}
\usebeamertemplate*{frame footer}%
\hfill%
\usebeamertemplate*{frame numbering}
\usebeamertemplate*{page number in head/foot}\vskip4pt%
\end{beamercolorbox}%
}
% \end{macrocode}
@ -150,34 +186,46 @@
% \begin{macrocode}
\newlength{\moloch@frametitle@padding}
\setlength{\moloch@frametitle@padding}{2.2ex}
\newcommand{\moloch@frametitlestrut@start}{
\newcommand{\moloch@frametitlestrut@start}{%
\rule{0pt}{\moloch@frametitle@padding +%
\totalheightof{%
\ifcsdef{moloch@frametitleformat}{\moloch@frametitleformat X}{X}%
}%
}%
}
\newcommand{\moloch@frametitlestrut@end}{
\rule[-\moloch@frametitle@padding]{0pt}{\moloch@frametitle@padding}
\newcommand{\moloch@frametitlestrut@end}{%
\vphantom{%
\rule[-\moloch@frametitle@padding]{0pt}{\moloch@frametitle@padding}%
}
}
\defbeamertemplate{frametitle}{plain}{%
\nointerlineskip%
\begin{beamercolorbox}[%
wd=\paperwidth,%
sep=0pt,%
leftskip=\moloch@frametitle@padding,%
rightskip=\the\glueexpr \moloch@frametitle@padding plus 1fill\relax,%
leftskip=1.6ex,%
rightskip=\the\glueexpr 1.6ex plus 1fil\relax,%
]{frametitle}%
\usebeamerfont{frametitle}%
\moloch@frametitlestrut@start%
\insertframetitle%
\nolinebreak%
\moloch@frametitleformat{\insertframetitle}%
{%
\ifx\insertframesubtitle\@empty%
\else%
{%
\par%
\usebeamerfont{framesubtitle}%
\vspace{-0.8ex}%
\usebeamercolor[fg]{framesubtitle}%
\insertframesubtitle%
}%
\fi
}%
\moloch@frametitlestrut@end%
\end{beamercolorbox}%
}
\setbeamertemplate{frametitle continuation}{%
\usebeamerfont{frametitle}
\romannumeral \insertcontinuationcount
}
\romannumeral\insertcontinuationcount}
% \end{macrocode}
% \end{macro}
%
@ -186,19 +234,25 @@
% 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}{\paperwidth * min(1,\insertframenumber/\inserttotalframenumber)}
\nointerlineskip%
\pgfmathsetlength{\moloch@progressinheadfoot}{%
\paperwidth * min(1,\insertframenumber/\inserttotalframenumber)%
}%
\begin{beamercolorbox}[wd=\paperwidth]{progress bar in head/foot}
\tikzexternaldisable
\tikzexternaldisable%
\begin{tikzpicture}
\fill[bg] (0,0) rectangle (\paperwidth, \moloch@progressinheadfoot@linewidth);
\fill[fg] (0,0) rectangle (\moloch@progressinheadfoot, \moloch@progressinheadfoot@linewidth);
\mmzUnmemoizable%
\fill[bg]
(0,0)
rectangle
(\paperwidth, \moloch@progressinheadfoot@linewidth);
\fill[fg]
(0,0)
rectangle
(\moloch@progressinheadfoot, \moloch@progressinheadfoot@linewidth);
\end{tikzpicture}
\tikzexternalenable
\tikzexternalenable%
\end{beamercolorbox}
}
% \end{macrocode}

View File

@ -12,7 +12,7 @@
% \iffalse
%<*package>
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{beamerthememoloch}[2024-01-15 v0.1.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,10 +29,9 @@
%
%
%
% \subsubsection{Package dependencies}
% \subsubsection{Package Dependencies}
%
% \begin{macrocode}
\RequirePackage{etoolbox}
\RequirePackage{pgfopts}
% \end{macrocode}
%
@ -70,16 +69,10 @@
allsmallcaps/.code={%
\let\moloch@plaintitleformat\MakeLowercase%
\setbeamerfont{standout}{shape=\scshape}%
\PackageNote{beamerthememoloch}{%
Be aware that titleformat plain=allsmallcaps can lead to problems%
}
},
allcaps/.code={%
\let\moloch@plaintitleformat\MakeUppercase%
\setbeamerfont{standout}{shape=\normalfont}%
\PackageNote{beamerthememoloch}{%
Be aware that titleformat plain=allcaps can lead to problems%
}
},
}
% \end{macrocode}
@ -111,17 +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.
%
% \begin{macrocode}
\providecommand{\tikzexternalenable}{}
\providecommand{\tikzexternaldisable}{}
% \end{macrocode}
%
% \subsubsection{Component sub-packages}
% \subsubsection{Component Sub-Packages}
%
% Having processed the options, we can now load the component sub-packages of
% the theme.
@ -133,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.
@ -154,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,41 +38,37 @@
\end{proof}
\end{frame}
\vfil\break
\END
{
\molochset{titleformat frame=smallcaps}
\begin{frame}{Small caps}
This frame uses the \texttt{smallcaps} title format.
\molochset{titleformat frame=smallcaps}
\begin{frame}{Small caps}
This frame uses the \texttt{smallcaps} title format.
\begin{block}{Block}
Some content
\end{block}
\begin{block}{Block}
Some content
\end{block}
\begin{alertblock}{Alert Block}
Yet more content
\end{alertblock}
\begin{alertblock}{Alert Block}
Yet more content
\end{alertblock}
\begin{exampleblock}{Example Block}
Just to try out the different blocks
\end{exampleblock}
\end{frame}
\begin{exampleblock}{Example Block}
Just to try out the different blocks
\end{exampleblock}
\end{frame}
}
{
\molochset{titleformat frame=allsmallcaps}
\begin{frame}{All small caps}
This frame uses the \texttt{allsmallcaps} title format.
\end{frame}
\molochset{titleformat frame=allsmallcaps}
\begin{frame}{All small caps}
This frame uses the \texttt{allsmallcaps} title format.
\end{frame}
}
{
\molochset{titleformat frame=allcaps}
\begin{frame}{All caps}
This frame uses the \texttt{allcaps} title format.
\end{frame}
\molochset{titleformat frame=allcaps}
\begin{frame}{All caps}
This frame uses the \texttt{allcaps} title format.
\end{frame}
}
\begin{frame}{Lists}
@ -80,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}
@ -105,12 +109,49 @@
\end{itemize}
\end{frame}
\begin{frame}{Blocks}
\begin{columns}
\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}
\appendix
\begin{frame}{Backup slides}
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}

View File

@ -1,5 +1,6 @@
\documentclass[hyperref={draft}]{beamer}
\usetheme{moloch}
\usepackage{lmodern}
\input{molochexample}

File diff suppressed because it is too large Load Diff

View File

@ -1 +0,0 @@
0.1.0