我有以下代码:
\documentclass[serif]{beamer}
\mode<presentation> {
\usetheme{Warsaw}
% \usecolortheme{lily}
}
\usepackage[minionint,mathlf,textlf]{MinionPro}
\renewcommand{\sfdefault}{Myriad-LF}
\usepackage{inconsolata}
\DeclareSymbolFont{missing}{OML}{cmr}{m}{n}
\DeclareMathSymbol{\ell}{\mathord}{missing}{'140}
\usepackage[absolute,overlay]{textpos}
\usepackage{graphicx}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\begin{document}
\begin{frame}
\frametitle{Function}
\begin{enumerate}
\item[$\bullet$] This function
\end{enumerate}
\begin{align}
A & = \dfrac{1}{a}\int\limits_{-a/2}^{a/2}g(t)dt,
\end{align}
\end{frame}
\end{document}
生成以下框架:
我不知道为什么积分符号很奇怪,看起来像M或W。
我发现了这些警告:
Class beamer Warning: ``serif'' is obsolete. Use font theme ``serif'' instead on input line 336.
LaTeX Font Warning: Font shape 'TU/MinionPro-LF/m/n' undefined(Font) using 'TU/lmr/m/n' instead on input line 647.
Package inputenc Warning: inputenc package ignored with utf8 based engines.
LaTeX Font Warning: Some font shapes were not available, defaults substituted.
答案1
改变
\usepackage[minionint,mathlf,textlf]{MinionPro}
到
\usepackage[mathlf,textlf]{MinionPro}
解决了问题。