Ryan Rueger

ryan@rueg.re / picture / key / home
aboutsummaryrefslogtreecommitdiff
path: root/beamerthemeibm.sty
diff options
context:
space:
mode:
authorRyan Rueger <git@rueg.re>2025-03-18 14:03:23 +0100
committerRyan Rueger <git@rueg.re>2025-03-18 14:03:23 +0100
commit7624b93d0f5ac5ad5094c1c84ace0239c562f124 (patch)
tree8fdeb7907086cc2f23810147a6100fd5fdda5849 /beamerthemeibm.sty
downloadIBeaMer-7624b93d0f5ac5ad5094c1c84ace0239c562f124.tar.gz
IBeaMer-7624b93d0f5ac5ad5094c1c84ace0239c562f124.tar.bz2
IBeaMer-7624b93d0f5ac5ad5094c1c84ace0239c562f124.zip
Initial commitHEADmain
Diffstat (limited to 'beamerthemeibm.sty')
-rw-r--r--beamerthemeibm.sty51
1 files changed, 51 insertions, 0 deletions
diff --git a/beamerthemeibm.sty b/beamerthemeibm.sty
new file mode 100644
index 0000000..8001462
--- /dev/null
+++ b/beamerthemeibm.sty
@@ -0,0 +1,51 @@
+\mode<presentation>
+
+\RequirePackage{tikz}
+
+% Settings
+\useinnertheme{ibm}
+\useoutertheme{ibm}
+\usecolortheme{ibm}
+
+\setbeamertemplate{navigation symbols}{}
+\setbeamertemplate{blocks}[rounded][shadow=true]
+
+% Set usual fonts
+\RequirePackage{plex-otf}
+
+% Set title fonts
+\setbeamerfont{title}{family=\fontspec{IBMPlexMono-Regular.otf}, size=\Large}
+\setbeamerfont{subtitle}{family=\fontspec{IBMPlexSans-Italic.otf}, size=\scriptsize}
+\setbeamerfont{titletag}{family=\fontspec{IBMPlexMono-Regular.otf}, size=\tiny}
+\setbeamerfont{author}{family=\fontspec{IBMPlexSans-Regular.otf}}
+\setbeamerfont{date}{family=\fontspec{IBMPlexSans-Regular.otf}, size=\scriptsize}
+\setbeamerfont{frametitle}{family=\fontspec{IBMPlexMono-Regular.otf}, size=\large}
+\setbeamerfont{titleurl}{family=\fontspec{IBMPlexMono-Regular.otf}, size=\scriptsize}
+\setbeamerfont{footer}{family=\fontspec{IBMPlexMono-Regular.otf}, size=\tiny}
+
+% Set math fonts
+\usepackage{unicode-math}
+\setmathfont{LeteSansMath.otf}
+\setmathrm{IBMPlexSans-Regular.otf}
+\setmathsf{IBMPlexSans-Regular.otf}
+\setmathtt{IBMPlexSans-Regular.otf}
+
+% Set line spacing
+\setstretch{1.25}
+
+\newcommand{\settopspace}[1]{\newcommand{\topspace}{\vspace{#1}}}
+\newcommand{\settitlespace}[1]{\newcommand{\titlespace}{\vspace{#1}}}
+\newcommand{\setsubtitlespace}[1]{\newcommand{\subtitlespace}{\vspace{#1}}}
+\newcommand{\settitletagspace}[1]{\newcommand{\titletagspace}{\vspace{#1}}}
+\newcommand{\setauthorspace}[1]{\newcommand{\authorspace}{\vspace{#1}}}
+\newcommand{\seturlspace}[1]{\newcommand{\urlspace}{\vspace{#1}}}
+\newcommand{\setbottomspace}[1]{\newcommand{\bottomspace}{\vspace{#1}}}
+
+\newcommand{\seturl}[1]{\newcommand{\printurl}{#1}}
+\newcommand{\titletag}[1]{\newcommand{\printtitletag}{#1}}
+
+\newcommand{\settitlewidth}[1]{\newcommand{\titlewidth}{#1}}
+
+\newcommand{\footerleft}[1]{\newcommand{\printfooterleft}{#1}}
+\newcommand{\footercenter}[1]{\newcommand{\printfootercenter}{#1}}
+\mode<all>