6

It's my first time in Beamer, and i want to make a titlepage as well as those seen on the net (and those done by my university teachers XD) First of all:

\documentclass[trans,9pt]{beamer}
\usepackage[spanish]{babel}
\usepackage[latin1]{inputenc}
\usepackage{lmodern}
\usepackage{bookmark}
\usepackage{graphicx}
\usetheme{Madrid}
\usecolortheme{wolverine}
\tiny
\title{Trabajo: El nombre del trabajo}
\author{Pablo \'Alvarez Rodr\'iguez}
\institute{Universidad de Oviedo}
\subject{F\'isica Moderna o T\'ecnicas experimentales}

\begin{document}

\begin{frame}
\titlepage
\includegraphics[\textscale]{UNIOVIlogo.jpg}
\end{frame}

\begin{frame}
    \frametitle{\'Indice}
    \tableofcontents
                %añadir distintas partes
                %mínimo 1 diapo
                    %; 2 máximo
\end{frame}

\begin{frame}
    \section{Introducci\'on}
    \frametitle{Introducci\'on}
    En este trabajo os voy a hablar sobre...
\end{frame}

    %----Para Moderna:
    \section{Breve repaso a part\'iculas elementales (1 diapo con imagen)}
    \begin{frame}
        content...
    \end{frame}
    \subsection{Leptones (1 diapo)}
    \begin{frame}
        content...
    \end{frame}
    \subsection{Bosones (1 diapo)}
    \begin{frame}
        content...
    \end{frame}
    \section{Formaci\'on de los neutrinos (1 o 2 diapos)}
    \begin{frame}
        content...
    \end{frame}
    \section{Formaci\'on de los fotones (1 o 2 diapos)}
    \begin{frame}
        content...
    \end{frame}
    %En las siguientes se mencionarán los distintos experimentos 
    \section{Utilidad f\'isica: Estudio de los fotones (1 diapo)}
    \begin{frame}
    \section{Utilidad f\'isica: Estudio de los neutrinos (1 diapo)}
    \subsection{Experimento \'Opera (1 diapo)}
    %siguiente es conclusión
    %----Para Experimentales: 
    %\section{Introducción
    %\section{Montaje
    %\section{Procedimiento
    %\section{Discusión de Resultados
    %siguiente es conclusión (como el informe)

    \begin{frame}
        \section{Conclusi\'on y Bibliograf\'ia}
        \frametitle{Conclusi\'on}
        Para terminar, me gustaría concluir que...

        %Moderna:
        Las mejores part\'iculas para ver el universo son...
        %Experimentales:
        %Como si acabara el informe
        \end{frame}

    \begin{frame}
        \frametitle{Bibliograf\'ia}
        \begin{thebibliography}{10}
            \setbeamertemplate{bibliography item}[book]
            \bibitem{Author}
            \newblock{\emph{F\'isica }}%volumen y edición
            \newblock Paul A. Tipler
          %si es moderna, también Gene Mosca. Añadir año de la 6ª edición: 2012%
          %para experimentales
      \end{thebibliography}
    \end{frame}
\end{document}

Then, after all of this (that is only a sketch for two works i have to do), my problems: -I have this error

File ended while scanning use of \beamer@collect@@body

I have to say that before finding this lonely-error I found lots of \end{frame} related errors. Are this two errors related?

Also, as I am tired with errors, how is the easiest way to insert an image? (.jpg or .png)

6
  • @Werner Is indenting \end{frame} not only a problem when using the fragile option? Commented Apr 25, 2015 at 18:08
  • @samcarter: Maybe; haven't checked. Your reference to the superfluous \begin{frame} is problematic, of course.
    – Werner
    Commented Apr 25, 2015 at 18:10
  • sooo, i dont ident here...
    – PARCB
    Commented Apr 25, 2015 at 18:16
  • @Pablo: Do you see the \begin{frame} without a corresponding \end{frame}?
    – Werner
    Commented Apr 25, 2015 at 18:18
  • There is? O-o??
    – PARCB
    Commented Apr 25, 2015 at 18:19

2 Answers 2

11

The problem is caused by the superfluous

\begin{frame}

in line 60

1
  • Thanks, sam. You know, I personally think all of this was identation
    – PARCB
    Commented Apr 25, 2015 at 19:02
0

Every \begin{frame} should have an \end{frame}... Please check for it

1
  • 3
    Welcome to TeX.SE! Could you show the OP which frame environment is incomplete with a working example?
    – TobiBS
    Commented Aug 7, 2020 at 10:30

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .