如何在我的 beamer 文档中指定下图中使用的字体?顺便说一下,我使用的是XeLaTeX
。
% !TEX program = xelatex
\documentclass[]{beamer}
\usepackage{xeCJK}
\usepackage{fontspec}
\usetheme{CambridgeUS}
\usecolortheme{beaver}
\usefonttheme{serif}
%%%%%%%%%%%%%%%%%%%%
\title[]{Font}
%%%%%%%%%%%%%%%%%%%%
\begin{document}
\maketitle
%%%%%%%%%%%%%%%%%%%%
\begin{frame}{Transactional vs. non-transactional}
\begin{center}
transactional vs. non-transactional
\end{center}
\end{frame}
%%%%%%%%%%%%%%%%%%%%
\end{document}
%%%%%%%%%%%%%%%%%%%%