From e19f93c40a92ae28f5e7bf26cc48b68675501c89 Mon Sep 17 00:00:00 2001 From: Johan Larsson Date: Fri, 19 Jan 2024 08:59:49 +0100 Subject: [PATCH] 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. --- demo/demo.tex | 64 +------ doc/moloch.tex | 74 +------- src/beamerfontthememoloch.dtx | 273 ---------------------------- src/beamerinnerthememoloch.dtx | 1 - src/beamerouterthememoloch.dtx | 11 +- src/beamerthememoloch.dtx | 60 ------ testfiles/support/molochexample.tex | 34 ---- 7 files changed, 7 insertions(+), 510 deletions(-) diff --git a/demo/demo.tex b/demo/demo.tex index 59b8007..1ee11db 100644 --- a/demo/demo.tex +++ b/demo/demo.tex @@ -1,20 +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] % \molochset{progressbar=foot} \usepackage{booktabs} \usepackage[scale=2]{ccicons} -% \usepackage[medium,light]{FiraSans} -% \usepackage[medium]{FiraMono} \usepackage{lmodern} \usepackage{xspace} @@ -32,7 +29,6 @@ \maketitle \begin{frame}{Table of Contents} - \setbeamertemplate{section in toc}[sections numbered] \tableofcontents[hideallsubsections] \end{frame} @@ -51,61 +47,9 @@ \begin{frame}[fragile]{Sections} Sections group slides of the same topic by introducing a section page between them. A progress bar is shown which indicates how far along in the presentation you are. - \begin{verbatim}\section{Title Formats}\end{verbatim} + \begin{verbatim}\section{Elements}\end{verbatim} \end{frame} -\section{Title Formats} - -\begin{frame}[fragile]{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 - \end{itemize} - - They can either be set globally for every frame or used locally just for the current frame and onwards by using - \begin{verbatim}\molochset{titleformat frame=