Git Product home page Git Product logo

Comments (5)

rnhmjoj avatar rnhmjoj commented on September 26, 2024 1

Yeah, that's what I have been doing. There is a growing pile of small issues like this one that are not getting fixed.
Someone should probably just fork this project as it seems entirely unmaintained. It's sad because metropolis is basically the only well-designed beamer theme.

from mtheme.

venkatasg avatar venkatasg commented on September 26, 2024

What exactly is the output for the minimal code, and what is it that you want it to produce?

If you want allsmallcaps, you need to ensure that your section text is all lowercase as well. For example, {Introduction} in your MWE should be {introduction} if you want it to be displayed all small caps. Not sure if this is a bug, because the frame titles don't have this issue.

from mtheme.

rnhmjoj avatar rnhmjoj commented on September 26, 2024

What exactly is the output for the minimal code, and what is it that you want it to produce?

The output is "Introduction", while I expected "INTRODUCTION"

If you want allsmallcaps, you need to ensure that your section text is all lowercase as well.

Ok, I didn't know this but I'm only interested in the allcaps format.

from mtheme.

nzeh avatar nzeh commented on September 26, 2024

I just ran into this, too. I thinkered around a little bit, using the simple introductory example provided in the README. It seems that \metropolis@sectiontitleformat (which is in charge of implementing the conversion to all caps) is completely ignored. I tested this by manually overriding this command to add a prefix to every section title, and nothing happened.

I suspect that the problem may be the surgery that this theme does with the \beamer@section command. This used \patchcmd, which does simple pattern search and replacement in the definition of the command to be patched. If the definition of \beamer@section has changed in the Beamer class, then the pattern the Metropolis theme looks for may not exist. However, the log shows no error that patching failed, so I'm still a bit baffled.

from mtheme.

jwettig avatar jwettig commented on September 26, 2024

This is an old issue, but I also ran into it. You can redefine the beamer template for the section page in your preamble:

\makeatletter
\defbeamertemplate{section page}{newprogressbarsectionpage}{
	\centering
	\begin{minipage}{22em}
		\raggedright
		\usebeamercolor[fg]{section title}
		\usebeamerfont{section title}
		\MakeUppercase\insertsectionhead\\[-1ex]
		\usebeamertemplate*{progress bar in section page}
		\par
		\ifx\insertsubsectionhead\@empty\else%
			\usebeamercolor[fg]{subsection title}%
			\usebeamerfont{subsection title}%
			\insertsubsectionhead
		\fi
	\end{minipage}
	\par
	\vspace{\baselineskip}
}
\makeatother
\setbeamertemplate{section page}[newprogressbarsectionpage]

I just inserted \MakeUppercase in front of \insertsectionhead. For allsmallcaps I think you have to use \MakeLowercase and \scshape.

from mtheme.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.