TransWikia.com

What happens inside beamerpost and theorem environment

TeX - LaTeX Asked by Mikhail Ivanov on April 7, 2021

If I compile

documentclass{beamer}
%usepackage[scale=4]{beamerposter}
makeatletter
setbeamertemplate{theorem begin}
{
  {color{blue}inserttheoremheadfont% bfseries
  inserttheoremname
  ifxinserttheoremaddition@emptyelse (inserttheoremaddition)fi%
  :} normalfont
}
setbeamertemplate{theorem end}{%
 }
makeatother
begin{document}
begin{theorem}
qqq
end{theorem}
end{document}

theorembody is normal.
But, if I compile with beamerposter

documentclass{beamer}
usepackage[scale=4]{beamerposter}
makeatletter
setbeamertemplate{theorem begin}
{
  {color{blue}inserttheoremheadfont% bfseries
  inserttheoremname
  ifxinserttheoremaddition@emptyelse (inserttheoremaddition)fi%
  :} normalfont
}
setbeamertemplate{theorem end}{%
 }
makeatother
begin{document}
begin{theorem}
qqq
end{theorem}
end{document}

theorembody is italic!
Why, and how repair it?

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