diff options
author | Karl Berry <karl@freefriends.org> | 2024-01-24 21:28:23 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2024-01-24 21:28:23 +0000 |
commit | 8e3fc5ee6bbed941086c6bc61571ebbba45b60ad (patch) | |
tree | 448411e05e53a1b6e20638f2cf96a2606d520cb8 /Master/texmf-dist/source/latex/moloch/beamerthememoloch.dtx | |
parent | 806ed9d46866f13de6c1653b37bda72aa1606894 (diff) |
moloch (24jan24)
git-svn-id: svn://tug.org/texlive/trunk@69579 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/moloch/beamerthememoloch.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/moloch/beamerthememoloch.dtx | 108 |
1 files changed, 108 insertions, 0 deletions
diff --git a/Master/texmf-dist/source/latex/moloch/beamerthememoloch.dtx b/Master/texmf-dist/source/latex/moloch/beamerthememoloch.dtx new file mode 100644 index 00000000000..345ed8d1332 --- /dev/null +++ b/Master/texmf-dist/source/latex/moloch/beamerthememoloch.dtx @@ -0,0 +1,108 @@ +% \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/). +% ------------------------------------------------------------------------- \fi +% \iffalse +%<*package> +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{beamerthememoloch}[2024-01-15 v0.1.0 Moloch Beamer theme] % x-release-please-version +%</package> +% \fi +% \CheckSum{0} +% \StopEventually{} +% \iffalse +%<*package> +% ------------------------------------------------------------------------- \fi +% +% \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 +% provides some custom commands and environments for the user. +% +% +% +% \subsubsection{Package dependencies} +% +% \begin{macrocode} +\RequirePackage{pgfopts} +% \end{macrocode} +% +% +% +% \subsubsection{Options} +% +% Most options are passed off to the component sub-packages. +% +% \begin{macrocode} +\pgfkeys{/moloch/.cd, + .search also={ + /moloch/inner, + /moloch/outer, + /moloch/color, + /moloch/font, + } +} +% \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} +% +% Having processed the options, we can now load the component sub-packages of +% the theme. +% +% \begin{macrocode} +\useinnertheme{moloch} +\useoutertheme{moloch} +\usecolortheme{moloch} +\usefonttheme{moloch} +% \end{macrocode} +% +% \subsubsection{Custom commands} +% +% The parent theme defines custom commands as their proper usage may depend +% on multiple sub-packages. +% +% \begin{macro}{\molochset} +% Allows the user to change options midway through a presentation. +% \begin{macrocode} +\newcommand{\molochset}[1]{\pgfkeys{/moloch/.cd,#1}} +% \end{macrocode} +% \end{macro} +% +% +% \begin{macro}{\mreducelistspacing} +% \begin{macrocode} +\newcommand{\mreducelistspacing}{\vspace{-\topsep}} +% \end{macrocode} +% \end{macro} +% +% +% +% \subsubsection{Process package options} +% +% \begin{macrocode} +\ProcessPgfOptions{/moloch} +% \end{macrocode} +% +% \iffalse +%</package> +% \fi +% \Finale +\endinput |