![在 beamer 中,哪些包与 \up 一起使用](https://linux22.com/image/279152/%E5%9C%A8%20beamer%20%E4%B8%AD%EF%BC%8C%E5%93%AA%E4%BA%9B%E5%8C%85%E4%B8%8E%20%5Cup%20%E4%B8%80%E8%B5%B7%E4%BD%BF%E7%94%A8%20.png)
我在 beamer 中使用k\up{ème}
。它不起作用。我认为它缺少一些包。
描述k\up{ème}
:ème
应该是k
参见我的序言:
\usepackage[applemac]{inputenc}%les accents pour mac
\usepackage{subfigure}
\usepackage{multicol}
\usepackage{animate}
\usepackage{movie15}
\usepackage{cancel}
\usepackage{amsmath}
\usepackage{epsfig}
\usepackage{graphicx}
\usepackage[all,knot]{xy}
\xyoption{arc}
\usepackage{url}
\usepackage{array,ragged2e}
%\usepackage{multimedia}
\usepackage{hyperref}
\usepackage{setspace}
\usepackage{multirow}
%--------------------------------------------------
%How to show covered parts using overlay.
%\setbeamercovered{transparent}
%\useoutertheme{infolines}
%\addtobeamertemplate{block begin}{%
%\setlength{\textwidth}{1\textheight}%
%}{}
\renewcommand{\CancelColor}{\color{red}}
\setbeamerfont{block title}{size=\tiny}
\setbeamerfont{block body}{size=\tiny}
\setbeamerfont{block title example}{size=\tiny}
\setbeamerfont{block body example}{size=\tiny}
\setbeamerfont{alertblock title }{size=\tiny}
\setbeamerfont{alertblock body }{size=\tiny}
\usepackage{times}
答案1
我认为你要找的是这个。将其添加到你的序言中:
\newcommand{\up}[1]{\textsuperscript{#1}}