Compare commits

..

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

26 changed files with 191 additions and 6117 deletions

1
.gitignore vendored
View File

@ -303,6 +303,7 @@ TSWLatexianTemp*
# Ignore sty files generated from dtx
*.sty
doc/moloch.pdf
examples/demo/demo.pdf
build/
.latex-cache
*-ctan.zip

View File

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

View File

@ -1,21 +1,5 @@
# Changelog
## [1.0.1](https://github.com/jolars/moloch/compare/v1.0.0...v1.0.1) (2025-04-01)
### Bug Fixes
* add missing files for updating version tags ([ba01d33](https://github.com/jolars/moloch/commit/ba01d33b1993d4992372420f25f6390c5e4baa91))
* use proper package names ([0c4d38e](https://github.com/jolars/moloch/commit/0c4d38e3c2e2b0b93bfc1b6c1abe6bf0a3a01311))
## [1.0.0](https://github.com/jolars/moloch/compare/v0.6.0...v1.0.0) (2025-04-01)
### Features
* add customization of bar line width ([#42](https://github.com/jolars/moloch/issues/42)) ([be0d8f2](https://github.com/jolars/moloch/commit/be0d8f23c72b9760baeb31a58d2e9988cba5d19a))
* support `\thanks` in title page ([#45](https://github.com/jolars/moloch/issues/45)) ([de3db5e](https://github.com/jolars/moloch/commit/de3db5e517c06d1b8793b3a1c134b9bf4ad8b189))
## [0.6.0](https://github.com/jolars/moloch/compare/v0.5.0...v0.6.0) (2025-01-17)

View File

@ -13,7 +13,6 @@ The fork was created for the following reasons:
- To strip away some features that added complexity to the code base without achieving valuable functionality for the majority of users, such as special code block designs and the pgfplots theme.
[Here's a blog post](https://jolars.co/blog/2024-05-30-moloch/) in which I introduce the theme and write in more detail about the changes with respect to Metropolis.
Also see the [demo](examples/demo/demo.pdf) for a quick introduction to the theme.
Do not expect this theme to be backwards compatible with the Metropolis theme.

View File

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

View File

@ -1,19 +1,13 @@
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)
## [0.5.0](https://github.com/jolars/moloch/compare/v0.4.0...v0.5.0) (2024-10-30)
### 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))
* 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))

View File

@ -93,7 +93,7 @@
\newcommand{\themename}{\textsf{moloch}\xspace}
\def\molochversion{1.0.1} % x-release-please-version
\def\molochversion{0.6.0} % x-release-please-version
\usepackage{readprov}

View File

@ -4,6 +4,7 @@
\usetheme{moloch}
\usecolortheme{moloch-tomorrow}
\usepackage{lmodern}
\usepackage{hyperref}
\setbeamertemplate{page number in head/foot}[appendixframenumber]
\setbeamertemplate{section in toc}[sections numbered]
@ -23,8 +24,7 @@
\section{Introduction}
\begin{frame}[fragile]
\frametitle{Moloch}
\begin{frame}[fragile]{Moloch}
This small demo shows how the
\href{https://github.com/chriskempson/tomorrow-theme}{tomorrow color theme}
for moloch looks.\bigskip
@ -34,8 +34,7 @@
\usecolortheme{moloch-tomorrow}\end{verbatim}
\end{frame}
\begin{frame}[fragile]
\frametitle{Tomorrow Color Theme}
\begin{frame}[fragile]{Tomorrow Color Theme}
The tomorrow color theme has a higher contrast than the standard moloch theme, and uses
different colors for alerts and examples.

Binary file not shown.

View File

@ -28,15 +28,13 @@
\maketitle
\begin{frame}
\frametitle{Table of Contents}
\begin{frame}{Table of Contents}
\tableofcontents[hideallsubsections]
\end{frame}
\section{Introduction}
\begin{frame}[fragile]
\frametitle{Moloch}
\begin{frame}[fragile]{Moloch}
The \themename theme is a Beamer theme with minimal visual noise. It is a fork of the
\href{https://github.com/matze/mtheme}{metropolis theme} by Matthias Vogelgesang, which in
@ -47,8 +45,7 @@
\begin{verbatim}\documentclass{beamer}
\usetheme{moloch}\end{verbatim}
\end{frame}
\begin{frame}[fragile]
\frametitle{Sections}
\begin{frame}[fragile]{Sections}
Sections group slides of the same topic by introducing a section page between them. A progress bar is shown which indicates how far along in the presentation you are.
\begin{verbatim}\section{Title Formats}\end{verbatim}
@ -56,8 +53,7 @@
\section{Title Formats}
\begin{frame}[fragile]
\frametitle{Moloch Title Formats}
\begin{frame}[fragile]{Moloch Title Formats}
\themename supports four different title formats:
\begin{itemize}
\item \texttt{regular} (Regular)
@ -73,8 +69,8 @@
{
\molochset{titleformat frame=smallcaps}
\begin{frame}
\frametitle{Small Caps}
\begin{frame}{Small Caps}
This frame uses the \texttt{smallcaps} title format.
\begin{alertblock}{Potential Problems}
Be aware that not every font supports small caps. If you use the Computer (or Latin) Modern Sans Serif font, for instance, text in small caps will just be typeset in a normal font.
@ -84,8 +80,7 @@
{
\molochset{titleformat frame=allsmallcaps}
\begin{frame}
\frametitle{All Small Caps}
\begin{frame}{All Small Caps}
This frame uses the \texttt{allsmallcaps} title format.
\begin{alertblock}{Potential Problems}
@ -108,8 +103,7 @@
{
\molochset{titleformat frame=allcaps}
\begin{frame}
\frametitle{All Caps}
\begin{frame}{All Caps}
This frame uses the \texttt{allcaps} title format.
\begin{alertblock}{Potential Problems}
@ -120,8 +114,7 @@
\section{Elements}
\begin{frame}[fragile]
\frametitle{Typography}
\begin{frame}[fragile]{Typography}
\begin{verbatim}The theme provides sensible defaults to
\emph{emphasize} text, \alert{accent} parts or show
\textbf{bold} results.\end{verbatim}
@ -132,8 +125,7 @@
\alert{accent} parts or show \textbf{bold} results.
\end{frame}
\begin{frame}
\frametitle{Font Features Test}
\begin{frame}{Font Features Test}
\begin{itemize}
\item Regular
\item \textit{Italic}
@ -148,8 +140,7 @@
\end{itemize}
\end{frame}
\begin{frame}
\frametitle{Lists}
\begin{frame}{Lists}
\begin{columns}[T,onlytextwidth]
\column{0.3\textwidth}
Items
@ -170,16 +161,14 @@
\end{description}
\end{columns}
\end{frame}
\begin{frame}
\frametitle{Animation}
\begin{frame}{Animation}
\begin{itemize}[<+- | alert@+>]
\item \alert<4>{This is\only<4>{ really} important}
\item Now this
\item And now this
\end{itemize}
\end{frame}
\begin{frame}
\frametitle{Figures}
\begin{frame}{Figures}
\begin{figure}
\newcounter{density}
\setcounter{density}{20}
@ -206,8 +195,7 @@
\end{figure}
\end{frame}
\begin{frame}
\frametitle{Tables}
\begin{frame}{Tables}
\framesubtitle{Largest cities in the world}
\begin{table}
\caption{Largest cities in the world (source: Wikipedia)}
@ -223,8 +211,7 @@
\end{tabular}
\end{table}
\end{frame}
\begin{frame}[fragile]
\frametitle{Blocks}
\begin{frame}[fragile]{Blocks}
Three different block environments are pre-defined: \verb|block|, \verb|alertblock|,
and \verb|exampleblock|. They can be styled using the option
\verb|block|, which takes values \verb|transparent| (default, left column) and \verb|fill| (right column).
@ -263,56 +250,13 @@
\end{columns}
\end{frame}
\begin{frame}[c]
\frametitle{Progress Bars}
A prominent feature of \themename is the use of progress bars to
visualize the progress of the presentation. \medskip
By default bars are shown on section pages, but this can be toggled
through \texttt{sectionpage=progressbar|simple|none} and also enabled for
subsection pages through \texttt{subsectionpage=progressbar}.\medskip
Finally, you can enable progress bars on frames by setting
\texttt{progressbar=none|head|frametitle|foot} (depending on where
you'd like the bar to be placed).\medskip
\end{frame}
\begin{frame}[c,fragile]
\frametitle{Progress Bar Customization}
You can customize the width of the bars using
\texttt{progressbar linewidth=<length>}.\medskip
On the following pages, we have set
\begin{verbatim}\molochset{
progressbar=frametitle,
progressbar linewidth=1pt
}
\end{verbatim}
to enable progress bars below the frame title and set its width to 1pt.
\end{frame}
\molochset{progressbar=frametitle,progressbar linewidth=1pt}
\begin{frame}[c,fragile]
\frametitle{The Title Page}
There is only very little customization available of the title page at the
time of writing.\medskip
But you can at least modify the line width of the title separator
by setting \texttt{titleseparator linewidth=<length>}
\end{frame}
\begin{frame}
\frametitle{Math}
\begin{frame}{Math}
\begin{equation*}
e = \lim_{n\to \infty} \left(1 + \frac{1}{n}\right)^n
\end{equation*}
\end{frame}
\begin{frame}
\frametitle{Quotes}
\begin{frame}{Quotes}
\begin{quote}
Verily, I say unto you, the days spoken of in the Apocalypse are nigh!
\end{quote}
@ -320,22 +264,19 @@
{%
\setbeamertemplate{frame footer}{My custom footer}
\begin{frame}[fragile]
\frametitle{Frame Footer}
\begin{frame}[fragile]{Frame Footer}
\themename defines a custom beamer template to add a text to the footer. It can be set via
\begin{verbatim}\setbeamertemplate{frame footer}{My custom footer}\end{verbatim}
\end{frame}
}
\begin{frame}[fragile]
\frametitle{References}
\begin{frame}[fragile]{References}
Here are some references~\cite{Knuth92,ConcreteMath,Simpson,Er01,greenwade93} to showcase \verb+[allowframebreaks]+.
\end{frame}
\section{Conclusion}
\begin{frame}
\frametitle{Summary}
\begin{frame}{Summary}
Get the source of this theme and the demo presentation from
\begin{center}

View File

@ -51,3 +51,32 @@
}
);
}
# {
# inputs = {
# nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
# flake-utils.url = "github:numtide/flake-utils";
# };
#
# outputs = {
# self,
# nixpkgs,
# flake-utils,
# }:
# flake-utils.lib.eachDefaultSystem (
# system: let
# pkgs = nixpkgs.legacyPackages.${system};
# texlive = pkgs.texlive.combine {inherit (pkgs.texlive) scheme-basic l3build;};
# 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
# ];
# };
# }
# );
# }

View File

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

View File

@ -7,8 +7,6 @@
"src/beamerfontthememoloch.dtx",
"src/beamerouterthememoloch.dtx",
"src/beamerinnerthememoloch.dtx",
"src/beamercolorthememoloch-highcontrast.dtx",
"src/beamercolorthememoloch-tomorrow.dtx",
"src/beamerthememoloch.dtx",
"doc/moloch.tex",
"build.lua"

View File

@ -14,7 +14,7 @@
% \iffalse
%<*package>
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{beamercolorthememoloch-highcontrast}[2025-04-01 v1.0.1 Moloch high-contrast color theme] % x-release-please-version
\ProvidesPackage{beamercolorthememoloch-highcontrast}[2025-01-17 v0.5.0 Moloch color theme] % x-release-please-version
%</package>
% \fi
% \CheckSum{0}

View File

@ -14,7 +14,7 @@
% \iffalse
%<*package>
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{beamercolorthememoloch-tomorrow}[2025-04-01 v1.0.1 Moloch tomorrow color theme] % x-release-please-version
\ProvidesPackage{beamercolorthememoloch-tomorrow}[2025-01-17 v0.5.0 Moloch color theme] % x-release-please-version
%</package>
% \fi
% \CheckSum{0}

View File

@ -14,7 +14,7 @@
% \iffalse
%<*package>
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{beamercolorthememoloch}[2025-04-01 v1.0.1 Moloch color theme] % x-release-please-version
\ProvidesPackage{beamercolorthememoloch}[2025-01-17 v0.6.0 Moloch color theme] % x-release-please-version
%</package>
% \fi
% \CheckSum{0}
@ -130,8 +130,6 @@
\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

View File

@ -14,7 +14,7 @@
% \iffalse
%<*package>
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{beamerfontthememoloch}[2025-04-01 v1.0.1 Moloch font theme] % x-release-please-version
\ProvidesPackage{beamerfontthememoloch}[2025-01-17 v0.6.0 Moloch color theme] % x-release-please-version
%</package>
% \fi
% \CheckSum{0}

View File

@ -14,7 +14,7 @@
% \iffalse
%<*package>
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{beamerinnerthememoloch}[2025-04-01 v1.0.1 Moloch inner theme] % x-release-please-version
\ProvidesPackage{beamerinnerthememoloch}[2025-01-17 v0.6.0 Moloch color theme] % x-release-please-version
%</package>
% \fi
% \CheckSum{0}
@ -47,16 +47,7 @@
\RequirePackage{tikz}
% \end{macrocode}
%
% \subsubsection{Memoization and Tikz Externalization}
%
% See the documentation for the correspondign section under the outer theme for
% more information on the following lines.
%
% \begin{macrocode}
\providecommand{\tikzexternalenable}{}
\providecommand{\tikzexternaldisable}{}
\providecommand{\mmzUnmemoizable}{}
% \end{macrocode}
%
% \subsubsection{Options}
%
@ -126,29 +117,6 @@
% \end{macrocode}
% \end{macro}
%
% \begin{macro}{titleseparator linewidth}
% Set the width of the line separating the title from the author.
% \begin{macrocode}
\newlength{\moloch@titleseparator@linewidth}
\pgfkeys{
/moloch/inner/.cd,
titleseparatorlinewidth/.code={\setlength{\moloch@titleseparator@linewidth}{#1}},
titleseparatorlinewidth/.default=0.4pt,
}
% \end{macrocode}
% \end{macro}
%
%
% \begin{macro}{titleseparator aliases}
% Allows |titleseparator linewidth| to be used in |\usetheme|.
% \begin{macrocode}
\pgfkeys{
/moloch/inner/.cd,
titleseparator linewidth/.code=\pgfkeysalso{titleseparatorlinewidth=#1},
}
% \end{macrocode}
% \end{macro}
%
% \begin{macro}{\moloch@inner@setdefaults}
% Set default values for inner theme options.
% \begin{macrocode}
@ -156,8 +124,7 @@
\pgfkeys{/moloch/inner/.cd,
sectionpage=progressbar,
subsectionpage=none,
standoutnumbering=none,
titleseparator linewidth=0.4pt,
standoutnumbering=none
}
}
% \end{macrocode}
@ -173,6 +140,7 @@
% space on the title slide.
% \begin{macrocode}
\setbeamertemplate{title page}{
\begin{minipage}[c][\textheight]{\textwidth}
\null%
\vspace{0pt plus 1.618fil}%
\vfil%
@ -187,14 +155,15 @@
\ifx\insertdate\@empty\else\usebeamertemplate*{date}\fi
\vspace{0pt plus 1fil}%
\null
\end{minipage}%
}
% \end{macrocode}
% \end{macro}%
%
% Normal people should use |\maketitle| or |\titlepage| instead of using the
% |title page| beamer template directly. Beamer already defines these macros,
% but we patch them here to make the title page |[plain]| by default
% and ensure the title frame number doesn't count.
% but we patch them here to make the title page |[plain]| by default, remove
% |\@thanks|, and ensure the title frame number doesn't count.
%
% \begin{macro}{\maketitle}
% \begin{macro}{\titlepage}
@ -207,20 +176,11 @@
\ifbeamer@inframe
\titlepage
\else
\begingroup
\renewcommand\footnoterule{}%
\frame[plain,noframenumbering]{\titlepage}
\endgroup
\fi
}
\def\titlepage{%
% Apply title-page specific footnote settings
\renewcommand{\@makefntext}[1]{%
{\par\usebeamercolor[fg]{thanks}\usebeamerfont{thanks}$^{\@thefnmark}$##1\medskip}%
}
% Process the title page
\usebeamertemplate{title page}\@thanks
\usebeamertemplate{title page}
}
% \end{macrocode}
% \end{macro}
@ -245,6 +205,7 @@
\raggedright%
\moloch@titleformat{\inserttitle}%
\par%
\vspace*{0.2em}
}
% \end{macrocode}
% \end{macro}
@ -253,23 +214,26 @@
% Set the subtitle on the title page.
% \begin{macrocode}
\setbeamertemplate{subtitle}{
\vspace*{0.3em}
\vspace*{0.1em}
\raggedright%
\moloch@subtitleformat{\insertsubtitle}%
\par%
\vspace*{0.2em}
}
% \end{macrocode}
% \end{macro}
%
% \begin{macro}{title separator}
% Template to set the title separator.
% Template to set the title graphic in a zero-height box. (It won't
% change the position of other elements.)
% \begin{macrocode}
\newlength{\moloch@titleseparator@linewidth}
\setlength{\moloch@titleseparator@linewidth}{0.4pt}
\setbeamertemplate{title separator}{
\tikzexternaldisable%
\begin{tikzpicture}[baseline=(current bounding box.north)]
\begin{tikzpicture}
\mmzUnmemoizable%
\fill[fg] (0,0) rectangle (\textwidth, \moloch@titleseparator@linewidth);
\useasboundingbox (0,0) rectangle (\textwidth,-\moloch@titleseparator@linewidth);
\end{tikzpicture}%
\tikzexternalenable%
\par%
@ -332,7 +296,7 @@
\insertsubsectionhead%
\fi
\end{center}
\vspace{\baselineskip - 1ex + \moloch@titleseparator@linewidth}
\vspace{\baselineskip - 1ex + 0.4pt}
}
\defbeamertemplate{section page}{progressbar}{
\centering
@ -402,12 +366,15 @@
% |progress bar in head/foot|.
%
% \begin{macrocode}
\newlength{\moloch@progressonsectionpage}
\newlength{\moloch@progressonsectionpage@linewidth}
\setlength{\moloch@progressonsectionpage@linewidth}{0.4pt}
\setbeamertemplate{progress bar in section page}{
\pgfmathsetlength{\moloch@progressonsectionpage}{
\textwidth * min(1,\insertframenumber/\insertmainframenumber)
\textwidth * min(1,\insertframenumber/\inserttotalframenumber)
}%
\tikzexternaldisable%
\begin{tikzpicture}[baseline=(current bounding box.north)]
\begin{tikzpicture}
\mmzUnmemoizable%
\fill[bg]
(0,0)
@ -418,7 +385,6 @@
rectangle
(\moloch@progressonsectionpage,
\moloch@progressonsectionpage@linewidth);
\useasboundingbox (0,0) rectangle (\textwidth,-\moloch@progressonsectionpage@linewidth);
\end{tikzpicture}%
\tikzexternalenable%
}
@ -442,12 +408,9 @@
% \subsubsection{Lists and Floats}
%
% \begin{macrocode}
\setbeamertemplate{itemize item}[circle]
\setbeamertemplate{itemize subitem}{\raise1.5pt\hbox{\vrule width 0.8ex height 0.8ex}}
\setbeamerfont{itemize subsubitem}{size=\tiny}
\setbeamertemplate{itemize subsubitem}{%
\usebeamerfont*{itemize subsubitem}\raise1.75pt\hbox{\donotcoloroutermaths$\blacktriangleright$}%
}
\setbeamertemplate{itemize item}{\(\bullet\)}
\setbeamertemplate{itemize subitem}{\(\circ\)}
\setbeamertemplate{itemize subsubitem}{\textbullet}
\setbeamertemplate{caption label separator}{: }
\setbeamertemplate{caption}[numbered]
% \end{macrocode}

View File

@ -14,7 +14,7 @@
% \iffalse
%<*package>
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{beamerouterthememoloch}[2025-04-01 v1.0.1 Moloch outer theme] % x-release-please-version
\ProvidesPackage{beamerouterthememoloch}[2025-01-17 v0.6.0 Moloch color theme] % x-release-please-version
%</package>
% \fi
% \CheckSum{0}
@ -38,20 +38,6 @@
% \end{macrocode}
%
%
% \subsubsection{Memoization and Tikz Externalization}
%
% To avoid generating externalized figures of the progressbar we have to disable
% them with ``tikzexternalenable'' and ``tikzexternaldisable''. However, if the
% ``external'' library is not loaded we would get undefined control sequence
% problems, hence we define them as no-ops if they are not defined yet.
% We do the same for the ``mmzUnmemoizable'' command from the memoize package, in
% order to avoid memoization of the progress bars.
%
% \begin{macrocode}
\providecommand{\tikzexternalenable}{}
\providecommand{\tikzexternaldisable}{}
\providecommand{\mmzUnmemoizable}{}
% \end{macrocode}
%
% \subsubsection{Options}
%
@ -85,63 +71,53 @@
% \end{macrocode}
% \end{macro}
%
% \begin{macro}{progressbar linewidth}
% Sets the linewidth of the progress bar for sectionpages and frames.
% \begin{macrocode}
\newlength{\moloch@progressonsectionpage}
\newlength{\moloch@progressonsectionpage@linewidth}
\newlength{\moloch@progressinheadfoot}
\newlength{\moloch@progressinheadfoot@linewidth}
\pgfkeys{
/moloch/outer/.cd,
progressbarlinewidth/.code={
\setlength{\moloch@progressonsectionpage@linewidth}{#1}
\setlength{\moloch@progressinheadfoot@linewidth}{#1}
},
progressbarlinewidth/.default=0.4pt,
}
% \end{macrocode}
% \end{macro}
%
% \begin{macro}{progressbar aliases}
% Allows |progressbar linewidth| to be used in |\molochset|.
% \begin{macrocode}
\pgfkeys{
/moloch/outer/.cd,
progressbar linewidth/.code=\pgfkeysalso{progressbarlinewidth=#1},
}
% \end{macrocode}
% \end{macro}
%
% \begin{macro}{\moloch@outer@setdefaults}
% Sets default values for outer theme options.
% \begin{macrocode}
\newcommand{\moloch@outer@setdefaults}{
\pgfkeys{/moloch/outer/.cd,
progressbar=none,
progressbar linewidth=0.4pt,
}
}
% \end{macrocode}%
% \end{macro}
%
% \subsubsection{Deprecated Options}
%
% These options are deprecated and will be removed in a future version.
%
% \begin{macro}{numbering}
% Adds slide numbers to the bottom right of each slide.
% \begin{macrocode}
\pgfkeys{
/moloch/outer/numbering/.cd,
.is choice,
none/.code={%
\PackageWarning{moloch}{The ``numbering'' option is deprecated.
Use beamer's ``page number in head/foot'' template instead}%
\setbeamertemplate{page number in head/foot}[default]
},
counter/.code={%
\PackageWarning{moloch}{The ``numbering'' option is deprecated.
Use beamer's ``page number in head/foot'' template instead}%
\setbeamertemplate{page number in head/foot}[framenumber]
},
fraction/.code={%
\PackageWarning{moloch}{The ``numbering'' option is deprecated.
Use beamer's ``page number in head/foot'' template instead}%
\setbeamertemplate{page number in head/foot}[totalframenumber]
},
}
% \end{macrocode}
% \end{macro}
%
% \subsubsection{Slide Numbering}
%
% Moloch defaults to numbering frames. To modify this, simply copy this line to your
% preamble and replace |appendixframenumber|.
% preamble and replace |framenumber|.
%
% \begin{macrocode}
\setbeamertemplate{page number in head/foot}[appendixframenumber]
% \end{macrocode}
%
% \subsubsection{Notes Page Numbering}
%
% Moloch defaults to numbering notes pages in a format compatible with Pympress.
% This means that presentations using |show notes| (i.e., notes on every other
% slide) work by default.
%
% \begin{macrocode}
\addtobeamertemplate{note page}{}{\thispdfpagelabel{notes:\insertframenumber}}
\setbeamertemplate{page number in head/foot}[framenumber]
% \end{macrocode}
%
% \subsubsection{Head and footline}
@ -234,6 +210,9 @@
% on each page. Much of this code is duplicated in the inner theme's
% template |progress bar in section page|.
% \begin{macrocode}
\newlength{\moloch@progressinheadfoot}
\newlength{\moloch@progressinheadfoot@linewidth}
\setlength{\moloch@progressinheadfoot@linewidth}{0.4pt}
\setbeamertemplate{progress bar in head/foot}{
\nointerlineskip%
\pgfmathsetlength{\moloch@progressinheadfoot}{%

View File

@ -12,7 +12,7 @@
% \iffalse
%<*package>
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{beamerthememoloch}[2025-04-01 v1.0.1 Moloch theme] % x-release-please-version
\ProvidesPackage{beamerthememoloch}[2025-01-17 v0.6.0 Moloch color theme] % x-release-please-version
%</package>
% \fi
% \CheckSum{0}
@ -104,6 +104,19 @@
}
% \end{macrocode}
%
% To avoid generating externalized figures of the progressbar we have to disable
% them with ``tikzexternalenable'' and ``tikzexternaldisable''. However, if the
% ``external'' libray is not loaded we would get undefined control sequence
% problems, hence we define them as no-ops if they are not defined yet.
% We do the same for the ``mmzUnmemoizable'' command from the memoize package, in
% order to avoid memoization of the progress bars.
%
% \begin{macrocode}
\providecommand{\tikzexternalenable}{}
\providecommand{\tikzexternaldisable}{}
\providecommand{\mmzUnmemoizable}{}
% \end{macrocode}
%
% \subsubsection{Component Sub-Packages}
%
% Having processed the options, we can now load the component sub-packages of

View File

@ -2,23 +2,6 @@ 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

View File

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

File diff suppressed because it is too large Load Diff

View File

@ -38,6 +38,9 @@
\end{proof}
\end{frame}
\vfil\break
\END
{
\molochset{titleformat frame=smallcaps}
\begin{frame}{Small caps}
@ -76,15 +79,7 @@
\column{0.33\textwidth}
Items
\begin{itemize}
\item Flour
\begin{itemize}
\item Wheat
\begin{itemize}
\item Whole-grain
\item White
\end{itemize}
\end{itemize}
\item Eggs
\item Milk \item Eggs \item Potatoes
\end{itemize}
\column{0.33\textwidth}
@ -143,6 +138,7 @@
\end{column}
\end{columns}
\end{frame}
\appendix
@ -151,7 +147,8 @@
Here are some backup slides
\end{frame}
\vfil\break
\END
\end{document}
\end{document}

View File

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

File diff suppressed because it is too large Load Diff