mtheme icon indicating copy to clipboard operation
mtheme copied to clipboard

\metroset does not work with \useoutertheme

Open sgargbugreporter opened this issue 7 years ago • 3 comments

Section 6.2 (pg 12) of the manual says that if one needs to use different colors, the suggested method is to use:

\useoutertheme{metropolis}
\useinnertheme{metropolis}
\usefonttheme{metropolis}
\usecolortheme{seahorse}

instead of:

\usetheme{metropolis}
\usecolortheme{seahorse}

However, when i try to do the same and try to compile the file [demo.tex] (https://github.com/matze/mtheme/blob/master/demo/demo.tex) in the package I get:

! Undefined control sequence.
l.74     \metroset
                  {titleformat frame=smallcaps}

This error does not occur with \usetheme{metropolis}

How to fix this?

sgargbugreporter avatar Nov 02 '16 04:11 sgargbugreporter

Moving the declarations to the preamble as suggested by @rchurchley in #235 fixes this.

I think that the demo.tex needs to be updated and a mention made of this - put all theme & colour declarations in the preamble.

sgargbugreporter avatar Nov 02 '16 16:11 sgargbugreporter

Moving them out is not an option for the demo because the very point of it is to show the different titling formats we can offer. In my opinion, clarification in the manual should be enough. Better yet, we should figure out why there is this difference in the first place.

matze avatar Nov 03 '16 14:11 matze

Better yet, we should figure out why there is this difference in the first place.

Because \metroset is defined in beamerthememetropolis.sty. We should probably add \providecommand{\metroset}{...} to the inner, outer, color and font themes.

benjamin-weiss avatar Nov 09 '16 02:11 benjamin-weiss