Skip to content
This repository was archived by the owner on Dec 12, 2023. It is now read-only.

Commit 6b7f58a

Browse files
committed
[UPDATE] Presentation
1 parent 45c8dcc commit 6b7f58a

File tree

4 files changed

+4
-255
lines changed

4 files changed

+4
-255
lines changed
2.88 KB
Binary file not shown.

PML_presentation/presentation.Rnw

-201
This file was deleted.

PML_presentation/presentation.pdf

-904 Bytes
Binary file not shown.

PML_presentation/presentation.tex

+4-54
Original file line numberDiff line numberDiff line change
@@ -1,57 +1,7 @@
11
%----------------------------------------------------------------------------------------
22
% PACKAGES AND THEMES
33
%----------------------------------------------------------------------------------------
4-
\documentclass[aspectratio=169,xcolor=dvipsnames]{beamer}\usepackage[]{graphicx}\usepackage[]{color}
5-
% maxwidth is the original width if it is less than linewidth
6-
% otherwise use linewidth (to make sure the graphics do not exceed the margin)
7-
\makeatletter
8-
\def\maxwidth{ %
9-
\ifdim\Gin@nat@width>\linewidth
10-
\linewidth
11-
\else
12-
\Gin@nat@width
13-
\fi
14-
}
15-
\makeatother
16-
17-
\definecolor{fgcolor}{rgb}{0.345, 0.345, 0.345}
18-
\newcommand{\hlnum}[1]{\textcolor[rgb]{0.686,0.059,0.569}{#1}}%
19-
\newcommand{\hlstr}[1]{\textcolor[rgb]{0.192,0.494,0.8}{#1}}%
20-
\newcommand{\hlcom}[1]{\textcolor[rgb]{0.678,0.584,0.686}{\textit{#1}}}%
21-
\newcommand{\hlopt}[1]{\textcolor[rgb]{0,0,0}{#1}}%
22-
\newcommand{\hlstd}[1]{\textcolor[rgb]{0.345,0.345,0.345}{#1}}%
23-
\newcommand{\hlkwa}[1]{\textcolor[rgb]{0.161,0.373,0.58}{\textbf{#1}}}%
24-
\newcommand{\hlkwb}[1]{\textcolor[rgb]{0.69,0.353,0.396}{#1}}%
25-
\newcommand{\hlkwc}[1]{\textcolor[rgb]{0.333,0.667,0.333}{#1}}%
26-
\newcommand{\hlkwd}[1]{\textcolor[rgb]{0.737,0.353,0.396}{\textbf{#1}}}%
27-
\let\hlipl\hlkwb
28-
29-
\usepackage{framed}
30-
\makeatletter
31-
\newenvironment{kframe}{%
32-
\def\at@end@of@kframe{}%
33-
\ifinner\ifhmode%
34-
\def\at@end@of@kframe{\end{minipage}}%
35-
\begin{minipage}{\columnwidth}%
36-
\fi\fi%
37-
\def\FrameCommand##1{\hskip\@totalleftmargin \hskip-\fboxsep
38-
\colorbox{shadecolor}{##1}\hskip-\fboxsep
39-
% There is no \\@totalrightmargin, so:
40-
\hskip-\linewidth \hskip-\@totalleftmargin \hskip\columnwidth}%
41-
\MakeFramed {\advance\hsize-\width
42-
\@totalleftmargin\z@ \linewidth\hsize
43-
\@setminipage}}%
44-
{\par\unskip\endMakeFramed%
45-
\at@end@of@kframe}
46-
\makeatother
47-
48-
\definecolor{shadecolor}{rgb}{.97, .97, .97}
49-
\definecolor{messagecolor}{rgb}{0, 0, 0}
50-
\definecolor{warningcolor}{rgb}{1, 0, 1}
51-
\definecolor{errorcolor}{rgb}{1, 0, 0}
52-
\newenvironment{knitrout}{}{} % an empty environment to be redefined in TeX
53-
54-
\usepackage{alltt}
4+
\documentclass[aspectratio=169,xcolor=dvipsnames]{beamer}
555
%%%% ---- Text, Presentation, and Packages ----
566
%%%%
577
% Beamer theme
@@ -80,17 +30,17 @@
8030
%----------------------------------------------------------------------------------------
8131

8232
% The title
83-
\title[]{``Good'' Coding Practices for Social Scientists}
33+
\title[]{R Coding Practices for Social Scientists}
8434
\subtitle{A quick and dirty introduction to writing and debugging clean, reproducible code in R}
8535
\author[]{\large{Adam Kaplan}}
8636
\institute[]{Massachusetts Institute of Technology}
87-
\date[]{November 19, 2021}
37+
\date[]{October 21st, 2022}
8838

8939

9040
%----------------------------------------------------------------------------------------
9141
% PRESENTATION SLIDES
9242
%----------------------------------------------------------------------------------------
93-
\IfFileExists{upquote.sty}{\usepackage{upquote}}{}
43+
9444
\begin{document}
9545

9646
\begin{frame}[noframenumbering, plain]

0 commit comments

Comments
 (0)