GeneralUndefined Control Sequence errors

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
Danyon
Posts: 4
Joined: Tue Apr 20, 2010 4:03 pm

Undefined Control Sequence errors

Post by Danyon »

Hi (I'm new to this forum)

I've been sent a file from someone but when I try to compile it I get "undefined control sequence" errors. I have found the lines that are causing the errors, but I am not sure what the problem is.

I found that the original author was missing a \usepackage{mathrsfs} command which I have now added. This has reduced the number of 'undefined control sequence' errors to only one. I am assuming that there is another missing \usepackage command.

Code: Select all

\documentclass[notes=show]{beamer}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{amsfonts}
\usepackage{amsmath}
\usepackage{mathpazo}
\usepackage{hyperref}
\usepackage{multimedia}
\usepackage{mathrsfs}

\setcounter{MaxMatrixCols}{10}
%TCIDATA{OutputFilter=LATEX.DLL}
%TCIDATA{Version=5.50.0.2890}
%TCIDATA{<META NAME="SaveForMode" CONTENT="1">}
%TCIDATA{BibliographyScheme=Manual}
%TCIDATA{Created=Wednesday, November 01, 2006 09:43:38}
%TCIDATA{LastRevised=Thursday, February 19, 2009 15:17:57}
%TCIDATA{<META NAME="GraphicsSave" CONTENT="32">}
%TCIDATA{<META NAME="DocumentShell" CONTENT="Other Documents\SW\Slides - Beamer">}
%TCIDATA{CSTFile=beamer.cst}

\newenvironment{stepenumerate}{\begin{enumerate}[<+->]}{\end{enumerate}}
\newenvironment{stepitemize}{\begin{itemize}[<+->]}{\end{itemize} }
\newenvironment{stepenumeratewithalert}{\begin{enumerate}[<+-| alert@+>]}{\end{enumerate}}
\newenvironment{stepitemizewithalert}{\begin{itemize}[<+-| alert@+>]}{\end{itemize} }
\usetheme{Warsaw}
\input{tcilatex}
\AtBeginSection[]{\frame{\frametitle{Outline}\tableofcontents[currentsection]}}

\begin{document}

\title[]{Improvement  %
\\
 in Non-parametric  Common Regression.}
\date{1 January 2010}
\author{Joe Bloggs}
\maketitle

\part{Outline}


\section{Background}

\QTR{frametitle}{ Setting}

\transboxout%

\end{frame}%

\begin{frame}%
%EndExpansion

\QTR{frametitle}{MSE expression}
\begin{equation*}
\Phi ( \tilde{m} ( \zeta ))=\displaystyle\sum_{j=1}^q\displaystyle\sum_{l=1}^r \display\sum_{n=r-1} \frac{1}{l!}\frac{1}{n!} \frac{\partial^{(l)}m}{(\partial z_j)^l} |_{z=\zeta} \frac{%\partial^{(n)}f}{(\partial z_j)^n}|_{z=\zeta}
\end{equation*}

%TCIMACRO{\TeXButton{Transition: Box Out}{\transboxout}}%
%BeginExpansion
\transboxout%
%EndExpansion
%TCIMACRO{\TeXButton{EndFrame}{\end{frame}}}%
%BeginExpansion
\end{frame}%
%EndExpansion

\end{document}
The section causing the problem is:

Code: Select all

\begin{equation*}
\Phi ( \tilde{m} ( \zeta ))=\displaystyle\sum_{j=1}^q\displaystyle\sum_{l=1}^r \display\sum_{n=r-1} \frac{1}{l!}\frac{1}{n!} \frac{\partial^{(l)}m}{(\partial z_j)^l} |_{z=\zeta} \frac{%\partial^{(n)}f}{(\partial z_j)^n}|_{z=\zeta}
\end{equation*}
Does anyone have any ideas on how to get rid of the undefined control sequence error? I am using MiKTeX 2.7 with Winshell 3.3.0.

Many thanks for your help.

Danyon

Recommended reading 2024:

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

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

gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

Undefined Control Sequence errors

Post by gmedina »

Hi,

the problem comes from "\display" which is not a command and from a superfluous comment sign "%"; replace \display with \displaystyle and delete the superfluous sign:

Code: Select all

\begin{equation*}
\Phi ( \tilde{m} ( \zeta ))=\displaystyle\sum_{j=1}^q\displaystyle\sum_{l=1}^r \displaystyle\sum_{n=r-1} \frac{1}{l!}\frac{1}{n!} \frac{\partial^{(l)}m}{(\partial z_j)^l} \bigg\vert_{z=\zeta} \frac{\partial^{(n)}f}{(\partial z_j)^n}\bigg\vert_{z=\zeta}
\end{equation*}
I also extended the evaluation vertical lines.
1,1,2,3,5,8,13,21,34,55,89,144,233,...
Danyon
Posts: 4
Joined: Tue Apr 20, 2010 4:03 pm

Re: Undefined Control Sequence errors

Post by Danyon »

Many thanks for your help. Much appreciated.
Post Reply