是否可以通过补丁\include
实现覆盖感知?
我试过已知方法没有成功。
平均能量损失
\documentclass{beamer}
\newcommand<>{\includex}[1]{\only#2{\include{#1}}} % works
%\renewcommand<>{\include}[1]{\only#2{\beamerorginal{\include}{#1}}} % does not work
\begin{document}
\include{testframe}
\only<handout:0>{\include{testframe}} % works
\includex<handout:0>{testframe} % works
%\include<handout:0>{testframe} % does not work
\end{document}
测试框架很简单:
\begin{frame}testframe\end{frame}
答案1
\documentclass{beamer}
\let\originalinclude\include
\renewcommand<>{\include}[1]{\only#2{\originalinclude{#1}}} % does not work
\begin{document}
\include{testframe}
\only<handout:0>{\include{testframe}} % works
\include<handout:0>{testframe} %
\end{document}