mirror of https://github.com/matze/mtheme.git
Remove demo slide dependency on `minted`
Although syntax highlighting is nice, `minted` is a nonessential dependency that greatly complicates compilation for new users. Since using the `mtheme` does not require you to install Pygments or use `--shell-escape`, the demo slides should not either.
This commit is contained in:
parent
e4b48b1dce
commit
dc62825743
18
demo.tex
18
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,8 @@
|
|||
|
||||
\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}
|
||||
|
||||
|
|
Loading…
Reference in New Issue