diff --git a/README.md b/README.md index 8bafb91..c0fc0b4 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/beamerthemem.sty b/beamerthemem.sty index ecc0977..0eb9aa1 100644 --- a/beamerthemem.sty +++ b/beamerthemem.sty @@ -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}% } diff --git a/demo.pdf b/demo.pdf index 42daa7c..477f195 100644 Binary files a/demo.pdf and b/demo.pdf differ diff --git a/demo.tex b/demo.tex index 00c066e..3399186 100644 --- a/demo.tex +++ b/demo.tex @@ -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)