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

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

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