texlive[73490] Master/texmf-dist: moloch (17jan25)
commits+karl at tug.org
commits+karl at tug.org
Fri Jan 17 21:20:05 CET 2025
Revision: 73490
https://tug.org/svn/texlive?view=revision&revision=73490
Author: karl
Date: 2025-01-17 21:20:04 +0100 (Fri, 17 Jan 2025)
Log Message:
-----------
moloch (17jan25)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/moloch/CHANGELOG.md
trunk/Master/texmf-dist/doc/latex/moloch/moloch.pdf
trunk/Master/texmf-dist/doc/latex/moloch/moloch.tex
trunk/Master/texmf-dist/source/latex/moloch/beamercolorthememoloch.dtx
trunk/Master/texmf-dist/source/latex/moloch/beamerfontthememoloch.dtx
trunk/Master/texmf-dist/source/latex/moloch/beamerinnerthememoloch.dtx
trunk/Master/texmf-dist/source/latex/moloch/beamerouterthememoloch.dtx
trunk/Master/texmf-dist/source/latex/moloch/beamerthememoloch.dtx
trunk/Master/texmf-dist/source/latex/moloch/beamerthememoloch.ins
trunk/Master/texmf-dist/tex/latex/moloch/beamercolorthememoloch.sty
trunk/Master/texmf-dist/tex/latex/moloch/beamerfontthememoloch.sty
trunk/Master/texmf-dist/tex/latex/moloch/beamerinnerthememoloch.sty
trunk/Master/texmf-dist/tex/latex/moloch/beamerouterthememoloch.sty
trunk/Master/texmf-dist/tex/latex/moloch/beamerthememoloch.sty
Added Paths:
-----------
trunk/Master/texmf-dist/source/latex/moloch/beamercolorthememoloch-highcontrast.dtx
trunk/Master/texmf-dist/source/latex/moloch/beamercolorthememoloch-tomorrow.dtx
trunk/Master/texmf-dist/tex/latex/moloch/beamercolorthememoloch-highcontrast.sty
trunk/Master/texmf-dist/tex/latex/moloch/beamercolorthememoloch-tomorrow.sty
Modified: trunk/Master/texmf-dist/doc/latex/moloch/CHANGELOG.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/moloch/CHANGELOG.md 2025-01-17 20:19:50 UTC (rev 73489)
+++ trunk/Master/texmf-dist/doc/latex/moloch/CHANGELOG.md 2025-01-17 20:20:04 UTC (rev 73490)
@@ -1,5 +1,23 @@
# Changelog
+## [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)
Modified: trunk/Master/texmf-dist/doc/latex/moloch/moloch.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/moloch/moloch.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/moloch/moloch.tex 2025-01-17 20:19:50 UTC (rev 73489)
+++ trunk/Master/texmf-dist/doc/latex/moloch/moloch.tex 2025-01-17 20:20:04 UTC (rev 73490)
@@ -11,6 +11,9 @@
%% ---------------------------------------------------------------------------
%% Copyright 2024 Johan Larsson and contributors
%% ---------------------------------------------------------------------------
+\PassOptionsToPackage{unicode,pdfusetitle}{hyperref}
+\PassOptionsToPackage{hyphens}{xurl}
+\PassOptionsToPackage{dvipsnames}{xcolor}
\documentclass{ltxdoc}
@@ -18,8 +21,11 @@
\usepackage{setspace}
\usepackage{xspace}
\usepackage{xurl}
-\onehalfspacing
+\usepackage{lmodern}
+\usepackage{microtype}
+\UseMicrotypeSet[protrusion]{basicmath} % disable protrusion for tt fonts
+
\usepackage{enumitem}
\setlist[itemize]{noitemsep}
\setlist[enumerate]{noitemsep}
@@ -35,8 +41,8 @@
\lstset{%
language=[LaTeX]{TeX},
basicstyle=\ttfamily,
- keywordstyle=\color{mLightBrown}\bfseries,
- commentstyle=\color{mLightGreen},
+ keywordstyle=\color{MidnightBlue}\bfseries,
+ commentstyle=\color{Periwinkle},
stringstyle=\color{mLightGreen},
backgroundcolor=\color{mBackground},
numbers=none,
@@ -58,22 +64,27 @@
xrightmargin=0em,
aboveskip=1em,
belowskip=1em,
- morekeywords={usetheme,institute,maketitle, at moloch@titleformat,%
- plain,setbeamercolor,molochset,setsansfont,setmonofont},
+ morekeywords={
+ usetheme,
+ institute,
+ maketitle,
+ @moloch at titleformat,
+ %plain,
+ setbeamercolor,
+ molochset,
+ setsansfont,
+ setmonofont
+ },
}
\lstMakeShortInline|
\usepackage{metalogo}
-\usepackage[colorlinks=true,
- linkcolor=mLightBrown,
- menucolor=mLightBrown,
- pagecolor=mLightBrown,
- urlcolor=mLightBrown]{hyperref}
+\usepackage[colorlinks=true,linkcolor=MidnightBlue,urlcolor=MidnightBlue]{hyperref}
\newcommand{\DescribeOption}[4]{
\DescribeMacro{#1}
\begin{minipage}[t]{\textwidth}
- \textit{\textbf{\textcolor{mLightGreen}{#2}}}\dotfill\,#3\par
+ \textit{\textbf{\textcolor{JungleGreen}{#2}}}\dotfill\,#3\par
\begingroup
\vspace{0.5em}#4\par
\endgroup
@@ -82,12 +93,11 @@
\newcommand{\themename}{\textsf{moloch}\xspace}
-\def\molochversion{0.5.0} % x-release-please-version
+\def\molochversion{0.6.0} % x-release-please-version
\usepackage{readprov}
-% \ReadPackageInfos{beamerthememoloch}
-\title{The \themename package (v\molochversion)}
+\title{The \themename Package (v\molochversion)}
\author{Johan Larsson \and Matthias Vogelgesang\footnote{Matthias wrote the original version of this manual for the Metropolis theme, which has since been modified by Johan Larsson.}}
\date{\today}
@@ -94,12 +104,13 @@
\begin{document}
\maketitle
+
+\hypersetup{linkcolor=black}
\tableofcontents
+\hypersetup{linkcolor=MidnightBlue}
-
\section{Introduction}
-
Beamer is a great way to make presentations with LaTeX, but its theme
selection is surprisingly sparse. The stock themes share an aesthetic that can
be a little cluttered, while the few distinctive custom themes available are
@@ -179,7 +190,6 @@
\end{document}
\end{lstlisting}
-
\subsection{Dependencies}
\themename depends on the |beamer| class and the following standard packages:
@@ -201,10 +211,9 @@
$ pandoc -t beamer -V theme:moloch -o output.pdf input.md
\end{lstlisting}
-
\section{Customization}
-\subsection{Package options}
+\subsection{Package Options}
The theme provides a number of options, which can be set using a key=value
interface. The primary way to set options is to provide a comma-separated list
@@ -225,9 +234,8 @@
A short description of the option.
}
+\subsubsection{Main Theme}
-\subsubsection{Main theme}
-
\DescribeOption{titleformat}%
{regular, smallcaps, allsmallcaps, allcaps}
{regular}{
@@ -245,9 +253,8 @@
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
progress bar below the section title (|progressbar|). The |none| option
@@ -263,8 +270,16 @@
on the section structure of your presentation.
}
+\DescribeOption{standoutnumbering}{none, hide, show}{none}{
+ This option decides whether or not to count standout pages as
+ frames if frame counting. Option |none| (the default) means that
+ the standout frames are not counted. |hide| means that they are
+ counted but that there won't be any footer showing a frame number.
+ |show| means that they are counted and that the frame number
+ count is shown in the same fashion as for regular frames.
+}
-\subsubsection{Outer theme}
+\subsubsection{Outer Theme}
\DescribeOption{numbering}{none, counter, fraction}{}{
\emph{This option is deprecated and will be removed in a future version.
@@ -280,7 +295,7 @@
(|frametitle|).
}
-\subsubsection{Color theme}
+\subsubsection{Color Theme}
\DescribeOption{block}{transparent, fill}{transparent}{
Optionally adds a light grey background to block environments like |theorem|
@@ -292,9 +307,8 @@
of the reverse.
}
+\subsubsection{Font Theme}
-\subsubsection{Font theme}
-
\DescribeMacro{titleformat title}
\DescribeMacro{titleformat subtitle}
\DescribeMacro{titleformat section}
@@ -305,7 +319,6 @@
frame titles (see |titleformat|, above).
}
-
\subsection{Color Customization}
The included \themename color theme is used by default, but its colors can be
@@ -333,6 +346,8 @@
\setbeamercolor{progress bar in section page}{ ... }
\end{lstlisting}
+\subsubsection{Themes}
+
For low-light situations \themename it might be helpful to use the
|moloch-highcontrast| color theme. It is enabled like any other color theme:
@@ -340,10 +355,17 @@
\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
@@ -365,11 +387,11 @@
by default when \themename is compiled with pdf\LaTeX, does not have a
small-caps variant.
-Note that title format options |allsmallcaps| and |allcaps| do not
-affect the sizes of numerals, punctuation, and math symbol, and are
+Note that title format options |allsmallcaps| and |allcaps| do not
+affect the sizes of numerals, punctuation, and math symbol, and are
probably best avoided if your titles contain these characters.
-\subsection{Interactions with other color themes}
+\subsection{Interactions with Other Color Themes}
\themename can be used along with any other Beamer color theme, such as
|crane| or |seahorse|. If you wish to do this, it is usually best to include
@@ -377,11 +399,11 @@
never loaded. This will prevent conflicts between the \themename color theme
and your preferred theme.
-For example, overriding the color theme as follows may not work as expected because |\usetheme{moloch}| loads the \themename color theme, which
-defines a relationship between the frametitle background and the primary
-palette of the theme. Since |seahorse| assumes a different relationship
-between its palettes, the result is a grey, rather than periwinkle,
-frametitle background.
+For example, overriding the color theme as follows may not work as expected
+because |\usetheme{moloch}| loads the \themename color theme, which defines a
+relationship between the frametitle background and the primary palette of the
+theme. Since |seahorse| assumes a different relationship between its palettes,
+the result is a grey, rather than periwinkle, frametitle background.
\begin{lstlisting}
\usetheme{moloch}
@@ -403,9 +425,8 @@
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
be rendered in white instead of the regular colour. This is due to
@@ -418,15 +439,14 @@
\makeatletter
\def\beamer at framenotesbegin{% at beginning of slide
\usebeamercolor[fg]{normal text}
- \gdef\beamer at noteitems{}%
- \gdef\beamer at notes{}%
+ \gdef\beamer at noteitems{}%
+ \gdef\beamer at 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
local to the group. In other words, the following may result in a ``label undefined'' error.
@@ -441,7 +461,7 @@
\begin{lstlisting}
\begin{frame}[label=conclusion, standout]{Conclusion}
- Awesome slide
+ Awesome slide
\end{frame}
\end{lstlisting}
@@ -457,14 +477,12 @@
:END:
\end{lstlisting}
+\subsection{Standout Frames with Pandoc}
-\subsection{Standout frames with Pandoc}
-
With Pandoc versions prior to 1.17.2 it was not possible to create standout frames
because Pandoc only supported a specific list of frame attributes thus ignoring
additional attributes such as |{.standout}|.
-
\section{License}
\themename is licensed under a
@@ -474,7 +492,6 @@
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}
Added: trunk/Master/texmf-dist/source/latex/moloch/beamercolorthememoloch-highcontrast.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/moloch/beamercolorthememoloch-highcontrast.dtx (rev 0)
+++ trunk/Master/texmf-dist/source/latex/moloch/beamercolorthememoloch-highcontrast.dtx 2025-01-17 20:20:04 UTC (rev 73490)
@@ -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-01-17 v0.5.0 Moloch 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
Property changes on: trunk/Master/texmf-dist/source/latex/moloch/beamercolorthememoloch-highcontrast.dtx
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/source/latex/moloch/beamercolorthememoloch-tomorrow.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/moloch/beamercolorthememoloch-tomorrow.dtx (rev 0)
+++ trunk/Master/texmf-dist/source/latex/moloch/beamercolorthememoloch-tomorrow.dtx 2025-01-17 20:20:04 UTC (rev 73490)
@@ -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-01-17 v0.5.0 Moloch 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
Property changes on: trunk/Master/texmf-dist/source/latex/moloch/beamercolorthememoloch-tomorrow.dtx
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/texmf-dist/source/latex/moloch/beamercolorthememoloch.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/moloch/beamercolorthememoloch.dtx 2025-01-17 20:19:50 UTC (rev 73489)
+++ trunk/Master/texmf-dist/source/latex/moloch/beamercolorthememoloch.dtx 2025-01-17 20:20:04 UTC (rev 73490)
@@ -14,7 +14,7 @@
% \iffalse
%<*package>
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{beamercolorthememoloch}[2024-10-30 v0.5.0 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}
@@ -23,11 +23,11 @@
%<*package>
% ------------------------------------------------------------------------- \fi
%
-% \subsection{\themename color theme}
+% \subsection{\themename Color Theme}
%
%
%
-% \subsubsection{Package dependencies}
+% \subsubsection{Package Dependencies}
% \begin{macrocode}
\RequirePackage{pgfopts}
% \end{macrocode}
@@ -75,7 +75,7 @@
%
%
%
-% \subsubsection{Base colors}
+% \subsubsection{Base Colors}
%
% \begin{macrocode}
\definecolor{mDarkBrown}{HTML}{604c38}
@@ -86,7 +86,7 @@
%
%
%
-% \subsubsection{Base styles}
+% \subsubsection{Base Styles}
%
% All colors in \themename are derived from the definitions of |normal text|,
% |alerted text|, and |example text|.
@@ -115,7 +115,7 @@
%
%
%
-% \subsubsection{Derived colors}
+% \subsubsection{Derived Colors}
%
% The titles and structural elements (e.g. |itemize| bullets) are set in the
% same color as |normal text|. This would ideally done by setting |normal text|
@@ -127,7 +127,8 @@
\setbeamercolor{titlelike}{use=normal text, parent=normal text}
\setbeamercolor{author}{use=normal text, parent=normal text}
\setbeamercolor{date}{use=normal text, parent=normal text}
-\setbeamercolor{institute}{use=normal text, fg=normal text.fg!80!normal text.bg}
+\setbeamercolor{institute}{%
+ use=normal text, fg=normal text.fg!80!normal text.bg}
\setbeamercolor{structure}{use=normal text, fg=normal text.fg}
% \end{macrocode}
%
@@ -237,7 +238,7 @@
%
%
%
-% \subsubsection{Process package options}
+% \subsubsection{Process Package Options}
%
% \begin{macrocode}
\moloch at color@setdefaults
Modified: trunk/Master/texmf-dist/source/latex/moloch/beamerfontthememoloch.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/moloch/beamerfontthememoloch.dtx 2025-01-17 20:19:50 UTC (rev 73489)
+++ trunk/Master/texmf-dist/source/latex/moloch/beamerfontthememoloch.dtx 2025-01-17 20:20:04 UTC (rev 73490)
@@ -14,7 +14,7 @@
% \iffalse
%<*package>
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{beamerfontthememoloch}[2024-10-30 v0.5.0 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}
@@ -76,8 +76,8 @@
\let\moloch at 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 at titleformat\uppercase%
@@ -108,15 +108,15 @@
\let\moloch at 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 at subtitleformat\MakeUppercase%
\setbeamerfont{subtitle}{shape=\normalfont}%
\PackageNote{beamerthememoloch}{%
- Be aware that titleformat subtitle=allcaps can lead to problems%
- }
+ Be aware that titleformat subtitle=allcaps can
+ lead to problems}
},
}
% \end{macrocode}
@@ -140,15 +140,15 @@
\let\moloch at 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 at sectiontitleformat\MakeUppercase%
\setbeamerfont{section title}{shape=\normalfont}%
\PackageNote{beamerthememoloch}{%
- Be aware that titleformat section=allcaps can lead to problems%
- }
+ Be aware that titleformat section=allcaps
+ can lead to problems}
},
}
% \end{macrocode}
@@ -172,8 +172,8 @@
\let\moloch at 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 at frametitleformat\MakeUppercase%
Modified: trunk/Master/texmf-dist/source/latex/moloch/beamerinnerthememoloch.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/moloch/beamerinnerthememoloch.dtx 2025-01-17 20:19:50 UTC (rev 73489)
+++ trunk/Master/texmf-dist/source/latex/moloch/beamerinnerthememoloch.dtx 2025-01-17 20:20:04 UTC (rev 73490)
@@ -14,7 +14,7 @@
% \iffalse
%<*package>
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{beamerinnerthememoloch}[2024-10-30 v0.5.0 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}
@@ -23,7 +23,7 @@
%<*package>
% ------------------------------------------------------------------------- \fi
%
-% \subsection{\themename inner theme}
+% \subsection{\themename Inner Theme}
%
% A |beamer| inner theme dictates the style of the frame elements traditionally
% set in the ``body'' of each slide. These include:
@@ -38,7 +38,7 @@
%
%
%
-% \subsubsection{Package dependencies}
+% \subsubsection{Package Dependencies}
%
% \begin{macrocode}
\RequirePackage{keyval}
@@ -89,6 +89,34 @@
% \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 at enableStandoutFooter}
+\providebool{moloch at enableStandoutNumbering}
+\pgfkeys{
+ /moloch/inner/standoutnumbering/.cd,
+ .is choice,
+ none/.code={
+ \boolfalse{moloch at enableStandoutNumbering}
+ \boolfalse{moloch at enableStandoutFooter}
+ },
+ show/.code={
+ \booltrue{moloch at enableStandoutNumbering}
+ \booltrue{moloch at enableStandoutFooter}
+ },
+ hide/.code={
+ \booltrue{moloch at enableStandoutNumbering}
+ \boolfalse{moloch at enableStandoutFooter}
+ }
+}
+% \end{macrocode}
+% \end{macro}
+%
% \begin{macro}{\moloch at inner@setdefaults}
% Set default values for inner theme options.
% \begin{macrocode}
@@ -95,7 +123,8 @@
\newcommand{\moloch at inner@setdefaults}{
\pgfkeys{/moloch/inner/.cd,
sectionpage=progressbar,
- subsectionpage=none
+ subsectionpage=none,
+ standoutnumbering=none
}
}
% \end{macrocode}
@@ -103,7 +132,7 @@
%
%
%
-% \subsubsection{Title page}
+% \subsubsection{Title Page}
%
% \begin{macro}{title page}
% Template for the title page. Each element is only typset if it is defined
@@ -111,8 +140,9 @@
% space on the title slide.
% \begin{macrocode}
\setbeamertemplate{title page}{
- \begin{minipage}[b][\paperheight]{\textwidth}
+ \begin{minipage}[c][\textheight]{\textwidth}
\null%
+ \vspace{0pt plus 1.618fil}%
\vfil%
\ifx\inserttitlegraphic\@empty\else\usebeamertemplate*{title graphic}\fi
\ifx\inserttitle\@empty\else\usebeamertemplate*{title}\fi
@@ -123,7 +153,7 @@
}
\ifx\insertinstitute\@empty\else\usebeamertemplate*{institute}\fi
\ifx\insertdate\@empty\else\usebeamertemplate*{date}\fi
- \vfil%
+ \vspace{0pt plus 1fil}%
\null
\end{minipage}%
}
@@ -247,9 +277,9 @@
% \end{macro}
%
%
-% \subsubsection{Section page}
+% \subsubsection{Section Page}
%
-% \begin{macro}{section page}
+% \begin{macro}{section Page}
%
% Template for the section title slide at the beginning of each section.
%
@@ -259,12 +289,14 @@
\usebeamercolor[fg]{section title}
\usebeamerfont{section title}
\moloch at sectiontitleformat{\insertsectionhead}\par
- \ifx\insertsubsectionhead\@empty\else
- \usebeamercolor[fg]{subsection title}
- \usebeamerfont{subsection title}
- \insertsubsectionhead
+ \usebeamercolor[fg]{subsection title}%
+ \usebeamerfont{subsection title}%
+ \strut%
+ \ifx\insertsubsectionhead\@empty\else%
+ \insertsubsectionhead%
\fi
\end{center}
+ \vspace{\baselineskip - 1ex + 0.4pt}
}
\defbeamertemplate{section page}{progressbar}{
\centering
@@ -272,17 +304,17 @@
\raggedright
\usebeamercolor[fg]{section title}
\usebeamerfont{section title}
- \moloch at sectiontitleformat{\insertsectionhead}\\[-1ex]
+ \moloch at 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 at disablesectionpage}{
\AtBeginSection{
@@ -351,13 +383,14 @@
\fill[fg]
(0,0)
rectangle
- (\moloch at progressonsectionpage, \moloch at progressonsectionpage@linewidth);
+ (\moloch at progressonsectionpage,
+ \moloch at progressonsectionpage@linewidth);
\end{tikzpicture}%
\tikzexternalenable%
}
% \end{macrocode}
%
-% The above code assumes that |\insertframenumber| is less than or equal to
+% The code above assumes that |\insertframenumber| is less than or equal to
% |\inserttotalframenumber|. However, this is not true on the first compile;
% in the absence of an |.aux| file, |\inserttotalframenumber| defaults to 1.
% This behaviour could cause fatal errors for long presentations, as
@@ -372,7 +405,7 @@
% \end{macrocode}
% \end{macro}
%
-% \subsubsection{Lists and floats}
+% \subsubsection{Lists and Floats}
%
% \begin{macrocode}
\setbeamertemplate{itemize item}{\(\bullet\)}
@@ -395,7 +428,7 @@
%
%
%
-% \subsubsection{Text and spacing settings}
+% \subsubsection{Text and Spacing Settings}
%
%
% By default, Beamer frames offer the |c| option to \textit{almost} vertically
@@ -417,7 +450,7 @@
%
%
%
-% \subsubsection{Standout frames}
+% \subsubsection{Standout Frames}
%
% \themename offers a custom frame format with large, centered text and an
% inverted background. To use it, add the key |standout| to the frame:
@@ -437,7 +470,8 @@
\booltrue{moloch at standout}
\begingroup
\setkeys{beamerframe}{c}
- \setkeys{beamerframe}{noframenumbering}
+ \ifbool{moloch at enableStandoutNumbering}{}{%
+ \setkeys{beamerframe}{noframenumbering}}
\ifbeamercolorempty[bg]{palette primary}{
\setbeamercolor{background canvas}{
use=palette primary,
@@ -453,6 +487,11 @@
fg=palette primary.fg
}
\usebeamercolor[fg]{palette primary}
+ \setbeamercolor{page number in head/foot}{
+ use=palette primary,
+ fg=palette primary.fg
+ }
+ \ifbool{moloch at enableStandoutFooter}{}{\setbeamertemplate{footline}{}}
}
% \end{macrocode}
%
@@ -486,7 +525,7 @@
% \end{macrocode}
% \end{macro}
%
-% \subsubsection{Process package options}
+% \subsubsection{Process Package Options}
%
% \begin{macrocode}
\moloch at inner@setdefaults
Modified: trunk/Master/texmf-dist/source/latex/moloch/beamerouterthememoloch.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/moloch/beamerouterthememoloch.dtx 2025-01-17 20:19:50 UTC (rev 73489)
+++ trunk/Master/texmf-dist/source/latex/moloch/beamerouterthememoloch.dtx 2025-01-17 20:20:04 UTC (rev 73490)
@@ -14,7 +14,7 @@
% \iffalse
%<*package>
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{beamerouterthememoloch}[2024-10-30 v0.5.0 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}
@@ -171,7 +171,9 @@
}
\newcommand{\moloch at frametitlestrut@end}{%
- \vphantom{\rule[-\moloch at frametitle@padding]{0pt}{\moloch at frametitle@padding}}
+ \vphantom{%
+ \rule[-\moloch at frametitle@padding]{0pt}{\moloch at frametitle@padding}%
+ }
}
\defbeamertemplate{frametitle}{plain}{%
\nointerlineskip%
@@ -198,7 +200,8 @@
\moloch at frametitlestrut@end%
\end{beamercolorbox}%
}
-\setbeamertemplate{frametitle continuation}{\romannumeral\insertcontinuationcount}
+\setbeamertemplate{frametitle continuation}{%
+ \romannumeral\insertcontinuationcount}
% \end{macrocode}
% \end{macro}
%
Modified: trunk/Master/texmf-dist/source/latex/moloch/beamerthememoloch.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/moloch/beamerthememoloch.dtx 2025-01-17 20:19:50 UTC (rev 73489)
+++ trunk/Master/texmf-dist/source/latex/moloch/beamerthememoloch.dtx 2025-01-17 20:20:04 UTC (rev 73490)
@@ -12,7 +12,7 @@
% \iffalse
%<*package>
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{beamerthememoloch}[2024-10-30 v0.5.0 Moloch Beamer theme] % x-release-please-version
+\ProvidesPackage{beamerthememoloch}[2025-01-17 v0.6.0 Moloch color theme] % x-release-please-version
%</package>
% \fi
% \CheckSum{0}
@@ -21,7 +21,7 @@
%<*package>
% ------------------------------------------------------------------------- \fi
%
-% \subsection{\themename parent theme}
+% \subsection{\themename Parent Theme}
%
% The primary job of this package is to load the component sub-packages of the
% \themename theme and route the theme options accordingly. It also
@@ -29,7 +29,7 @@
%
%
%
-% \subsubsection{Package dependencies}
+% \subsubsection{Package Dependencies}
%
% \begin{macrocode}
\RequirePackage{pgfopts}
@@ -117,7 +117,7 @@
\providecommand{\mmzUnmemoizable}{}
% \end{macrocode}
%
-% \subsubsection{Component sub-packages}
+% \subsubsection{Component Sub-Packages}
%
% Having processed the options, we can now load the component sub-packages of
% the theme.
@@ -129,7 +129,7 @@
\usefonttheme{moloch}
% \end{macrocode}
%
-% \subsubsection{Custom commands}
+% \subsubsection{Custom Commands}
%
% The parent theme defines custom commands as their proper usage may depend
% on multiple sub-packages.
@@ -150,7 +150,7 @@
%
%
%
-% \subsubsection{Process package options}
+% \subsubsection{Process Package Options}
%
% \begin{macrocode}
\moloch at setdefaults
Modified: trunk/Master/texmf-dist/source/latex/moloch/beamerthememoloch.ins
===================================================================
--- trunk/Master/texmf-dist/source/latex/moloch/beamerthememoloch.ins 2025-01-17 20:19:50 UTC (rev 73489)
+++ trunk/Master/texmf-dist/source/latex/moloch/beamerthememoloch.ins 2025-01-17 20:20:04 UTC (rev 73490)
@@ -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
Added: trunk/Master/texmf-dist/tex/latex/moloch/beamercolorthememoloch-highcontrast.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/moloch/beamercolorthememoloch-highcontrast.sty (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/moloch/beamercolorthememoloch-highcontrast.sty 2025-01-17 20:20:04 UTC (rev 73490)
@@ -0,0 +1,45 @@
+%%
+%% This is file `beamercolorthememoloch-highcontrast.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% beamercolorthememoloch-highcontrast.dtx (with options: `package')
+%%
+%% IMPORTANT NOTICE:
+%%
+%% For the copyright see the source file.
+%%
+%% Any modified versions of this file must be renamed
+%% with new filenames distinct from beamercolorthememoloch-highcontrast.sty.
+%%
+%% For distribution of the original source see the terms
+%% for copying and modification in the file beamercolorthememoloch-highcontrast.dtx.
+%%
+%% This generated file may be distributed as long as the
+%% original source files, as listed above, are part of the
+%% same distribution. (The sources need not necessarily be
+%% in the same archive or directory.)
+%% ---------------------------------------------------------------------------
+%% Copyright 2025 Johan Larsson and contributors
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{beamercolorthememoloch-highcontrast}[2025-01-17 v0.5.0 Moloch color theme] % x-release-please-version
+\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,
+}
+\mode<all>
+\endinput
+%%
+%% End of file `beamercolorthememoloch-highcontrast.sty'.
Property changes on: trunk/Master/texmf-dist/tex/latex/moloch/beamercolorthememoloch-highcontrast.sty
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/tex/latex/moloch/beamercolorthememoloch-tomorrow.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/moloch/beamercolorthememoloch-tomorrow.sty (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/moloch/beamercolorthememoloch-tomorrow.sty 2025-01-17 20:20:04 UTC (rev 73490)
@@ -0,0 +1,46 @@
+%%
+%% This is file `beamercolorthememoloch-tomorrow.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% beamercolorthememoloch-tomorrow.dtx (with options: `package')
+%%
+%% IMPORTANT NOTICE:
+%%
+%% For the copyright see the source file.
+%%
+%% Any modified versions of this file must be renamed
+%% with new filenames distinct from beamercolorthememoloch-tomorrow.sty.
+%%
+%% For distribution of the original source see the terms
+%% for copying and modification in the file beamercolorthememoloch-tomorrow.dtx.
+%%
+%% This generated file may be distributed as long as the
+%% original source files, as listed above, are part of the
+%% same distribution. (The sources need not necessarily be
+%% in the same archive or directory.)
+%% ---------------------------------------------------------------------------
+%% Copyright 2024 Johan Larsson and contributors
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{beamercolorthememoloch-tomorrow}[2025-01-17 v0.5.0 Moloch color theme] % x-release-please-version
+\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}
+
+\mode<all>
+\endinput
+%%
+%% End of file `beamercolorthememoloch-tomorrow.sty'.
Property changes on: trunk/Master/texmf-dist/tex/latex/moloch/beamercolorthememoloch-tomorrow.sty
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/texmf-dist/tex/latex/moloch/beamercolorthememoloch.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/moloch/beamercolorthememoloch.sty 2025-01-17 20:19:50 UTC (rev 73489)
+++ trunk/Master/texmf-dist/tex/latex/moloch/beamercolorthememoloch.sty 2025-01-17 20:20:04 UTC (rev 73490)
@@ -23,7 +23,7 @@
%% ---------------------------------------------------------------------------
%% Copyright 2024 Johan Larsson and contributors
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{beamercolorthememoloch}[2024-10-30 v0.5.0 Moloch color theme] % x-release-please-version
+\ProvidesPackage{beamercolorthememoloch}[2025-01-17 v0.6.0 Moloch color theme] % x-release-please-version
\RequirePackage{pgfopts}
\pgfkeys{
/moloch/color/block/.cd,
@@ -68,7 +68,8 @@
\setbeamercolor{titlelike}{use=normal text, parent=normal text}
\setbeamercolor{author}{use=normal text, parent=normal text}
\setbeamercolor{date}{use=normal text, parent=normal text}
-\setbeamercolor{institute}{use=normal text, fg=normal text.fg!80!normal text.bg}
+\setbeamercolor{institute}{%
+ use=normal text, fg=normal text.fg!80!normal text.bg}
\setbeamercolor{structure}{use=normal text, fg=normal text.fg}
\setbeamercolor{palette primary}{%
use=normal text,
Modified: trunk/Master/texmf-dist/tex/latex/moloch/beamerfontthememoloch.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/moloch/beamerfontthememoloch.sty 2025-01-17 20:19:50 UTC (rev 73489)
+++ trunk/Master/texmf-dist/tex/latex/moloch/beamerfontthememoloch.sty 2025-01-17 20:20:04 UTC (rev 73490)
@@ -23,7 +23,7 @@
%% ---------------------------------------------------------------------------
%% Copyright 2024 Johan Larsson and contributors
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{beamerfontthememoloch}[2024-10-30 v0.5.0 Moloch font theme] % x-release-please-version
+\ProvidesPackage{beamerfontthememoloch}[2025-01-17 v0.6.0 Moloch color theme] % x-release-please-version
\RequirePackage{etoolbox}
\RequirePackage{pgfopts}
\setbeamerfont{title}{size=\Large, series=\bfseries}
@@ -54,8 +54,8 @@
\let\moloch at 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 at titleformat\uppercase%
@@ -80,15 +80,15 @@
\let\moloch at 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 at 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}
},
}
\pgfkeys{
@@ -106,15 +106,15 @@
\let\moloch at 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 at 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}
},
}
\pgfkeys{
@@ -132,8 +132,8 @@
\let\moloch at 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 at frametitleformat\MakeUppercase%
Modified: trunk/Master/texmf-dist/tex/latex/moloch/beamerinnerthememoloch.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/moloch/beamerinnerthememoloch.sty 2025-01-17 20:19:50 UTC (rev 73489)
+++ trunk/Master/texmf-dist/tex/latex/moloch/beamerinnerthememoloch.sty 2025-01-17 20:20:04 UTC (rev 73490)
@@ -23,7 +23,7 @@
%% ---------------------------------------------------------------------------
%% Copyright 2024 Johan Larsson and contributors
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{beamerinnerthememoloch}[2024-10-30 v0.5.0 Moloch inner theme] % x-release-please-version
+\ProvidesPackage{beamerinnerthememoloch}[2025-01-17 v0.6.0 Moloch color theme] % x-release-please-version
\RequirePackage{keyval}
\RequirePackage{calc}
\RequirePackage{pgfopts}
@@ -54,15 +54,35 @@
\setbeamertemplate{section page}[progressbar]%
},
}
+\providebool{moloch at enableStandoutFooter}
+\providebool{moloch at enableStandoutNumbering}
+\pgfkeys{
+ /moloch/inner/standoutnumbering/.cd,
+ .is choice,
+ none/.code={
+ \boolfalse{moloch at enableStandoutNumbering}
+ \boolfalse{moloch at enableStandoutFooter}
+ },
+ show/.code={
+ \booltrue{moloch at enableStandoutNumbering}
+ \booltrue{moloch at enableStandoutFooter}
+ },
+ hide/.code={
+ \booltrue{moloch at enableStandoutNumbering}
+ \boolfalse{moloch at enableStandoutFooter}
+ }
+}
\newcommand{\moloch at inner@setdefaults}{
\pgfkeys{/moloch/inner/.cd,
sectionpage=progressbar,
- subsectionpage=none
+ subsectionpage=none,
+ standoutnumbering=none
}
}
\setbeamertemplate{title page}{
- \begin{minipage}[b][\paperheight]{\textwidth}
+ \begin{minipage}[c][\textheight]{\textwidth}
\null%
+ \vspace{0pt plus 1.618fil}%
\vfil%
\ifx\inserttitlegraphic\@empty\else\usebeamertemplate*{title graphic}\fi
\ifx\inserttitle\@empty\else\usebeamertemplate*{title}\fi
@@ -73,7 +93,7 @@
}
\ifx\insertinstitute\@empty\else\usebeamertemplate*{institute}\fi
\ifx\insertdate\@empty\else\usebeamertemplate*{date}\fi
- \vfil%
+ \vspace{0pt plus 1fil}%
\null
\end{minipage}%
}
@@ -137,12 +157,14 @@
\usebeamercolor[fg]{section title}
\usebeamerfont{section title}
\moloch at sectiontitleformat{\insertsectionhead}\par
- \ifx\insertsubsectionhead\@empty\else
- \usebeamercolor[fg]{subsection title}
- \usebeamerfont{subsection title}
- \insertsubsectionhead
+ \usebeamercolor[fg]{subsection title}%
+ \usebeamerfont{subsection title}%
+ \strut%
+ \ifx\insertsubsectionhead\@empty\else%
+ \insertsubsectionhead%
\fi
\end{center}
+ \vspace{\baselineskip - 1ex + 0.4pt}
}
\defbeamertemplate{section page}{progressbar}{
\centering
@@ -150,17 +172,17 @@
\raggedright
\usebeamercolor[fg]{section title}
\usebeamerfont{section title}
- \moloch at sectiontitleformat{\insertsectionhead}\\[-1ex]
+ \moloch at 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 at disablesectionpage}{
\AtBeginSection{
@@ -210,7 +232,8 @@
\fill[fg]
(0,0)
rectangle
- (\moloch at progressonsectionpage, \moloch at progressonsectionpage@linewidth);
+ (\moloch at progressonsectionpage,
+ \moloch at progressonsectionpage@linewidth);
\end{tikzpicture}%
\tikzexternalenable%
}
@@ -237,7 +260,8 @@
\booltrue{moloch at standout}
\begingroup
\setkeys{beamerframe}{c}
- \setkeys{beamerframe}{noframenumbering}
+ \ifbool{moloch at enableStandoutNumbering}{}{%
+ \setkeys{beamerframe}{noframenumbering}}
\ifbeamercolorempty[bg]{palette primary}{
\setbeamercolor{background canvas}{
use=palette primary,
@@ -253,6 +277,11 @@
fg=palette primary.fg
}
\usebeamercolor[fg]{palette primary}
+ \setbeamercolor{page number in head/foot}{
+ use=palette primary,
+ fg=palette primary.fg
+ }
+ \ifbool{moloch at enableStandoutFooter}{}{\setbeamertemplate{footline}{}}
}
\pretocmd{\beamer at reseteecodes}{%
\ifbool{moloch at standout}{
Modified: trunk/Master/texmf-dist/tex/latex/moloch/beamerouterthememoloch.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/moloch/beamerouterthememoloch.sty 2025-01-17 20:19:50 UTC (rev 73489)
+++ trunk/Master/texmf-dist/tex/latex/moloch/beamerouterthememoloch.sty 2025-01-17 20:20:04 UTC (rev 73490)
@@ -23,7 +23,7 @@
%% ---------------------------------------------------------------------------
%% Copyright 2024 Johan Larsson and contributors
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{beamerouterthememoloch}[2024-10-30 v0.5.0 Moloch outer theme] % x-release-please-version
+\ProvidesPackage{beamerouterthememoloch}[2025-01-17 v0.6.0 Moloch color theme] % x-release-please-version
\RequirePackage{calc}
\RequirePackage{pgfopts}
\pgfkeys{
@@ -101,7 +101,9 @@
}
\newcommand{\moloch at frametitlestrut@end}{%
- \vphantom{\rule[-\moloch at frametitle@padding]{0pt}{\moloch at frametitle@padding}}
+ \vphantom{%
+ \rule[-\moloch at frametitle@padding]{0pt}{\moloch at frametitle@padding}%
+ }
}
\defbeamertemplate{frametitle}{plain}{%
\nointerlineskip%
@@ -128,7 +130,8 @@
\moloch at frametitlestrut@end%
\end{beamercolorbox}%
}
-\setbeamertemplate{frametitle continuation}{\romannumeral\insertcontinuationcount}
+\setbeamertemplate{frametitle continuation}{%
+ \romannumeral\insertcontinuationcount}
\newlength{\moloch at progressinheadfoot}
\newlength{\moloch at progressinheadfoot@linewidth}
\setlength{\moloch at progressinheadfoot@linewidth}{0.4pt}
Modified: trunk/Master/texmf-dist/tex/latex/moloch/beamerthememoloch.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/moloch/beamerthememoloch.sty 2025-01-17 20:19:50 UTC (rev 73489)
+++ trunk/Master/texmf-dist/tex/latex/moloch/beamerthememoloch.sty 2025-01-17 20:20:04 UTC (rev 73490)
@@ -21,7 +21,7 @@
%% same distribution. (The sources need not necessarily be
%% in the same archive or directory.)
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{beamerthememoloch}[2024-10-30 v0.5.0 Moloch Beamer theme] % x-release-please-version
+\ProvidesPackage{beamerthememoloch}[2025-01-17 v0.6.0 Moloch color theme] % x-release-please-version
\RequirePackage{pgfopts}
\pgfkeys{/moloch/.cd,
.search also={
More information about the tex-live-commits
mailing list.