diff --git a/Makefile b/Makefile index f99c6b2..c454bb9 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -INS = source/beamerthemem.ins +INS = source/beamerthememetropolis.ins PACKAGE_SRC = $(wildcard source/*.dtx) PACKAGE_STY = $(notdir $(PACKAGE_SRC:%.dtx=%.sty)) DEMO_SRC = demo/demo.tex demo/demo.bib diff --git a/README.md b/README.md index 4731ffd..c5b3b49 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,12 @@ ## Metropolis -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). +**NOTICE: The package name changed from *m* to *metropolis*!** + +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](demo/demo.pdf). @@ -24,11 +30,12 @@ Installing Metropolis, like any Beamer theme, involves four easy steps: ## Usage -The following code shows a minimal example of a Beamer presentation using Metropolis. +The following code shows a minimal example of a Beamer presentation using +Metropolis. ```latex \documentclass{beamer} -\usetheme{m} % Use metropolis theme +\usetheme{metropolis} % Use metropolis theme \title{A minimal example} \date{\today} \author{Matthias Vogelgesang} @@ -47,4 +54,8 @@ Detailed information on using Metropolis can be found in the [manual](doc/metrop ## License -The theme itself is licensed under a [Creative Commons Attribution-ShareAlike 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 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. +The theme itself is licensed under a [Creative Commons Attribution-ShareAlike +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 +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. diff --git a/demo/demo.pdf b/demo/demo.pdf index 8d330e1..5a36f68 100644 Binary files a/demo/demo.pdf and b/demo/demo.pdf differ diff --git a/demo/demo.tex b/demo/demo.tex index e716e0d..7ac685d 100644 --- a/demo/demo.tex +++ b/demo/demo.tex @@ -1,6 +1,6 @@ \documentclass[10pt]{beamer} -\usetheme{m} +\usetheme{metropolis} \usepackage{booktabs} \usepackage[scale=2]{ccicons} @@ -37,7 +37,7 @@ Enable the theme by loading \begin{verbatim} \documentclass{beamer} - \usetheme{m}\end{verbatim} + \usetheme{metropolis}\end{verbatim} Note, that you have to have Mozilla's \emph{Fira Sans} font and XeTeX installed to enjoy this wonderful typography. diff --git a/doc/metropolistheme.dtx b/doc/metropolistheme.dtx index 041392b..111f46d 100644 --- a/doc/metropolistheme.dtx +++ b/doc/metropolistheme.dtx @@ -143,7 +143,7 @@ \newcommand{\themename}{\textbf{\textsc{metropolis}}\xspace} -\GetFileInfo{beamerthemem.dtx} +\GetFileInfo{beamerthememetropolis.dtx} \title{Modern Beamer Presentations with the \themename{} package} \author{Matthias Vogelgesang \\ \url{matthias.vogelgesang@gmail.com}} \date{v0.x.x} @@ -247,7 +247,7 @@ The following code shows a minimal example of a Beamer presentation using \theme \begin{lstlisting} \documentclass{beamer} -\usetheme{m} % Use metropolis theme +\usetheme{metropolis} % Use metropolis theme \title{A minimal example} \date{\today} \author{Matthias Vogelgesang} @@ -292,9 +292,9 @@ $ pandoc -t beamer --latex-engine=xelatex -V theme:m -o output.pdf input.md The theme provides a number of options. The options use a key=value interface. So every option is controlled by a key its value. To use an option you can either provide a comma separated list of options when invoking -\textsc{mtheme} in the preamble of the presentation. +\textsc{metropolis} in the preamble of the presentation. \begin{lstlisting} -\usetheme[]{m} +\usetheme[]{metropolis} \end{lstlisting} Or you can set them at any time with the |\metroset| macro. \begin{lstlisting} @@ -451,7 +451,7 @@ presentation that you create with the theme. \section{Implementation} -\DocInput{beamerthemem.dtx} +\DocInput{beamerthememetropolis.dtx} \DocInput{beamerinnerthememetropolis.dtx} \DocInput{beamerouterthememetropolis.dtx} \DocInput{beamerfontthememetropolis.dtx} diff --git a/doc/metropolistheme.pdf b/doc/metropolistheme.pdf index d529433..e0206ff 100644 Binary files a/doc/metropolistheme.pdf and b/doc/metropolistheme.pdf differ diff --git a/source/beamerfontthememetropolis.dtx b/source/beamerfontthememetropolis.dtx index 0f64841..0cc54e9 100644 --- a/source/beamerfontthememetropolis.dtx +++ b/source/beamerfontthememetropolis.dtx @@ -99,7 +99,7 @@ Fira Sans Italic OT}{% \setsansfont[BoldFont={Fira Sans OT}]{Fira Sans Light OT}% }{% - \PackageWarning{beamerthemem}{% + \PackageWarning{beamerthememetropolis}{% Could not find Fira Sans fonts.% } } @@ -110,7 +110,7 @@ \iffontsexist{Fira Mono OT, Fira Mono Bold OT}{% \setmonofont{Fira Mono OT}% }{% - \PackageWarning{beamerthemem}{% + \PackageWarning{beamerthememetropolis}{% Could not find Fira Mono fonts.% } } @@ -119,7 +119,7 @@ \addfontfeature{Numbers={Monospaced}}% } }{% - \PackageWarning{beamerthemem}{% + \PackageWarning{beamerthememetropolis}{% You need to compile with XeLaTeX or LuaLaTeX to use the Fira fonts.% } } diff --git a/source/beamerthemem.dtx b/source/beamerthememetropolis.dtx similarity index 97% rename from source/beamerthemem.dtx rename to source/beamerthememetropolis.dtx index 1a75b54..ea8ecac 100644 --- a/source/beamerthemem.dtx +++ b/source/beamerthememetropolis.dtx @@ -10,15 +10,15 @@ % International License (https://creativecommons.org/licenses/by-sa/4.0/). % ------------------------------------------------------------------------- \fi % \iffalse -% \ProvidesFile{beamerthemem.dtx} +% \ProvidesFile{beamerthememetropolis.dtx} %<*package> \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{beamerthemem}[2015/06/12 Metropolis Beamer theme] % % \documentclass{ltxdoc} -% \usepackage{beamerthemem} +% \usepackage{beamerthememetropolis} % \begin{document} -% \DocInput{beamerthemem.dtx} +% \DocInput{beamerthememetropolis.dtx} % \end{document} % \fi % \CheckSum{0} diff --git a/source/beamerthemem.ins b/source/beamerthememetropolis.ins similarity index 94% rename from source/beamerthemem.ins rename to source/beamerthememetropolis.ins index 09490ec..5a78e84 100644 --- a/source/beamerthemem.ins +++ b/source/beamerthememetropolis.ins @@ -29,8 +29,8 @@ International License (https://creativecommons.org/licenses/by-sa/4.0/). --------------------------------------------------------------------------- \endpreamble -\generate{\file{beamerthemem.sty}{% - \from{beamerthemem.dtx}{package}} +\generate{\file{beamerthememetropolis.sty}{% + \from{beamerthememetropolis.dtx}{package}} } \generate{\file{beamerinnerthememetropolis.sty}{% \from{beamerinnerthememetropolis.dtx}{package}} @@ -54,7 +54,7 @@ International License (https://creativecommons.org/licenses/by-sa/4.0/). \Msg{* To finish the installation you have to move the following *} \Msg{* files into a directory searched by TeX: *} \Msg{* *} -\Msg{* beamerthemem.sty *} +\Msg{* beamerthememetropolis.sty *} \Msg{* beamerinnerthememetropolis.sty *} \Msg{* beamerouterthememetropolis.sty *} \Msg{* beamerfontthememetropolis.sty *}