1

I'm trying to prepare a presentation using latex but it gives an error:

"package keyval error: current slide undefined. See the keyval package documentation for explanation.Type H for immediate help. ... l.50 \end{frame} [return] Try typing to proceed. If that doesn't work, type X to quit."

This is how my presentation latex code looks like:

\documentclass{beamer}
\usepackage{beamerthemesplit}

\usetheme{Warsaw}
\usecolortheme{default}

\usepackage{pgf,algorithm,algorithmic,amsbsy,amsmath,amssymb,epsfig,bbm,mathrsfs,mathdots, subfigure}
\usepackage{graphicx}


\newcommand{\beq}{\begin{equation}}
\newcommand{\eeq}{\end{equation}}
\newcommand{\beqn}{\begin{eqnarray}}
\newcommand{\eeqn}{\end{eqnarray}}
\newcommand{\ba}{\begin{array}}
\newcommand{\ea}{\end{array}}

\title{On Cooperative }
\author{K. } 
\institute{Department \\
University \\
}

\date{  \\ {\today}}

\setbeamertemplate{footline}{\hfill
\insertframenumber/\inserttotalframenumber}


\begin{document}

\AtBeginSection{}

\frame{\titlepage}

\begin{frame}[allowframebreaks]{Outline}
\fontsize{9}{4}\selectfont{}
\tableofcontents[currentslide]
\end{frame}

Any help, pls

closed as off-topic by Mensch, OSjerick, user31729, Werner, Paul Gaborit Oct 28 '15 at 6:32

  • This question does not fall within the scope of TeX, LaTeX or related typesetting systems as defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

  • 1
    Remove [currentslide] from \tableofcontents. – Sigur Feb 7 '15 at 23:28
  • 2
    \fontsize{9}{4}\selectfont{} specifies text that is in a 9pt font on lines that are 4pt apart, do you intend that? (and don't load epsfig:-) – David Carlisle Feb 7 '15 at 23:38
  • Unconnected to the question, but that attempt to make 'shortcuts' for the align environment will fail. Use the proper LaTeX environment syntax, making use of your editors automation features as appropriate. – Joseph Wright Feb 8 '15 at 9:20
  • David: Regarding font u r correct. I do not lead .eps files – madushan Feb 9 '15 at 1:23
  • 4
    I'm voting to close this question as off-topic because solved in the comments ... – Mensch Oct 28 '15 at 2:24