summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/moloch/beamerinnerthememoloch.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/moloch/beamerinnerthememoloch.dtx')
-rw-r--r--Master/texmf-dist/source/latex/moloch/beamerinnerthememoloch.dtx46
1 files changed, 16 insertions, 30 deletions
diff --git a/Master/texmf-dist/source/latex/moloch/beamerinnerthememoloch.dtx b/Master/texmf-dist/source/latex/moloch/beamerinnerthememoloch.dtx
index 8ab2b31185f..2b626d526d4 100644
--- a/Master/texmf-dist/source/latex/moloch/beamerinnerthememoloch.dtx
+++ b/Master/texmf-dist/source/latex/moloch/beamerinnerthememoloch.dtx
@@ -14,7 +14,7 @@
% \iffalse
%<*package>
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{beamerinnerthememoloch}[2024-01-15 v0.1.0 Moloch inner theme] % x-release-please-version
+\ProvidesPackage{beamerinnerthememoloch}[2024-03-06 v0.3.0 Moloch inner theme] % x-release-please-version
%</package>
% \fi
% \CheckSum{0}
@@ -112,26 +112,20 @@
% \begin{macrocode}
\setbeamertemplate{title page}{
\begin{minipage}[b][\paperheight]{\textwidth}
- \ifx\inserttitlegraphic\@empty\else\usebeamertemplate*{title graphic}\fi
+ \null%
\vfill%
+ \ifx\inserttitlegraphic\@empty\else\usebeamertemplate*{title graphic}\fi
\ifx\inserttitle\@empty\else\usebeamertemplate*{title}\fi
\ifx\insertsubtitle\@empty\else\usebeamertemplate*{subtitle}\fi
\usebeamertemplate*{title separator}
- % \end{macrocode}
- %
- % Beamer's definition of |\insertauthor| is always nonempty, so we have
- % to test another macro initialized by |\author{...}| to see if the user has
- % defined an author. This solution was suggested by Enrico Gregorio in an
- % answer to \href{https://tex.stackexchange.com/questions/241306/}{this
- % Stack Exchange question}.
- %
- % \begin{macrocode}
- \ifx\beamer@shortauthor\@empty\else\usebeamertemplate*{author}\fi
+ \expandafter\ifblank\expandafter{\beamer@andstripped}{}{%
+ \usebeamertemplate*{author}%
+ }
\ifx\insertinstitute\@empty\else\usebeamertemplate*{institute}\fi
\ifx\insertdate\@empty\else\usebeamertemplate*{date}\fi
\vfill
\null
- \end{minipage}
+ \end{minipage}%
}
% \end{macrocode}
% \end{macro}%
@@ -167,11 +161,9 @@
% position of other elements.
% \begin{macrocode}
\setbeamertemplate{title graphic}{
- \vbox to 0pt {
- \vspace*{2em}
- \inserttitlegraphic%
- }%
- \nointerlineskip%
+ \inserttitlegraphic%
+ \par%
+ \vspace*{1em}
}
% \end{macrocode}
% \end{macro}
@@ -181,10 +173,9 @@
% \begin{macrocode}
\setbeamertemplate{title}{
\raggedright%
- \linespread{1.0}%
\inserttitle%
\par%
- \vspace*{0.5em}
+ \vspace*{0.2em}
}
% \end{macrocode}
% \end{macro}
@@ -196,7 +187,7 @@
\raggedright%
\insertsubtitle%
\par%
- \vspace*{0.5em}
+ \vspace*{0.2em}
}
% \end{macrocode}
% \end{macro}
@@ -214,6 +205,7 @@
\end{tikzpicture}%
\tikzexternalenable%
\par%
+ \vspace*{0.8em}
}
% \end{macrocode}
% \end{macro}
@@ -222,9 +214,10 @@
% Set the author on the title page.
% \begin{macrocode}
\setbeamertemplate{author}{
- \vspace*{2em}
+ \raggedright%
\insertauthor%
\par%
+ \vspace*{0.5em}
}
% \end{macrocode}
% \end{macro}
@@ -233,9 +226,9 @@
% Set the institute on the title page.
% \begin{macrocode}
\setbeamertemplate{institute}{
- \vspace*{0.5em}
\insertinstitute%
\par%
+ \vspace*{1em}
}
% \end{macrocode}
% \end{macro}
@@ -245,7 +238,6 @@
% Set the date on the title page.
% \begin{macrocode}
\setbeamertemplate{date}{
- \vspace*{1.5em}
\insertdate%
\par%
}
@@ -404,12 +396,6 @@
%
% \subsubsection{Text and spacing settings}
%
-% \begin{macrocode}
-\newlength{\moloch@parskip}
-\setlength{\moloch@parskip}{0.5em}
-\setlength{\parskip}{\moloch@parskip}
-\linespread{1.15}
-% \end{macrocode}
%
% By default, Beamer frames offer the |c| option to \textit{almost} vertically
% center the text, but the placement is a little too high. To fix this, we