From 7624b93d0f5ac5ad5094c1c84ace0239c562f124 Mon Sep 17 00:00:00 2001 From: Ryan Rueger Date: Tue, 18 Mar 2025 14:03:23 +0100 Subject: Initial commit --- beamerthemeibm.sty | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 beamerthemeibm.sty (limited to 'beamerthemeibm.sty') 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 + +\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 -- cgit v1.2.3-89-gcfd4