|
1 | 1 | %----------------------------------------------------------------------------------------
|
2 | 2 | % PACKAGES AND THEMES
|
3 | 3 | %----------------------------------------------------------------------------------------
|
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} |
55 | 5 | %%%% ---- Text, Presentation, and Packages ----
|
56 | 6 | %%%%
|
57 | 7 | % Beamer theme
|
|
80 | 30 | %----------------------------------------------------------------------------------------
|
81 | 31 |
|
82 | 32 | % The title
|
83 |
| -\title[]{``Good'' Coding Practices for Social Scientists} |
| 33 | +\title[]{R Coding Practices for Social Scientists} |
84 | 34 | \subtitle{A quick and dirty introduction to writing and debugging clean, reproducible code in R}
|
85 | 35 | \author[]{\large{Adam Kaplan}}
|
86 | 36 | \institute[]{Massachusetts Institute of Technology}
|
87 |
| -\date[]{November 19, 2021} |
| 37 | +\date[]{October 21st, 2022} |
88 | 38 |
|
89 | 39 |
|
90 | 40 | %----------------------------------------------------------------------------------------
|
91 | 41 | % PRESENTATION SLIDES
|
92 | 42 | %----------------------------------------------------------------------------------------
|
93 |
| -\IfFileExists{upquote.sty}{\usepackage{upquote}}{} |
| 43 | + |
94 | 44 | \begin{document}
|
95 | 45 |
|
96 | 46 | \begin{frame}[noframenumbering, plain]
|
|
0 commit comments