GeneralBeamer: Long and Short Desctription in Table of Contents

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
ajg112
Posts: 3
Joined: Wed Oct 22, 2008 5:32 pm

Beamer: Long and Short Desctription in Table of Contents

Post by ajg112 »

Hi All,

In a presentation, I've declared sections like this:

Code: Select all

\section[Introduction]{This is more details about what I say in the intro}
When I list my table of contents, like this:

Code: Select all

\begin{frame}{Outline}$
  \tableofcontents$
\end{frame}$
I'd like it to include both the short title, and the longer description. A bit like this:
- Introduction
- This is more details about what I say in the intro

A dirty quick fix is to do this:

Code: Select all

\section{Introduction}
\subsection[]{This is more details about what I say in the intro}
But it goes against what subsections are really for.

Any ides?
Many Thanks
Andy

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

kapowza
Posts: 19
Joined: Fri Jan 30, 2009 3:32 pm

Re: Beamer: Long and Short Desctription in Table of Contents

Post by kapowza »

I stumbled on this post after searching through the forum. I'm experiencing the exact same situation. Does anyone have any ideas how to solve this? Thanks!
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Beamer: Long and Short Desctription in Table of Contents

Post by localghost »

Perhaps the \addtocontents command could serve for this purpose.

Code: Select all

\section{Introduction}
\addtocontents{toc}{This is more details about what I say in the intro.}
This is just an idea (and thus untested). But you can try and report about success or ask further questions.


Best regards
Thorsten
Post Reply