我不知道哪里出了问题。我很确定我安装了该软件包。安装了该chickenize
软件包的人可以测试一下吗?
\documentclass{beamer}
\mode<presentation>
{
\usetheme{Madrid} % or try Darmstadt, Madrid, Warsaw, ...
\usecolortheme{default} % or try albatross, beaver, crane, ...
\usefonttheme{default} % or try serif, structurebold, ...
\setbeamertemplate{navigation symbols}{}
\setbeamertemplate{caption}[numbered]
}
\setbeamertemplate{theorems}[numbered]
\usepackage[algosection,ruled,lined,linesnumbered,longend]{algorithm2e}
\usepackage{fontspec,chickenize,xcolor}
\directlua{luatexbase.add_to_callback("post_linebreak_filter",randomchars,"chickenize")}
\usepackage[english]{babel}
\usepackage[T1]{fontenc}
%\usepackage[utf8x]{inputenc}
%\usepackage{hyperref}
\title[ShortTitle]{LongTitle}
\subtitle{Subtitle}
\author{Author}
\institute{Institute}
\date{\today}
\titlegraphic{\hfill\includegraphics[height=1.5cm]{nyu_shanghai}}
\begin{document}
\begin{frame}
\titlepage
\end{frame}
\begin{frame}{Outline}
\tableofcontents
\end{frame}
\end{document}