From 76bae02bcd7d6b3ec9eea428e5e95da184a8dbfb Mon Sep 17 00:00:00 2001
From: Rasmus Dahlberg <rasmus@rgdd.se>
Date: Tue, 15 Oct 2024 15:35:20 +0200
Subject: Rescue some slides from old private mono repos

---
 .../beamerinnerthemergd.sty                        | 43 ++++++++++++++++++++++
 1 file changed, 43 insertions(+)
 create mode 100644 slides/2019-it-intro-computer-systems/beamerinnerthemergd.sty

(limited to 'slides/2019-it-intro-computer-systems/beamerinnerthemergd.sty')

diff --git a/slides/2019-it-intro-computer-systems/beamerinnerthemergd.sty b/slides/2019-it-intro-computer-systems/beamerinnerthemergd.sty
new file mode 100644
index 0000000..0d49176
--- /dev/null
+++ b/slides/2019-it-intro-computer-systems/beamerinnerthemergd.sty
@@ -0,0 +1,43 @@
+\mode<presentation>
+
+%%%
+% Title page
+%%%
+\defbeamertemplate*{title page}{rgd}[1][]{
+  \begin{tikzpicture}[remember picture, overlay]
+    \usebeamercolor{titlepage}
+    % Add top-left triangle with university logo
+    \filldraw[draw=rgdGray,fill=rgdGray]
+      (current page.north west) --
+      (current page.north) --
+        node[draw=none,pos=0.5](Logo){\includegraphics[width=3cm]{img/logo}}
+      (current page.west) --
+      (current page.north west);
+    % Add title
+    \node[
+      text=fg,
+      text width=0.75\paperwidth,
+    ] (Title) at ([shift={(0,-0.5cm)}]current page){%
+      \centering\usebeamerfont{title}\inserttitle\\%
+    };
+    % Add subtitle
+    \node[
+      text=fg,
+      text width=0.75\paperwidth,
+      below=0pt of Title,
+    ] (Subtitle) {%
+      \centering\usebeamerfont{subtitle}\insertsubtitle\\%
+    };
+    % Add authors
+    \usebeamercolor{author}
+    \node[
+      text=fg,
+      text width=0.75\paperwidth,
+      below=12pt of Subtitle,
+    ] (Author) {%
+      \centering\usebeamerfont{author}\insertauthor\\%
+    };
+  \end{tikzpicture}
+}
+
+\mode<all>
-- 
cgit v1.2.3

