Math & ScienceUndefined Control Sequence.

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
Post Reply
tempotempo
Posts: 2
Joined: Tue May 22, 2012 10:52 pm

Undefined Control Sequence.

Post by tempotempo »

Hello folks,

I am encountering an annoying !Undefined control sequence error that somehow appears within my document (about 200 times) :evil:
Here is an example for it:

Code: Select all

\begin{equation}\label{eq:capm}
r_{i,t} = \alpha_i + \beta_{i,1} \m{f}_{1,t} + \ldots + \beta_{i,K} \m{f}_{K,t} + \epsilon_{i,t}, 
\end{equation}
\m{} is used with the T4 package to typeset African style letters. However,
Last edited by Stefan Kottwitz on Thu Jun 21, 2012 4:31 pm, edited 1 time in total.

Recommended reading 2024:

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

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
Stefan Kottwitz
Site Admin
Posts: 10359
Joined: Mon Mar 10, 2008 9:44 pm

Re: Undefined Control Sequence.

Post by Stefan Kottwitz »

Hi,

welcome to the board!

Perhaps tell us the complete error message, since TeX tells you exactly which control sequence in undefined.

Stefan
LaTeX.org admin
tempotempo
Posts: 2
Joined: Tue May 22, 2012 10:52 pm

Re: Undefined Control Sequence.

Post by tempotempo »

Alright, here it comes:

<pdflatex> ! Undefined control sequence.
<pdflatex> l.32 ...i,1} \m{f}_{1,t} + \ldots + \beta_{i,K} \m{f}_{K,t} + \epsilon_{i,t},

As indicated before, this expression is part of a function, and \m{f} is used to typeset a phonetical f based on African fonts. If there is a better way to typeset this f, I would be more than pleased to use it...
User avatar
Stefan Kottwitz
Site Admin
Posts: 10359
Joined: Mon Mar 10, 2008 9:44 pm

Undefined Control Sequence.

Post by Stefan Kottwitz »

There's no further line break in the error message? Have a look at this example:

Code: Select all

! Undefined control sequence.
l.6     r_{i,t} = \alpha_i + \beta_{i,1} \m
                                           {f}_{1,t} + \ldots + \beta_{i,K} ...
Here is the line break exactly at the error position \m, which is unknown in my file, of course. Where is the corresponding line break in your error message? Which is the last control sequence or command, respectively, in the corresponding error line?

Stefan
LaTeX.org admin
Post Reply