jolars / moloch

A LaTeX Beamer theme, forked from the metropolis theme
https://ctan.org/pkg/moloch
Creative Commons Attribution Share Alike 4.0 International
91 stars 6 forks source link

Not hardcoding bibliography item font sizes #5

Closed samcarter closed 9 months ago

samcarter commented 9 months ago

Consider the following example:

\documentclass{beamer}

\usepackage[backend=biber]{biblatex}
\addbibresource{biblatex-examples.bib}

\usetheme{moloch}

\begin{document}
  \begin{frame}
    Normal Text \fullcite{knuth:ct}\footfullcite{knuth:ct}\footnote{Normal Footnote Size}

    \Tiny Normal Text \fullcite{knuth:ct}
  \end{frame}
\end{document}

document-1

In default beamer themes, the font size of the citation can adapt to the surrounding context, e.g. to the size of footnotes or text around it.

document-1


One could avoid the problem by not hard coding the size of the bibliography items:

https://github.com/jolars/moloch/blob/726430149bebefb30caff08c3d2d00bb58d721f5/src/beamerfontthememoloch.dtx#L51-L53

At least for the ones with \normalsize, the hard coded sizes don't seem to have a lot of advantages, as they are normally uses in normal size anyway, but cause problems like the ones mentioned above.

jolars commented 9 months ago

Thanks @samcarter! I ended up removing the bibliography entry customization altogether.

samcarter commented 9 months ago

Completely unrelated: for an upcoming talk about beamer, I made a graphic in a similar font style as https://en.wikipedia.org/wiki/File:Metropolis_(German_three-sheet_poster).jpg . I thought maybe you'd like to have it as well:

Moloch-logo-bw.pdf

Screenshot 2024-02-29 at 13 13 24

jolars commented 9 months ago

That's really very nice, thanks! Do you mind if I use this as the official logo for the package (with proper attribution of course)?

samcarter commented 9 months ago

Feel free to use the graphic where ever you like, no attribution required!