TransWikia.com

Beamer's Metropolis theme issue with main page and section pages

TeX - LaTeX Asked on August 5, 2021

Background Story: Everything was fine and well until I converted the TeX file to PDF where I observed the following patterns seen below. Furthermore, I tried to run the TeX file again and again and still same result

Here is the code I used:

documentclass{beamer}
usetheme{metropolis}           % Use metropolis theme
usefonttheme[onlymath]{serif}
usepackage{amsmath,graphicx,lastpage}
usepackage{fancyhdr}
usepackage{amssymb}
usepackage{mathtools}
usepackage{nicematrix}
usepackage[labelfont=bf,textfont=md]{caption}
usepackage{centernot}
usepackage{varwidth}
usepackage{tikz}
usepackage{pgfplots}
usepackage{physics}
usepackage{mathdots}
usepackage{listings}
usepackage{yhmath}
usepackage{cancel}
usepackage[linesnumbered,ruled,vlined]{algorithm2e}
usepackage{color}
usepackage{siunitx}
usepackage{array}
usepackage{sidecap}
usepackage{multirow}
usepackage{amssymb}
usepackage{gensymb}
usepackage{tabularx}
usepackage[many]{tcolorbox}
usepackage{booktabs}
usepackage{wrapfig}
usepackage{grffile}
usepackage{xcolor}
usepackage{mathrsfs}
usepackage{stmaryrd}


metroset{block=fill}
metroset{subsectionpage=progressbar}
useinnertheme[shadow]{rounded}
newenvironment<>{problock}[1]{%
  begin{actionenv}#2%
      definsertblocktitle{#1}%
      par%
      mode<presentation>{%
        setbeamercolor{block title}{fg=orange,bg=metrop}
        setbeamercolor{block body}{fg=white,bg=metrop}
        setbeamercolor{itemize item}{fg=orange}
        setbeamertemplate{itemize item}[triangle]
     }%
      usebeamertemplate{block begin}}
    {parusebeamertemplate{block end}end{actionenv}}


titlegraphic{includegraphics[width=2cm]{domcolor.png}}
title{Main Title {small Small Title}}
date{The Date}
author{My Name}
institute{FacultyInstitue}
begin{document}
  maketitle
  section{Introduction}
end{document}

I obtained the following:
Main Page

and here is what I obtained for the section.

enter image description here

I was wondering what might be the issue I hope someone can help.

Because usually The output should be like this:
enter image description here

and for the introduction:
enter image description here

One Answer

Use useinnertheme[shadow]{rounded}, see comments.

Answered by Dr. Manuel Kuehner on August 5, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP