梅威瑟:
\documentclass[xcolor=dvipsnames]{beamer}
\usepackage[utf8]{inputenc}
\usepackage{xcolor}
\usepackage{graphicx}
\usepackage{MnSymbol}
\usepackage{stmaryrd}
\usepackage{colortbl}
\usepackage{caption}
\usepackage{comment}
\usepackage{pdfpages}
\usepackage{listings}
\usepackage{color}
\usepackage{booktabs}
\usepackage{soul}
\usepackage[normalem]{ulem}
\usepackage{multirow}
\usepackage{booktabs}
\usepackage{graphicx}
\usepackage{epstopdf,tabu}
\usepackage{array,longtable}
\usepackage{subfig}
\usepackage{tcolorbox}
\usepackage{lipsum}
\usepackage[justification=centering]{caption}
\usepackage{pgf}
\usepackage{etex}
\usepackage{tikz,pgfplots}
\usetheme{Antibes}
\usecolortheme{dolphin}
\usefonttheme{professionalfonts}
\useoutertheme{infolines}
\useinnertheme{circles}
\newtheorem*{bem}{Bemerkung}
%\def\bibfont{\tiny}
\usepackage{tikz}
\renewcommand{\raggedright}{\leftskip=2pt \rightskip=2pt plus 2cm}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{listings}
\usepackage{color}
\definecolor{dkgreen}{rgb}{0,0.6,0}
\definecolor{gray}{rgb}{0.5,0.5,0.5}
\definecolor{mauve}{rgb}{0.58,0,0.82}
\lstset{frame=tb,
language=Java,
aboveskip=2mm,
belowskip=2mm,
showstringspaces=false,
columns=flexible,
basicstyle={\small\ttfamily},
numbers=none,
numberstyle=\tiny\color{gray},
keywordstyle=\color{blue},
commentstyle=\color{dkgreen},
stringstyle=\color{mauve},
breaklines=true,
breakatwhitespace=true,
tabsize=2
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\title[Summary thesis]{A short presentation}
\author[PhD]{Rudresh Dwivedi}
\begin{document}
\begin{frame}
\titlepage
\end{frame}
\section[Introduction]{\tiny{Introduction}}
\frame[handout:0]{\frametitle{Outline}\tableofcontents[]}
\normalsize
\begin{frame}{Introduction}
Two forms of user authentication:
\begin{enumerate}
\item Knowledge base
\item Tokens
\end{enumerate}
\end{frame}
\end{document}
答案1
标题显示当前章节的名称。如果您希望在此处写上“大纲”,请以此名称创建一个章节。
补充评论:
您的许多包裹都是不必要的,例如
color
,等等xcolor
。graphicx
不要多次加载同一个包,尤其是使用不同的选项
\tiny
是一个开关,不接受参数,但无论如何,在分段命令的参数中弄乱格式指令是不好的,最好设置适当的 beamer 模板\setbeamerfont{section in toc}{size=\tiny}
\documentclass[xcolor=dvipsnames]{beamer}
\usepackage[utf8]{inputenc}
%\usepackage{xcolor}
%\usepackage{graphicx}
\usepackage{MnSymbol}
\usepackage{stmaryrd}
%\usepackage{colortbl}
\usepackage{caption}
\usepackage{comment}
\usepackage{pdfpages}
\usepackage{listings}
%\usepackage{color}
\usepackage{booktabs}
\usepackage{soul}
\usepackage[normalem]{ulem}
\usepackage{multirow}
%\usepackage{booktabs}
%\usepackage{graphicx}
\usepackage{epstopdf,tabu}
\usepackage{array,longtable}
%\usepackage{subfig}
\usepackage{tcolorbox}
\usepackage{lipsum}
%\usepackage[justification=centering]{caption}
%\usepackage{pgf}
%\usepackage{etex}
\usepackage{tikz,pgfplots}
\usetheme{Antibes}
\usecolortheme{dolphin}
\usefonttheme{professionalfonts}
\useoutertheme{infolines}
\useinnertheme{circles}
\newtheorem*{bem}{Bemerkung}
%\def\bibfont{\tiny}
%\usepackage{tikz}
\renewcommand{\raggedright}{\leftskip=2pt \rightskip=2pt plus 2cm}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%\usepackage{listings}
%\usepackage{color}
\definecolor{dkgreen}{rgb}{0,0.6,0}
\definecolor{gray}{rgb}{0.5,0.5,0.5}
\definecolor{mauve}{rgb}{0.58,0,0.82}
\lstset{frame=tb,
language=Java,
aboveskip=2mm,
belowskip=2mm,
showstringspaces=false,
columns=flexible,
basicstyle={\small\ttfamily},
numbers=none,
numberstyle=\tiny\color{gray},
keywordstyle=\color{blue},
commentstyle=\color{dkgreen},
stringstyle=\color{mauve},
breaklines=true,
breakatwhitespace=true,
tabsize=2
}
\setbeamerfont{section in toc}{size=\tiny}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\title[Summary thesis]{A short presentation}
\author[PhD]{Rudresh Dwivedi}
\begin{document}
\begin{frame}
\titlepage
\end{frame}
\section{Outline}
\frame[handout:0]{\frametitle{Outline}\tableofcontents[]}
\section[Introduction]{Introduction}
% \normalsize
\begin{frame}{Introduction}
Two forms of user authentication:
\begin{enumerate}
\item Knowledge base
\item Tokens
\end{enumerate}
\end{frame}
\end{document}