如何将 /tableofcontents 拆分为两列或更多列?

use*_*588 3 latex beamer tableofcontents

我有一个很长的索引(大纲)用于演示。显然,我的索引超出了演示页面的大小。

有没有办法将 /tableofcontents 分成两列?这是我生成索引的代码。

\begin{frame}{Índice}
    \tableofcontents
\end{frame}
Run Code Online (Sandbox Code Playgroud)

sam*_*ter 8

为了更好地控制断点,还可以手动拆分目录

\begin{frame}
    \begin{columns}[onlytextwidth,T]
        \begin{column}{.45\textwidth}
            \tableofcontents[sections=1-2]
        \end{column}
        \begin{column}{.45\textwidth}
            \tableofcontents[sections=3-5]
        \end{column}
    \end{columns}
\end{frame}
Run Code Online (Sandbox Code Playgroud)


use*_*588 5

解决办法是:

\begin{frame}{Índice}
\begin{multicols}{2}
  \tableofcontents
  \end{multicols}
\end{frame}
Run Code Online (Sandbox Code Playgroud)

  • 假设您至少需要包含 [`multicol` 包](http://ctan.org/pkg/multicol)... (5认同)