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 and the section indicator are hardcoded into the theme. For the demo you need
* XeLaTeX, * XeLaTeX,
* the [Fira Sans](https://github.com/mozilla/Fira) and Mono font, * the [Fira Sans](https://github.com/mozilla/Fira) and Mono font and
* TikZ and * TikZ.
* the Python package [Pygments](http://pygments.org/) and the `pygmentize` binary.
Depending on the Linux distribution, the packaged name of Fira Sans might be 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 `Fira Sans OT` instead of `Fira Sans`. In that case, you may have to edit

View File

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

BIN
demo.pdf

Binary file not shown.

View File

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