Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I am working with the beamer, to create some slides. How can I remove the bullets of the subsections in the table of contents ?

share|improve this question
    
could you provide a MWE for folks to play with? –  cmhughes Nov 30 '12 at 0:03
1  
It would be super awesome if you could create a minimal working example (MWE) that community members could copy-and-paste to work with, rather than creating something from scratch. –  Werner Nov 30 '12 at 0:03
    
sure,, I put this in the preamble : \AtBeginSection[] { \begin{frame} \frametitle{Contents} \tiny{\tableofcontents[currentsection]} \end{frame} } and simply use the toc command in a frame : \frame{\frametitle{Table of contents}\tableofcontents[pausesection]} –  shahb Nov 30 '12 at 0:10
    
@shahb we need to know which theme(s) you are using. Please add to your question a complete simple document with the relevant settings (again, important things to include: the used theme(S)). –  Gonzalo Medina Nov 30 '12 at 0:52

1 Answer 1

up vote 5 down vote accepted

You can redefine the subsection in toc template; after a new request made in a comment, one can use

\tableofcontents[sectionstyle=show/shaded,subsectionstyle=show/show/shaded]

for the inner ToCs:

\documentclass{beamer}
\usetheme{Warsaw}

\setbeamertemplate{subsection in toc}{\leavevmode\leftskip=2em\inserttocsubsection\par}

\AtBeginSection[]{% 
\begin{frame} 
\frametitle{Contents} 
\tiny\tableofcontents[sectionstyle=show/shaded,subsectionstyle=show/show/shaded] 
\end{frame}}

\begin{document}

\begin{frame}
\frametitle{General Outline}
\tableofcontents
\end{frame}

\section{Test Section A}
\subsection{Test Subsection One}
\begin{frame}test\end{frame}
\subsection{Test Subsection Two}
\begin{frame}test\end{frame}
\section{Test Section B}
\subsection{Test Subsection One}
\begin{frame}test\end{frame}
\subsection{Test Subsection Two}
\begin{frame}test\end{frame}

\end{document}

The general ToC:

enter image description here

The inner ToC for the first section:

enter image description here

The inner ToC for the second section:

enter image description here

By the way, \tiny doesn't receive arguments.

share|improve this answer
    
Gonzalo Medina , thanks a lot.. it works for me ;-) however the table of content before each section is shadowed. I used this in preamble : \AtBeginSection[] { \begin{frame} \frametitle{Contents} \tiny{\tableofcontents[currentsection,currentsubsection]} \end{frame} } I'd like to highlight the section and subsection parts together .. any idea ? –  shahb Nov 30 '12 at 2:10
    
@shahb please, I insist, which theme(s) are you using? –  Gonzalo Medina Nov 30 '12 at 2:11
    
i am using warsaw. This is exactly my preamble : \documentclass[10pt]{beamer} \usepackage{graphicx} \usepackage{rotating} \newcommand{\schwa}{\raisebox{1ex}{\begin{turn}{180}e\end{turn}}} \usepackage{beamerthemeshadow} \usepackage{caption} \usetheme{Warsaw} \usepackage{tikz} \setbeamertemplate{subsection in toc}{\leavevmode\leftskip=2em\inserttocsubsection\par} \AtBeginSection[] { \begin{frame} \frametitle{Contents} \tiny{\tableofcontents[currentsection,currentsubsection]} \end{frame} } –  shahb Nov 30 '12 at 2:16
    
@shahb Ah, OK. I've updated my answer; please let me know if that is what you want. –  Gonzalo Medina Nov 30 '12 at 2:22
    
Thank you @Gonzalo Medina .. that really helped me ! thanks –  shahb Nov 30 '12 at 2:26

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.