请问我的目录的subsection和section不能对齐?

发布于 2021-05-06 11:37:36

请问我的目录的subsection和section不能对齐?subsection越界了。
beamer2.tex
ph56.png

查看更多

关注者
0
被浏览
1.4k
1 个回答
乙醇
乙醇 2021-05-06
这家伙很懒,什么也没写!

请问你想要什么效果呢? 如果不提供图片文件的话请把 tex 文件中的图片名统一换成 example-image

texdoc beamer 的 10.5 节中可以找到
image.png

于是在模板的 \setbeamertemplate{section in toc}... 的下面再加一个

\setbeamertemplate{section in toc}%
{
    \hspace{0.3\textwidth} %
    \parbox[t]{0.6\textwidth}{\inserttocsectionnumber.~~ \inserttocsection} \par
}
% 在它下面加这些
\setbeamertemplate{subsection in toc}%
{
    \hspace{0.3\textwidth} %
    \inserttocsubsection\par
}

image.png

撰写答案

请登录后再发布答案,点击登录

发布
问题

分享
好友

手机
浏览

扫码手机浏览