Quantcast
Channel: Active questions tagged starred-version - TeX - LaTeX Stack Exchange
Viewing all articles
Browse latest Browse all 64

Show unnumbered sections anywhere in Beamer TOC

$
0
0

Section 10.5 of the LaTeX Beamer manual specifies the different options for generating a table of contents. One of them is:

firstsection=⟨section number⟩ specifies which section should be numbered as section “1.” This isuseful if you have a first section (like an overview section) that should not receive a number. Sectionnumbers are not shown by default. To show them, you must install a different table of contentstemplates.

There is a similar option lastsection. In my case, however, I need an unnumbered section in the middle of my sections, not the start or the end. The following is a photoshopped mock-up (a tock-up, if you will) of what I mean:

Tockup

It's acceptable if you redefine \section* in your answer, as I want all \sections and \section*s to be shown in the TOC and \section*'s only default purpose is precisely not to be shown in TOC. Hence, the above mock-up could result from the following MWE:

\documentclass{beamer}\usetheme{Antibes}\usebeamercolor{dolphin}\begin{document}    \begin{frame}        \tableofcontents    \end{frame}    \section*{Intro}    \section{First section}    \section{Second section}    \section*{Nope}    \section{Third section}    \section*{Outro}    \begin{frame}       \end{frame}\end{document}

Viewing all articles
Browse latest Browse all 64

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>