Merge pull request #47 from rchurchley/master

Reduce dependencies to help new users
This commit is contained in:
Matthias Vogelgesang 2015-04-29 22:57:43 +02:00
commit 026c647c85
4 changed files with 10 additions and 19 deletions

View File

@ -15,9 +15,8 @@ with `.sty` to the source files of your presentation. As of now, fonts, colors
and the section indicator are hardcoded into the theme. For the demo you need
* XeLaTeX,
* the [Fira Sans](https://github.com/mozilla/Fira) and Mono font,
* TikZ and
* the Python package [Pygments](http://pygments.org/) and the `pygmentize` binary.
* the [Fira Sans](https://github.com/mozilla/Fira) and Mono font and
* TikZ.
Depending on the Linux distribution, the packaged name of Fira Sans might be
`Fira Sans OT` instead of `Fira Sans`. In that case, you may have to edit

View File

@ -49,7 +49,6 @@
%{{{ --- Packages ---------------------
\RequirePackage[no-math]{fontspec}
\RequirePackage{etoolbox}
\RequirePackage{tikz}
\RequirePackage{pgfplots}
@ -255,7 +254,7 @@
\if@useTotalSlideIndicator%
\insertpagenumber/\insertpresentationendpage%
\else%
\insertpagenumber%
\insertpagenumber%
\fi%
\end{beamercolorbox}%
}

BIN
demo.pdf

Binary file not shown.

View File

@ -4,11 +4,9 @@
\usepackage{booktabs}
\usepackage[scale=2]{ccicons}
\usepackage{minted}
\usepgfplotslibrary{dateplot}
\usemintedstyle{trac}
\title{A modern beamer theme}
\subtitle{}
@ -29,10 +27,8 @@
Enable the theme by loading
\begin{minted}[fontsize=\small]{latex}
\documentclass{beamer}
\usetheme{m}
\end{minted}
\begin{verbatim} \documentclass{beamer}
\usetheme{m}\end{verbatim}
Note, that you have to have Mozilla's \emph{Fira Sans} font and XeTeX
installed to enjoy this wonderful typography.
@ -42,9 +38,7 @@
\frametitle{Sections}
Sections group slides of the same topic
\begin{minted}[fontsize=\small]{latex}
\section{Elements}
\end{minted}
\begin{verbatim} \section{Elements}\end{verbatim}
for which the \emph{mtheme} provides a nice progress indicator \ldots
\end{frame}
@ -53,10 +47,9 @@
\begin{frame}[fragile]
\frametitle{Typography}
\begin{minted}[fontsize=\small]{latex}
The theme provides sensible defaults to \emph{emphasize}
text, \alert{accent} parts or show \textbf{bold} results.
\end{minted}
\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}
@ -96,7 +89,7 @@ text, \alert{accent} parts or show \textbf{bold} results.
\newcounter{density}
\setcounter{density}{20}
\begin{tikzpicture}
\def\couleur{mLightBrown}
\def\couleur{alerted text.fg}
\path[coordinate] (0,0) coordinate(A)
++( 90:5cm) coordinate(B)
++(0:5cm) coordinate(C)