I'm making a beamer template, and I have most of the things the CD requires done, but I can't seem to be able to influence how the TOC looks like.  This is how it is supposed to look like:    (But the LaTeX-Beamer version should have enumeration, rather than bullets.)  I tried \setbeamercolor{section in toc} and its subsections but that changes the colour of both the text and the enumeration.  Most importantly, I have no clue how to get the grey box done.
15325
How can I create a fancy-looking table of contents for a Beamer presentation?    \documentclass{beamer} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc}  \begin{document}  \frame{ \tableofcontents }  \section{Foo bar} \frame{} \section{Foo bar} \frame{} \section{Foo bar} \frame{} \section{Foo bar} \frame{} \section{Foo bar} \frame{} \section{Foo bar} \frame{} \section{Foo bar} \frame{}  \end{document}
108933
I want to have a List of Figures in my Beamer presentation.  I spent some time searching the web for a solution and only found desperate people telling others that it's not possible, i.e.  or .  I also made some experiments on my own, i.e. "abuse" tocloft to do the job. However, even \usepackage{tocloft} causes pdflatex to fail with ! LaTeX Error: \l@section undefined. (and lying to tocloft by defining the command as empty beforehand doesn't to any good either).  I can't really see why it should be that difficult to make a List of Figures in beamer, since \tableofcontents works flawlessly.   I'm not afraid of doing some coding on my own, but I'm not deep enough into TeX to really understand the magic behind the "List of Figures", "Table of Contents" and alike.  Is anyone out there having suggestions or links that might help me figure this out?  \documentclass{beamer}  % uncomment the following line % to get the error message % `! LaTeX Error: \l@section undefined.`  %\usepackage{tocloft}   % uncomment the following lines INSTEAD % to lie to tocloft % and get the next error message  %\makeatletter %\newcommand\l@section{} %\makeatother %\usepackage{tocloft}  \begin{document}  \begin{frame}{A frame} \begin{figure} \mbox{A} \caption{An 'A'} \end{figure} \end{frame}  \begin{frame}{List of Figures} \listoffigures \end{frame}  \end{document}   EDIT: Solution  Starting from Marco Daniels answer to my question, I modified his code to reflect my needs. Here is what I came up with. Please feel free to comment, improve and reuse this.  \RequirePackage{ifthen}  \makeatletter  \AtEndDocument{%   \clearpage   \beamer@tempcount=\c@page\advance\beamer@tempcount by -1%   \if@filesw   \newwrite\tf@lof   \immediate\openout\tf@lof\jobname.lof\relax   \newwrite\tf@lot   \immediate\openout\tf@lot\jobname.lot\relax   \fi }  \long\def\beamer@makecaption#1#2#3#4{%   \def\insertcaptionname{\csname#1name\endcsname}%   \def\insertcaptionnumber{\csname the#1\endcsname}%   \edef\insertframenumber{\theframenumber}%   \ifthenelse{\equal{#3}{\empty}}{%       \def\insertlistcaption{#2}%   }{%     \def\insertlistcaption{#3}%   }   \def\insertsource{#4}%   \def\insertcaption{#2}%   \ifthenelse{\equal{#1}{figure}}{%       \addtocontents{lof}{\protect\listoffigureformat{\insertcaptionnumber}{\insertlistcaption}{\insertframenumber}{\insertsource}}{}{}%   }{}   \ifthenelse{\equal{#1}{table}}{%       \addtocontents{lot}{\protect\listoftableformat{\insertcaptionnumber}{\insertlistcaption}{\insertframenumber}}{}{}%   }{}   \nobreak\vskip\abovecaptionskip\nobreak   \sbox\@tempboxa{\usebeamertemplate**{caption}}%   \ifdim \wd\@tempboxa &gt;\hsize   \usebeamertemplate**{caption}\par   \else   \global \@minipagefalse   \hb@xt@\hsize{\hfil\box\@tempboxa\hfil}%   \fi   \nobreak\vskip\belowcaptionskip\nobreak% }  \def\listoffigureformat#1#2#3#4{%   \makebox[2ex][r]{#1}%   \hspace{1ex}%   {\usebeamercolor[fg]{bibliography entry author} #2}%   \ifthenelse{\equal{#4}{\empty}}{}{ -- #4}%   \dotfill%   \makebox[2ex][r]{#3}\par% } \def\listoffigures{%   \setlength{\leftskip}{3ex}   \setlength{\parindent}{-3ex}   \@starttoc{lof}% } \def\listoftableformat#1#2#3{\makebox[2ex][r]{#1}\hspace{1ex}#2\dotfill\makebox[2ex][r]{#3}\par} \def\listoftables{%   \setlength{\leftskip}{3ex}   \setlength{\parindent}{-3ex}   \@starttoc{lot}% }  \long\def\@caption#1[#2]#3{   \par\nobreak   \begingroup     \@parboxrestore     \if@minipage       \@setminipage     \fi     \beamer@makecaption{#1}{\ignorespaces #3}{\ignorespaces #3}{\ignorespaces #2}\par\nobreak     \endgroup}  \makeatother
109170
In a beamer presentation, I’d like to set up different colors for normal blocks, definition blocks, theorem blocks, proof blocks, example blocks…  Ideally I’d set those up using \usebeamercolor commands. I can do it for example blocks, and for all other kinds of blocks at once, as illustrated in the sample below (compiled using XeLaTeX). But I can’t find how to do it for specific, non-example, types of blocks.  I suppose “” points towards some solution, but I’d prefer (somehow) inheriting from the existing special block environment definitions rather than define new environments from scratch.  \documentclass{beamer} \usepackage{fontspec}  \useinnertheme[shadow=true]{rounded}  \setbeamercolor{block title}{use=structure,fg=structure.fg,bg=structure.fg!20!bg} \setbeamercolor{block body}{parent=normal text,use=block title,bg=block title.bg!50!bg}  \setbeamercolor{block title example}{use=example text,fg=example text.fg,bg=example text.fg!20!bg} \setbeamercolor{block body example}{parent=normal text,use=block title example,bg=block title example.bg!50!bg}  \begin{document} \begin{frame}     \begin{block}{My block}         A block.     \end{block}     \begin{definition}[My definition]         A definition.     \end{definition}     \begin{theorem}[My theorem]         A theorem.     \end{theorem}     \begin{proof}[My proof]         A proof.     \end{proof}     \begin{example}[My example]         An example.     \end{example} \end{frame} \end{document}
76489
With \setbeamercovered{transparent} covered parts of a slide are displayed transparently. If there is a (small) picture among the text, it is shown as it is. Beamer has only this picture, so it shows this picture. My question: How can I give a gray version of the picture to beamer such that in covered parts of a slide, this gray version is used?
45222
I am trying to get   \begin{itemize} \item foo %completely visible in this slide \item bar %transparent in this slide \end{itemize}   Then a bunch of other slides and after that:  \begin{itemize} \item foo %transparent in this slide \item bar %visible in this slide \end{itemize}   Basically what you can do with tables of contents but for a list of items.  Thanks
47095
this is my first time using beamer.  I copied a template from the sharelatex page on Beamer  Which works, and \begin{itemize} shows bullets     But after adding a few more packages that I need, all the bullets are gone!    What is going on and how can I fix this?  \documentclass{beamer}  \usepackage[utf8]{inputenc}    \usepackage{amsmath}  \usepackage{amsthm}     %Theorem Environment  \usepackage{amssymb}  \usepackage{multirow}  \usepackage{cancel}  \usepackage{amsfonts}  \usepackage{graphicx}  \usepackage{subfigure}  \usepackage{upgreek}     \usepackage{mathtools}  \usepackage{thmtools}  \usepackage{enumitem}       %Information to be included in the title page: \title{Sample title} \author{Anonymous} \institute{ShareLaTeX} \date{2014}  \begin{document}    \frame{\titlepage}    \begin{frame}  \frametitle{Sample frame title}  \begin{itemize} \item  This is a text in first frame.  \item This is a text in first frame. \item This is a text in first frame.  \end{itemize}  \end{frame}  \end{document}
82997
I am using the following code in my beamer document to make the frame title's appear in the table of contents:  \documentclass{beamer} \usetheme{default} \usepackage{bookmark} \usepackage{etoolbox} \usepackage{graphicx}  \makeatletter \apptocmd{\beamer@@frametitle}{   \addtocontents{toc} {\protect\beamer@subsectionintoc{\the\c@section}{0}{#1}     {\the\c@page}{\the\c@part}     {\the\beamer@tocsectionnumber}}     \bookmark[page=\the\c@page,level=3]{#1}}   {\message{** patching of \string\beamer@@frametitle succeeded **}}%   {\message{** patching of \string\beamer@@frametitle failed **}}% \makeatother  \begin{document} \begin{frame}[label=toc]{Table of Contents}     \tableofcontents     \end{frame} \section{First Section}   \begin{frame}{One}      content \end{frame}  \section{Second Section} \begin{frame}{Two}      Content  \end{frame}      \section{Third Section}     \begin{frame}{Three}      Content      \end{frame} \end{document}   What I am trying to do is understand what the solution does because I now want to add block titles to the table of contents as well as frame titles and I imagine that would be an easy function to add if I understood the code. Please help by re-writing the code (if possible) without the \makeatletter substitution command, using other latex commands.   Here are some related posts:
9993
I am using Beamer with the Warsaw theme to make a presentation.  I quite like having a mini-outline of the TOC at the start of each slide.  However, I have found that it tends to take up quite a bit of vertical space.  Hence, I am wondering if it is possible for the per-slide TOC (\sections and \subsections) to be split over two columns so:  A B C D   to  A B  or  A C C D      B D   I am aware of the compress option which forces list of sections and subsections to be on a single line but this is a bit too extreme.  I have also seen a couple of questions relating to splitting the global table of contents over two columns -- however I am interested in the mini-TOC which appears at the start of every frame (with the Warsaw theme at least).
65813
I've got a rather long table of contents for my presentation in beamer, and it doesn't fit on one frame. I know I can provide a table of contents per section, or to manually break it between sections into a few frames using \tableofcontents[sections={1-3}] etc., but I was hoping there is a way for LaTeX/beamer to do it automatically for me.  So, in short:      Is it possible to automatically break the table of contents in beamer between frames?   And of course, if yes, how would I go about it?
24772
Beamer item balls go missing while compiling in XeLateX since yesterday's TeXlive update, however, the same code works with pdfLaTeX. Any solution, please. Here is my MWE: \documentclass{beamer}  \setbeamertemplate{itemize item}[ball] \setbeamertemplate{enumerate item}[ball]  \begin{document}  \begin{frame} \frametitle{A tested title} text \begin{enumerate}     \item this is an item \end{enumerate} text3 \begin{itemize}     \item this is an item \end{itemize} \end{frame} \end{document}
37843
I would like to make a very compact list (e.g., itemize) in Beamer.  has been asked for an article-type document class; the answer uses the enumitem package, known to be .  My question is: How do I make the same compact list in the Beamer document class? As in the above linked question, I would like the list to have   No whitespace before list No whitespace after list No whitespace between lines Less indent before the bullet points
62272
Consider the following file:  \documentclass{beamer}  \setbeamercolor{title}{bg=red} \setbeamercolor{author}{bg=yellow} \setbeamercolor{date}{bg=} \setbeamercolor{institute}{fg=red,bg=green}  \title{TitelTitelTitel} \author{meiermueller} \institute{Institute} \date{lalala}  \begin{document}  \usebackgroundtemplate{\color{blue}\rule{20cm}{15cm}}    \begin{frame}    \titlepage  \end{frame} \end{document}   On one of my computers (using MiKTeX 2.9 and beamer 2015/01/05 3.36), the result is the following:    Note how, in particular, the date box has a transparent background  On my other computer, I installed a new MiKTeX version (2.9.6800), including beamer 2018/09/02 v3.52, and get this:    Here, the date field has a white background, and I cannot seem to get it to be transparent.   Apparently, the difference has some relation to the beamer version, or maybe some other change in the new MiKTeX version.  But what ist the reason, and how do I get transparent backgrounds?
15273
This question is similar to . I want to achieve the horizontal shading effect in the frametitle and when I use  \setbeamertemplate{frametitle}[horizontal shading] [left=red, right=white]   I get compilation errors:  LaTeX Error: Missing \begin{document}. [[]   Vertical shading seems to work just fine.
82226
I found that the link-color for TOC text is identical to the link-color for Figures and Tables. When I change the color to black in the TOC also the color for Figures/Tables citation etc. is changed.  Is there a way to separately set the colors inside the TOC and outside?
87123
I like to get a toc at beginning of some of my sections, like in beamer where I can use \tableofcontents[currentsection] is there a possibility in scrartcl?  Something like this:  \documentclass[10pt,a4paper]{scrartcl} \usepackage[ngerman]{babel}  \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc}  \begin{document}  \tableofcontents %complete  \section{First}  \section{Second} \tableofcontents %just subsection and subsubsection \subsection{SecondSub} \subsubsection{please} \subsection{this} \subsection{SecondSub2} \subsection{parts}  \section{Third} \subsection{another}  \end{document}   Looks like:  Inhaltsverzeichnis %complete  1 First  2 Second 2.1 SecondSub.......................2 2.1.1 please........................2 2.1.2 this..........................2 2.2. SecondSub2.....................3 2.2.1 parts.........................4  3 Third 3.1 another ........................5   1 First  2 Second  Inhaltsverzeichnis %just subsection and subsubsection 2.1 SecondSub.......................2  2.1.1 please........................2  2.1.2 this..........................2 2.2. SecondSub2.....................3  2.2.1 parts.........................4  2.1 SecondSub  2.1.1 please   2.1.2 this  2.2. SecondSub2  2.2.1 parts   3 Third  3.1 another
18945
I am just starting to use Latex to write a university report. It does feel like a steep learning curve, and is at times frustrating, but I guess it is because I'm very new to it.  I got a question regarding TOC/figures/tables.  Basically, my document structure currently gets displayed in TOC as follows:    Contributions *section*   Summary *section*   List of Figures *section*   List of Tables *section* 1 Introduction *chapter*   1.1 Background *section*   1.2 Other Section *section* 2 Other Chapter *chapter*   However, I'd like it to be displayed like this:  Contributions Summary List of Figures List of Tables 1 Introduction   1.1 Background   1.2 Other Section 2 Other Chapter   Notice, that the first four unnumbered sections are not indented, but keep the indentation of numbered sections. Also, related to this question. I'd like my Lists of Tables/Figures to be NOT indented.   For example, instead of this:  List of Figures    1. Caption ------------------------------------------ 4   Have this:  List of Figures 1. Caption --------------------------------------------- 4   Thanks for you help!  ** EDIT (added more info)  Here is the minimal working example:  \documentclass[11pt]{report}  \usepackage{graphicx}  % Remove "Chapter" from title. No break between # and name. \makeatletter \renewcommand{\@makechapterhead}[1]{% {\setlength{\parindent}{0pt} \raggedright \normalfont \bfseries\Large\thechapter.\quad\ #1 }} \makeatother  \begin{document}  \pagenumbering{roman}  \section*{Contributions} \addcontentsline{toc}{section}{Contributions}  This is a contributions sections.   \section*{Summary} \addcontentsline{toc}{section}{Summary}  This is a summary section.  \cleardoublepage \tableofcontents %TOC  \cleardoublepage \listoffigures \addcontentsline{toc}{section}{List of Figures} %List of Figures  \pagenumbering{arabic} \chapter{Introduction}  Welcome to introduction chapter.  \section{Background}  This is a background section.\ref{capt} \begin{figure} \caption{Sample Figure.} \label{capt}  %must be after caption \end{figure}   \end{document}
25444
I am new to Beamer and LaTeX itself. Right now, I want to create a simple slide with an image on the right and text and the sidebar (using the Hannover theme) on the left. I cannot figure out how to do that. Any suggestions?