summaryrefslogtreecommitdiff
path: root/Master/texmf-dist
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2015-08-28 22:57:03 +0000
committerKarl Berry <karl@freefriends.org>2015-08-28 22:57:03 +0000
commit839c69db0883df5c94fd1033192fd5643203477f (patch)
treebe7140f8ae633f545ffd547e739a89c6c16f5bb5 /Master/texmf-dist
parent5122d8c1609584ae039c2bc77fcef68eb1abb256 (diff)
medstarbeamer (28aug15)
git-svn-id: svn://tug.org/texlive/trunk@38231 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r--Master/texmf-dist/doc/latex/medstarbeamer/README.txt44
-rw-r--r--Master/texmf-dist/doc/latex/medstarbeamer/medstarpresentation.Rnw64
-rw-r--r--Master/texmf-dist/doc/latex/medstarbeamer/medstarpresentation.pdfbin0 -> 105532 bytes
-rw-r--r--Master/texmf-dist/doc/latex/medstarbeamer/presentationtex.pdfbin0 -> 101716 bytes
-rw-r--r--Master/texmf-dist/tex/latex/medstarbeamer/medstarbeamer.cls44
5 files changed, 152 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/medstarbeamer/README.txt b/Master/texmf-dist/doc/latex/medstarbeamer/README.txt
new file mode 100644
index 00000000000..1f5cc244ed6
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/medstarbeamer/README.txt
@@ -0,0 +1,44 @@
+%%%%%%%%% MedStar Beamer Template %%%%%%%%%
+%%%%%%%% Written By: Anagha Kumar %%%%%
+%%%%%%%% License: lppl1.3 %%%%%%%%%%%%%%%%
+
+% I wrote a beamer template for MedStar Health presentations. %%
+%% I've included sample presentations using both .tex files and .rnw files%%
+%% The document class is obviously compatible with both %%
+%% The advantage of the .rnw file is that it can be used with knitr such that you can weave your R code with your presentation %%
+
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesClass{medstarbeamer}
+\LoadClassWithOptions{beamer}
+\RequirePackage{anysize}
+\RequirePackage{hyperref}
+\RequirePackage{graphicx}
+\RequirePackage{pgf}
+\RequirePackage{xcolor}
+\RequirePackage{booktabs}
+\RequirePackage{soul}
+\RequirePackage{background}
+\RequirePackage{cancel}
+\RequirePackage{amsmath}
+\RequirePackage{enumerate}
+
+
+\usetheme{CambridgeUS} % for an extensive list of themes, this is a useful website: http://deic.uab.es/~iblanes/beamer_gallery/index_by_theme.html %
+\definecolor{citrine}{rgb}{0.89, 0.82, 0.04}
+\definecolor{coolblack}{rgb}{0.0, 0.18, 0.39}
+
+\usecolortheme{lily}
+\setbeamercolor{frametitle}{fg=white, bg=coolblack}
+\setbeamercolor{title}{fg=coolblack}
+\setbeamercolor{subtitle}{fg=coolblack}
+\setbeamercolor{palette primary}{fg=white, bg=coolblack} % controls the foreground and background colors for the strip at the bottom right
+\setbeamercolor{palette secondary}{fg=white, bg=coolblack} % controls the foreground and background colors for the bottom left strip and the second strip at the top
+\setbeamercolor{palette tertiary}{fg=black, bg=citrine} %controls the foreground and background colors for the middle strip at the bottom and the top strip
+\useoutertheme{miniframes}
+\setbeamercolor{item}{fg=coolblack} %customizing the colors for the inner theme
+\logo{\includegraphics[ height=1cm, width=2cm]{medstarlogo}} %the size of the logo to be included in every frame
+
+\setbeamercovered{dynamic} %overlays appear faintly
+\setbeamertemplate{navigation symbols}{} % since I dislike the navigation symbols
+\setbeamertemplate{caption}[numbered] % since beamer does not number captions without setting this
+\setbeamercolor{caption}{fg=coolblack} \ No newline at end of file
diff --git a/Master/texmf-dist/doc/latex/medstarbeamer/medstarpresentation.Rnw b/Master/texmf-dist/doc/latex/medstarbeamer/medstarpresentation.Rnw
new file mode 100644
index 00000000000..2f33e5935b1
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/medstarbeamer/medstarpresentation.Rnw
@@ -0,0 +1,64 @@
+\documentclass{medstarbeamer}
+\title[ Applied Bayesian Data Analysis]{Binary Response Regression and Model Selection}
+\author[ Anagha Kumar]{Anagha Kumar}
+\institute[MHRI]{\textit{MEDSTAR HEALTH RESEARCH INSTITUTE}}
+\date{August 26th, 2015}
+\begin{document}
+
+\begin{frame}
+\maketitle
+\end{frame}
+
+\begin{frame}{Table of Contents}
+\tableofcontents
+\end{frame}
+
+\section{The Problem of Interest}
+\begin{frame}{Dataset}
+\footnotesize{
+\begin{enumerate}
+\item{The dataset used was from ``Survival Analysis - Techniques for Censored and Truncated Data".}
+\item{It was a hypothetical study of the mortality experience of diabetics. }
+\item{30 diabetics were followed till death or the end of the study.}
+\item{The subject's age at entry into the study and the age at the end of the study or death were recorded.}
+\item{Rather than time to event analysis, I was interested in how ``entry age" and ``exit age", affected survival.}
+\item{The response variable, survival, was binary (=1 if alive, =0 if dead).}
+\item{The dataset contained no missing data.}
+\end{enumerate}
+}
+\end{frame}
+
+<<echo=FALSE, results='hide', warning=FALSE, message=FALSE>>=
+options(repos = c(CRAN = "http://cran.rstudio.com"))
+install.packages("LearnBayes")
+library(LearnBayes)
+library(xtable)
+entry_age <- c(58, 58, 59, 60, 60, 61, 61, 62, 62, 62, 63, 63, 64, 66, 66, 67, 67, 67, 68, 69, 69, 69, 70, 70, 70, 71, 72, 72, 73, 73)
+exit_age <- c(60, 63, 69, 62, 65, 72, 69, 73, 66, 65, 68, 74, 71, 68, 69, 70, 77, 69, 72, 79, 72, 70, 76, 71, 78, 79, 76, 73, 80, 74)
+survive <- c(0, 0, 1, 0, 0, 1, 1, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 1, 1, 0, 0, 1, 0)
+@
+<<echo=FALSE, results='hide'>>=
+table.entry_age <- t(table(entry_age))
+Xtable.entry_age <- xtable(table.entry_age, caption="Descriptive Statistics for Entry Age")
+table.exit_age <- t(table(exit_age))
+Xtable.exit_age <- xtable(table.exit_age, caption="Descriptive Statistics for Exit Age")
+table.survive <- t(table(survive))
+Xtable.survive <- xtable(table.survive, caption="Survival Counts")
+@
+\subsection{Exploratory Data Analysis}
+\begin{frame}{Descriptive Statistics}
+\tiny{
+<<echo=FALSE, results='asis'>>=
+rownames(Xtable.entry_age) <- c("Counts")
+print(Xtable.entry_age, caption.placement="top", booktabs=TRUE, rownames=TRUE)
+rownames(Xtable.exit_age) <- c("Counts")
+print(Xtable.exit_age, caption.placement="top", booktabs=TRUE, rownames=TRUE)
+@
+<<echo=FALSE, results='asis'>>=
+rownames(Xtable.survive) <- c("Counts")
+print(Xtable.survive, caption.placement="top", booktabs=TRUE, rownames=TRUE)
+@
+}
+\end{frame}
+
+\end{document} \ No newline at end of file
diff --git a/Master/texmf-dist/doc/latex/medstarbeamer/medstarpresentation.pdf b/Master/texmf-dist/doc/latex/medstarbeamer/medstarpresentation.pdf
new file mode 100644
index 00000000000..a4224c742f6
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/medstarbeamer/medstarpresentation.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/medstarbeamer/presentationtex.pdf b/Master/texmf-dist/doc/latex/medstarbeamer/presentationtex.pdf
new file mode 100644
index 00000000000..55ab6a9593d
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/medstarbeamer/presentationtex.pdf
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/medstarbeamer/medstarbeamer.cls b/Master/texmf-dist/tex/latex/medstarbeamer/medstarbeamer.cls
new file mode 100644
index 00000000000..43920d8f8c9
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/medstarbeamer/medstarbeamer.cls
@@ -0,0 +1,44 @@
+%%%%%%%%% MedStar Beamer Template %%%%%%%%%
+%%%%%%%% Written By: Anagha Kumar %%%%%
+%%%%%%%% License: lppl1.3 %%%%%%%%%%%%%%%%
+
+% I wrote a beamer template for MedStar Health presentations. %%
+%% I've included sample presentations using both .tex files and .rnw files%%
+%% The document class is obviously compatible with both
+%% The advantage of the .rnw file is that it can be used with knitr such that you can weave your R code with your presentation %%
+
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesClass{medstarbeamer}
+\LoadClassWithOptions{beamer}
+\RequirePackage{anysize}
+\RequirePackage{hyperref}
+\RequirePackage{graphicx}
+\RequirePackage{pgf}
+\RequirePackage{xcolor}
+\RequirePackage{booktabs}
+\RequirePackage{soul}
+\RequirePackage{background}
+\RequirePackage{cancel}
+\RequirePackage{amsmath}
+\RequirePackage{enumerate}
+
+
+\usetheme{CambridgeUS} % for an extensive list of themes, this is a useful website: http://deic.uab.es/~iblanes/beamer_gallery/index_by_theme.html %
+\definecolor{citrine}{rgb}{0.89, 0.82, 0.04}
+\definecolor{coolblack}{rgb}{0.0, 0.18, 0.39}
+
+\usecolortheme{lily}
+\setbeamercolor{frametitle}{fg=white, bg=coolblack}
+\setbeamercolor{title}{fg=coolblack}
+\setbeamercolor{subtitle}{fg=coolblack}
+\setbeamercolor{palette primary}{fg=white, bg=coolblack} % controls the foreground and background colors for the strip at the bottom right
+\setbeamercolor{palette secondary}{fg=white, bg=coolblack} % controls the foreground and background colors for the bottom left strip and the second strip at the top
+\setbeamercolor{palette tertiary}{fg=black, bg=citrine} %controls the foreground and background colors for the middle strip at the bottom and the top strip
+\useoutertheme{miniframes}
+\setbeamercolor{item}{fg=coolblack} %customizing the colors for the inner theme
+\logo{\includegraphics[ height=1cm, width=2cm]{medstarlogo}} %the size of the logo to be included in every frame
+
+\setbeamercovered{dynamic} %overlays appear faintly
+\setbeamertemplate{navigation symbols}{} % since I dislike the navigation symbols
+\setbeamertemplate{caption}[numbered] % since beamer does not number captions without setting this
+\setbeamercolor{caption}{fg=coolblack}