summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/beamer-contrib/themes/beamertheme-simpleplus/beamerinnerthemeSimplePlus.sty
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/beamer-contrib/themes/beamertheme-simpleplus/beamerinnerthemeSimplePlus.sty')
-rw-r--r--macros/latex/contrib/beamer-contrib/themes/beamertheme-simpleplus/beamerinnerthemeSimplePlus.sty98
1 files changed, 58 insertions, 40 deletions
diff --git a/macros/latex/contrib/beamer-contrib/themes/beamertheme-simpleplus/beamerinnerthemeSimplePlus.sty b/macros/latex/contrib/beamer-contrib/themes/beamertheme-simpleplus/beamerinnerthemeSimplePlus.sty
index 43ab163d18..f6475f0948 100644
--- a/macros/latex/contrib/beamer-contrib/themes/beamertheme-simpleplus/beamerinnerthemeSimplePlus.sty
+++ b/macros/latex/contrib/beamer-contrib/themes/beamertheme-simpleplus/beamerinnerthemeSimplePlus.sty
@@ -1,60 +1,78 @@
-% !TEX TS-program = xelatex
-% !TEX encoding = UTF-8 Unicode
-
-%----------------------------------------------------------------------------------------
-% Package: beamertheme-SimplePlus
-% Author: Pin-Yen Huang (pyhuang97@gmail.com)
-% Version: 1.0, 2021-12-16
-% Link: https://github.com/PM25/SimplePlus-BeamerTheme
-% This is free and unencumbered software released into the
-% public domain; see <http://unlicense.org> for details.
-%----------------------------------------------------------------------------------------
+%-------------------------------------------------------------
+% Package: beamertheme-SimplePlus
+% Author: Pin-Yen Huang (pyhuang97@gmail.com)
+% Version: 1.1, 2025-01-07
+% Link: https://github.com/pm25/SimplePlus-BeamerTheme
+% This is free and unencumbered software released into the
+% public domain; see <http://unlicense.org> for details.
+%-------------------------------------------------------------
-\pgfdeclareverticalshading[lower.bg,upper.bg]{bmb@transition}{200cm}{%
- color(0pt)=(lower.bg); color(2pt)=(lower.bg); color(4pt)=(lower.bg)}
+%--------------------------------------
+% Inner Theme Settings
+%--------------------------------------
-\setbeamersize{text margin left=2em,text margin right=2em}
+\pgfdeclareverticalshading[lower.bg,upper.bg]{bmb@transition}{200cm}{%
+color(0pt)=(lower.bg); color(2pt)=(lower.bg); color(4pt)=(lower.bg)}
-% table of contents (overview)
-\setbeamertemplate{section in toc}[sections numbered]
-\setbeamertemplate{subsection in toc}{\leavevmode\leftskip=3.2em\rlap{\hskip-2em\inserttocsectionnumber.\inserttocsubsectionnumber}\inserttocsubsection\par}
+\setbeamersize{text margin left=2em,text margin right=2em}
\setbeamertemplate{footline}[frame number]
\setbeamertemplate{navigation symbols}{}
+
\setbeamertemplate{blocks}[rounded][shadow=false]
+
\setbeamertemplate{enumerate items}[default]
+\setbeamertemplate{enumerate subitem}[default]
+\setbeamertemplate{itemize items}[circle]
+\setbeamertemplate{itemize subitem}[circle]
+
+% table of contents (overview) settings
+\setbeamertemplate{section in toc}[sections numbered]
+\setbeamertemplate{subsection in toc}{%
+ \leavevmode
+ \leftskip=3.2em
+ \rlap{\hskip-2em\inserttocsectionnumber.\inserttocsubsectionnumber}
+ \inserttocsubsection\par
+}
-\setbeamertemplate{frametitle}{\vspace*{0.5em}\bfseries\insertframetitle\par\vskip-6pt\hrulefill\vspace{-0.1em}}
+% frame title customization
+\setbeamertemplate{frametitle}{%
+ \vspace*{0.5em}
+ \bfseries\insertframetitle\par
+ \vskip-6pt
+ \hrulefill\vspace{-0.1em}
+}
-\setbeamertemplate{title page}{
- \vspace{7em}
+% title page customization
+\setbeamertemplate{title page}{%
+ \vspace{6em}
\begingroup
- \centering
- % ------------------------
- \begin{beamercolorbox}[sep=8pt,center]{title}
+ \centering
+ % ------------------------
+ \begin{beamercolorbox}[sep=10pt,center]{title}
\usebeamerfont{title}\inserttitle\par%
\ifx\insertsubtitle\@empty%
\else%
- \vskip0.25em%
- {\usebeamerfont{subtitle}\usebeamercolor[fg]{subtitle}\insertsubtitle\par}%
- \fi%
- \end{beamercolorbox}%
- \vskip0.5em\par
- % ------------------------
- \begin{beamercolorbox}[sep=8pt,center]{author}
+ \vskip0.25em%
+ {\usebeamerfont{subtitle}\usebeamercolor[fg]{subtitle}\insertsubtitle\par}%
+ \fi%
+ \end{beamercolorbox}%
+ \vskip0.5em\par
+ % ------------------------
+ \begin{beamercolorbox}[sep=8pt,center]{author}
\usebeamerfont{author}\insertauthor
- \end{beamercolorbox}
- \vskip-1em
- % ------------------------
- \begin{beamercolorbox}[sep=8pt,center]{institute}
+ \end{beamercolorbox}
+ \vskip-1em
+ % ------------------------
+ \begin{beamercolorbox}[sep=8pt,center]{institute}
\usebeamerfont{institute}\insertinstitute
- \end{beamercolorbox}
- % ------------------------
- \begin{beamercolorbox}[sep=8pt,center]{date}
+ \end{beamercolorbox}
+ % ------------------------
+ \begin{beamercolorbox}[sep=8pt,center]{date}
\usebeamerfont{date}\insertdate
- \end{beamercolorbox}\vskip0.5em
- % ------------------------
- {\usebeamercolor[fg]{titlegraphic}\inserttitlegraphic\par}
+ \end{beamercolorbox}\vskip0.5em
+ % ------------------------
+ {\usebeamercolor[fg]{titlegraphic}\inserttitlegraphic\par}
\endgroup
\vfill
} \ No newline at end of file