Revisão | dc4e92187aa011250b011ea76fa4b1f3a17d5e16 (tree) |
---|---|
Hora | 2024-11-19 01:41:01 |
Autor | Lorenzo Isella <lorenzo.isella@gmai...> |
Commiter | Lorenzo Isella |
A simple example about how to use moloch for beamer. Remember that you have to compile the dtx files to get all the sty files needed to use moloch.
@@ -0,0 +1,78 @@ | ||
1 | +\documentclass{beamer} | |
2 | +\usepackage[sfdefault]{Fira Sans} | |
3 | +\usepackage{lettrine} | |
4 | +\input GoudyIn.fd | |
5 | +\newcommand*\initfamily{\usefont{U}{GoudyIn}{xl}{n}} | |
6 | +\usepackage{color} | |
7 | +\definecolor{Red}{RGB}{157,16, 45} | |
8 | +\usetheme[progressbar=frametitle]{moloch} | |
9 | +\usepackage{appendixnumberbeamer} | |
10 | + | |
11 | +\usepackage{booktabs} | |
12 | +\usepackage[scale=2]{ccicons} | |
13 | + | |
14 | +\usepackage{pgfplots} | |
15 | +\usepgfplotslibrary{dateplot} | |
16 | + | |
17 | +\usepackage{xspace} | |
18 | + | |
19 | + | |
20 | + | |
21 | +\title{A minimal example} | |
22 | +\subtitle{Welcome to moloch} | |
23 | +\date{\today} | |
24 | +\author{Johan Larsson} | |
25 | +\institute{Centre for Modern Beamer Themes} | |
26 | +\begin{document} | |
27 | +\maketitle | |
28 | +\begin{frame}{Table of contents} | |
29 | + \setbeamertemplate{section in toc}[sections numbered] | |
30 | + \tableofcontents[hideallsubsections] | |
31 | +\end{frame} | |
32 | + | |
33 | + \section{First Section} | |
34 | + \begin{frame}[fragile]{First Frame} | |
35 | + \lettrine[lines=3]{\color{Red}{\initfamily{H}}}{}ello, world! This | |
36 | + is a good day for fira fonts! | |
37 | + | |
38 | + | |
39 | + \end{frame} | |
40 | + | |
41 | + | |
42 | + \begin{frame}{Second Frame} | |
43 | + \lettrine[lines=1]{\color{Red}{\initfamily{T}}}{}his is a | |
44 | + dropcap which is one line tall. | |
45 | + | |
46 | + \end{frame} | |
47 | +\section{New section} | |
48 | +\begin{frame}{Some bla bla} | |
49 | + | |
50 | + sjbnrjkvnb | |
51 | + hrwbgkwerng | |
52 | + hbbjkbk | |
53 | +\end{frame} | |
54 | + | |
55 | +\section{Conclusion} | |
56 | + | |
57 | +\begin{frame}{Summary} | |
58 | + | |
59 | + Get the source of this theme and the demo presentation from | |
60 | +\end{frame} | |
61 | + | |
62 | + | |
63 | + | |
64 | +\begin{frame}[fragile]{Backup slides} | |
65 | + Sometimes, it is useful to add slides at the end of your presentation to | |
66 | + refer to during audience questions. | |
67 | +\end{frame} | |
68 | + | |
69 | + | |
70 | +\begin{frame}{References} | |
71 | + | |
72 | + \bibliography{demo} | |
73 | + \bibliographystyle{abbrv} | |
74 | + | |
75 | +\end{frame} | |
76 | + | |
77 | + | |
78 | +\end{document} |