-
Notifications
You must be signed in to change notification settings - Fork 3
/
README
74 lines (51 loc) · 2.35 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
This is a Beamer template set up to look pretty decent and have a
University of Notre Dame theme. For math typesetting, it is definitely better than using existing Powerpoint templates.
The easiest way to install this theme is to just dump the *.sty files into the same directory as your tex source.
A minimal Beamer presentation using this template looks something like the following:
\documentclass{beamer}
\usetheme{NotreDame}
\begin{document}
%% Slides
\end{document}
The theme currently has 7 options:
% nav - Enables a bottom right navigation bar
% white - Sets slides for white color scheme
% nologo - Removes logo from all slides title bar
% compactlogo - Enables a compact banner for the title slide (N/A currently)
% sections - Enables top of slide section progress tracking and navigation
% noslidenumbers - Removes counting of slides in bottom right
% fullFooter - Enables a more descriptive footer (can't use noslidenumbers simultaneously)
Options are specified as:
\usetheme[nav,white]{NotreDame}
Other suggested packages:
* tikz (pgf, for diagrams)
* listings (for source code listings)
* fontspec (if using xetex)
See included "main.tex" for suggested usage scenarios
Author: Daniel Howard ([email protected])
Modified Release: February 2017
Adapted from author below:
Author: Tristan Ravitch ([email protected])
Initial Release: June 2009
Public Domain
Extra
-----
Here is a very handy snippet of TeX to stick at
the beginning of your presentation (after \begin{document}):
\newcommand*{\alphabet}{ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz}
\newlength{\highlightheight}
\newlength{\highlightdepth}
\newlength{\highlightmargin}
\setlength{\highlightmargin}{2pt}
\settoheight{\highlightheight}{\alphabet}
\settodepth{\highlightdepth}{\alphabet}
\addtolength{\highlightheight}{\highlightmargin}
\addtolength{\highlightdepth}{\highlightmargin}
\addtolength{\highlightheight}{\highlightdepth}
\newcommand*{\Highlight}{\rlap{\textcolor{HighlightBackground}{\rule[-\highlightdepth]{\linewidth}{\highlightheight}}}}
HighlightBackground is defined by the NotreDame theme.
This snippet allows you to include source code listings in the
following way:
\lstinputlisting[language=C,moredelim={**[il][\Highlight]{@}}]{file.c}
Note the moredelim option; with this option and the preceeding
declarations, prefixing a line in file.c will highlight the line.