Skip to content

Commit

Permalink
Fix subtitle footer presentation (#81)
Browse files Browse the repository at this point in the history
Add | and correct ordering + spacing
  • Loading branch information
kai-tub authored Nov 14, 2022
1 parent c526648 commit dcd44ff
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 4 deletions.
15 changes: 14 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
# cannot link to sty for windows support
minimal_examples/*.sty
minimal_examples/*.pdf
minimal_examples/logos

multi_lang_examples/*.sty
multi_lang_examples/*.pdf
multi_lang_examples/logos

compare_examples/*.sty
compare_examples/*.pdf
compare_examples/logos

## Core latex/pdflatex auxiliary files:
*.aux
*.lof
Expand Down Expand Up @@ -296,4 +309,4 @@ tmp/
latex-beamer-pure-minimalistic.wiki/
__latexindent_temp.tex
.env
.devcontainer
.devcontainer
8 changes: 6 additions & 2 deletions beamerouterthemepureminimalistic.sty
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,12 @@
\vbox to\myfooterheight{%
\vfil%
\insertshorttitle{} $~|~$ %
\insertshortauthor{} $\quad$%
\insertshortsubtitle{}\par%
\ifx\insertsubtitle\@empty%
\else%
\insertshortsubtitle{} $~|~$%
\fi%
\insertshortauthor{}
\par%
\ifthenelse{\boolean{nofooterlogo}}{}{
\showpagenum
}
Expand Down
2 changes: 1 addition & 1 deletion beamertheme-pure-minimalistic-demo.tex
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
\title[short title]{This is the normal length of a research paper:
always longer than you would expect}
\author{Kai Norman Clasen}
\subtitle{Subtitle}
% \subtitle[subtitle]{Subtitle}
\institute{Institute name}
\date{\today}

Expand Down
21 changes: 21 additions & 0 deletions minimal_examples/subtitle.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
\documentclass[aspectratio=169]{beamer}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usetheme[darkmode]{pureminimalistic}

\title[Short title]{Long title}
\subtitle[Short subtitle]{Long subtitle}
\author{Kai Norman Clasen}
\institute{}
\date{\today}

\begin{document}
\maketitle

\begin{frame}{Subtitle Behavior}
\begin{itemize}
\item Long subtitle has bigger font and is on its own line on \emph{titlepage}
\item Short subtitle comes after short title in footer before \emph{author}
\end{itemize}
\end{frame}
\end{document}

0 comments on commit dcd44ff

Please sign in to comment.