Document ClassesProblems with the Beamer Class

Information and discussion about specific document classes and how to create your own document classes.
Post Reply
drowzee88
Posts: 3
Joined: Mon Jul 05, 2010 11:27 pm

Problems with the Beamer Class

Post by drowzee88 »

Hi, I am new to the forums.. and have been searching for a solution to this problem for quite some time now..
Here is a test *.tex file:

Code: Select all

\documentclass[10pt,hyperref={pdfpagelabels=false}]{beamer}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage[ngerman]{babel}
\usepackage{graphicx}
\usepackage{chemarrow}
\usepackage{amsmath}
\usepackage{movie15} % notwendig für whiledo
%\setlength{\parskip}{\medskipamount}
%\setlength{\parindent}{0pt}
%!!!!!!!!!!!!!
\newcommand{\image}[3]{\begin{figure}[H]\centering \includegraphics[width={#2}]{#1}\label{#3} \end{figure}} %Einbringen von Bildern
%\usepackage[numbers,square]{natbib}
\def\newblock{\hskip .11em plus.33em minus.07em}%verhinder \newblock fehler mit bib
\usetheme{Hannover} %theme
%\usecolortheme{seagull}		%farbe
%\usepackage{lmodern}			%schriftart



\setbeamertemplate{blocks}[rounded][shadow=true]
\setbeamertemplate{section in sidebar}[shaded]
\usepackage[labelformat=empty,scriptsize]{caption} % aussehen der captions
%\setlength{\captionmargin}{10pt}
\addto\captionsngerman{% 
  \renewcommand{\figurename}{Abb.}% 
  \renewcommand{\tablename}{Tab.}} 
 



\defbeamertemplate*{footline}{infolines theme}{%
\hspace*{2ex}\raisebox{1.5ex}[-1.5ex]{%
\tiny\insertframenumber{}/\inserttotalframenumber}%
}% zahl in footline



\bibliographystyle{ba}
\setbeamertemplate{bibliography item}[text]
\setbeamertemplate{bibliography entry title}{} % keine absätze nach autor usw
\setbeamertemplate{bibliography entry location}{}
\setbeamertemplate{bibliography entry note}{}
\definecolor{front}{rgb}{0,0,0}
\setbeamercolor{bibliography entry author}{fg=front}
\setbeamercolor{bibliography entry title}{fg=front}
\setbeamercolor{bibliography entry journal}{fg=front}
\setbeamercolor{bibliography entry note}{fg=front}
\setbeamercolor{bibliography entry location}{fg=front}


\newcommand{\produkt}{\mbox{[Cd($\mu$-Br)$_2$(py)$_2$]$_{\infty}^{1}$}\ } %abkürzung fürs produkt
\newcommand{\cdbr}{CdBr$_2 \cdot 4$H$_2$O\ } %abkürzung für CdBr2 4H2O
\newcommand{\A}{\r{A}} %angström
\newcommand{\pnnm}{$Pnnm$}
\newcommand{\pton}{$P\frac{2_1}{n}$}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
\title[LIESST Effekt]{Der LIESST Effekt\\\begin{footnotesize}Moderne Methoden in der Anorganischen Chemie\end{footnotesize}}
\author[A. Ramadan,\\ K. Lamberts]{Amr Ramadan und Kevin Lamberts}
\date{30.06.2010}


\begin{frame}
\titlepage
\end{frame}


%\begin{frame}
%\begin{block}{}
%\centering
%\textbf{%
%\begin{Large}LIESST\\
%light induced excited spin state trapping\end{Large}\\
%lichtinduziertes Einfangen eines angeregten Spinzustandes}
%\end{block}
%\end{frame}


%\begin{frame}
%\frametitle{Inhalt}
%\tableofcontents
%\end{frame}

%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%% INTRODUCTION %%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{Einleitung}

\end{document}
It does not compile correctly always gives me an error (one for every frame to be exact) saying undefined control sequence.. the log file has been attached.. I hope a solution can be easy to find..

Sincerely
Drowzee88
Attachments
FTIR.log
(40.73 KiB) Downloaded 293 times

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Stefan Kottwitz
Site Admin
Posts: 10324
Joined: Mon Mar 10, 2008 9:44 pm

Problems with the Beamer Class

Post by Stefan Kottwitz »

Hi,

this example can be compiled without error for me with TeX Live 2009.
Perhaps look at this bug report, there's a suggestion.

Stefan
LaTeX.org admin
drowzee88
Posts: 3
Joined: Mon Jul 05, 2010 11:27 pm

Re: Problems with the Beamer Class

Post by drowzee88 »

adding the lines in the bug report do not help..
I have no idea where the problem lies, a friend of mine also has no problems compiling the tex file..

I use MikTex 2.8 and Texniccenter 1.0..
I have recently updated all packages using the Update Program of MikTex.. Other than that I really do not know what to do.. and would really appreciate all the help I can get because I would like to make my Presentation soon..

Ah yes.. I use Windows 7 Professional on a 32Bit system, Intel Core 2 CPU T7200 @ 2.00GHz, Display Card is NVidia Geforce Go 7400. Doubt that will have any effect or use though. The OS is installed in English. If anymore info is needed please do say..
The Log file and Test code are in the first post.

Sincerely
Drowzee88
drowzee88
Posts: 3
Joined: Mon Jul 05, 2010 11:27 pm

Re: Problems with the Beamer Class

Post by drowzee88 »

Hi again, I have just recently discovered, that when I remove the option:
hyperref={pdfpagelabels=false}
from my documentclass options, my tex file compiles with 0 errors.. could anyone tell me why this is the case?

Thank You
Sincerely
Drowzee88
Post Reply