Document Classesbeamer | ToC not displayed

Information and discussion about specific document classes and how to create your own document classes.
Post Reply
mmuuuuhh
Posts: 7
Joined: Tue May 10, 2011 8:12 pm

beamer | ToC not displayed

Post by mmuuuuhh »

Hey,

I'm about to give a talk about glucose measurement (in German), and my tutor wants me to hand in a Outline.

I coded the following:

Code: Select all

\documentclass[ngerman={bable},ucs,xcolor={table,dvipsnames},hyperref={bookmarks,colorlinks}]{beamer}
\setbeamertemplate{background canvas}[vertical shading][bottom=white!10,top=blue!10]
\usefonttheme[onlysmall]{structurebold}
\usetheme{CambridgeUS}
\usepackage[latin1]{inputenc}
\title{Blutzuckermessmethoden}
\author{Patrick Mullan}
\institute[FAU, LTE]{Friedrich-Alexander-Universit"at Erlangen-N"urnberg}
\date{01.01.1111}

\begin{document}
\begin{frame}
\titlepage
\end{frame}

\begin{frame}
  \frametitle{Inhaltsverzeichnis}
  \tableofcontents[pausesections] %Is not displayed
  test                                    %Is displayed
\end{frame}
\section{Blutzucker}
\subsection{Was ist Blutzucker}
\subsection{Wie wird er im K"orper verarbeitet}
\section{Messung des Blutzuckers}
\subsection{Ziele der Messungen}
\subsection{Invasive Messung}
\subsubsection{Funktionsweise}
\subsubsection{Aufbau}
\subsubsection{Nachteile der invasiven Methode}
\subsection{Nicht-invasive Messung}
\subsubsection{Funktionsweise}
\subsubsection{Aufbau}
\end{document}
It compiles fine (I compiled it up to 4 times), however my outline is not displayed!
But as far as I know the section, subsection and subsubsection items should be printed?! What am I doing wrong?

Thanks for help!

(And maybe someone can tell me why "äöü" aren't displayed either, but that's a secondary problem...)
Last edited by localghost on Tue Nov 22, 2011 11:01 pm, edited 1 time in total.

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

Stefan Kottwitz
Site Admin
Posts: 10334
Joined: Mon Mar 10, 2008 9:44 pm

beamer | ToC not displayed

Post by Stefan Kottwitz »

Hi,

without frames you don't get a table of contents. Just add some frames for sections and subsections, then you will see table of contents entries.

Regarding the umlauts, because of the way you type them, you need to load babel:

Code: Select all

\usepackage[ngerman]{babel}
Texts with umlauts, such as the title, should be after \begin{document}, because babel then starts supporting the shortcut " for umlauts. Or activate it manually.

I would use babel, however I would type äüö directly, you can do it because you loaded inputenc. Just take care, that its option fits to your editor. latin1 might be ok for some Windows editors, utf8 for Linux, possibly with Texworks on Windows too - it depends on the settings.

Stefan
LaTeX.org admin
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

beamer | ToC not displayed

Post by localghost »

It would be very kind if you mention when doing a crossposting [1]*. This is only fair because it prevents others from double efforts and waste of time.


* According to the rules you are obliged to do so.

[1] beamer: Inhaltsverzeichnis wird nicht erstellt — mrunix.de


Thorsten
mmuuuuhh
Posts: 7
Joined: Tue May 10, 2011 8:12 pm

Re: beamer | ToC not displayed

Post by mmuuuuhh »

Thanks,
I'll try your suggestions as soon as I'm in University again! - But there we can't write umlaute in vim on our shell (I use gnome), I don't know why. However I'can use the trick with "a anyway! So it doesen't matter.

And yes I posted the same question on an other forum as well, but noone replied, so I asked it here, too! Did not think about mention it, sorry ;)
mmuuuuhh
Posts: 7
Joined: Tue May 10, 2011 8:12 pm

beamer | ToC not displayed

Post by mmuuuuhh »

Stefan_K wrote:Hi,
Regarding the umlauts, because of the way you type them, you need to load babel:

Code: Select all

\usepackage[ngerman]{babel}
Texts with umlauts, such as the title, should be after \begin{document}, because babel then starts supporting the shortcut " for umlauts. Or activate it manually.

I would use babel, however I would type äüö directly, you can do it because you loaded inputenc. Just take care, that its option fits to your editor. latin1 might be ok for some Windows editors, utf8 for Linux, possibly with Texworks on Windows too - it depends on the settings.

Stefan
I had it in the header in the very first line, but it didn't work! Now i removed this line and wrote the command on a own line, as you suggested, but still, it doesn't work...
User avatar
Stefan Kottwitz
Site Admin
Posts: 10334
Joined: Mon Mar 10, 2008 9:44 pm

beamer | ToC not displayed

Post by Stefan Kottwitz »

mmuuuuhh wrote: I had it in the header in the very first line, but it didn't work! Now i removed this line and wrote the command on a own line, as you suggested, but still, it doesn't work...
Perhaps explain what you did by code. For me, it did work, tested with your code.

Stefan
LaTeX.org admin
mmuuuuhh
Posts: 7
Joined: Tue May 10, 2011 8:12 pm

Re: beamer | ToC not displayed

Post by mmuuuuhh »

I did open a new thread, to maintain a clear view: http://www.latex-community.org/forum/vi ... 44&t=16333
Post Reply