aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIsh Sookun <ish@hacklog.mu>2019-03-30 19:13:28 +0400
committerIsh Sookun <ish@hacklog.mu>2019-03-30 19:13:28 +0400
commita761d7ee57d305c295bcc2d0ce0da23d1a303432 (patch)
tree5863d887cc68d9fe7f1325d671b5594f0474ad18
parente2610c32bd810020bb4bfe51e42a57688411d848 (diff)
downloadinstallFest2021-a761d7ee57d305c295bcc2d0ce0da23d1a303432.tar.gz
Adding beamer sty files
-rw-r--r--beamercolorthemeopensuse.sty14
-rw-r--r--beamerinnerthemeopensuse.sty40
-rw-r--r--beamerouterthemeopensuse.sty68
-rw-r--r--beamerthemeopensuse.sty14
-rw-r--r--main.pdfbin0 -> 28030 bytes
-rw-r--r--main.tex36
-rw-r--r--opensuse-logo.pngbin0 -> 11181 bytes
7 files changed, 172 insertions, 0 deletions
diff --git a/beamercolorthemeopensuse.sty b/beamercolorthemeopensuse.sty
new file mode 100644
index 0000000..e2c4892
--- /dev/null
+++ b/beamercolorthemeopensuse.sty
@@ -0,0 +1,14 @@
+\mode<presentation>
+
+% Settings
+\setbeamercolor*{title page header}{fg=white}
+\setbeamercolor*{author}{fg=white}
+\setbeamercolor*{date}{fg=white}
+\setbeamercolor*{item}{fg=orange}
+\setbeamercolor{normal text}{fg=white}
+% Items
+\setbeamertemplate{items}[square]
+\setbeamertemplate{sections/subsections in toc}[square]
+
+\mode
+<all>
diff --git a/beamerinnerthemeopensuse.sty b/beamerinnerthemeopensuse.sty
new file mode 100644
index 0000000..4d58403
--- /dev/null
+++ b/beamerinnerthemeopensuse.sty
@@ -0,0 +1,40 @@
+\mode<presentation>
+\definecolor{arsenic}{rgb}{0.23, 0.27, 0.29}
+\definecolor{indiagreen}{rgb}{0.07, 0.53, 0.03}
+\definecolor{jade}{rgb}{0.0, 0.66, 0.42}
+\definecolor{persiangreen}{rgb}{0.0, 0.65, 0.58}
+
+\setbeamertemplate{background}{
+ \begin{tikzpicture}
+ \useasboundingbox (0,0) rectangle(\the\paperwidth,\the\paperheight);
+ \fill[color=arsenic] (0,0) rectangle (\the\paperwidth,\the\paperheight);
+ \node [draw=white,fill=indiagreen,line width=0.2mm,minimum size=12cm,regular polygon,regular polygon sides=6] at (4,6.5) (a) {};
+ \node [draw=white,fill=jade,line width=0.2mm,minimum size=12cm,regular polygon,regular polygon sides=6] at (15,1.2) (a) {};
+ \node [draw=white,fill=persiangreen,line width=0.2mm,minimum size=12cm,regular polygon,regular polygon sides=6] at (14.2,13.1) (a) {};
+
+ \end{tikzpicture}
+
+}
+
+% Title page
+\defbeamertemplate*{title page}{texsx}[1][]
+{
+ \vskip0.5cm%
+ \hskip0.3cm\includegraphics[scale=0.15]{opensuse-logo}\vskip0.1cm%
+ \begin{beamercolorbox}[wd=12cm,leftskip=0cm,sep=8pt,#1]{title page header}
+ \usebeamerfont{title}\LARGE\inserttitle\par%
+ \vspace{0.5em}\small\insertsubtitle\par%
+ \end{beamercolorbox}%
+ %\vskip0.75cm%
+ %\begin{beamercolorbox}[wd=12cm,leftskip=3cm,#1]{author}
+ % \usebeamerfont{author}\insertauthor%
+ %\end{beamercolorbox}
+ % \vskip0.2cm%
+ %\begin{beamercolorbox}[wd=12cm,leftskip=3cm,#1]{date}
+ % \usebeamerfont{author}Hello, world!%
+ % \end{beamercolorbox}
+ \vfill
+}
+
+\mode
+<all>
diff --git a/beamerouterthemeopensuse.sty b/beamerouterthemeopensuse.sty
new file mode 100644
index 0000000..d171e66
--- /dev/null
+++ b/beamerouterthemeopensuse.sty
@@ -0,0 +1,68 @@
+\mode<presentation>
+
+% Frame title
+\defbeamertemplate*{frametitle}{texsx}[1][]
+{
+\vskip1cm%
+ \begin{beamercolorbox}[wd=\paperwidth,ht=1.2cm]{frametitle}
+ \begin{tikzpicture}
+ \useasboundingbox (0,0) rectangle(\the\paperwidth,\the\paperheight);
+ \fill[color=arsenic] (0,-10) rectangle (\the\paperwidth,\the\paperheight);
+ \node [draw=white,fill=persiangreen,line width=0.1mm,minimum size=0.5cm,regular polygon,regular polygon sides=6] at (0,-6.5) (a) {};
+ \node [draw=white,fill=indiagreen,line width=0.1mm,minimum size=0.5cm,regular polygon,regular polygon sides=6] at (0.5,-6.8) (a) {};
+ \node [draw=white,fill=persiangreen,line width=0.1mm,minimum size=0.5cm,regular polygon,regular polygon sides=6] at (0.5,-6.2) (a) {};
+ \node [draw=white,fill=persiangreen,line width=0.1mm,minimum size=0.5cm,regular polygon,regular polygon sides=6] at (1,-6.5) (a) {};
+ \node [draw=white,fill=jade,line width=0.1mm,minimum size=0.5cm,regular polygon,regular polygon sides=6] at (1,-5.9) (a) {};
+ \node [draw=white,fill=indiagreen,line width=0.1mm,minimum size=0.5cm,regular polygon,regular polygon sides=6] at (1.5,-6.2) (a) {};
+ \node [draw=white,fill=jade,line width=0.1mm,minimum size=0.5cm,regular polygon,regular polygon sides=6] at (1.5,-6.8) (a) {};
+ \node [draw=white,fill=jade,line width=0.1mm,minimum size=0.5cm,regular polygon,regular polygon sides=6] at (2.0,-5.9) (a) {};
+ \node [draw=white,fill=jade,line width=0.1mm,minimum size=0.5cm,regular polygon,regular polygon sides=6] at (2.0,-6.5) (a) {};
+ \node [draw=white,fill=jade,line width=0.1mm,minimum size=0.5cm,regular polygon,regular polygon sides=6] at (2.5,-6.2) (a) {};
+ \node [draw=white,fill=persiangreen,line width=0.1mm,minimum size=0.5cm,regular polygon,regular polygon sides=6] at (3.0,-6.5) (a) {};
+ \node [draw=white,fill=persiangreen,line width=0.1mm,minimum size=0.5cm,regular polygon,regular polygon sides=6] at (3.0,-5.9) (a) {};
+ \node [draw=white,fill=indiagreen,line width=0.1mm,minimum size=0.5cm,regular polygon,regular polygon sides=6] at (3.5,-6.8) (a) {};
+ \node [draw=white,fill=indiagreen,line width=0.1mm,minimum size=0.5cm,regular polygon,regular polygon sides=6] at (3.5,-6.2) (a) {};
+ \node [draw=white,fill=jade,line width=0.1mm,minimum size=0.5cm,regular polygon,regular polygon sides=6] at (4.0,-6.5) (a) {};
+ \node [draw=white,fill=jade,line width=0.1mm,minimum size=0.5cm,regular polygon,regular polygon sides=6] at (4.5,-6.2) (a) {};
+ \node [draw=white,fill=persiangreen,line width=0.1mm,minimum size=0.5cm,regular polygon,regular polygon sides=6] at (5.0,-6.5) (a) {};
+ \node [draw=white,fill=indiagreen,line width=0.1mm,minimum size=0.5cm,regular polygon,regular polygon sides=6] at (5.0,-5.9) (a) {};
+ \node [draw=white,fill=indiagreen,line width=0.1mm,minimum size=0.5cm,regular polygon,regular polygon sides=6] at (5.5,-6.2) (a) {};
+ \node [draw=white,fill=jade,line width=0.1mm,minimum size=0.5cm,regular polygon,regular polygon sides=6] at (5.5,-6.8) (a) {};
+ \node [draw=white,fill=jade,line width=0.1mm,minimum size=0.5cm,regular polygon,regular polygon sides=6] at (6.0,-6.5) (a) {};
+ \node [draw=white,fill=jade,line width=0.1mm,minimum size=0.5cm,regular polygon,regular polygon sides=6] at (6.5,-6.8) (a) {};
+ \node [draw=white,fill=indiagreen,line width=0.1mm,minimum size=0.5cm,regular polygon,regular polygon sides=6] at (7.0,-6.5) (a) {};
+ \node [draw=white,fill=indiagreen,line width=0.1mm,minimum size=0.5cm,regular polygon,regular polygon sides=6] at (7.5,-6.8) (a) {};
+ \node [draw=white,fill=jade,line width=0.1mm,minimum size=0.5cm,regular polygon,regular polygon sides=6] at (7.5,-6.2) (a) {};
+ \node [draw=white,fill=jade,line width=0.1mm,minimum size=0.5cm,regular polygon,regular polygon sides=6] at (8.0,-6.5) (a) {};
+ \node [draw=white,fill=indiagreen,line width=0.1mm,minimum size=0.5cm,regular polygon,regular polygon sides=6] at (8.0,-5.9) (a) {};
+ \node [draw=white,fill=persiangreen,line width=0.1mm,minimum size=0.5cm,regular polygon,regular polygon sides=6] at (8.5,-6.2) (a) {};
+ \node [draw=white,fill=persiangreen,line width=0.1mm,minimum size=0.5cm,regular polygon,regular polygon sides=6] at (9.0,-6.5) (a) {};
+ \node [draw=white,fill=jade,line width=0.1mm,minimum size=0.5cm,regular polygon,regular polygon sides=6] at (9.5,-6.8) (a) {};
+ \node [draw=white,fill=jade,line width=0.1mm,minimum size=0.5cm,regular polygon,regular polygon sides=6] at (9.5,-6.2) (a) {};
+ \node [draw=white,fill=jade,line width=0.1mm,minimum size=0.5cm,regular polygon,regular polygon sides=6] at (10,-6.5) (a) {};
+ \node [draw=white,fill=jade,line width=0.1mm,minimum size=0.5cm,regular polygon,regular polygon sides=6] at (10.5,-6.8) (a) {};
+ \node [draw=white,fill=indiagreen,line width=0.1mm,minimum size=0.5cm,regular polygon,regular polygon sides=6] at (11,-6.5) (a) {};
+ \node [draw=white,fill=persiangreen,line width=0.1mm,minimum size=0.5cm,regular polygon,regular polygon sides=6] at (11.5,-6.8) (a) {};
+ \node [draw=white,fill=jade,line width=0.1mm,minimum size=1.5cm,regular polygon,regular polygon sides=6] at (12.2,-6.05) (a) {};
+ \node [draw=white,fill=indiagreen,line width=0.1mm,minimum size=1.5cm,regular polygon,regular polygon sides=6] at (13.4,-6.75) (a) {};
+ \node [draw=white,fill=persiangreen,line width=0.1mm,minimum size=1.5cm,regular polygon,regular polygon sides=6] at (13.4,-5.35) (a) {};
+ \node [draw=white,fill=indiagreen,line width=0.1mm,minimum size=1.5cm,regular polygon,regular polygon sides=6] at (14.6,-6.05) (a) {};
+ \node [draw=white,fill=jade,line width=0.1mm,minimum size=1.5cm,regular polygon,regular polygon sides=6] at (15.8,-6.75) (a) {};
+ \node at (13.4,-5.35) {\includegraphics[scale=0.1]{opensuse-logo}};
+
+
+ %\useasboundingbox[fill=arsenic](0,0) rectangle(\the\paperwidth,1.2);
+ %\fill[orange] (0,0) rectangle(2.95,1.2);
+ %\fill[blue!50!cyan!80] (3.05,0) rectangle(\the\paperwidth,1.2);
+ \ifx\insertframesubtitle\@empty%
+ {\node[anchor=west, white,font=\Large] at (1,0.61){\insertframetitle};}
+ \else%
+ {\node[anchor= west, white,font=\large] at (3.2,0.81){\insertframetitle};%
+ \node[anchor= west, white,font=\small] at (3.2,0.41){\insertframesubtitle};}%
+ \fi
+
+ \end{tikzpicture}
+ \end{beamercolorbox}
+}
+
+\mode<all>
diff --git a/beamerthemeopensuse.sty b/beamerthemeopensuse.sty
new file mode 100644
index 0000000..8cc1cdc
--- /dev/null
+++ b/beamerthemeopensuse.sty
@@ -0,0 +1,14 @@
+\mode<presentation>
+
+% Requirement
+\RequirePackage{tikz}
+
+% Settings
+\useinnertheme{texsx}
+\useoutertheme{texsx}
+\usecolortheme{texsx}
+
+\setbeamertemplate{navigation symbols}{}
+\setbeamertemplate{blocks}[rounded][shadow=true]
+
+\mode<all>
diff --git a/main.pdf b/main.pdf
new file mode 100644
index 0000000..4db61f2
--- /dev/null
+++ b/main.pdf
Binary files differ
diff --git a/main.tex b/main.tex
new file mode 100644
index 0000000..bace898
--- /dev/null
+++ b/main.tex
@@ -0,0 +1,36 @@
+\documentclass[aspectratio=169]{beamer}
+\usepackage[utf8]{inputenc}
+\usepackage{bookman}
+\usepackage{tikz}
+\usetikzlibrary{shapes.geometric}
+
+\usetheme{opensuse}
+
+\title{Introduction to Btrfs}
+\subtitle{Just enough to get you started}
+\author{Ish Sookun}
+\date{2019}
+
+\begin{document}
+
+\frame{\titlepage}
+
+\begin{frame}
+\frametitle{Title}
+This is a text from the first frame.
+\end{frame}
+
+\begin{frame}
+\frametitle{Image}
+
+\end{frame}
+
+\begin{frame}
+ \frametitle{Thank you!}
+ I am reachable at ishwon@opensuse.org.\vspace{1em}
+
+ \tiny The LaTeX source of this presentation template is available at github.com/ishwon/opensuse-kubic-tex-tpl.\\
+ The template is MIT licensed.
+ \end{frame}
+
+\end{document}
diff --git a/opensuse-logo.png b/opensuse-logo.png
new file mode 100644
index 0000000..8c2a2db
--- /dev/null
+++ b/opensuse-logo.png
Binary files differ