0

Here is the code I used

\documentclass[article]
\usepackage{graphicx}

\begin{document}
\begin{figure}
\includegraphics{0.png}
\end{figure}
\end{frame}
\end{document}

I typed like this but there is an error at line 2 which is ! TeX capacity exceeded, sorry [parameter stack size=10000].

  • 1
    Drop your use of \end{frame}. – Werner Sep 21 '16 at 2:43
  • i dropped \end{frame} but it is still not working – Sean Sep 21 '16 at 3:41
1

You should drop \end{frame}, since you dont use \begin{frame}. Also your \documentclass arguments should be something like this:

\documentclass{article}

The []-brackets are for further options like a4paper.

Try this:

\documentclass{article}
\usepackage{graphicx}

\begin{document}
\begin{figure}
\includegraphics{0.png}
\end{figure}
\end{document}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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