4 %\usetheme[secheader]{Madrid} % nice (once my coloroverrides are sorted out)
5 %\usetheme{AnnArbor} % nice!
6 %\usetheme{Malmoe} % nice!
7 \usetheme{Warsaw} % nice!
9 %\usetheme[secheader]{Boadilla} % ok
10 %\usecolortheme{whale}
11 %\usecolortheme{orchid}
14 % Delete this, if you do not want the table of contents to pop up at
15 % the beginning of each subsection (or section)
16 % edd: Does not work in handout mode, and we have too many section/subsections
18 % \begin{frame}<beamer>%
20 % \frametitle{Outline}%
21 % \tableofcontents[currentsection]%
26 % If you wish to uncover everything in a step-wise fashion, uncomment the following command:
27 %\beamerdefaultoverlayspecification{<+->}
29 \newcommand{\MedSkip}{\medskip \par} % add \pause if desired
30 \newcommand{\SmallSkip}{\smallskip} % add \pause if desired
32 \usepackage[english]{babel} % or whatever
33 \usepackage[latin1]{inputenc} % or whatever
35 \usepackage[T1]{fontenc} % Or whatever. Note that the encoding and the
36 % font should match. If T1 does not look
37 % nice, try deleting the line with the fontenc.
38 %\usepackage{highlight}
42 language=R, % choose the language of the code
43 basicstyle=\scriptsize, % the size of the fonts that are used for the code
44 numbers=left, % where to put the line-numbers
45 numberstyle=\tiny, % the size of the fonts that are used for the line-numbers
46 stepnumber=1, % the step between two line-numbers. If it's 1 each line will be numbered
47 numbersep=5pt, % how far the line-numbers are from the code
48 backgroundcolor=\color{white},% choose the background color. You must add \usepackage{color}
49 showspaces=false, % show spaces adding particular underscores
50 showstringspaces=false, % underline spaces within strings
51 showtabs=false, % show tabs within strings adding particular underscores
52 frame=single, % adds a frame around the code
53 tabsize=2, % sets default tabsize to 2 spaces
54 captionpos=b, % sets the caption-position to bottom
55 breaklines=true, % sets automatic line breaking
56 breakatwhitespace=false, % sets if automatic breaks should only happen at whitespace
57 escapeinside={\%*}{*)} % if you want to add a comment within your code
60 \hypersetup{ % beamer colors taken from elsewhere
61 hyperindex,% % works with the beetle colour scheme
66 citecolor=myDarkGrey,%
69 pdfview={XYZ null null null}%
71 %\hypersetup{ % beamer colors taken from elsewhere
72 % hyperindex,% % works with the beetle colour scheme
77 % citecolor=eddDarkGrey,%
78 % urlcolor=eddDarkBlue,%
80 % pdfview={XYZ null null null}%
83 \RequirePackage{color}
84 \definecolor{Red}{rgb}{0.7,0,0}
85 \definecolor{myOrange}{rgb}{0.8,0.5,0.0}
86 \definecolor{myBlue}{rgb}{0.0,0.0,0.4}
87 \definecolor{myDarkBlue}{rgb}{0.1,0.1,0.4}
88 \definecolor{myDarkGrey}{rgb}{0.15,0.15,0.15}
90 \definecolor{Sinput}{rgb}{0,0,0.56}
91 \definecolor{Scode}{rgb}{0,0,0.56}
92 \definecolor{Soutput}{rgb}{0.56,0,0}
94 \definecolor{Cmdinput}{rgb}{0,0,0.44}
95 \definecolor{Cmdoutput}{rgb}{0.44,0,0}
96 \definecolor{Cppinput}{rgb}{0.15,0.15,0.15}
98 %% from Doug, but mod'ed \R to use hyperref
99 \RequirePackage{fancyvrb}
100 \RequirePackage{xspace}
101 \RequirePackage{paralist}
102 \newenvironment{Schunk}{\par\begin{minipage}{\textwidth}}{\end{minipage}}
103 \DefineVerbatimEnvironment{Sinput}{Verbatim}{formatcom={\color{Sinput}},fontsize=\small}
104 \DefineVerbatimEnvironment{Soutput}{Verbatim}{formatcom={\color{Soutput}},fontsize=\footnotesize}
105 \DefineVerbatimEnvironment{Scode}{Verbatim}{formatcom={\color{Scode}},fontsize=\small}
106 \DefineVerbatimEnvironment{Cmdinput}{Verbatim}{formatcom={\color{Cmdinput}},fontsize=\small}
107 \DefineVerbatimEnvironment{Cmdoutput}{Verbatim}{formatcom={\color{Cmdoutput}},fontsize=\footnotesize}
108 \DefineVerbatimEnvironment{Cppinput}{Verbatim}{formatcom={\color{Cppinput}},fontsize=\small}
111 \newcommand{\smallcode}[1]{{\color{Sinput}\small\texttt{#1}}}
112 \newcommand{\code}[1]{{\color{Sinput}\texttt{#1}}}
113 \newcommand{\Emph}[1]{\emph{\color{Scode}#1}}
114 %\newcommand{\R}{\href{http://www.r-project.org}{\Emph{R}\xspace}} %% ? sing \emph upsets beamer inside \href
115 \newcommand{\R}{\href{http://www.r-project.org}{\textsf{R}\xspace}}
116 \newcommand{\Rns}{\href{http://www.r-project.org}{\textsf{R}}}
119 %\newcommand{\code}[1]{\texttt{#1}}
120 \newcommand{\screenshot}[1]{\centerline{\includegraphics[height=7.8cm,transparent]{#1}}} % 7.8in
123 % If you have a file called "university-logo-filename.xxx", where xxx
124 % is a graphic format that can be processed by latex or pdflatex,
125 % resp., then you can add a logo as follows:
126 % NB transparent in Adobe but not in kpdf
127 \pgfdeclareimage[height=0.6cm]{useR-logo}{figures/useR}
128 \logo{\pgfuseimage{useR-logo}}
133 %%% TeX-master: "introhighperfR"