1

I am using IMSAloquioum template, and modified a bit to the following

\documentclass[final]{beamer}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{nicematrix}
\usepackage{xcolor}
\usepackage{utopia} %font utopia imported
\usepackage{setspace}  % <---
\setstretch{1.3}

\bibliographystyle{alpha}
\usepackage[absolute,overlay]{textpos}
\usepackage{tikz}
\usepackage{tikz-feynman}
\tikzfeynmanset{vanilla/.style=}
\usetikzlibrary{shapes.geometric, arrows}
\tikzstyle{startstop} = [rectangle, rounded corners, minimum width=3cm, minimum height=0.5cm,text centered, draw=cyan, fill=cyan!20]
\tikzstyle{arrow} = [thick,->,>=stealth]

\usetikzlibrary{positioning}
\usetheme{imsa}
\usecolortheme{imsa}
\usefonttheme[onlymath]{serif}
\usepackage[most]{tcolorbox}
\usepackage{colortbl}
\usepackage{wrapfig}
\usepackage[labelformat=empty]{caption}
\setbeamertemplate{background}
{\includegraphics[width=\paperwidth,height=\paperheight,keepaspectratio]{pointbackground.png}}
%------------------------------------------------------------

%Mergin selection%
\setbeamersize
{
    text margin left=0.7cm,
    text margin right=0.7cm
}
%This block of code defines the information to appear in the
%Title page





\setbeamertemplate{frametitle}{%
  \begin{tcolorbox}[colframe=blue,boxrule=0.5pt,top=0.7mm,bottom=0.7mm,grow to left by=5.8mm, grow to right by=5.9mm, before skip=0.07cm,
  interior style={left color=blue, right color=white}]
    \usebeamerfont{frametitle}\usebeamercolor[fg]{frametitle}\insertframetitle
  \end{tcolorbox}
}
\begin{document}



% Title Page
\frame{
\titlepage
}
\AtBeginSection[]
{
{
\setbeamertemplate{background}
{\includegraphics[width = \the\paperwidth, height = \the\paperheight]{toc.png}}
  \begin{frame}
    \frametitle{Table of Contents}
    \tableofcontents[currentsection]
  \end{frame}
  }
}

\setbeamertemplate{background}
{\includegraphics[width=\paperwidth,height=\paperheight,keepaspectratio]{pointbackground.png}}

\small
\begin{frame}{Cross section}
    
\end{frame}


%Bibilographies
\begin{frame}[allowframebreaks]{Bibilography}
    \bibliography{bibitems}
\end{frame}
\end{document}

but the problem is, neither the italic or bold font are working. I tried to remove utopia and insert other font family, but no help. And in figure, the caption is coming, but the Fig X.X is not coming.

1

1 Answer 1

2

The imsa theme tries to use \usepackage[T1]{fontenc} in a document intended to be compiled with an unicode engine like xelatex or lualatex (due to the use of the fontspec package). This is not a good idea. As said before, you should contact the author to get this fixed.

Meanwhile, you could replace the theme with this code:

% !TeX TS-program = lualatex
\documentclass{beamer}
%\usetheme{imsa}

\usepackage[default]{sourcesanspro}
\newfontfamily\DinFF{DINBold.ttf}
%\usepackage[T1]{fontenc}
\RequirePackage{exscale}
\RequirePackage{ragged2e}
\RequirePackage{changepage}
\RequirePackage{fontspec}
%\usepackage{fontspec}


% ====================
% Fonts
% ====================

\setbeamerfont{headline}{family=\DinFF}
\setbeamerfont{headline title}{size=\Huge,family=\DinFF}
\setbeamerfont{frametitle}{size=\Large,family=\DinFF}
\setbeamerfont{headline author}{size=\Large,family=\DinFF}
\setbeamerfont{headline institute}{size=\normalsize,family=\DinFF}
\setbeamerfont{block title}{family=\DinFF,size=\large,series=\bfseries}
\setbeamerfont{block body}{family=\DinFF}
\setbeamerfont{heading}{family=\DinFF}
\setbeamerfont{caption}{size=\small}

\begin{document}
\begin{frame}
text \textbf{text} \textit{text}
\end{frame}
\end{document}

enter image description here

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .