Create inner theme

This commit is contained in:
Ross Churchley 2015-06-17 18:55:51 -07:00
parent 6e4102614a
commit b1132a096d
4 changed files with 54 additions and 0 deletions

View File

@ -0,0 +1,47 @@
% \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
%<driver> \ProvidesFile{beamerinnerthememetropolis.dtx}
%<*package>
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{beamerinnerthememetropolis}
[2015/06/12 A Modern Beamer Theme]
%</package>
%<driver> \documentclass{ltxdoc}
%<driver> \usepackage{beamerinnerthememetropolis}
%<driver> \begin{document}
%<driver> \DocInput{beamerinnerthememetropolis.dtx}
%<driver> \end{document}
% \fi
% \CheckSum{0}
% \StopEventually{}
% \iffalse
%<*package>
% ------------------------------------------------------------------------- \fi
% \subsection{Inner theme}
%
% A |beamer| inner theme dictates the style of the frame elements traditionally
% set in the ``body'' of each slide. These include:
% \begin{itemize}
% \item title, part, and section pages;
% \item itemize, enumerate, and description environments;
% \item block environments including theorems and proofs;
% \item figures and tables; and
% \item footnotes and plain text.
% \end{title}
% \iffalse
%</package>
% \fi
% \Finale
\endinput

View File

@ -153,6 +153,8 @@
\PackageWarning{beamerthemem}{You need to compile with XeLaTeX or LuaLaTeX for the Fira fonts.}
\fi
\useinnertheme{metropolis}%
\AtEndPreamble{%
\@ifpackageloaded{pgfplots}{%
\RequirePackage{pgfplotsthemetol}

View File

@ -306,6 +306,7 @@ For a full list of contributors please visit the
\section{Implementation}
\DocInput{beamerthemem.dtx}
\DocInput{beamerinnerthememetropolis.dtx}
\DocInput{beamerfontthememetropolis.dtx}
\DocInput{beamercolorthememetropolis.dtx}
\DocInput{pgfplotsthemetol.dtx}

View File

@ -32,6 +32,9 @@ International License (https://creativecommons.org/licenses/by-sa/4.0/).
\generate{\file{beamerthemem.sty}{%
\from{beamerthemem.dtx}{package}}
}
\generate{\file{beamerinnerthememetropolis.sty}{%
\from{beamerinnerthememetropolis.dtx}{package}}
}
\generate{\file{beamerfontthememetropolis.sty}{%
\from{beamerfontthememetropolis.dtx}{package}}
}
@ -49,6 +52,7 @@ International License (https://creativecommons.org/licenses/by-sa/4.0/).
\Msg{* files into a directory searched by TeX: *}
\Msg{* *}
\Msg{* beamerthemem.sty *}
\Msg{* beamerinnerthememetropolis.sty *}
\Msg{* beamerfontthememetropolis.sty *}
\Msg{* beamercolorthememetropolis.sty *}
\Msg{* pgfplotsthemetol.sty *}