| 1 |
% -*- coding: utf-8 -*- |
| 2 |
|
| 3 |
\documentclass[11pt,xcolor={rgb}]{beamer} |
| 4 |
|
| 5 |
\usetheme{clagrange} |
| 6 |
|
| 7 |
\usepackage{arev} |
| 8 |
|
| 9 |
\usepackage{listings} |
| 10 |
|
| 11 |
\lstset{ |
| 12 |
basicstyle=\ttfamily\color{accent2}, |
| 13 |
frame=single, |
| 14 |
} |
| 15 |
|
| 16 |
\begin{document} |
| 17 |
|
| 18 |
\title{Beamer Theme cLagrange} |
| 19 |
\author{Author Name} |
| 20 |
\institute{Institute Name} |
| 21 |
\occasion{Some Conference} |
| 22 |
|
| 23 |
\begin{frame}[plain] |
| 24 |
\titlepage |
| 25 |
\end{frame} |
| 26 |
|
| 27 |
\section{Introduction} |
| 28 |
|
| 29 |
\begin{frame} |
| 30 |
\frametitle{Introduction} |
| 31 |
Beamer theme Lagrange is inspired by these two themes |
| 32 |
\begin{itemize} |
| 33 |
\item Pdfscreen theme Overlay4 |
| 34 |
\item Keynote theme Drafting |
| 35 |
\end{itemize} |
| 36 |
\end{frame} |
| 37 |
|
| 38 |
\section{First Example} |
| 39 |
|
| 40 |
\begin{frame}[fragile=singleslide] |
| 41 |
\frametitle{First Example} |
| 42 |
The following is a simple example |
| 43 |
\begin{lstlisting} |
| 44 |
\documentclass[xcolor={rgb}]{beamer} |
| 45 |
|
| 46 |
\usetheme{lagrange} |
| 47 |
|
| 48 |
\begin{document} |
| 49 |
|
| 50 |
\begin{frame} |
| 51 |
Hello Beamer! |
| 52 |
\end{frame} |
| 53 |
|
| 54 |
\end{document} |
| 55 |
\end{lstlisting} |
| 56 |
Note that you \textcolor{accent3}{need to} use \lstinline!xcolor={rgb}! option for this theme. |
| 57 |
\end{frame} |
| 58 |
|
| 59 |
\section{Customization} |
| 60 |
|
| 61 |
\begin{frame}[fragile=singleslide] |
| 62 |
\frametitle{Customization} |
| 63 |
To change vertical spaces between lines in TOC pages, |
| 64 |
you could redefine these two commands: |
| 65 |
\begin{lstlisting} |
| 66 |
\renewcommand{\sectionintochideskip}{10pt} |
| 67 |
\renewcommand{\sectionintocshowskip}{6pt} |
| 68 |
\end{lstlisting} |
| 69 |
\end{frame} |
| 70 |
|
| 71 |
\end{document} |