summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/beamertheme-metropolis
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2015-12-05 23:05:44 +0000
committerKarl Berry <karl@freefriends.org>2015-12-05 23:05:44 +0000
commit85ee8c199f2c14ef10dd75bd71157faa5cb51bf6 (patch)
tree4aa56eb66743945fdf28f15849d291743f359aee /Master/texmf-dist/doc/latex/beamertheme-metropolis
parent5384f92b5a44dd9e84f1bab69420edf32e99c696 (diff)
beamertheme-metropolis (6dec15)
git-svn-id: svn://tug.org/texlive/trunk@39020 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/beamertheme-metropolis')
-rw-r--r--Master/texmf-dist/doc/latex/beamertheme-metropolis/README.md61
-rw-r--r--Master/texmf-dist/doc/latex/beamertheme-metropolis/demo.bib43
-rw-r--r--Master/texmf-dist/doc/latex/beamertheme-metropolis/demo.pdfbin0 -> 61552 bytes
-rw-r--r--Master/texmf-dist/doc/latex/beamertheme-metropolis/demo.tex312
-rw-r--r--Master/texmf-dist/doc/latex/beamertheme-metropolis/metropolistheme.pdfbin0 -> 103976 bytes
5 files changed, 416 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/beamertheme-metropolis/README.md b/Master/texmf-dist/doc/latex/beamertheme-metropolis/README.md
new file mode 100644
index 00000000000..1ad8ebaa16f
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/beamertheme-metropolis/README.md
@@ -0,0 +1,61 @@
+## Metropolis
+
+**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).
+
+![Sample](http://i.imgur.com/Bxu52fz.png)
+
+
+## Installation
+
+Installing Metropolis, like any Beamer theme, involves four easy steps:
+
+1. **Download the source** with a `git clone` of the [Metropolis repository](https://github.com/matze/mtheme) 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
+ directory. (Or run LaTeX directly on `source/metropolistheme.ins`.)
+
+3. **Move the resulting `*.sty` files** to the folder containing your presentation. To use Metropolis with many presentations, run `make install` or move the `*.sty` files to a folder in your TeX path instead (might require `sudo` rights).
+
+4. **Use the theme for your presentation** by declaring `\usetheme{metropolis}` in
+ the preamble of your Beamer document.
+
+
+## Usage
+
+The following code shows a minimal example of a Beamer presentation using
+Metropolis.
+
+```latex
+\documentclass{beamer}
+\usetheme{metropolis} % Use metropolis theme
+\title{A minimal example}
+\date{\today}
+\author{Matthias Vogelgesang}
+\institute{Centre for Modern Beamer Themes}
+\begin{document}
+ \maketitle
+ \section{First Section}
+ \begin{frame}{First Frame}
+ Hello, world!
+ \end{frame}
+\end{document}
+```
+
+Detailed information on using Metropolis can be found in the [manual (PDF)](doc/metropolistheme.pdf).
+
+
+## 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.
diff --git a/Master/texmf-dist/doc/latex/beamertheme-metropolis/demo.bib b/Master/texmf-dist/doc/latex/beamertheme-metropolis/demo.bib
new file mode 100644
index 00000000000..6cf6bad32bf
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/beamertheme-metropolis/demo.bib
@@ -0,0 +1,43 @@
+@article{Knuth92,
+ author = "D.E. Knuth",
+ title = "Two notes on notation",
+ journal = "Amer. Math. Monthly",
+ volume = "99",
+ year = "1992",
+ pages = "403--422",
+}
+
+@book{ConcreteMath,
+ author = "R.L. Graham and D.E. Knuth and O. Patashnik",
+ title = "Concrete mathematics",
+ publisher = "Addison-Wesley",
+ address = "Reading, MA",
+ year = "1989"
+}
+
+@unpublished{Simpson,
+ author = "H. Simpson",
+ title = "Proof of the {R}iemann {H}ypothesis",
+ note = "preprint (2003), available at
+ \texttt{http://www.math.drofnats.edu/riemann.ps}",
+ year = "2003"
+}
+
+@incollection{Er01,
+ author = "P. Erd{\H o}s",
+ title = "A selection of problems and results in combinatorics",
+ booktitle = "Recent trends in combinatorics (Matrahaza, 1995)",
+ publisher = "Cambridge Univ. Press",
+ address = "Cambridge",
+ pages = "1--6",
+ year = "1995"
+}
+@article{greenwade93,
+ author = "George D. Greenwade",
+ title = "The {C}omprehensive {T}ex {A}rchive {N}etwork ({CTAN})",
+ year = "1993",
+ journal = "TUGBoat",
+ volume = "14",
+ number = "3",
+ pages = "342--351"
+}
diff --git a/Master/texmf-dist/doc/latex/beamertheme-metropolis/demo.pdf b/Master/texmf-dist/doc/latex/beamertheme-metropolis/demo.pdf
new file mode 100644
index 00000000000..49a32cb8fd7
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/beamertheme-metropolis/demo.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/beamertheme-metropolis/demo.tex b/Master/texmf-dist/doc/latex/beamertheme-metropolis/demo.tex
new file mode 100644
index 00000000000..50eb7fa5a4e
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/beamertheme-metropolis/demo.tex
@@ -0,0 +1,312 @@
+\documentclass[10pt]{beamer}
+
+\usetheme{metropolis}
+
+\usepackage{booktabs}
+\usepackage[scale=2]{ccicons}
+
+\usepackage{pgfplots}
+\usepgfplotslibrary{dateplot}
+
+\usepackage{xspace}
+\newcommand{\themename}{\textbf{\textsc{metropolis}}\xspace}
+
+\title{Metropolis}
+\subtitle{A modern beamer theme}
+\date{\today}
+\author{Matthias Vogelgesang}
+\institute{Center for modern beamer themes}
+% \titlegraphic{\hfill\includegraphics[height=1.5cm]{logo/logo}}
+
+\begin{document}
+
+\maketitle
+
+\begin{frame}{Table of contents}
+ \setbeamertemplate{section in toc}[sections numbered]
+ \tableofcontents[hideallsubsections]
+\end{frame}
+
+\section{Introduction}
+
+\begin{frame}[fragile]{Metropolis}
+
+ The \themename theme is a Beamer theme with minimal visual noise
+ inspired by the \href{https://github.com/hsrmbeamertheme/hsrmbeamertheme}{\textsc{hsrm} Beamer
+ Theme} by Benjamin Weiss.
+
+ Enable the theme by loading
+
+ \begin{verbatim} \documentclass{beamer}
+ \usetheme{metropolis}\end{verbatim}
+
+ Note, that you have to have Mozilla's \emph{Fira Sans} font and XeTeX
+ installed to enjoy this wonderful typography.
+\end{frame}
+\begin{frame}[fragile]{Sections}
+ Sections group slides of the same topic
+
+ \begin{verbatim} \section{Elements}\end{verbatim}
+
+ for which \themename provides a nice progress indicator \ldots
+\end{frame}
+
+\section{Titleformats}
+
+\begin{frame}{Metropolis titleformats}
+ \themename supports 4 different titleformats:
+ \begin{itemize}
+ \item Regular
+ \item \textsc{Smallcaps}
+ \item \textsc{allsmallcaps}
+ \item ALLCAPS
+ \end{itemize}
+ They can either be set at once for every title type or individually.
+\end{frame}
+
+{
+\metroset{titleformat frame=smallcaps}
+\begin{frame}{Small caps}
+ This frame uses the \texttt{smallcaps} titleformat.
+
+ \begin{alertblock}{Potential Problems}
+ Be aware, that not every font supports small caps. If for example you typeset your presentation with pdfTeX and the Computer Modern Sans Serif font, every text in smallcaps will be typeset with the Computer Modern Serif font instead.
+ \end{alertblock}
+\end{frame}
+}
+
+{
+\metroset{titleformat frame=allsmallcaps}
+\begin{frame}{All small caps}
+ This frame uses the \texttt{allsmallcaps} titleformat.
+
+ \begin{alertblock}{Potential problems}
+ As this titleformat also uses smallcaps you face the same problems as with the \texttt{smallcaps} titleformat. Additionally this format can cause some other problems. Please refer to the documentation if you consider using it.
+
+ As a rule of thumb: Just use it for plaintext-only titles.
+ \end{alertblock}
+\end{frame}
+}
+
+{
+\metroset{titleformat frame=allcaps}
+\begin{frame}{All caps}
+ This frame uses the \texttt{allcaps} titleformat.
+
+ \begin{alertblock}{Potential Problems}
+ This titleformat is not as problematic as the \texttt{allsmallcaps} format, but basically suffers from the same deficiencies. So please have a look at the documentation if you want to use it.
+ \end{alertblock}
+\end{frame}
+}
+
+\section{Elements}
+
+\begin{frame}[fragile]{Typography}
+ \begin{verbatim}The theme provides sensible defaults to
+\emph{emphasize} text, \alert{accent} parts
+or show \textbf{bold} results.\end{verbatim}
+
+ \begin{center}becomes\end{center}
+
+ The theme provides sensible defaults to \emph{emphasize} text,
+ \alert{accent} parts or show \textbf{bold} results.
+\end{frame}
+
+\begin{frame}{Font feature test}
+ \begin{itemize}
+ \item Regular
+ \item \textit{Italic}
+ \item \textsc{SmallCaps}
+ \item \textbf{Bold}
+ \item \textbf{\textit{Bold Italic}}
+ \item \textbf{\textsc{Bold SmallCaps}}
+ \item \texttt{Monospace}
+ \item \texttt{\textit{Monospace Italic}}
+ \item \texttt{\textbf{Monospace Bold}}
+ \item \texttt{\textbf{\textit{Monospace Bold Italic}}}
+ \end{itemize}
+\end{frame}
+
+\begin{frame}{Lists}
+ \begin{columns}[T,onlytextwidth]
+ \column{0.33\textwidth}
+ Items
+ \begin{itemize}
+ \item Milk \item Eggs \item Potatos
+ \end{itemize}
+
+ \column{0.33\textwidth}
+ Enumerations
+ \begin{enumerate}
+ \item First, \item Second and \item Last.
+ \end{enumerate}
+
+ \column{0.33\textwidth}
+ Descriptions
+ \begin{description}
+ \item[PowerPoint] Meeh. \item[Beamer] Yeeeha.
+ \end{description}
+ \end{columns}
+\end{frame}
+\begin{frame}{Animation}
+ \begin{itemize}[<+- | alert@+>]
+ \item \alert<4>{This is\only<4>{ really} important}
+ \item Now this
+ \item And now this
+ \end{itemize}
+\end{frame}
+\begin{frame}{Figures}
+ \begin{figure}
+ \newcounter{density}
+ \setcounter{density}{20}
+ \begin{tikzpicture}
+ \def\couleur{alerted text.fg}
+ \path[coordinate] (0,0) coordinate(A)
+ ++( 90:5cm) coordinate(B)
+ ++(0:5cm) coordinate(C)
+ ++(-90:5cm) coordinate(D);
+ \draw[fill=\couleur!\thedensity] (A) -- (B) -- (C) --(D) -- cycle;
+ \foreach \x in {1,...,40}{%
+ \pgfmathsetcounter{density}{\thedensity+20}
+ \setcounter{density}{\thedensity}
+ \path[coordinate] coordinate(X) at (A){};
+ \path[coordinate] (A) -- (B) coordinate[pos=.10](A)
+ -- (C) coordinate[pos=.10](B)
+ -- (D) coordinate[pos=.10](C)
+ -- (X) coordinate[pos=.10](D);
+ \draw[fill=\couleur!\thedensity] (A)--(B)--(C)-- (D) -- cycle;
+ }
+ \end{tikzpicture}
+ \caption{Rotated square from
+ \href{http://www.texample.net/tikz/examples/rotated-polygons/}{texample.net}.}
+ \end{figure}
+\end{frame}
+\begin{frame}{Tables}
+ \begin{table}
+ \caption{Largest cities in the world (source: Wikipedia)}
+ \begin{tabular}{lr}
+ \toprule
+ City & Population\\
+ \midrule
+ Mexico City & 20,116,842\\
+ Shanghai & 19,210,000\\
+ Peking & 15,796,450\\
+ Istanbul & 14,160,467\\
+ \bottomrule
+ \end{tabular}
+ \end{table}
+\end{frame}
+\begin{frame}{Blocks}
+ Three different block environments are pre-defined and may be styled with an
+ optional background color.
+
+ \begin{columns}[T,onlytextwidth]
+ \column{0.5\textwidth}
+ \begin{block}{Default}
+ Block content.
+ \end{block}
+
+ \begin{alertblock}{Alert}
+ Block content.
+ \end{alertblock}
+
+ \begin{exampleblock}{Example}
+ Block content.
+ \end{exampleblock}
+
+ \column{0.5\textwidth}
+
+ \metroset{block=fill}
+
+ \begin{block}{Default}
+ Block content.
+ \end{block}
+
+ \begin{alertblock}{Alert}
+ Block content.
+ \end{alertblock}
+
+ \begin{exampleblock}{Example}
+ Block content.
+ \end{exampleblock}
+
+ \end{columns}
+\end{frame}
+\begin{frame}{Math}
+ \begin{equation*}
+ e = \lim_{n\to \infty} \left(1 + \frac{1}{n}\right)^n
+ \end{equation*}
+\end{frame}
+\begin{frame}{Line plots}
+ \begin{figure}
+ \begin{tikzpicture}
+ \begin{axis}[
+ mlineplot,
+ width=0.9\textwidth,
+ height=6cm,
+ ]
+
+ \addplot {sin(deg(x))};
+ \addplot+[samples=100] {sin(deg(2*x))};
+
+ \end{axis}
+ \end{tikzpicture}
+ \end{figure}
+\end{frame}
+\begin{frame}{Bar charts}
+ \begin{figure}
+ \begin{tikzpicture}
+ \begin{axis}[
+ mbarplot,
+ xlabel={Foo},
+ ylabel={Bar},
+ width=0.9\textwidth,
+ height=6cm,
+ ]
+
+ \addplot plot coordinates {(1, 20) (2, 25) (3, 22.4) (4, 12.4)};
+ \addplot plot coordinates {(1, 18) (2, 24) (3, 23.5) (4, 13.2)};
+ \addplot plot coordinates {(1, 10) (2, 19) (3, 25) (4, 15.2)};
+
+ \legend{lorem, ipsum, dolor}
+
+ \end{axis}
+ \end{tikzpicture}
+ \end{figure}
+\end{frame}
+\begin{frame}{Quotes}
+ \begin{quote}
+ Veni, Vidi, Vici
+ \end{quote}
+\end{frame}
+
+\begin{frame}{References}
+ Some references to showcase [allowframebreaks] \cite{knuth92,ConcreteMath,Simpson,Er01,greenwade93}
+\end{frame}
+
+\section{Conclusion}
+
+\begin{frame}{Summary}
+
+ Get the source of this theme and the demo presentation from
+
+ \begin{center}\url{github.com/matze/mtheme}\end{center}
+
+ The theme \emph{itself} is licensed under a
+ \href{http://creativecommons.org/licenses/by-sa/4.0/}{Creative Commons
+ Attribution-ShareAlike 4.0 International License}.
+
+ \begin{center}\ccbysa\end{center}
+
+\end{frame}
+
+\plain{Questions?}
+
+\begin{frame}[allowframebreaks]{References}
+
+ \bibliography{demo}
+ \bibliographystyle{abbrv}
+
+\end{frame}
+
+\end{document}
diff --git a/Master/texmf-dist/doc/latex/beamertheme-metropolis/metropolistheme.pdf b/Master/texmf-dist/doc/latex/beamertheme-metropolis/metropolistheme.pdf
new file mode 100644
index 00000000000..9e14e875e22
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/beamertheme-metropolis/metropolistheme.pdf
Binary files differ