From 9555331147e61e648c888177b350303c67c0c55d Mon Sep 17 00:00:00 2001 From: Prabhu Ramachandran Date: Wed, 15 Nov 2017 18:02:55 +0530 Subject: Small changes and use 16:9 aspectratio. --- advanced_python/closures.tex | 2 +- advanced_python/intro.tex | 3 ++- advanced_python/names_objects.tex | 4 +++- advanced_python/only_kwargs.tex | 5 +++-- advanced_python/practice_functions.tex | 2 +- advanced_python/varargs_kwargs.tex | 5 ++++- 6 files changed, 14 insertions(+), 7 deletions(-) (limited to 'advanced_python') diff --git a/advanced_python/closures.tex b/advanced_python/closures.tex index 1c17c7b..267a94a 100644 --- a/advanced_python/closures.tex +++ b/advanced_python/closures.tex @@ -1,4 +1,4 @@ -\documentclass[14pt,compress]{beamer} +\documentclass[14pt,compress,aspectratio=169]{beamer} \input{macros.tex} diff --git a/advanced_python/intro.tex b/advanced_python/intro.tex index d0a7198..ce75248 100644 --- a/advanced_python/intro.tex +++ b/advanced_python/intro.tex @@ -1,4 +1,4 @@ -\documentclass[14pt,compress]{beamer} +\documentclass[14pt,compress,aspectratio=169]{beamer} \input{macros.tex} @@ -36,6 +36,7 @@ \begin{itemize} \item Canopy \item Spyder + \item Emacs/Vim \item VS Code \url{code.visualstudio.com} \end{itemize} \item Any Python environment works diff --git a/advanced_python/names_objects.tex b/advanced_python/names_objects.tex index 889741d..99eb4dd 100644 --- a/advanced_python/names_objects.tex +++ b/advanced_python/names_objects.tex @@ -1,4 +1,5 @@ -\documentclass[14pt,compress]{beamer} +\documentclass[14pt,compress,aspectratio=169]{beamer} + \input{macros.tex} @@ -258,6 +259,7 @@ In []: a = 'hello' \begin{frame}[fragile] \frametitle{Exercise 1} + \vspace*{-0.1in} \begin{lstlisting} a = [1, 2] b = a diff --git a/advanced_python/only_kwargs.tex b/advanced_python/only_kwargs.tex index 68796cc..8d4caef 100644 --- a/advanced_python/only_kwargs.tex +++ b/advanced_python/only_kwargs.tex @@ -1,4 +1,4 @@ -\documentclass[14pt,compress]{beamer} +\documentclass[14pt,compress,aspectratio=169]{beamer} \input{macros.tex} @@ -16,8 +16,9 @@ \titlepage \end{frame} -\begin{frame}[fragile] +\begin{frame}[fragile, plain] \frametitle{Motivation} + \vspace*{-0.1in} \begin{itemize} \item One can mix positional and keyword arguments \end{itemize} diff --git a/advanced_python/practice_functions.tex b/advanced_python/practice_functions.tex index 8e28da2..9664171 100644 --- a/advanced_python/practice_functions.tex +++ b/advanced_python/practice_functions.tex @@ -1,4 +1,4 @@ -\documentclass[14pt,compress]{beamer} +\documentclass[14pt,compress,aspectratio=169]{beamer} \input{macros.tex} diff --git a/advanced_python/varargs_kwargs.tex b/advanced_python/varargs_kwargs.tex index 7becbeb..29f7e88 100644 --- a/advanced_python/varargs_kwargs.tex +++ b/advanced_python/varargs_kwargs.tex @@ -1,4 +1,4 @@ -\documentclass[14pt,compress]{beamer} +\documentclass[14pt,compress,aspectratio=169]{beamer} \input{macros.tex} @@ -28,6 +28,7 @@ \begin{frame}[fragile] \frametitle{Advanced unpacking} + \vspace*{-0.1in} \begin{lstlisting} In []: a, b = 1, 2 # We know this! \end{lstlisting} @@ -64,6 +65,7 @@ In []: f.close() \begin{frame}[fragile] \frametitle{Arbitrary positional arguments} + \vspace*{-0.1in} \begin{itemize} \item Arbitrary positional arguments: \lstinline{*arg} \end{itemize} @@ -101,6 +103,7 @@ Also is perfectly valid \begin{frame}[fragile] \frametitle{Arbitrary keyword arguments} + \vspace*{-0.1in} \begin{itemize} \item Keyword arguments using \lstinline{**kw} \end{itemize} -- cgit