Skip to content

Commit

Permalink
feat: group institute with author and subdue color
Browse files Browse the repository at this point in the history
This change is mostly a result of the discussion at matze#180.
  • Loading branch information
jolars committed Jan 12, 2024
1 parent dbabbba commit 0f3f6da
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion src/beamercolorthememoloch.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@
\setbeamercolor{titlelike}{use=normal text, parent=normal text}
\setbeamercolor{author}{use=normal text, parent=normal text}
\setbeamercolor{date}{use=normal text, parent=normal text}
\setbeamercolor{institute}{use=normal text, parent=normal text}
\setbeamercolor{institute}{use=normal text, fg=normal text.fg!80!normal text.bg}
\setbeamercolor{structure}{use=normal text, fg=normal text.fg}
% \end{macrocode}
%
Expand Down
24 changes: 12 additions & 12 deletions src/beamerinnerthememoloch.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,8 @@
%
% \begin{macrocode}
\ifx\beamer@shortauthor\@empty\else\usebeamertemplate*{author}\fi
\ifx\insertdate\@empty\else\usebeamertemplate*{date}\fi
\ifx\insertinstitute\@empty\else\usebeamertemplate*{institute}\fi
\ifx\insertdate\@empty\else\usebeamertemplate*{date}\fi
\vfill
\vspace*{1mm}
\end{minipage}
Expand Down Expand Up @@ -212,34 +212,34 @@
\vspace*{2em}
\insertauthor%
\par%
\vspace*{0.25em}
}
% \end{macrocode}
% \end{macro}
%
% \begin{macro}{date}
% Set the date on the title page.
% \begin{macro}{institute}
% Set the institute on the title page.
% \begin{macrocode}
\setbeamertemplate{date}{
\insertdate%
\setbeamertemplate{institute}{
\vspace*{0.5em}
\insertinstitute%
\par%
}
% \end{macrocode}
% \end{macro}
%
% \begin{macro}{institute}
% Set the institute on the title page.
%
% \begin{macro}{date}
% Set the date on the title page.
% \begin{macrocode}
\setbeamertemplate{institute}{
\vspace*{3mm}
\insertinstitute%
\setbeamertemplate{date}{
\vspace*{1.5em}
\insertdate%
\par%
}
% \end{macrocode}
% \end{macro}
%
%
%
% \subsubsection{Section page}
%
% \begin{macro}{section page}
Expand Down

0 comments on commit 0f3f6da

Please sign in to comment.