TOC and figure side by side in a slide

雨燕双飞 提交于 2020-02-02 02:57:08

问题


I want to put a figure and the TOC side by side in one slide where it would look like

TOC Figure

I have tried to include them each in a minipage respectively and then put them both in a figure environment. But the result does not look good, for the TOC is formatted as a paragraph, instead of an itemize look. So, does anybody have a better solution? Thanks in advance.

PS

I use beamer for creating slides.


回答1:


Have you tried the following:

\frame{
  \begin{columns}
    \column{.5\textwidth}
    \tableofcontents

    \column{.5\textwidth}
    \begin{figure}[h]
      \centering
      HERE-FIGURE
      \caption{Testfigure}
      \label{fig:a}
    \end{figure}

  \end{columns}
}

That worked just fine for me.



来源:https://stackoverflow.com/questions/3170940/toc-and-figure-side-by-side-in-a-slide

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!