From 551f6bc6ba51d5e71408dc36b420aac55a0e4af0 Mon Sep 17 00:00:00 2001 From: Denis 'GNUtoo' Carikli Date: Fri, 22 Nov 2019 18:18:27 +0100 Subject: remove bad abstractions Signed-off-by: Denis 'GNUtoo' Carikli --- .../Replicant_sustainability.tex | 32 ++++++---------------- 1 file changed, 8 insertions(+), 24 deletions(-) diff --git a/36c3/Replicant_sustainability/Replicant_sustainability.tex b/36c3/Replicant_sustainability/Replicant_sustainability.tex index 4c44c2a..f8b09c1 100644 --- a/36c3/Replicant_sustainability/Replicant_sustainability.tex +++ b/36c3/Replicant_sustainability/Replicant_sustainability.tex @@ -8,19 +8,6 @@ \usepackage{xtab} \usepackage{pdfpages} -%% Based on: -%% https://tex.stackexchange.com/questions/136900/insert-a-full-page-image -\newcommand{\pictureframe}[1] { - { - \begin{frame} - \noindent - \resizebox{\textwidth}{\textheight} - {\includegraphics{#1}} - \hspace*{-\textwidth} - \end{frame} - } -} - \newcommand{\devicespictureframe}[3] { { \begin{frame} @@ -32,14 +19,8 @@ } } -\newcommand{\shrpictureframe}[2] { - { - \begin{frame} - \noindent - {\includegraphics[scale=0.25]{#1}} - {\includegraphics[scale=0.25]{#2}} - \end{frame} - } +\newcommand{\outputpicture}[2] { + {\includegraphics[scale=#1]{output/#2}} } \newcommand{\devicepicture}[2] { @@ -108,8 +89,9 @@ %% \end{itemize} %% \end{frame} -\pictureframe{output/i9300_hardware.png} - +\begin{frame} + \outputpicture{1}{i9300_hardware.png} +\end{frame} \begin{frame} \center{Why Android?} @@ -507,7 +489,9 @@ \end{itemize} \end{frame} -\pictureframe{output/virtuous_circle.png} +\begin{frame} +\outputpicture{1}{virtuous_circle.png} +\end{frame} \begin{frame} \center{Effects of using Linux upstream} -- cgit v1.2.3