章节标题不适合投影仪中的目录

章节标题不适合投影仪中的目录

因此,我的演示文稿中有一个部分的名称较长。在幻灯片上,我只需使用 \small,它就可以适合幻灯片,但在目录中它不会“中断”,只是继续切断部分的标题:有没有办法让它适合,或者继续在部分下面?

梅威瑟:

\documentclass[xcolor=dvipsnames,mathserif,professionalfont,12pt]{beamer} 
\usecolortheme[named=RoyalBlue]{structure} 
\useoutertheme{infolines} 
\usetheme[height=7mm]{Rochester} 
\setbeamertemplate{items}[ball] 
\setbeamertemplate{blocks}[rounded][shadow=true] 
\setbeamertemplate{navigation symbols}{}
%\usefonttheme{serif}
\usefonttheme{professionalfonts}



\usepackage{amsmath,amssymb,amsthm,amssymb}
\usepackage{mathtools}
\usepackage{bbm}
\usepackage{graphicx}
\usepackage{float}
\usepackage[croatian]{babel}
\usepackage{ucs}
\usepackage[utf8x]{inputenc}
\usepackage{txfonts}
\usepackage{subfigure}
\usepackage{color}
\usepackage{xcolor}
\usepackage{listings}
\usepackage{time}
\usepackage{extarrows}

\title{Title}
\subtitle{Subtitle}
\author{Me}
\institute[Random institute]{Random institue}
\date{\today}

\begin{document}
\maketitle

\begin{frame}
\frametitle{ToC}
\tableofcontents
\end{frame}

\section{Section 1}
\begin{frame}
\frametitle{Section 1}
bla
\end{frame}

\section{Section 2}

\begin{frame}
\frametitle{Section 2}
bla
\end{frame}

\subsection{A very long subsection that doesn't want to collapse into two row, but rather goes on and on and on}

\begin{frame}
\frametitle{\small{A very long subsection that doesn't want to collapse into two row, but rather goes on and on and on}}
bla
\end{frame}

\end{document}

编辑:这是输出:

在此处输入图片描述

答案1

使用 latex-ps-pdf 编译hyperref无法直接断开链接。您可以使用以下代码片段:

\makeatletter
\providecommand{\H@@footnotetext}{}
\makeatother
\usepackage{hypdvips}

hyperref或者你可以使用选项加载包breaklinks=true

\documentclass[hyperref={breaklinks=true}]{beamer}

答案2

使用可选参数\subsection为子部分指定别名。例如:

\subsection[Short but descriptive name]{A very long subsection that doesn't want to collapse into two row, but rather goes on and on and on}

相关内容