feat!: rename theme to moloch
This commit is contained in:
parent
2fa6084b9d
commit
c7c32a2a61
|
@ -39,5 +39,5 @@
|
||||||
# Output
|
# Output
|
||||||
|
|
||||||
*.sty
|
*.sty
|
||||||
doc/metropolistheme.pdf
|
doc/molochtheme.pdf
|
||||||
demo/demo.pdf
|
demo/demo.pdf
|
||||||
|
|
12
Makefile
12
Makefile
|
@ -1,17 +1,17 @@
|
||||||
MAKEFLAGS := -j 1
|
MAKEFLAGS := -j 1
|
||||||
INS = source/beamerthememetropolis.ins
|
INS = source/beamerthememoloch.ins
|
||||||
PACKAGE_SRC = $(wildcard source/*.dtx)
|
PACKAGE_SRC = $(wildcard source/*.dtx)
|
||||||
PACKAGE_STY = $(notdir $(PACKAGE_SRC:%.dtx=%.sty))
|
PACKAGE_STY = $(notdir $(PACKAGE_SRC:%.dtx=%.sty))
|
||||||
DEMO_SRC = demo/demo.tex demo/demo.bib
|
DEMO_SRC = demo/demo.tex demo/demo.bib
|
||||||
DEMO_PDF = demo/demo.pdf
|
DEMO_PDF = demo/demo.pdf
|
||||||
DOC_SRC = doc/metropolistheme.dtx
|
DOC_SRC = doc/molochtheme.dtx
|
||||||
DOC_PDF = doc/metropolistheme.pdf
|
DOC_PDF = doc/molochtheme.pdf
|
||||||
|
|
||||||
CTAN_CONTENT = README.md $(INS) $(PACKAGE_SRC) $(DOC_SRC) $(DOC_PDF) $(DEMO_SRC) $(DEMO_PDF)
|
CTAN_CONTENT = README.md $(INS) $(PACKAGE_SRC) $(DOC_SRC) $(DOC_PDF) $(DEMO_SRC) $(DEMO_PDF)
|
||||||
|
|
||||||
DESTDIR ?= $(shell kpsewhich -var-value=TEXMFHOME)
|
DESTDIR ?= $(shell kpsewhich -var-value=TEXMFHOME)
|
||||||
INSTALL_DIR = $(DESTDIR)/tex/latex/metropolis
|
INSTALL_DIR = $(DESTDIR)/tex/latex/moloch
|
||||||
DOC_DIR = $(DESTDIR)/doc/latex/metropolis
|
DOC_DIR = $(DESTDIR)/doc/latex/moloch
|
||||||
CACHE_DIR := $(shell pwd)/.latex-cache
|
CACHE_DIR := $(shell pwd)/.latex-cache
|
||||||
|
|
||||||
COMPILE_TEX := latexmk -xelatex -output-directory=$(CACHE_DIR)
|
COMPILE_TEX := latexmk -xelatex -output-directory=$(CACHE_DIR)
|
||||||
|
@ -51,7 +51,7 @@ clean-sty:
|
||||||
@rm -f $(PACKAGE_STY)
|
@rm -f $(PACKAGE_STY)
|
||||||
|
|
||||||
ctan: $(CTAN_CONTENT) ctan-version
|
ctan: $(CTAN_CONTENT) ctan-version
|
||||||
@tar --transform "s@\(.*\)@metropolis/\1@" -cf metropolis-$(shell date "+%Y-%m-%d").tar.gz $(CTAN_CONTENT)
|
@tar --transform "s@\(.*\)@moloch/\1@" -cf moloch-$(shell date "+%Y-%m-%d").tar.gz $(CTAN_CONTENT)
|
||||||
|
|
||||||
ctan-version:
|
ctan-version:
|
||||||
@sed -i 's@20[0-9][0-9]/[0-9]*/[0-9]*@$(shell date "+%Y/%m/%d")@' $(PACKAGE_SRC)
|
@sed -i 's@20[0-9][0-9]/[0-9]*/[0-9]*@$(shell date "+%Y/%m/%d")@' $(PACKAGE_SRC)
|
||||||
|
|
4
NEWS
4
NEWS
|
@ -1,4 +1,4 @@
|
||||||
Overview of changes in Metropolis 1.2
|
Overview of changes in Moloch 1.2
|
||||||
=====================================
|
=====================================
|
||||||
|
|
||||||
* New features:
|
* New features:
|
||||||
|
@ -16,7 +16,7 @@ Overview of changes in Metropolis 1.2
|
||||||
- Fixed #206, #214, #216
|
- Fixed #206, #214, #216
|
||||||
|
|
||||||
|
|
||||||
Overview of changes in Metropolis 1.1
|
Overview of changes in Moloch 1.1
|
||||||
=====================================
|
=====================================
|
||||||
|
|
||||||
* New features:
|
* New features:
|
||||||
|
|
60
README.md
60
README.md
|
@ -1,56 +1,39 @@
|
||||||
## Metropolis
|
## Moloch
|
||||||
|
|
||||||
|
Moloch is a simple Beamer theme suitable for anyone to use. It is
|
||||||
|
a fork of the [Moloch Theme](https://github.com/matze/mtheme).
|
||||||
|
I created the fork mainly to fix some outstanding issues
|
||||||
|
to Moloch, since the theme is no longer actively maintained.
|
||||||
|
I also wanted to simplify some of the code, for instance no longer hard-code
|
||||||
|
the use of the Fira Sans font and introduce subtitles for frames.
|
||||||
|
|
||||||
**IMPORTANT NOTICES FOR VERSION 1.0**
|
Have a look at the [demo slides][] to see how the theme looks.
|
||||||
|
|
||||||
* The package and theme name changed from *m* to *metropolis*!
|
|
||||||
* The `title format` values have been restructured. Please refer to the
|
|
||||||
[manual][].
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
Metropolis is a simple, modern Beamer theme suitable 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. The core design
|
|
||||||
principles of the theme were described in a blog post
|
|
||||||
[here](http://bloerg.net/2014/09/20/a-modern-beamer-theme.html).
|
|
||||||
|
|
||||||
Not convinced? Have a look at the [demo slides][].
|
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
To install a stable version of this theme, please refer to update instructions
|
Installing Moloch from source, like any Beamer theme, involves four easy
|
||||||
of your TeX distribution. Metropolis is on [CTAN][] since December
|
|
||||||
2014 thus it is part of MikTeX and will be part of TeX Live 2016.
|
|
||||||
|
|
||||||
Installing Metropolis from source, like any Beamer theme, involves four easy
|
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
1. **Download the source** with a `git clone` of the [Metropolis repository](https://github.com/matze/mtheme)
|
1. **Download the source** with a `git clone` of the [repository](https://github.com/jolars/moloch).
|
||||||
or as a [zip archive](https://github.com/matze/mtheme/archive/master.zip) of
|
|
||||||
the latest development version.
|
|
||||||
2. **Compile the style files** by running `make sty` inside the downloaded
|
2. **Compile the style files** by running `make sty` inside the downloaded
|
||||||
directory. (Or run LaTeX directly on `source/metropolistheme.ins`.)
|
directory. (Or run LaTeX directly on `source/molochtheme.ins`.)
|
||||||
3. **Move the resulting `*.sty` files** to the folder containing your
|
3. **Move the resulting `*.sty` files** to the folder containing your
|
||||||
presentation. To use Metropolis with many presentations, run `make install`
|
presentation. To use Moloch with many presentations, run `make install`
|
||||||
or move the `*.sty` files to a folder in your TeX path instead (might require
|
or move the `*.sty` files to a folder in your TeX path instead (might require
|
||||||
`sudo` rights).
|
`sudo` rights).
|
||||||
4. **Use the theme for your presentation** by declaring `\usetheme{metropolis}` in
|
4. **Use the theme for your presentation** by declaring `\usetheme{moloch}` in
|
||||||
the preamble of your Beamer document.
|
the preamble of your Beamer document.
|
||||||
5. **For best results** install Mozilla's [Fira Sans](https://github.com/bBoxType/FiraSans).
|
|
||||||
|
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
The following code shows a minimal example of a Beamer presentation using
|
The following code shows a minimal example of a Beamer presentation using
|
||||||
Metropolis.
|
Moloch.
|
||||||
|
|
||||||
```latex
|
```latex
|
||||||
\documentclass{beamer}
|
\documentclass{beamer}
|
||||||
\usetheme{metropolis} % Use metropolis theme
|
\usetheme{moloch}
|
||||||
\title{A minimal example}
|
\title{A minimal example}
|
||||||
\date{\today}
|
\date{\today}
|
||||||
\author{Matthias Vogelgesang}
|
\author{Matthias Vogelgesang}
|
||||||
|
@ -64,21 +47,10 @@ Metropolis.
|
||||||
\end{document}
|
\end{document}
|
||||||
```
|
```
|
||||||
|
|
||||||
Detailed information on using Metropolis can be found in the [manual][].
|
|
||||||
|
|
||||||
For an alternative dark color theme, please have a look at Ross Churchley's
|
|
||||||
excellent [owl](https://github.com/rchurchley/beamercolortheme-owl) theme.
|
|
||||||
|
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
The theme itself is licensed under a [Creative Commons Attribution-ShareAlike
|
The theme itself is licensed under a [Creative Commons Attribution-ShareAlike
|
||||||
4.0 International License](http://creativecommons.org/licenses/by-sa/4.0/). This
|
4.0 International License](http://creativecommons.org/licenses/by-sa/4.0/). This
|
||||||
means that if you change the theme and re-distribute it, you *must* retain the
|
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
|
copyright notice header and license it under the same CC-BY-SA license. This
|
||||||
does not affect the presentation that you create with the theme.
|
does not affect the presentation that you create with the theme.
|
||||||
|
|
||||||
|
|
||||||
[demo slides]: http://mirrors.ctan.org/macros/latex/contrib/beamer-contrib/themes/metropolis/demo/demo.pdf
|
|
||||||
[manual]: http://mirrors.ctan.org/macros/latex/contrib/beamer-contrib/themes/metropolis/doc/metropolistheme.pdf
|
|
||||||
[CTAN]: http://ctan.org/pkg/beamertheme-metropolis
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
\documentclass[10pt]{beamer}
|
\documentclass[10pt]{beamer}
|
||||||
|
|
||||||
\usetheme{metropolis}
|
\usetheme{moloch}
|
||||||
\usepackage{appendixnumberbeamer}
|
\usepackage{appendixnumberbeamer}
|
||||||
|
|
||||||
\usepackage{booktabs}
|
\usepackage{booktabs}
|
||||||
|
@ -10,9 +10,9 @@
|
||||||
\usepgfplotslibrary{dateplot}
|
\usepgfplotslibrary{dateplot}
|
||||||
|
|
||||||
\usepackage{xspace}
|
\usepackage{xspace}
|
||||||
\newcommand{\themename}{\textbf{\textsc{metropolis}}\xspace}
|
\newcommand{\themename}{\textbf{\textsc{moloch}}\xspace}
|
||||||
|
|
||||||
\title{Metropolis}
|
\title{Moloch}
|
||||||
\subtitle{A modern beamer theme}
|
\subtitle{A modern beamer theme}
|
||||||
\date{\today}
|
\date{\today}
|
||||||
\author{Matthias Vogelgesang}
|
\author{Matthias Vogelgesang}
|
||||||
|
@ -30,7 +30,7 @@
|
||||||
|
|
||||||
\section{Introduction}
|
\section{Introduction}
|
||||||
|
|
||||||
\begin{frame}[fragile]{Metropolis}
|
\begin{frame}[fragile]{Moloch}
|
||||||
|
|
||||||
The \themename theme is a Beamer theme with minimal visual noise
|
The \themename theme is a Beamer theme with minimal visual noise
|
||||||
inspired by the \href{https://github.com/hsrmbeamertheme/hsrmbeamertheme}{\textsc{hsrm} Beamer
|
inspired by the \href{https://github.com/hsrmbeamertheme/hsrmbeamertheme}{\textsc{hsrm} Beamer
|
||||||
|
@ -39,7 +39,7 @@
|
||||||
Enable the theme by loading
|
Enable the theme by loading
|
||||||
|
|
||||||
\begin{verbatim} \documentclass{beamer}
|
\begin{verbatim} \documentclass{beamer}
|
||||||
\usetheme{metropolis}\end{verbatim}
|
\usetheme{moloch}\end{verbatim}
|
||||||
|
|
||||||
Note, that you have to have Mozilla's \emph{Fira Sans} font and XeTeX
|
Note, that you have to have Mozilla's \emph{Fira Sans} font and XeTeX
|
||||||
installed to enjoy this wonderful typography.
|
installed to enjoy this wonderful typography.
|
||||||
|
@ -54,7 +54,7 @@
|
||||||
|
|
||||||
\section{Title formats}
|
\section{Title formats}
|
||||||
|
|
||||||
\begin{frame}{Metropolis title formats}
|
\begin{frame}{Moloch title formats}
|
||||||
\themename supports 4 different title formats:
|
\themename supports 4 different title formats:
|
||||||
\begin{itemize}
|
\begin{itemize}
|
||||||
\item Regular
|
\item Regular
|
||||||
|
@ -66,7 +66,7 @@
|
||||||
\end{frame}
|
\end{frame}
|
||||||
|
|
||||||
{
|
{
|
||||||
\metroset{titleformat frame=smallcaps}
|
\molochset{titleformat frame=smallcaps}
|
||||||
\begin{frame}{Small caps}
|
\begin{frame}{Small caps}
|
||||||
This frame uses the \texttt{smallcaps} title format.
|
This frame uses the \texttt{smallcaps} title format.
|
||||||
|
|
||||||
|
@ -77,7 +77,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
\metroset{titleformat frame=allsmallcaps}
|
\molochset{titleformat frame=allsmallcaps}
|
||||||
\begin{frame}{All small caps}
|
\begin{frame}{All small caps}
|
||||||
This frame uses the \texttt{allsmallcaps} title format.
|
This frame uses the \texttt{allsmallcaps} title format.
|
||||||
|
|
||||||
|
@ -90,7 +90,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
\metroset{titleformat frame=allcaps}
|
\molochset{titleformat frame=allcaps}
|
||||||
\begin{frame}{All caps}
|
\begin{frame}{All caps}
|
||||||
This frame uses the \texttt{allcaps} title format.
|
This frame uses the \texttt{allcaps} title format.
|
||||||
|
|
||||||
|
@ -217,7 +217,7 @@ or show \textbf{bold} results.\end{verbatim}
|
||||||
|
|
||||||
\column{0.5\textwidth}
|
\column{0.5\textwidth}
|
||||||
|
|
||||||
\metroset{block=fill}
|
\molochset{block=fill}
|
||||||
|
|
||||||
\begin{block}{Default}
|
\begin{block}{Default}
|
||||||
Block content.
|
Block content.
|
||||||
|
|
|
@ -121,8 +121,8 @@
|
||||||
xrightmargin=0em,
|
xrightmargin=0em,
|
||||||
aboveskip=1em,
|
aboveskip=1em,
|
||||||
belowskip=1em,
|
belowskip=1em,
|
||||||
morekeywords={usetheme,institute,maketitle,@metropolis@titleformat,%
|
morekeywords={usetheme,institute,maketitle,@moloch@titleformat,%
|
||||||
plain,setbeamercolor,metroset,setsansfont,setmonofont},
|
plain,setbeamercolor,molochset,setsansfont,setmonofont},
|
||||||
}
|
}
|
||||||
\lstMakeShortInline|
|
\lstMakeShortInline|
|
||||||
\usepackage{metalogo}
|
\usepackage{metalogo}
|
||||||
|
@ -143,10 +143,10 @@
|
||||||
\end{minipage}
|
\end{minipage}
|
||||||
}
|
}
|
||||||
|
|
||||||
\newcommand{\themename}{\textbf{\textsc{metropolis}}\xspace}
|
\newcommand{\themename}{\textbf{\textsc{moloch}}\xspace}
|
||||||
|
|
||||||
\usepackage{readprov}
|
\usepackage{readprov}
|
||||||
\ReadPackageInfos{beamerthememetropolis}
|
\ReadPackageInfos{beamerthememoloch}
|
||||||
|
|
||||||
\title{Modern Beamer Presentations with the \themename package}
|
\title{Modern Beamer Presentations with the \themename package}
|
||||||
\author{Matthias Vogelgesang \\ \url{matthias.vogelgesang@gmail.com}}
|
\author{Matthias Vogelgesang \\ \url{matthias.vogelgesang@gmail.com}}
|
||||||
|
@ -226,7 +226,7 @@ install it manually. Like any \LaTeX\ package, this involves four easy steps:
|
||||||
of the latest development version.
|
of the latest development version.
|
||||||
|
|
||||||
\item[Compile the style files] by running |make sty| inside the downloaded
|
\item[Compile the style files] by running |make sty| inside the downloaded
|
||||||
directory. (Or run \LaTeX{} directly on |source/metropolistheme.ins|.)
|
directory. (Or run \LaTeX{} directly on |source/molochtheme.ins|.)
|
||||||
|
|
||||||
\item[Move the resulting |*.sty| files] to the folder containing your
|
\item[Move the resulting |*.sty| files] to the folder containing your
|
||||||
presentation. To use \themename with many presentations, run
|
presentation. To use \themename with many presentations, run
|
||||||
|
@ -234,7 +234,7 @@ install it manually. Like any \LaTeX\ package, this involves four easy steps:
|
||||||
instead.
|
instead.
|
||||||
|
|
||||||
\item[Use the theme for your presentation] by declaring
|
\item[Use the theme for your presentation] by declaring
|
||||||
|\usetheme{metropolis}| in the preamble of your Beamer document.
|
|\usetheme{moloch}| in the preamble of your Beamer document.
|
||||||
\end{description}
|
\end{description}
|
||||||
|
|
||||||
\themename uses the Make build system to offer the following installation
|
\themename uses the Make build system to offer the following installation
|
||||||
|
@ -259,7 +259,7 @@ The following code shows a minimal example of a Beamer presentation using
|
||||||
|
|
||||||
\begin{lstlisting}
|
\begin{lstlisting}
|
||||||
\documentclass{beamer}
|
\documentclass{beamer}
|
||||||
\usetheme{metropolis} % Use metropolis theme
|
\usetheme{moloch} % Use moloch theme
|
||||||
\title{A minimal example}
|
\title{A minimal example}
|
||||||
\date{\today}
|
\date{\today}
|
||||||
\author{Matthias Vogelgesang}
|
\author{Matthias Vogelgesang}
|
||||||
|
@ -305,7 +305,7 @@ To use this theme with \href{http://johnmacfarlane.net/pandoc/}{Pandoc}-based
|
||||||
presentations, you can run the following command
|
presentations, you can run the following command
|
||||||
|
|
||||||
\begin{lstlisting}
|
\begin{lstlisting}
|
||||||
$ pandoc -t beamer --latex-engine=xelatex -V theme:metropolis -o output.pdf input.md
|
$ pandoc -t beamer --latex-engine=xelatex -V theme:moloch -o output.pdf input.md
|
||||||
\end{lstlisting}
|
\end{lstlisting}
|
||||||
|
|
||||||
|
|
||||||
|
@ -317,13 +317,13 @@ 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
|
interface. The primary way to set options is to provide a comma-separated list
|
||||||
of option-value pairs when loading \themename in the preamble:
|
of option-value pairs when loading \themename in the preamble:
|
||||||
\begin{lstlisting}
|
\begin{lstlisting}
|
||||||
\usetheme[option1=value1, option2=value2, ...]{metropolis}
|
\usetheme[option1=value1, option2=value2, ...]{moloch}
|
||||||
\end{lstlisting}
|
\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
|
||||||
|\metroset| macro.
|
|\molochset| macro.
|
||||||
\begin{lstlisting}
|
\begin{lstlisting}
|
||||||
\metroset{option1=newvalue1, option2=newvalue2, ...}
|
\molochset{option1=newvalue1, option2=newvalue2, ...}
|
||||||
\end{lstlisting}
|
\end{lstlisting}
|
||||||
|
|
||||||
The list of options is structured as shown in the following example.
|
The list of options is structured as shown in the following example.
|
||||||
|
@ -437,10 +437,10 @@ of \themename specific colors, which can also be redefined to your liking.
|
||||||
\end{lstlisting}
|
\end{lstlisting}
|
||||||
|
|
||||||
For low-light situations \themename it might be helpful to use the
|
For low-light situations \themename it might be helpful to use the
|
||||||
|metropolis-highcontrast| color theme. It is enabled like any other color theme:
|
|moloch-highcontrast| color theme. It is enabled like any other color theme:
|
||||||
|
|
||||||
\begin{lstlisting}
|
\begin{lstlisting}
|
||||||
\usecolortheme{metropolis-highcontrast}
|
\usecolortheme{moloch-highcontrast}
|
||||||
\end{lstlisting}
|
\end{lstlisting}
|
||||||
|
|
||||||
|
|
||||||
|
@ -589,14 +589,14 @@ the \themename subpackages individually so the \themename color theme is
|
||||||
never loaded. This will prevent conflicts between the \themename color theme
|
never loaded. This will prevent conflicts between the \themename color theme
|
||||||
and your preferred theme.
|
and your preferred theme.
|
||||||
|
|
||||||
For example, overriding the color theme as follows may not work as expected because |\usetheme{metropolis}| loads the \themename color theme, which
|
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
|
defines a relationship between the frametitle background and the primary
|
||||||
palette of the theme. Since |seahorse| assumes a different relationship
|
palette of the theme. Since |seahorse| assumes a different relationship
|
||||||
between its palettes, the result is a grey, rather than periwinkle,
|
between its palettes, the result is a grey, rather than periwinkle,
|
||||||
frametitle background.
|
frametitle background.
|
||||||
|
|
||||||
\begin{lstlisting}
|
\begin{lstlisting}
|
||||||
\usetheme{metropolis}
|
\usetheme{moloch}
|
||||||
\usecolortheme{seahorse}
|
\usecolortheme{seahorse}
|
||||||
\end{lstlisting}
|
\end{lstlisting}
|
||||||
|
|
||||||
|
@ -604,9 +604,9 @@ The correct colors are chosen if the \themename outer, inner, and font themes
|
||||||
are loaded seperately:
|
are loaded seperately:
|
||||||
|
|
||||||
\begin{lstlisting}
|
\begin{lstlisting}
|
||||||
\useoutertheme{metropolis}
|
\useoutertheme{moloch}
|
||||||
\useinnertheme{metropolis}
|
\useinnertheme{moloch}
|
||||||
\usefonttheme{metropolis}
|
\usefonttheme{moloch}
|
||||||
\usecolortheme{seahorse} % or your preferred color theme
|
\usecolortheme{seahorse} % or your preferred color theme
|
||||||
\end{lstlisting}
|
\end{lstlisting}
|
||||||
|
|
||||||
|
@ -689,11 +689,11 @@ This does not affect any presentations that you create with the theme.
|
||||||
|
|
||||||
\section{Implementation}
|
\section{Implementation}
|
||||||
|
|
||||||
\DocInput{beamerthememetropolis.dtx}
|
\DocInput{beamerthememoloch.dtx}
|
||||||
\DocInput{beamerinnerthememetropolis.dtx}
|
\DocInput{beamerinnerthememoloch.dtx}
|
||||||
\DocInput{beamerouterthememetropolis.dtx}
|
\DocInput{beamerouterthememoloch.dtx}
|
||||||
\DocInput{beamerfontthememetropolis.dtx}
|
\DocInput{beamerfontthememoloch.dtx}
|
||||||
\DocInput{beamercolorthememetropolis.dtx}
|
\DocInput{beamercolorthememoloch.dtx}
|
||||||
\DocInput{pgfplotsthemetol.dtx}
|
\DocInput{pgfplotsthemetol.dtx}
|
||||||
|
|
||||||
\end{document}
|
\end{document}
|
|
@ -12,7 +12,7 @@
|
||||||
% \iffalse
|
% \iffalse
|
||||||
%<*package>
|
%<*package>
|
||||||
\NeedsTeXFormat{LaTeX2e}
|
\NeedsTeXFormat{LaTeX2e}
|
||||||
\ProvidesPackage{beamercolorthememetropolis-highcontrast}[2017/01/23 Metropolis color theme]
|
\ProvidesPackage{beamercolorthememoloch-highcontrast}[2017/01/23 Moloch color theme]
|
||||||
%</package>
|
%</package>
|
||||||
% \fi
|
% \fi
|
||||||
% \CheckSum{0}
|
% \CheckSum{0}
|
||||||
|
@ -21,7 +21,7 @@
|
||||||
%<*package>
|
%<*package>
|
||||||
% ------------------------------------------------------------------------- \fi
|
% ------------------------------------------------------------------------- \fi
|
||||||
%
|
%
|
||||||
\usecolortheme{metropolis}
|
\usecolortheme{moloch}
|
||||||
|
|
||||||
\definecolor{mAlert}{HTML}{AD003D}
|
\definecolor{mAlert}{HTML}{AD003D}
|
||||||
\definecolor{mExample}{HTML}{005580}
|
\definecolor{mExample}{HTML}{005580}
|
|
@ -12,7 +12,7 @@
|
||||||
% \iffalse
|
% \iffalse
|
||||||
%<*package>
|
%<*package>
|
||||||
\NeedsTeXFormat{LaTeX2e}
|
\NeedsTeXFormat{LaTeX2e}
|
||||||
\ProvidesPackage{beamercolorthememetropolis}[2017/01/23 Metropolis color theme]
|
\ProvidesPackage{beamercolorthememoloch}[2017/01/23 Moloch color theme]
|
||||||
%</package>
|
%</package>
|
||||||
% \fi
|
% \fi
|
||||||
% \CheckSum{0}
|
% \CheckSum{0}
|
||||||
|
@ -39,10 +39,10 @@
|
||||||
% |theorem| and |example|.
|
% |theorem| and |example|.
|
||||||
% \begin{macrocode}
|
% \begin{macrocode}
|
||||||
\pgfkeys{
|
\pgfkeys{
|
||||||
/metropolis/color/block/.cd,
|
/moloch/color/block/.cd,
|
||||||
.is choice,
|
.is choice,
|
||||||
transparent/.code=\metropolis@block@transparent,
|
transparent/.code=\moloch@block@transparent,
|
||||||
fill/.code=\metropolis@block@fill,
|
fill/.code=\moloch@block@fill,
|
||||||
}
|
}
|
||||||
% \end{macrocode}
|
% \end{macrocode}
|
||||||
% \end{macro}
|
% \end{macro}
|
||||||
|
@ -52,19 +52,19 @@
|
||||||
% of the reverse.
|
% of the reverse.
|
||||||
% \begin{macrocode}
|
% \begin{macrocode}
|
||||||
\pgfkeys{
|
\pgfkeys{
|
||||||
/metropolis/color/background/.cd,
|
/moloch/color/background/.cd,
|
||||||
.is choice,
|
.is choice,
|
||||||
dark/.code=\metropolis@colors@dark,
|
dark/.code=\moloch@colors@dark,
|
||||||
light/.code=\metropolis@colors@light,
|
light/.code=\moloch@colors@light,
|
||||||
}
|
}
|
||||||
% \end{macrocode}
|
% \end{macrocode}
|
||||||
% \end{macro}
|
% \end{macro}
|
||||||
%
|
%
|
||||||
% \begin{macro}{\metropolis@color@setdefaults}
|
% \begin{macro}{\moloch@color@setdefaults}
|
||||||
% Sets default values for color theme options.
|
% Sets default values for color theme options.
|
||||||
% \begin{macrocode}
|
% \begin{macrocode}
|
||||||
\newcommand{\metropolis@color@setdefaults}{
|
\newcommand{\moloch@color@setdefaults}{
|
||||||
\pgfkeys{/metropolis/color/.cd,
|
\pgfkeys{/moloch/color/.cd,
|
||||||
background=light,
|
background=light,
|
||||||
block=transparent,
|
block=transparent,
|
||||||
}
|
}
|
||||||
|
@ -91,14 +91,14 @@
|
||||||
% |alerted text|, and |example text|.
|
% |alerted text|, and |example text|.
|
||||||
%
|
%
|
||||||
% \begin{macrocode}
|
% \begin{macrocode}
|
||||||
\newcommand{\metropolis@colors@dark}{
|
\newcommand{\moloch@colors@dark}{
|
||||||
\setbeamercolor{normal text}{%
|
\setbeamercolor{normal text}{%
|
||||||
fg=black!2,
|
fg=black!2,
|
||||||
bg=mDarkTeal
|
bg=mDarkTeal
|
||||||
}
|
}
|
||||||
\usebeamercolor[fg]{normal text}
|
\usebeamercolor[fg]{normal text}
|
||||||
}
|
}
|
||||||
\newcommand{\metropolis@colors@light}{
|
\newcommand{\moloch@colors@light}{
|
||||||
\setbeamercolor{normal text}{%
|
\setbeamercolor{normal text}{%
|
||||||
fg=mDarkTeal,
|
fg=mDarkTeal,
|
||||||
bg=black!2
|
bg=black!2
|
||||||
|
@ -179,7 +179,7 @@
|
||||||
% if changing colors mid-presentation.
|
% if changing colors mid-presentation.
|
||||||
%
|
%
|
||||||
% \begin{macrocode}
|
% \begin{macrocode}
|
||||||
\newcommand{\metropolis@block@transparent}{
|
\newcommand{\moloch@block@transparent}{
|
||||||
\setbeamercolor{block title}{%
|
\setbeamercolor{block title}{%
|
||||||
use=normal text,
|
use=normal text,
|
||||||
fg=normal text.fg,
|
fg=normal text.fg,
|
||||||
|
@ -189,7 +189,7 @@
|
||||||
bg=
|
bg=
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
\newcommand{\metropolis@block@fill}{
|
\newcommand{\moloch@block@fill}{
|
||||||
\setbeamercolor{block title}{%
|
\setbeamercolor{block title}{%
|
||||||
use=normal text,
|
use=normal text,
|
||||||
fg=normal text.fg,
|
fg=normal text.fg,
|
||||||
|
@ -237,8 +237,8 @@
|
||||||
% \subsubsection{Process package options}
|
% \subsubsection{Process package options}
|
||||||
%
|
%
|
||||||
% \begin{macrocode}
|
% \begin{macrocode}
|
||||||
\metropolis@color@setdefaults
|
\moloch@color@setdefaults
|
||||||
\ProcessPgfPackageOptions{/metropolis/color}
|
\ProcessPgfPackageOptions{/moloch/color}
|
||||||
% \end{macrocode}
|
% \end{macrocode}
|
||||||
%
|
%
|
||||||
% \begin{macrocode}
|
% \begin{macrocode}
|
|
@ -12,7 +12,7 @@
|
||||||
% \iffalse
|
% \iffalse
|
||||||
%<*package>
|
%<*package>
|
||||||
\NeedsTeXFormat{LaTeX2e}
|
\NeedsTeXFormat{LaTeX2e}
|
||||||
\ProvidesPackage{beamerfontthememetropolis}[2017/01/23 Metropolis font theme]
|
\ProvidesPackage{beamerfontthememoloch}[2017/01/23 Moloch font theme]
|
||||||
%</package>
|
%</package>
|
||||||
% \fi
|
% \fi
|
||||||
% \CheckSum{0}
|
% \CheckSum{0}
|
||||||
|
@ -112,7 +112,7 @@
|
||||||
BoldItalicFont={Fira Sans Italic OT}]%
|
BoldItalicFont={Fira Sans Italic OT}]%
|
||||||
{Fira Sans Light OT}%
|
{Fira Sans Light OT}%
|
||||||
}{%
|
}{%
|
||||||
\PackageWarning{beamerthememetropolis}{%
|
\PackageWarning{beamerthememoloch}{%
|
||||||
Could not find Fira Sans fonts%
|
Could not find Fira Sans fonts%
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -123,7 +123,7 @@
|
||||||
\iffontsavailable{Fira Mono OT, Fira Mono Bold OT}{%
|
\iffontsavailable{Fira Mono OT, Fira Mono Bold OT}{%
|
||||||
\setmonofont[BoldFont={Fira Mono Medium OT}]{Fira Mono OT}%
|
\setmonofont[BoldFont={Fira Mono Medium OT}]{Fira Mono OT}%
|
||||||
}{%
|
}{%
|
||||||
\PackageWarning{beamerthememetropolis}{%
|
\PackageWarning{beamerthememoloch}{%
|
||||||
Could not find Fira Mono fonts%
|
Could not find Fira Mono fonts%
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -132,7 +132,7 @@
|
||||||
\addfontfeature{Numbers={Monospaced}}%
|
\addfontfeature{Numbers={Monospaced}}%
|
||||||
}
|
}
|
||||||
}{%
|
}{%
|
||||||
\PackageWarning{beamerthememetropolis}{%
|
\PackageWarning{beamerthememoloch}{%
|
||||||
You need to compile with XeLaTeX or LuaLaTeX to use the Fira fonts%
|
You need to compile with XeLaTeX or LuaLaTeX to use the Fira fonts%
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -184,27 +184,27 @@
|
||||||
% Controls the format of the title.
|
% Controls the format of the title.
|
||||||
% \begin{macrocode}
|
% \begin{macrocode}
|
||||||
\pgfkeys{
|
\pgfkeys{
|
||||||
/metropolis/font/titleformat title/.cd,
|
/moloch/font/titleformat title/.cd,
|
||||||
.is choice,
|
.is choice,
|
||||||
regular/.code={%
|
regular/.code={%
|
||||||
\let\metropolis@titleformat\@empty%
|
\let\moloch@titleformat\@empty%
|
||||||
\setbeamerfont{title}{shape=\normalfont}%
|
\setbeamerfont{title}{shape=\normalfont}%
|
||||||
},
|
},
|
||||||
smallcaps/.code={%
|
smallcaps/.code={%
|
||||||
\let\metropolis@titleformat\@empty%
|
\let\moloch@titleformat\@empty%
|
||||||
\setbeamerfont{title}{shape=\scshape}%
|
\setbeamerfont{title}{shape=\scshape}%
|
||||||
},
|
},
|
||||||
allsmallcaps/.code={%
|
allsmallcaps/.code={%
|
||||||
\let\metropolis@titleformat\lowercase%
|
\let\moloch@titleformat\lowercase%
|
||||||
\setbeamerfont{title}{shape=\scshape}%
|
\setbeamerfont{title}{shape=\scshape}%
|
||||||
\PackageWarning{beamerthememetropolis}{%
|
\PackageWarning{beamerthememoloch}{%
|
||||||
Be aware that titleformat title=allsmallcaps can lead to problems%
|
Be aware that titleformat title=allsmallcaps can lead to problems%
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
allcaps/.code={%
|
allcaps/.code={%
|
||||||
\let\metropolis@titleformat\uppercase%
|
\let\moloch@titleformat\uppercase%
|
||||||
\setbeamerfont{title}{shape=\normalfont}
|
\setbeamerfont{title}{shape=\normalfont}
|
||||||
\PackageWarning{beamerthememetropolis}{%
|
\PackageWarning{beamerthememoloch}{%
|
||||||
Be aware that titleformat title=allcaps can lead to problems%
|
Be aware that titleformat title=allcaps can lead to problems%
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -216,27 +216,27 @@
|
||||||
% Control the format of the subtitle.
|
% Control the format of the subtitle.
|
||||||
% \begin{macrocode}
|
% \begin{macrocode}
|
||||||
\pgfkeys{
|
\pgfkeys{
|
||||||
/metropolis/font/titleformat subtitle/.cd,
|
/moloch/font/titleformat subtitle/.cd,
|
||||||
.is choice,
|
.is choice,
|
||||||
regular/.code={%
|
regular/.code={%
|
||||||
\let\metropolis@subtitleformat\@empty%
|
\let\moloch@subtitleformat\@empty%
|
||||||
\setbeamerfont{subtitle}{shape=\normalfont}%
|
\setbeamerfont{subtitle}{shape=\normalfont}%
|
||||||
},
|
},
|
||||||
smallcaps/.code={%
|
smallcaps/.code={%
|
||||||
\let\metropolis@subtitleformat\@empty%
|
\let\moloch@subtitleformat\@empty%
|
||||||
\setbeamerfont{subtitle}{shape=\scshape}%
|
\setbeamerfont{subtitle}{shape=\scshape}%
|
||||||
},
|
},
|
||||||
allsmallcaps/.code={%
|
allsmallcaps/.code={%
|
||||||
\let\metropolis@subtitleformat\lowercase%
|
\let\moloch@subtitleformat\lowercase%
|
||||||
\setbeamerfont{subtitle}{shape=\scshape}%
|
\setbeamerfont{subtitle}{shape=\scshape}%
|
||||||
\PackageWarning{beamerthememetropolis}{%
|
\PackageWarning{beamerthememoloch}{%
|
||||||
Be aware that titleformat subtitle=allsmallcaps can lead to problems%
|
Be aware that titleformat subtitle=allsmallcaps can lead to problems%
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
allcaps/.code={%
|
allcaps/.code={%
|
||||||
\let\metropolis@subtitleformat\uppercase%
|
\let\moloch@subtitleformat\uppercase%
|
||||||
\setbeamerfont{subtitle}{shape=\normalfont}%
|
\setbeamerfont{subtitle}{shape=\normalfont}%
|
||||||
\PackageWarning{beamerthememetropolis}{%
|
\PackageWarning{beamerthememoloch}{%
|
||||||
Be aware that titleformat subtitle=allcaps can lead to problems%
|
Be aware that titleformat subtitle=allcaps can lead to problems%
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -248,27 +248,27 @@
|
||||||
% Controls the format of the section title.
|
% Controls the format of the section title.
|
||||||
% \begin{macrocode}
|
% \begin{macrocode}
|
||||||
\pgfkeys{
|
\pgfkeys{
|
||||||
/metropolis/font/titleformat section/.cd,
|
/moloch/font/titleformat section/.cd,
|
||||||
.is choice,
|
.is choice,
|
||||||
regular/.code={%
|
regular/.code={%
|
||||||
\let\metropolis@sectiontitleformat\@empty%
|
\let\moloch@sectiontitleformat\@empty%
|
||||||
\setbeamerfont{section title}{shape=\normalfont}%
|
\setbeamerfont{section title}{shape=\normalfont}%
|
||||||
},
|
},
|
||||||
smallcaps/.code={%
|
smallcaps/.code={%
|
||||||
\let\metropolis@sectiontitleformat\@empty%
|
\let\moloch@sectiontitleformat\@empty%
|
||||||
\setbeamerfont{section title}{shape=\scshape}%
|
\setbeamerfont{section title}{shape=\scshape}%
|
||||||
},
|
},
|
||||||
allsmallcaps/.code={%
|
allsmallcaps/.code={%
|
||||||
\let\metropolis@sectiontitleformat\MakeLowercase%
|
\let\moloch@sectiontitleformat\MakeLowercase%
|
||||||
\setbeamerfont{section title}{shape=\scshape}%
|
\setbeamerfont{section title}{shape=\scshape}%
|
||||||
\PackageWarning{beamerthememetropolis}{%
|
\PackageWarning{beamerthememoloch}{%
|
||||||
Be aware that titleformat section=allsmallcaps can lead to problems%
|
Be aware that titleformat section=allsmallcaps can lead to problems%
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
allcaps/.code={%
|
allcaps/.code={%
|
||||||
\let\metropolis@sectiontitleformat\MakeUppercase%
|
\let\moloch@sectiontitleformat\MakeUppercase%
|
||||||
\setbeamerfont{section title}{shape=\normalfont}%
|
\setbeamerfont{section title}{shape=\normalfont}%
|
||||||
\PackageWarning{beamerthememetropolis}{%
|
\PackageWarning{beamerthememoloch}{%
|
||||||
Be aware that titleformat section=allcaps can lead to problems%
|
Be aware that titleformat section=allcaps can lead to problems%
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -280,27 +280,27 @@
|
||||||
% Control the format of the frame title.
|
% Control the format of the frame title.
|
||||||
% \begin{macrocode}
|
% \begin{macrocode}
|
||||||
\pgfkeys{
|
\pgfkeys{
|
||||||
/metropolis/font/titleformat frame/.cd,
|
/moloch/font/titleformat frame/.cd,
|
||||||
.is choice,
|
.is choice,
|
||||||
regular/.code={%
|
regular/.code={%
|
||||||
\let\metropolis@frametitleformat\@empty%
|
\let\moloch@frametitleformat\@empty%
|
||||||
\setbeamerfont{frametitle}{shape=\normalfont}%
|
\setbeamerfont{frametitle}{shape=\normalfont}%
|
||||||
},
|
},
|
||||||
smallcaps/.code={%
|
smallcaps/.code={%
|
||||||
\let\metropolis@frametitleformat\@empty%
|
\let\moloch@frametitleformat\@empty%
|
||||||
\setbeamerfont{frametitle}{shape=\scshape}%
|
\setbeamerfont{frametitle}{shape=\scshape}%
|
||||||
},
|
},
|
||||||
allsmallcaps/.code={%
|
allsmallcaps/.code={%
|
||||||
\let\metropolis@frametitleformat\MakeLowercase%
|
\let\moloch@frametitleformat\MakeLowercase%
|
||||||
\setbeamerfont{frametitle}{shape=\scshape}%
|
\setbeamerfont{frametitle}{shape=\scshape}%
|
||||||
\PackageWarning{beamerthememetropolis}{%
|
\PackageWarning{beamerthememoloch}{%
|
||||||
Be aware that titleformat frame=allsmallcaps can lead to problems%
|
Be aware that titleformat frame=allsmallcaps can lead to problems%
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
allcaps/.code={%
|
allcaps/.code={%
|
||||||
\let\metropolis@frametitleformat\MakeUppercase%
|
\let\moloch@frametitleformat\MakeUppercase%
|
||||||
\setbeamerfont{frametitle}{shape=\normalfont}
|
\setbeamerfont{frametitle}{shape=\normalfont}
|
||||||
\PackageWarning{beamerthememetropolis}{%
|
\PackageWarning{beamerthememoloch}{%
|
||||||
Be aware that titleformat frame=allcaps can lead to problems%
|
Be aware that titleformat frame=allcaps can lead to problems%
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -313,7 +313,7 @@
|
||||||
% declaration, where \LaTeX{} automatically removes all spaces.
|
% declaration, where \LaTeX{} automatically removes all spaces.
|
||||||
% \begin{macrocode}
|
% \begin{macrocode}
|
||||||
\pgfkeys{
|
\pgfkeys{
|
||||||
/metropolis/font/.cd,
|
/moloch/font/.cd,
|
||||||
titleformattitle/.code=\pgfkeysalso{titleformat title=#1},
|
titleformattitle/.code=\pgfkeysalso{titleformat title=#1},
|
||||||
titleformatsubtitle/.code=\pgfkeysalso{titleformat subtitle=#1},
|
titleformatsubtitle/.code=\pgfkeysalso{titleformat subtitle=#1},
|
||||||
titleformatsection/.code=\pgfkeysalso{titleformat section=#1},
|
titleformatsection/.code=\pgfkeysalso{titleformat section=#1},
|
||||||
|
@ -322,11 +322,11 @@
|
||||||
% \end{macrocode}
|
% \end{macrocode}
|
||||||
% \end{macro}
|
% \end{macro}
|
||||||
%
|
%
|
||||||
% \begin{macro}{\metropolis@font@setdefaults}
|
% \begin{macro}{\moloch@font@setdefaults}
|
||||||
% Sets default values for font theme options.
|
% Sets default values for font theme options.
|
||||||
% \begin{macrocode}
|
% \begin{macrocode}
|
||||||
\newcommand{\metropolis@font@setdefaults}{
|
\newcommand{\moloch@font@setdefaults}{
|
||||||
\pgfkeys{/metropolis/font/.cd,
|
\pgfkeys{/moloch/font/.cd,
|
||||||
titleformat title=regular,
|
titleformat title=regular,
|
||||||
titleformat subtitle=regular,
|
titleformat subtitle=regular,
|
||||||
titleformat section=regular,
|
titleformat section=regular,
|
||||||
|
@ -339,10 +339,10 @@
|
||||||
% We first define hooks to change the case format of the titles.
|
% We first define hooks to change the case format of the titles.
|
||||||
%
|
%
|
||||||
% \begin{macrocode}
|
% \begin{macrocode}
|
||||||
\def\metropolis@titleformat#1{#1}
|
\def\moloch@titleformat#1{#1}
|
||||||
\def\metropolis@subtitleformat#1{#1}
|
\def\moloch@subtitleformat#1{#1}
|
||||||
\def\metropolis@sectiontitleformat#1{#1}
|
\def\moloch@sectiontitleformat#1{#1}
|
||||||
\def\metropolis@frametitleformat#1{#1}
|
\def\moloch@frametitleformat#1{#1}
|
||||||
% \end{macrocode}
|
% \end{macrocode}
|
||||||
%
|
%
|
||||||
% To make the uppercase and lowercase macros work in the title, subtitle, etc.,
|
% To make the uppercase and lowercase macros work in the title, subtitle, etc.,
|
||||||
|
@ -354,62 +354,62 @@
|
||||||
% \begin{macrocode}
|
% \begin{macrocode}
|
||||||
\patchcmd{\beamer@title}%
|
\patchcmd{\beamer@title}%
|
||||||
{\def\inserttitle{#2}}%
|
{\def\inserttitle{#2}}%
|
||||||
{\def\inserttitle{\metropolis@titleformat{#2}}}%
|
{\def\inserttitle{\moloch@titleformat{#2}}}%
|
||||||
{}%
|
{}%
|
||||||
{\PackageError{beamerfontthememetropolis}{Patching title failed}\@ehc}
|
{\PackageError{beamerfontthememoloch}{Patching title failed}\@ehc}
|
||||||
\patchcmd{\beamer@subtitle}%
|
\patchcmd{\beamer@subtitle}%
|
||||||
{\def\insertsubtitle{#2}}%
|
{\def\insertsubtitle{#2}}%
|
||||||
{\def\insertsubtitle{\metropolis@subtitleformat{#2}}}%
|
{\def\insertsubtitle{\moloch@subtitleformat{#2}}}%
|
||||||
{}%
|
{}%
|
||||||
{\PackageError{beamerfontthememetropolis}{Patching subtitle failed}\@ehc}
|
{\PackageError{beamerfontthememoloch}{Patching subtitle failed}\@ehc}
|
||||||
\patchcmd{\sectionentry}
|
\patchcmd{\sectionentry}
|
||||||
{\def\insertsectionhead{#2}}
|
{\def\insertsectionhead{#2}}
|
||||||
{\def\insertsectionhead{\metropolis@sectiontitleformat{#2}}}
|
{\def\insertsectionhead{\moloch@sectiontitleformat{#2}}}
|
||||||
{}
|
{}
|
||||||
{\PackageError{beamerfontthememetropolis}{Patching section title failed}\@ehc}
|
{\PackageError{beamerfontthememoloch}{Patching section title failed}\@ehc}
|
||||||
\@tempswafalse
|
\@tempswafalse
|
||||||
\patchcmd{\beamer@section}
|
\patchcmd{\beamer@section}
|
||||||
{\edef\insertsectionhead{\noexpand\hyperlink{Navigation\the\c@page}{\unexpanded{#1}}}}
|
{\edef\insertsectionhead{\noexpand\hyperlink{Navigation\the\c@page}{\unexpanded{#1}}}}
|
||||||
{\edef\insertsectionhead{\noexpand\hyperlink{Navigation\the\c@page}{%
|
{\edef\insertsectionhead{\noexpand\hyperlink{Navigation\the\c@page}{%
|
||||||
\noexpand\metropolis@sectiontitleformat{\unexpanded{#1}}}}}
|
\noexpand\moloch@sectiontitleformat{\unexpanded{#1}}}}}
|
||||||
{\@tempswatrue}
|
{\@tempswatrue}
|
||||||
{}
|
{}
|
||||||
\patchcmd{\beamer@section}
|
\patchcmd{\beamer@section}
|
||||||
{\def\insertsectionhead{\hyperlink{Navigation\the\c@page}{#1}}}
|
{\def\insertsectionhead{\hyperlink{Navigation\the\c@page}{#1}}}
|
||||||
{\def\insertsectionhead{\hyperlink{Navigation\the\c@page}{%
|
{\def\insertsectionhead{\hyperlink{Navigation\the\c@page}{%
|
||||||
\metropolis@sectiontitleformat{#1}}}}
|
\moloch@sectiontitleformat{#1}}}}
|
||||||
{\@tempswatrue}
|
{\@tempswatrue}
|
||||||
{}
|
{}
|
||||||
\patchcmd{\beamer@section}
|
\patchcmd{\beamer@section}
|
||||||
{\protected@edef\insertsectionhead{\noexpand\hyperlink{Navigation\the\c@page}{#1}}}
|
{\protected@edef\insertsectionhead{\noexpand\hyperlink{Navigation\the\c@page}{#1}}}
|
||||||
{\protected@edef\insertsectionhead{\noexpand\hyperlink{Navigation\the\c@page}{%
|
{\protected@edef\insertsectionhead{\noexpand\hyperlink{Navigation\the\c@page}{%
|
||||||
\noexpand\metropolis@sectiontitleformat{#1}}}}
|
\noexpand\moloch@sectiontitleformat{#1}}}}
|
||||||
{\@tempswatrue}
|
{\@tempswatrue}
|
||||||
{}
|
{}
|
||||||
\if@tempswa\else
|
\if@tempswa\else
|
||||||
\PackageError{beamerfontthememetropolis}{Patching section title failed}\@ehc
|
\PackageError{beamerfontthememoloch}{Patching section title failed}\@ehc
|
||||||
\fi
|
\fi
|
||||||
\@tempswafalse
|
\@tempswafalse
|
||||||
\patchcmd{\beamer@subsection}
|
\patchcmd{\beamer@subsection}
|
||||||
{\edef\insertsubsectionhead{\noexpand\hyperlink{Navigation\the\c@page}{\unexpanded{#1}}}}
|
{\edef\insertsubsectionhead{\noexpand\hyperlink{Navigation\the\c@page}{\unexpanded{#1}}}}
|
||||||
{\edef\insertsubsectionhead{\noexpand\hyperlink{Navigation\the\c@page}{%
|
{\edef\insertsubsectionhead{\noexpand\hyperlink{Navigation\the\c@page}{%
|
||||||
\noexpand\metropolis@sectiontitleformat{\unexpanded{#1}}}}}
|
\noexpand\moloch@sectiontitleformat{\unexpanded{#1}}}}}
|
||||||
{\@tempswatrue}
|
{\@tempswatrue}
|
||||||
{}
|
{}
|
||||||
\patchcmd{\beamer@subsection}
|
\patchcmd{\beamer@subsection}
|
||||||
{\def\insertsubsectionhead{\hyperlink{Navigation\the\c@page}{#1}}}
|
{\def\insertsubsectionhead{\hyperlink{Navigation\the\c@page}{#1}}}
|
||||||
{\def\insertsubsectionhead{\hyperlink{Navigation\the\c@page}{%
|
{\def\insertsubsectionhead{\hyperlink{Navigation\the\c@page}{%
|
||||||
\metropolis@sectiontitleformat{#1}}}}
|
\moloch@sectiontitleformat{#1}}}}
|
||||||
{\@tempswatrue}
|
{\@tempswatrue}
|
||||||
{}
|
{}
|
||||||
\patchcmd{\beamer@subsection}
|
\patchcmd{\beamer@subsection}
|
||||||
{\protected@edef\insertsubsectionhead{\noexpand\hyperlink{Navigation\the\c@page}{#1}}}
|
{\protected@edef\insertsubsectionhead{\noexpand\hyperlink{Navigation\the\c@page}{#1}}}
|
||||||
{\protected@edef\insertsubsectionhead{\noexpand\hyperlink{Navigation\the\c@page}{%
|
{\protected@edef\insertsubsectionhead{\noexpand\hyperlink{Navigation\the\c@page}{%
|
||||||
\noexpand\metropolis@sectiontitleformat{#1}}}}
|
\noexpand\moloch@sectiontitleformat{#1}}}}
|
||||||
{\@tempswatrue}
|
{\@tempswatrue}
|
||||||
{}
|
{}
|
||||||
\if@tempswa\else
|
\if@tempswa\else
|
||||||
\PackageError{beamerfontthememetropolis}{Patching section title failed}\@ehc
|
\PackageError{beamerfontthememoloch}{Patching section title failed}\@ehc
|
||||||
\fi
|
\fi
|
||||||
% \end{macrocode}
|
% \end{macrocode}
|
||||||
%
|
%
|
||||||
|
@ -425,14 +425,14 @@
|
||||||
\gdef\beamer@shortframetitle{#1}%
|
\gdef\beamer@shortframetitle{#1}%
|
||||||
}}
|
}}
|
||||||
{{%
|
{{%
|
||||||
\gdef\insertframetitle{{\metropolis@frametitleformat{#2}\ifnum%
|
\gdef\insertframetitle{{\moloch@frametitleformat{#2}\ifnum%
|
||||||
\beamer@autobreakcount>0\relax{}\space%
|
\beamer@autobreakcount>0\relax{}\space%
|
||||||
\usebeamertemplate*{frametitle continuation}\fi}}%
|
\usebeamertemplate*{frametitle continuation}\fi}}%
|
||||||
\gdef\beamer@frametitle{#2}%
|
\gdef\beamer@frametitle{#2}%
|
||||||
\gdef\beamer@shortframetitle{#1}%
|
\gdef\beamer@shortframetitle{#1}%
|
||||||
}}
|
}}
|
||||||
{}
|
{}
|
||||||
{\PackageError{beamerfontthememetropolis}{Patching frame title failed}\@ehc}
|
{\PackageError{beamerfontthememoloch}{Patching frame title failed}\@ehc}
|
||||||
% \end{macrocode}
|
% \end{macrocode}
|
||||||
%
|
%
|
||||||
%
|
%
|
||||||
|
@ -440,8 +440,8 @@
|
||||||
% \subsubsection{Process package options}
|
% \subsubsection{Process package options}
|
||||||
%
|
%
|
||||||
% \begin{macrocode}
|
% \begin{macrocode}
|
||||||
\metropolis@font@setdefaults
|
\moloch@font@setdefaults
|
||||||
\ProcessPgfPackageOptions{/metropolis/font}
|
\ProcessPgfPackageOptions{/moloch/font}
|
||||||
% \end{macrocode}
|
% \end{macrocode}
|
||||||
% \iffalse
|
% \iffalse
|
||||||
%</package>
|
%</package>
|
|
@ -12,7 +12,7 @@
|
||||||
% \iffalse
|
% \iffalse
|
||||||
%<*package>
|
%<*package>
|
||||||
\NeedsTeXFormat{LaTeX2e}
|
\NeedsTeXFormat{LaTeX2e}
|
||||||
\ProvidesPackage{beamerinnerthememetropolis}[2017/01/23 Metropolis inner theme]
|
\ProvidesPackage{beamerinnerthememoloch}[2017/01/23 Moloch inner theme]
|
||||||
%</package>
|
%</package>
|
||||||
% \fi
|
% \fi
|
||||||
% \CheckSum{0}
|
% \CheckSum{0}
|
||||||
|
@ -54,12 +54,12 @@
|
||||||
% Optionally add a slide marking the beginning of each section.
|
% Optionally add a slide marking the beginning of each section.
|
||||||
% \begin{macrocode}
|
% \begin{macrocode}
|
||||||
\pgfkeys{
|
\pgfkeys{
|
||||||
/metropolis/inner/sectionpage/.cd,
|
/moloch/inner/sectionpage/.cd,
|
||||||
.is choice,
|
.is choice,
|
||||||
none/.code=\metropolis@disablesectionpage,
|
none/.code=\moloch@disablesectionpage,
|
||||||
simple/.code={\metropolis@enablesectionpage
|
simple/.code={\moloch@enablesectionpage
|
||||||
\setbeamertemplate{section page}[simple]},
|
\setbeamertemplate{section page}[simple]},
|
||||||
progressbar/.code={\metropolis@enablesectionpage
|
progressbar/.code={\moloch@enablesectionpage
|
||||||
\setbeamertemplate{section page}[progressbar]},
|
\setbeamertemplate{section page}[progressbar]},
|
||||||
}
|
}
|
||||||
% \end{macrocode}
|
% \end{macrocode}
|
||||||
|
@ -69,22 +69,22 @@
|
||||||
% Optionally add a slide marking the beginning of each subsection.
|
% Optionally add a slide marking the beginning of each subsection.
|
||||||
% \begin{macrocode}
|
% \begin{macrocode}
|
||||||
\pgfkeys{
|
\pgfkeys{
|
||||||
/metropolis/inner/subsectionpage/.cd,
|
/moloch/inner/subsectionpage/.cd,
|
||||||
.is choice,
|
.is choice,
|
||||||
none/.code=\metropolis@disablesubsectionpage,
|
none/.code=\moloch@disablesubsectionpage,
|
||||||
simple/.code={\metropolis@enablesubsectionpage
|
simple/.code={\moloch@enablesubsectionpage
|
||||||
\setbeamertemplate{section page}[simple]},
|
\setbeamertemplate{section page}[simple]},
|
||||||
progressbar/.code={\metropolis@enablesubsectionpage
|
progressbar/.code={\moloch@enablesubsectionpage
|
||||||
\setbeamertemplate{section page}[progressbar]},
|
\setbeamertemplate{section page}[progressbar]},
|
||||||
}
|
}
|
||||||
% \end{macrocode}
|
% \end{macrocode}
|
||||||
% \end{macro}
|
% \end{macro}
|
||||||
%
|
%
|
||||||
% \begin{macro}{\metropolis@inner@setdefaults}
|
% \begin{macro}{\moloch@inner@setdefaults}
|
||||||
% Set default values for inner theme options.
|
% Set default values for inner theme options.
|
||||||
% \begin{macrocode}
|
% \begin{macrocode}
|
||||||
\newcommand{\metropolis@inner@setdefaults}{
|
\newcommand{\moloch@inner@setdefaults}{
|
||||||
\pgfkeys{/metropolis/inner/.cd,
|
\pgfkeys{/moloch/inner/.cd,
|
||||||
sectionpage=progressbar,
|
sectionpage=progressbar,
|
||||||
subsectionpage=none
|
subsectionpage=none
|
||||||
}
|
}
|
||||||
|
@ -196,12 +196,12 @@
|
||||||
% Template to set the title graphic in a zero-height box. (It won't
|
% Template to set the title graphic in a zero-height box. (It won't
|
||||||
% change the position of other elements.)
|
% change the position of other elements.)
|
||||||
% \begin{macrocode}
|
% \begin{macrocode}
|
||||||
\newlength{\metropolis@titleseparator@linewidth}
|
\newlength{\moloch@titleseparator@linewidth}
|
||||||
\setlength{\metropolis@titleseparator@linewidth}{0.4pt}
|
\setlength{\moloch@titleseparator@linewidth}{0.4pt}
|
||||||
\setbeamertemplate{title separator}{
|
\setbeamertemplate{title separator}{
|
||||||
\tikzexternaldisable%
|
\tikzexternaldisable%
|
||||||
\begin{tikzpicture}
|
\begin{tikzpicture}
|
||||||
\fill[fg] (0,0) rectangle (\textwidth, \metropolis@titleseparator@linewidth);
|
\fill[fg] (0,0) rectangle (\textwidth, \moloch@titleseparator@linewidth);
|
||||||
\end{tikzpicture}%
|
\end{tikzpicture}%
|
||||||
\tikzexternalenable%
|
\tikzexternalenable%
|
||||||
\par%
|
\par%
|
||||||
|
@ -281,12 +281,12 @@
|
||||||
\par
|
\par
|
||||||
\vspace{\baselineskip}
|
\vspace{\baselineskip}
|
||||||
}
|
}
|
||||||
\newcommand{\metropolis@disablesectionpage}{
|
\newcommand{\moloch@disablesectionpage}{
|
||||||
\AtBeginSection{
|
\AtBeginSection{
|
||||||
% intentionally empty
|
% intentionally empty
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
\newcommand{\metropolis@enablesectionpage}{
|
\newcommand{\moloch@enablesectionpage}{
|
||||||
\AtBeginSection{
|
\AtBeginSection{
|
||||||
\ifbeamer@inframe
|
\ifbeamer@inframe
|
||||||
\sectionpage
|
\sectionpage
|
||||||
|
@ -307,12 +307,12 @@
|
||||||
\setbeamertemplate{subsection page}{%
|
\setbeamertemplate{subsection page}{%
|
||||||
\usebeamertemplate*{section page}
|
\usebeamertemplate*{section page}
|
||||||
}
|
}
|
||||||
\newcommand{\metropolis@disablesubsectionpage}{
|
\newcommand{\moloch@disablesubsectionpage}{
|
||||||
\AtBeginSubsection{
|
\AtBeginSubsection{
|
||||||
% intentionally empty
|
% intentionally empty
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
\newcommand{\metropolis@enablesubsectionpage}{
|
\newcommand{\moloch@enablesubsectionpage}{
|
||||||
\AtBeginSubsection{
|
\AtBeginSubsection{
|
||||||
\ifbeamer@inframe
|
\ifbeamer@inframe
|
||||||
\subsectionpage
|
\subsectionpage
|
||||||
|
@ -331,17 +331,17 @@
|
||||||
% |progress bar in head/foot|.
|
% |progress bar in head/foot|.
|
||||||
%
|
%
|
||||||
% \begin{macrocode}
|
% \begin{macrocode}
|
||||||
\newlength{\metropolis@progressonsectionpage}
|
\newlength{\moloch@progressonsectionpage}
|
||||||
\newlength{\metropolis@progressonsectionpage@linewidth}
|
\newlength{\moloch@progressonsectionpage@linewidth}
|
||||||
\setlength{\metropolis@progressonsectionpage@linewidth}{0.4pt}
|
\setlength{\moloch@progressonsectionpage@linewidth}{0.4pt}
|
||||||
\setbeamertemplate{progress bar in section page}{
|
\setbeamertemplate{progress bar in section page}{
|
||||||
\setlength{\metropolis@progressonsectionpage}{%
|
\setlength{\moloch@progressonsectionpage}{%
|
||||||
\textwidth * \ratio{\insertframenumber pt}{\inserttotalframenumber pt}%
|
\textwidth * \ratio{\insertframenumber pt}{\inserttotalframenumber pt}%
|
||||||
}%
|
}%
|
||||||
\tikzexternaldisable%
|
\tikzexternaldisable%
|
||||||
\begin{tikzpicture}
|
\begin{tikzpicture}
|
||||||
\fill[bg] (0,0) rectangle (\textwidth, \metropolis@progressonsectionpage@linewidth);
|
\fill[bg] (0,0) rectangle (\textwidth, \moloch@progressonsectionpage@linewidth);
|
||||||
\fill[fg] (0,0) rectangle (\metropolis@progressonsectionpage, \metropolis@progressonsectionpage@linewidth);
|
\fill[fg] (0,0) rectangle (\moloch@progressonsectionpage, \moloch@progressonsectionpage@linewidth);
|
||||||
\end{tikzpicture}%
|
\end{tikzpicture}%
|
||||||
\tikzexternalenable%
|
\tikzexternalenable%
|
||||||
}
|
}
|
||||||
|
@ -351,7 +351,7 @@
|
||||||
% |\inserttotalframenumber|. However, this is not true on the first compile;
|
% |\inserttotalframenumber|. However, this is not true on the first compile;
|
||||||
% in the absence of an |.aux| file, |\inserttotalframenumber| defaults to 1.
|
% in the absence of an |.aux| file, |\inserttotalframenumber| defaults to 1.
|
||||||
% This behaviour could cause fatal errors for long presentations, as
|
% This behaviour could cause fatal errors for long presentations, as
|
||||||
% |\metropolis@progressonsectionpage| would exceed \TeX's maximum length
|
% |\moloch@progressonsectionpage| would exceed \TeX's maximum length
|
||||||
% (16383.99999pt, roughly 5.75 metres or 18.9 feet).
|
% (16383.99999pt, roughly 5.75 metres or 18.9 feet).
|
||||||
% To avoid this, we increase the default value for |\inserttotalframenumber|;
|
% To avoid this, we increase the default value for |\inserttotalframenumber|;
|
||||||
% presentations with over 4000 slides will still break on first compile, but
|
% presentations with over 4000 slides will still break on first compile, but
|
||||||
|
@ -373,17 +373,17 @@
|
||||||
%
|
%
|
||||||
% The three different block environments differ only in their colours.
|
% The three different block environments differ only in their colours.
|
||||||
% Rather than repeat the essentially the same template three times, we use
|
% Rather than repeat the essentially the same template three times, we use
|
||||||
% the auxiliary macro |\metropolis@block| to define all three templates.
|
% the auxiliary macro |\moloch@block| to define all three templates.
|
||||||
%
|
%
|
||||||
% \begin{macrocode}
|
% \begin{macrocode}
|
||||||
\newlength{\metropolis@blocksep}
|
\newlength{\moloch@blocksep}
|
||||||
\newlength{\metropolis@blockadjust}
|
\newlength{\moloch@blockadjust}
|
||||||
\setlength{\metropolis@blocksep}{0.75ex}
|
\setlength{\moloch@blocksep}{0.75ex}
|
||||||
\setlength{\metropolis@blockadjust}{0.25ex}
|
\setlength{\moloch@blockadjust}{0.25ex}
|
||||||
\providecommand{\metropolis@strut}{%
|
\providecommand{\moloch@strut}{%
|
||||||
\vphantom{ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz()}%
|
\vphantom{ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz()}%
|
||||||
}
|
}
|
||||||
\newcommand{\metropolis@block}[1]{
|
\newcommand{\moloch@block}[1]{
|
||||||
\par\vskip\medskipamount%
|
\par\vskip\medskipamount%
|
||||||
\setlength{\parskip}{0pt}
|
\setlength{\parskip}{0pt}
|
||||||
% \end{macrocode}
|
% \end{macrocode}
|
||||||
|
@ -414,30 +414,30 @@
|
||||||
% \end{macrocode}
|
% \end{macrocode}
|
||||||
%
|
%
|
||||||
% Otherwise, if the |block title| has a background, we set the padding based
|
% Otherwise, if the |block title| has a background, we set the padding based
|
||||||
% on |\metropolis@blockskip|. However, we have to visually compensate for
|
% on |\moloch@blockskip|. However, we have to visually compensate for
|
||||||
% the |\metropolis@strut| added to the block title (see below) by
|
% the |\moloch@strut| added to the block title (see below) by
|
||||||
% subtracting |\metropolis@blockadjust| from the top and bottom padding.
|
% subtracting |\moloch@blockadjust| from the top and bottom padding.
|
||||||
%
|
%
|
||||||
% \begin{macrocode}
|
% \begin{macrocode}
|
||||||
{%
|
{%
|
||||||
\begin{beamercolorbox}[
|
\begin{beamercolorbox}[
|
||||||
sep=\dimexpr\metropolis@blocksep-\metropolis@blockadjust\relax,
|
sep=\dimexpr\moloch@blocksep-\moloch@blockadjust\relax,
|
||||||
leftskip=\metropolis@blockadjust,
|
leftskip=\moloch@blockadjust,
|
||||||
rightskip=\dimexpr\metropolis@blockadjust plus 4em\relax
|
rightskip=\dimexpr\moloch@blockadjust plus 4em\relax
|
||||||
]{block title#1}%
|
]{block title#1}%
|
||||||
}}%
|
}}%
|
||||||
% \end{macrocode}
|
% \end{macrocode}
|
||||||
%
|
%
|
||||||
% We can now set the contents of the |block title|. The zero-width but
|
% We can now set the contents of the |block title|. The zero-width but
|
||||||
% positive-height box |\metropolis@strut| ensures that the block title box
|
% positive-height box |\moloch@strut| ensures that the block title box
|
||||||
% has a consistent height, even if it lacks punctuation, ascenders, or
|
% has a consistent height, even if it lacks punctuation, ascenders, or
|
||||||
% descenders.
|
% descenders.
|
||||||
%
|
%
|
||||||
% \begin{macrocode}
|
% \begin{macrocode}
|
||||||
\usebeamerfont*{block title#1}%
|
\usebeamerfont*{block title#1}%
|
||||||
\metropolis@strut%
|
\moloch@strut%
|
||||||
\insertblocktitle%
|
\insertblocktitle%
|
||||||
\metropolis@strut%
|
\moloch@strut%
|
||||||
\end{beamercolorbox}%
|
\end{beamercolorbox}%
|
||||||
% \end{macrocode}
|
% \end{macrocode}
|
||||||
%
|
%
|
||||||
|
@ -451,21 +451,21 @@
|
||||||
\ifbeamercolorempty[bg]{block body}{%
|
\ifbeamercolorempty[bg]{block body}{%
|
||||||
\begin{beamercolorbox}[vmode]{block body#1}%
|
\begin{beamercolorbox}[vmode]{block body#1}%
|
||||||
}{%
|
}{%
|
||||||
\begin{beamercolorbox}[sep=\metropolis@blocksep, vmode]{block body#1}%
|
\begin{beamercolorbox}[sep=\moloch@blocksep, vmode]{block body#1}%
|
||||||
\vspace{-\metropolis@parskip}
|
\vspace{-\moloch@parskip}
|
||||||
}}%
|
}}%
|
||||||
\usebeamerfont{block body#1}%
|
\usebeamerfont{block body#1}%
|
||||||
\setlength{\parskip}{\metropolis@parskip}%
|
\setlength{\parskip}{\moloch@parskip}%
|
||||||
}
|
}
|
||||||
% \end{macrocode}
|
% \end{macrocode}
|
||||||
%
|
%
|
||||||
% This concludes the auxiliary macro |\metropolis@block|. Finally,
|
% This concludes the auxiliary macro |\moloch@block|. Finally,
|
||||||
% we define the block beamer templates using this macro.
|
% we define the block beamer templates using this macro.
|
||||||
%
|
%
|
||||||
% \begin{macrocode}
|
% \begin{macrocode}
|
||||||
\setbeamertemplate{block begin}{\metropolis@block{}}
|
\setbeamertemplate{block begin}{\moloch@block{}}
|
||||||
\setbeamertemplate{block alerted begin}{\metropolis@block{ alerted}}
|
\setbeamertemplate{block alerted begin}{\moloch@block{ alerted}}
|
||||||
\setbeamertemplate{block example begin}{\metropolis@block{ example}}
|
\setbeamertemplate{block example begin}{\moloch@block{ example}}
|
||||||
\setbeamertemplate{block end}{\end{beamercolorbox}\vspace*{0.2ex}}
|
\setbeamertemplate{block end}{\end{beamercolorbox}\vspace*{0.2ex}}
|
||||||
\setbeamertemplate{block alerted end}{\end{beamercolorbox}\vspace*{0.2ex}}
|
\setbeamertemplate{block alerted end}{\end{beamercolorbox}\vspace*{0.2ex}}
|
||||||
\setbeamertemplate{block example end}{\end{beamercolorbox}\vspace*{0.2ex}}
|
\setbeamertemplate{block example end}{\end{beamercolorbox}\vspace*{0.2ex}}
|
||||||
|
@ -500,9 +500,9 @@
|
||||||
% \subsubsection{Text and spacing settings}
|
% \subsubsection{Text and spacing settings}
|
||||||
%
|
%
|
||||||
% \begin{macrocode}
|
% \begin{macrocode}
|
||||||
\newlength{\metropolis@parskip}
|
\newlength{\moloch@parskip}
|
||||||
\setlength{\metropolis@parskip}{0.5em}
|
\setlength{\moloch@parskip}{0.5em}
|
||||||
\setlength{\parskip}{\metropolis@parskip}
|
\setlength{\parskip}{\moloch@parskip}
|
||||||
\linespread{1.15}
|
\linespread{1.15}
|
||||||
% \end{macrocode}
|
% \end{macrocode}
|
||||||
%
|
%
|
||||||
|
@ -539,9 +539,9 @@
|
||||||
% change the colors and set frame options.
|
% change the colors and set frame options.
|
||||||
%
|
%
|
||||||
% \begin{macrocode}
|
% \begin{macrocode}
|
||||||
\providebool{metropolis@standout}
|
\providebool{moloch@standout}
|
||||||
\define@key{beamerframe}{standout}[true]{%
|
\define@key{beamerframe}{standout}[true]{%
|
||||||
\booltrue{metropolis@standout}
|
\booltrue{moloch@standout}
|
||||||
\begingroup
|
\begingroup
|
||||||
\setkeys{beamerframe}{c}
|
\setkeys{beamerframe}{c}
|
||||||
\setkeys{beamerframe}{noframenumbering}
|
\setkeys{beamerframe}{noframenumbering}
|
||||||
|
@ -572,9 +572,9 @@
|
||||||
%
|
%
|
||||||
% \begin{macrocode}
|
% \begin{macrocode}
|
||||||
\pretocmd{\beamer@reseteecodes}{%
|
\pretocmd{\beamer@reseteecodes}{%
|
||||||
\ifbool{metropolis@standout}{
|
\ifbool{moloch@standout}{
|
||||||
\endgroup
|
\endgroup
|
||||||
\boolfalse{metropolis@standout}
|
\boolfalse{moloch@standout}
|
||||||
}{}
|
}{}
|
||||||
}{}{}
|
}{}{}
|
||||||
% \end{macrocode}
|
% \end{macrocode}
|
||||||
|
@ -585,7 +585,7 @@
|
||||||
%
|
%
|
||||||
% \begin{macrocode}
|
% \begin{macrocode}
|
||||||
\AtBeginEnvironment{beamer@frameslide}{
|
\AtBeginEnvironment{beamer@frameslide}{
|
||||||
\ifbool{metropolis@standout}{
|
\ifbool{moloch@standout}{
|
||||||
\centering
|
\centering
|
||||||
\usebeamerfont{standout}
|
\usebeamerfont{standout}
|
||||||
}{}
|
}{}
|
||||||
|
@ -596,8 +596,8 @@
|
||||||
% \subsubsection{Process package options}
|
% \subsubsection{Process package options}
|
||||||
%
|
%
|
||||||
% \begin{macrocode}
|
% \begin{macrocode}
|
||||||
\metropolis@inner@setdefaults
|
\moloch@inner@setdefaults
|
||||||
\ProcessPgfPackageOptions{/metropolis/inner}
|
\ProcessPgfPackageOptions{/moloch/inner}
|
||||||
% \end{macrocode}
|
% \end{macrocode}
|
||||||
%
|
%
|
||||||
% \iffalse
|
% \iffalse
|
|
@ -12,7 +12,7 @@
|
||||||
% \iffalse
|
% \iffalse
|
||||||
%<*package>
|
%<*package>
|
||||||
\NeedsTeXFormat{LaTeX2e}
|
\NeedsTeXFormat{LaTeX2e}
|
||||||
\ProvidesPackage{beamerouterthememetropolis}[2017/01/23 Metropolis outer theme]
|
\ProvidesPackage{beamerouterthememoloch}[2017/01/23 Moloch outer theme]
|
||||||
%</package>
|
%</package>
|
||||||
% \fi
|
% \fi
|
||||||
% \CheckSum{0}
|
% \CheckSum{0}
|
||||||
|
@ -44,7 +44,7 @@
|
||||||
% Adds slide numbers to the bottom right of each slide.
|
% Adds slide numbers to the bottom right of each slide.
|
||||||
% \begin{macrocode}
|
% \begin{macrocode}
|
||||||
\pgfkeys{
|
\pgfkeys{
|
||||||
/metropolis/outer/numbering/.cd,
|
/moloch/outer/numbering/.cd,
|
||||||
.is choice,
|
.is choice,
|
||||||
none/.code=\setbeamertemplate{frame numbering}[none],
|
none/.code=\setbeamertemplate{frame numbering}[none],
|
||||||
counter/.code=\setbeamertemplate{frame numbering}[counter],
|
counter/.code=\setbeamertemplate{frame numbering}[counter],
|
||||||
|
@ -57,24 +57,24 @@
|
||||||
% Adds a progress bar to the top, bottom, or frametitle of each slide.
|
% Adds a progress bar to the top, bottom, or frametitle of each slide.
|
||||||
% \begin{macrocode}
|
% \begin{macrocode}
|
||||||
\pgfkeys{
|
\pgfkeys{
|
||||||
/metropolis/outer/progressbar/.cd,
|
/moloch/outer/progressbar/.cd,
|
||||||
.is choice,
|
.is choice,
|
||||||
none/.code={%
|
none/.code={%
|
||||||
\setbeamertemplate{headline}[plain]
|
\setbeamertemplate{headline}[plain]
|
||||||
\setbeamertemplate{frametitle}[plain]
|
\setbeamertemplate{frametitle}[plain]
|
||||||
\setbeamertemplate{footline}[plain]
|
\setbeamertemplate{footline}[plain]
|
||||||
},
|
},
|
||||||
head/.code={\pgfkeys{/metropolis/outer/progressbar=none}
|
head/.code={\pgfkeys{/moloch/outer/progressbar=none}
|
||||||
\addtobeamertemplate{headline}{}{%
|
\addtobeamertemplate{headline}{}{%
|
||||||
\usebeamertemplate*{progress bar in head/foot}
|
\usebeamertemplate*{progress bar in head/foot}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
frametitle/.code={\pgfkeys{/metropolis/outer/progressbar=none}
|
frametitle/.code={\pgfkeys{/moloch/outer/progressbar=none}
|
||||||
\addtobeamertemplate{frametitle}{}{%
|
\addtobeamertemplate{frametitle}{}{%
|
||||||
\usebeamertemplate*{progress bar in head/foot}
|
\usebeamertemplate*{progress bar in head/foot}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
foot/.code={\pgfkeys{/metropolis/outer/progressbar=none}
|
foot/.code={\pgfkeys{/moloch/outer/progressbar=none}
|
||||||
\addtobeamertemplate{footline}{}{%
|
\addtobeamertemplate{footline}{}{%
|
||||||
\usebeamertemplate*{progress bar in head/foot}%
|
\usebeamertemplate*{progress bar in head/foot}%
|
||||||
}
|
}
|
||||||
|
@ -83,11 +83,11 @@
|
||||||
% \end{macrocode}
|
% \end{macrocode}
|
||||||
% \end{macro}
|
% \end{macro}
|
||||||
%
|
%
|
||||||
% \begin{macro}{\metropolis@outer@setdefaults}
|
% \begin{macro}{\moloch@outer@setdefaults}
|
||||||
% Sets default values for outer theme options.
|
% Sets default values for outer theme options.
|
||||||
% \begin{macrocode}
|
% \begin{macrocode}
|
||||||
\newcommand{\metropolis@outer@setdefaults}{
|
\newcommand{\moloch@outer@setdefaults}{
|
||||||
\pgfkeys{/metropolis/outer/.cd,
|
\pgfkeys{/moloch/outer/.cd,
|
||||||
numbering=counter,
|
numbering=counter,
|
||||||
progressbar=none,
|
progressbar=none,
|
||||||
}
|
}
|
||||||
|
@ -148,30 +148,30 @@
|
||||||
% Templates for the frame title, which is optionally underlined with a
|
% Templates for the frame title, which is optionally underlined with a
|
||||||
% progress bar.
|
% progress bar.
|
||||||
% \begin{macrocode}
|
% \begin{macrocode}
|
||||||
\newlength{\metropolis@frametitle@padding}
|
\newlength{\moloch@frametitle@padding}
|
||||||
\setlength{\metropolis@frametitle@padding}{2.2ex}
|
\setlength{\moloch@frametitle@padding}{2.2ex}
|
||||||
\newcommand{\metropolis@frametitlestrut@start}{
|
\newcommand{\moloch@frametitlestrut@start}{
|
||||||
\rule{0pt}{\metropolis@frametitle@padding +%
|
\rule{0pt}{\moloch@frametitle@padding +%
|
||||||
\totalheightof{%
|
\totalheightof{%
|
||||||
\ifcsdef{metropolis@frametitleformat}{\metropolis@frametitleformat X}{X}%
|
\ifcsdef{moloch@frametitleformat}{\moloch@frametitleformat X}{X}%
|
||||||
}%
|
}%
|
||||||
}%
|
}%
|
||||||
}
|
}
|
||||||
\newcommand{\metropolis@frametitlestrut@end}{
|
\newcommand{\moloch@frametitlestrut@end}{
|
||||||
\rule[-\metropolis@frametitle@padding]{0pt}{\metropolis@frametitle@padding}
|
\rule[-\moloch@frametitle@padding]{0pt}{\moloch@frametitle@padding}
|
||||||
}
|
}
|
||||||
\defbeamertemplate{frametitle}{plain}{%
|
\defbeamertemplate{frametitle}{plain}{%
|
||||||
\nointerlineskip%
|
\nointerlineskip%
|
||||||
\begin{beamercolorbox}[%
|
\begin{beamercolorbox}[%
|
||||||
wd=\paperwidth,%
|
wd=\paperwidth,%
|
||||||
sep=0pt,%
|
sep=0pt,%
|
||||||
leftskip=\metropolis@frametitle@padding,%
|
leftskip=\moloch@frametitle@padding,%
|
||||||
rightskip=\metropolis@frametitle@padding,%
|
rightskip=\moloch@frametitle@padding,%
|
||||||
]{frametitle}%
|
]{frametitle}%
|
||||||
\metropolis@frametitlestrut@start%
|
\moloch@frametitlestrut@start%
|
||||||
\insertframetitle%
|
\insertframetitle%
|
||||||
\nolinebreak%
|
\nolinebreak%
|
||||||
\metropolis@frametitlestrut@end%
|
\moloch@frametitlestrut@end%
|
||||||
\end{beamercolorbox}%
|
\end{beamercolorbox}%
|
||||||
}
|
}
|
||||||
\setbeamertemplate{frametitle continuation}{%
|
\setbeamertemplate{frametitle continuation}{%
|
||||||
|
@ -186,19 +186,19 @@
|
||||||
% on each page. Much of this code is duplicated in the inner theme's
|
% on each page. Much of this code is duplicated in the inner theme's
|
||||||
% template |progress bar in section page|.
|
% template |progress bar in section page|.
|
||||||
% \begin{macrocode}
|
% \begin{macrocode}
|
||||||
\newlength{\metropolis@progressinheadfoot}
|
\newlength{\moloch@progressinheadfoot}
|
||||||
\newlength{\metropolis@progressinheadfoot@linewidth}
|
\newlength{\moloch@progressinheadfoot@linewidth}
|
||||||
\setlength{\metropolis@progressinheadfoot@linewidth}{0.4pt}
|
\setlength{\moloch@progressinheadfoot@linewidth}{0.4pt}
|
||||||
\setbeamertemplate{progress bar in head/foot}{
|
\setbeamertemplate{progress bar in head/foot}{
|
||||||
\nointerlineskip
|
\nointerlineskip
|
||||||
\setlength{\metropolis@progressinheadfoot}{%
|
\setlength{\moloch@progressinheadfoot}{%
|
||||||
\paperwidth * \ratio{\insertframenumber pt}{\inserttotalframenumber pt}%
|
\paperwidth * \ratio{\insertframenumber pt}{\inserttotalframenumber pt}%
|
||||||
}%
|
}%
|
||||||
\begin{beamercolorbox}[wd=\paperwidth]{progress bar in head/foot}
|
\begin{beamercolorbox}[wd=\paperwidth]{progress bar in head/foot}
|
||||||
\tikzexternaldisable%
|
\tikzexternaldisable%
|
||||||
\begin{tikzpicture}
|
\begin{tikzpicture}
|
||||||
\fill[bg] (0,0) rectangle (\paperwidth, \metropolis@progressinheadfoot@linewidth);
|
\fill[bg] (0,0) rectangle (\paperwidth, \moloch@progressinheadfoot@linewidth);
|
||||||
\fill[fg] (0,0) rectangle (\metropolis@progressinheadfoot, \metropolis@progressinheadfoot@linewidth);
|
\fill[fg] (0,0) rectangle (\moloch@progressinheadfoot, \moloch@progressinheadfoot@linewidth);
|
||||||
\end{tikzpicture}%
|
\end{tikzpicture}%
|
||||||
\tikzexternalenable%
|
\tikzexternalenable%
|
||||||
\end{beamercolorbox}
|
\end{beamercolorbox}
|
||||||
|
@ -217,7 +217,7 @@
|
||||||
\AtBeginDocument{%
|
\AtBeginDocument{%
|
||||||
\apptocmd{\appendix}{%
|
\apptocmd{\appendix}{%
|
||||||
\pgfkeys{%
|
\pgfkeys{%
|
||||||
/metropolis/outer/.cd,
|
/moloch/outer/.cd,
|
||||||
numbering=none,
|
numbering=none,
|
||||||
progressbar=none}
|
progressbar=none}
|
||||||
}{}{}
|
}{}{}
|
||||||
|
@ -227,8 +227,8 @@
|
||||||
% \subsubsection{Process package options}
|
% \subsubsection{Process package options}
|
||||||
%
|
%
|
||||||
% \begin{macrocode}
|
% \begin{macrocode}
|
||||||
\metropolis@outer@setdefaults
|
\moloch@outer@setdefaults
|
||||||
\ProcessPgfPackageOptions{/metropolis/outer}
|
\ProcessPgfPackageOptions{/moloch/outer}
|
||||||
% \end{macrocode}
|
% \end{macrocode}
|
||||||
%
|
%
|
||||||
% \iffalse
|
% \iffalse
|
|
@ -12,8 +12,8 @@
|
||||||
% \iffalse
|
% \iffalse
|
||||||
%<*package>
|
%<*package>
|
||||||
\NeedsTeXFormat{LaTeX2e}
|
\NeedsTeXFormat{LaTeX2e}
|
||||||
\ProvidesPackage{beamerthememetropolis}
|
\ProvidesPackage{beamerthememoloch}
|
||||||
[2017/01/23 v1.2 Metropolis Beamer theme]
|
[2017/01/23 v1.2 Moloch Beamer theme]
|
||||||
%</package>
|
%</package>
|
||||||
% \fi
|
% \fi
|
||||||
% \CheckSum{0}
|
% \CheckSum{0}
|
||||||
|
@ -44,12 +44,12 @@
|
||||||
% Most options are passed off to the component sub-packages.
|
% Most options are passed off to the component sub-packages.
|
||||||
%
|
%
|
||||||
% \begin{macrocode}
|
% \begin{macrocode}
|
||||||
\pgfkeys{/metropolis/.cd,
|
\pgfkeys{/moloch/.cd,
|
||||||
.search also={
|
.search also={
|
||||||
/metropolis/inner,
|
/moloch/inner,
|
||||||
/metropolis/outer,
|
/moloch/outer,
|
||||||
/metropolis/color,
|
/moloch/color,
|
||||||
/metropolis/font,
|
/moloch/font,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
% \end{macrocode}
|
% \end{macrocode}
|
||||||
|
@ -58,27 +58,27 @@
|
||||||
% Controls the formatting of the text on standout ``plain'' frames.
|
% Controls the formatting of the text on standout ``plain'' frames.
|
||||||
% \begin{macrocode}
|
% \begin{macrocode}
|
||||||
\pgfkeys{
|
\pgfkeys{
|
||||||
/metropolis/titleformat plain/.cd,
|
/moloch/titleformat plain/.cd,
|
||||||
.is choice,
|
.is choice,
|
||||||
regular/.code={%
|
regular/.code={%
|
||||||
\let\metropolis@plaintitleformat\@empty%
|
\let\moloch@plaintitleformat\@empty%
|
||||||
\setbeamerfont{standout}{shape=\normalfont}%
|
\setbeamerfont{standout}{shape=\normalfont}%
|
||||||
},
|
},
|
||||||
smallcaps/.code={%
|
smallcaps/.code={%
|
||||||
\let\metropolis@plaintitleformat\@empty%
|
\let\moloch@plaintitleformat\@empty%
|
||||||
\setbeamerfont{standout}{shape=\scshape}%
|
\setbeamerfont{standout}{shape=\scshape}%
|
||||||
},
|
},
|
||||||
allsmallcaps/.code={%
|
allsmallcaps/.code={%
|
||||||
\let\metropolis@plaintitleformat\MakeLowercase%
|
\let\moloch@plaintitleformat\MakeLowercase%
|
||||||
\setbeamerfont{standout}{shape=\scshape}%
|
\setbeamerfont{standout}{shape=\scshape}%
|
||||||
\PackageWarning{beamerthememetropolis}{%
|
\PackageWarning{beamerthememoloch}{%
|
||||||
Be aware that titleformat plain=allsmallcaps can lead to problems%
|
Be aware that titleformat plain=allsmallcaps can lead to problems%
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
allcaps/.code={%
|
allcaps/.code={%
|
||||||
\let\metropolis@plaintitleformat\MakeUppercase%
|
\let\moloch@plaintitleformat\MakeUppercase%
|
||||||
\setbeamerfont{standout}{shape=\normalfont}%
|
\setbeamerfont{standout}{shape=\normalfont}%
|
||||||
\PackageWarning{beamerthememetropolis}{%
|
\PackageWarning{beamerthememoloch}{%
|
||||||
Be aware that titleformat plain=allcaps can lead to problems%
|
Be aware that titleformat plain=allcaps can lead to problems%
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -91,7 +91,7 @@
|
||||||
% titles, and the text on standout ``plain'' frames.
|
% titles, and the text on standout ``plain'' frames.
|
||||||
% \begin{macrocode}
|
% \begin{macrocode}
|
||||||
\pgfkeys{
|
\pgfkeys{
|
||||||
/metropolis/titleformat/.code=\pgfkeysalso{
|
/moloch/titleformat/.code=\pgfkeysalso{
|
||||||
font/titleformat title=#1,
|
font/titleformat title=#1,
|
||||||
font/titleformat subtitle=#1,
|
font/titleformat subtitle=#1,
|
||||||
font/titleformat section=#1,
|
font/titleformat section=#1,
|
||||||
|
@ -106,7 +106,7 @@
|
||||||
% deprecated option names as aliases to the corresponding |key=value| options.
|
% deprecated option names as aliases to the corresponding |key=value| options.
|
||||||
%
|
%
|
||||||
% \begin{macrocode}
|
% \begin{macrocode}
|
||||||
\pgfkeys{/metropolis/.cd,
|
\pgfkeys{/moloch/.cd,
|
||||||
usetitleprogressbar/.code=\pgfkeysalso{outer/progressbar=frametitle},
|
usetitleprogressbar/.code=\pgfkeysalso{outer/progressbar=frametitle},
|
||||||
noslidenumbers/.code=\pgfkeysalso{outer/numbering=none},
|
noslidenumbers/.code=\pgfkeysalso{outer/numbering=none},
|
||||||
usetotalslideindicator/.code=\pgfkeysalso{outer/numbering=fraction},
|
usetotalslideindicator/.code=\pgfkeysalso{outer/numbering=fraction},
|
||||||
|
@ -119,8 +119,8 @@
|
||||||
% Set default values for options.
|
% Set default values for options.
|
||||||
%
|
%
|
||||||
% \begin{macrocode}
|
% \begin{macrocode}
|
||||||
\newcommand{\metropolis@setdefaults}{
|
\newcommand{\moloch@setdefaults}{
|
||||||
\pgfkeys{/metropolis/.cd,
|
\pgfkeys{/moloch/.cd,
|
||||||
titleformat plain=regular,
|
titleformat plain=regular,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -142,10 +142,10 @@
|
||||||
% the theme.
|
% the theme.
|
||||||
%
|
%
|
||||||
% \begin{macrocode}
|
% \begin{macrocode}
|
||||||
\useinnertheme{metropolis}
|
\useinnertheme{moloch}
|
||||||
\useoutertheme{metropolis}
|
\useoutertheme{moloch}
|
||||||
\usecolortheme{metropolis}
|
\usecolortheme{moloch}
|
||||||
\usefonttheme{metropolis}
|
\usefonttheme{moloch}
|
||||||
% \end{macrocode}
|
% \end{macrocode}
|
||||||
%
|
%
|
||||||
% The |tol| theme for |pgfplots| is only loaded if |pgfplots| is used.
|
% The |tol| theme for |pgfplots| is only loaded if |pgfplots| is used.
|
||||||
|
@ -165,10 +165,10 @@
|
||||||
% The parent theme defines custom commands as their proper usage may depend
|
% The parent theme defines custom commands as their proper usage may depend
|
||||||
% on multiple sub-packages.
|
% on multiple sub-packages.
|
||||||
%
|
%
|
||||||
% \begin{macro}{\metroset}
|
% \begin{macro}{\molochset}
|
||||||
% Allows the user to change options midway through a presentation.
|
% Allows the user to change options midway through a presentation.
|
||||||
% \begin{macrocode}
|
% \begin{macrocode}
|
||||||
\newcommand{\metroset}[1]{\pgfkeys{/metropolis/.cd,#1}}
|
\newcommand{\molochset}[1]{\pgfkeys{/moloch/.cd,#1}}
|
||||||
% \end{macrocode}
|
% \end{macrocode}
|
||||||
% \end{macro}
|
% \end{macro}
|
||||||
%
|
%
|
||||||
|
@ -177,14 +177,14 @@
|
||||||
% or a few words. The format of the text can be set with the
|
% or a few words. The format of the text can be set with the
|
||||||
% |titleformat plain| option.
|
% |titleformat plain| option.
|
||||||
% \begin{macrocode}
|
% \begin{macrocode}
|
||||||
\def\metropolis@plaintitleformat#1{#1}
|
\def\moloch@plaintitleformat#1{#1}
|
||||||
\newcommand{\plain}[2][]{%
|
\newcommand{\plain}[2][]{%
|
||||||
\PackageWarning{beamerthememetropolis}{%
|
\PackageWarning{beamerthememoloch}{%
|
||||||
The syntax `\plain' may be deprecated in a future version of Metropolis.
|
The syntax `\plain' may be deprecated in a future version of Moloch.
|
||||||
Please use a frame with [standout] instead.
|
Please use a frame with [standout] instead.
|
||||||
}
|
}
|
||||||
\begin{frame}[standout]{#1}
|
\begin{frame}[standout]{#1}
|
||||||
\metropolis@plaintitleformat{#2}
|
\moloch@plaintitleformat{#2}
|
||||||
\end{frame}
|
\end{frame}
|
||||||
}
|
}
|
||||||
% \end{macrocode}
|
% \end{macrocode}
|
||||||
|
@ -201,8 +201,8 @@
|
||||||
% \subsubsection{Process package options}
|
% \subsubsection{Process package options}
|
||||||
%
|
%
|
||||||
% \begin{macrocode}
|
% \begin{macrocode}
|
||||||
\metropolis@setdefaults
|
\moloch@setdefaults
|
||||||
\ProcessPgfOptions{/metropolis}
|
\ProcessPgfOptions{/moloch}
|
||||||
% \end{macrocode}
|
% \end{macrocode}
|
||||||
%
|
%
|
||||||
% \iffalse
|
% \iffalse
|
|
@ -13,7 +13,7 @@
|
||||||
\input docstrip.tex %
|
\input docstrip.tex %
|
||||||
\keepsilent
|
\keepsilent
|
||||||
\askforoverwritefalse
|
\askforoverwritefalse
|
||||||
\usedir{tex/latex/mtheme}
|
\usedir{tex/latex/moloch}
|
||||||
|
|
||||||
\preamble
|
\preamble
|
||||||
---------------------------------------------------------------------------
|
---------------------------------------------------------------------------
|
||||||
|
@ -29,23 +29,23 @@ International License (https://creativecommons.org/licenses/by-sa/4.0/).
|
||||||
---------------------------------------------------------------------------
|
---------------------------------------------------------------------------
|
||||||
\endpreamble
|
\endpreamble
|
||||||
|
|
||||||
\generate{\file{beamerthememetropolis.sty}{%
|
\generate{\file{beamerthememoloch.sty}{%
|
||||||
\from{beamerthememetropolis.dtx}{package}}
|
\from{beamerthememoloch.dtx}{package}}
|
||||||
}
|
}
|
||||||
\generate{\file{beamerinnerthememetropolis.sty}{%
|
\generate{\file{beamerinnerthememoloch.sty}{%
|
||||||
\from{beamerinnerthememetropolis.dtx}{package}}
|
\from{beamerinnerthememoloch.dtx}{package}}
|
||||||
}
|
}
|
||||||
\generate{\file{beamerouterthememetropolis.sty}{%
|
\generate{\file{beamerouterthememoloch.sty}{%
|
||||||
\from{beamerouterthememetropolis.dtx}{package}}
|
\from{beamerouterthememoloch.dtx}{package}}
|
||||||
}
|
}
|
||||||
\generate{\file{beamerfontthememetropolis.sty}{%
|
\generate{\file{beamerfontthememoloch.sty}{%
|
||||||
\from{beamerfontthememetropolis.dtx}{package}}
|
\from{beamerfontthememoloch.dtx}{package}}
|
||||||
}
|
}
|
||||||
\generate{\file{beamercolorthememetropolis.sty}{%
|
\generate{\file{beamercolorthememoloch.sty}{%
|
||||||
\from{beamercolorthememetropolis.dtx}{package}}
|
\from{beamercolorthememoloch.dtx}{package}}
|
||||||
}
|
}
|
||||||
\generate{\file{beamercolorthememetropolis-highcontrast.sty}{%
|
\generate{\file{beamercolorthememoloch-highcontrast.sty}{%
|
||||||
\from{beamercolorthememetropolis-highcontrast.dtx}{package}}
|
\from{beamercolorthememoloch-highcontrast.dtx}{package}}
|
||||||
}
|
}
|
||||||
\generate{\file{pgfplotsthemetol.sty}{%
|
\generate{\file{pgfplotsthemetol.sty}{%
|
||||||
\from{pgfplotsthemetol.dtx}{package}}
|
\from{pgfplotsthemetol.dtx}{package}}
|
||||||
|
@ -57,14 +57,14 @@ International License (https://creativecommons.org/licenses/by-sa/4.0/).
|
||||||
\Msg{* To finish the installation you have to move the following *}
|
\Msg{* To finish the installation you have to move the following *}
|
||||||
\Msg{* files into a directory searched by TeX: *}
|
\Msg{* files into a directory searched by TeX: *}
|
||||||
\Msg{* *}
|
\Msg{* *}
|
||||||
\Msg{* beamerthememetropolis.sty *}
|
\Msg{* beamerthememoloch.sty *}
|
||||||
\Msg{* beamerinnerthememetropolis.sty *}
|
\Msg{* beamerinnerthememoloch.sty *}
|
||||||
\Msg{* beamerouterthememetropolis.sty *}
|
\Msg{* beamerouterthememoloch.sty *}
|
||||||
\Msg{* beamerfontthememetropolis.sty *}
|
\Msg{* beamerfontthememoloch.sty *}
|
||||||
\Msg{* beamercolorthememetropolis.sty *}
|
\Msg{* beamercolorthememoloch.sty *}
|
||||||
\Msg{* pgfplotsthemetol.sty *}
|
\Msg{* pgfplotsthemetol.sty *}
|
||||||
\Msg{* *}
|
\Msg{* *}
|
||||||
\Msg{* To produce the documentation run the file mtheme.dtx *}
|
\Msg{* To produce the documentation run the file moloch.dtx *}
|
||||||
\Msg{* through LaTeX. *}
|
\Msg{* through LaTeX. *}
|
||||||
\Msg{* *}
|
\Msg{* *}
|
||||||
\Msg{* Happy TeXing! *}
|
\Msg{* Happy TeXing! *}
|
Loading…
Reference in New Issue