Beamer 双列整个文档

Beamer 双列整个文档

我们如何才能将 Beamer 文档设置为整个文档的两列,而无需columns逐帧设置环境

\documentclass[aspectratio=169]{beamer}
\begin{document}
    \begin{frame}
        \begin{columns}
            \begin{column}{.75\linewidth}
                content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content 
            \end{column}
            \begin{column}{.25\linewidth}
                black space for explanation!
            \end{column}
        \end{columns}
    \end{frame}
    %
    \begin{frame}
        \begin{columns}
            \begin{column}{.75\linewidth}
                content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content 
            \end{column}
            \begin{column}{.25\linewidth}
                black space for explanation!
            \end{column}
        \end{columns}
    \end{frame}
\end{document}

答案1

这对你有用吗?

\documentclass[aspectratio=169]{beamer}

\newcommand{\mytwocolumnframe}[2]{
  \begin{frame}
    \begin{columns}
        \begin{column}{.75\linewidth}
          #1
        \end{column}
          \begin{column}{.25\linewidth}
          #2
        \end{column}
    \end{columns}
\end{frame}      
}

\begin{document}
\mytwocolumnframe{
  content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content content
}{
  black space for explanation!
}
\end{document}

相关内容