GeneralMissing Control Sequence Error

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
F84NC35C
Posts: 3
Joined: Thu Aug 09, 2012 5:34 pm

Missing Control Sequence Error

Post by F84NC35C »

Hello,

I have been trying to compile a file but there seems to be an error. Here's my MWE:

Code: Select all

\documentclass[twoside,a4paper,11pt]{article}
\usepackage[latin1]{inputenc}
\usepackage[catalan]{babel}
\usepackage{amsmath,amsthm}
\usepackage{amsfonts}
\title{Funcions convexes. Desigualtat de Jensen}
\author{Francesc Granell i Yuste\\ \\ \\ \\Facultat de Matemàtiques i Estadística\\Universitat Politècnica de Catalunya}																		
\begin{document}
\maketitle
\newpage
\begin{abstract}
Text del resum.
\end{abstract}
\newpage
\tableofcontents
\newpage
\section{Funcions convexes}
En matemàtiques, s'anomena un conjunt \emph{K} convex si $\forall x,y \in K, \forall \alpha, \beta \in mathds{R}; \alpha+\beta=1, \alpha, \beta \ge0 es compleix \alpha x+\beta y \in K$. Suposem ara $f: K \subset mathds{R}^{n}\rightarrow mathds{R}$. Direm que $f$ és convexa si $\forall x,y \in K, \forall t \in [0,1]$ es compleix $f(tx+(1-t)y)\le tf(x)+(1-t)f(y)$. Quan la desigualtat és estricta ($x\ne y)$), la funció és estrictament convexa. Per contra, direm que $f$ és còncava si la desigualtat té sentit contrari o si és convexa en canviar-li el signe ($f$ és còncava si $-f$ és convexa).
D'altra banda, cal definir el concepte d'\emph{epígraf d'una funció}.
\begin{equation}\label{Epígraf de $f$}
    epi f={(x,y); x \in K, \mu \ge f(x)} \subset mathds{R}^{n+1}
\end{equation}
\end{document}
Can you find where's the mistake? What should I do? Thanks!
Last edited by localghost on Thu Aug 09, 2012 6:31 pm, edited 2 times in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX books
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Re: Missing Control Sequence Error

Post by localghost »

Accented characters in labels are not allowed.


Best regards and welcome to the board
Thorsten
F84NC35C
Posts: 3
Joined: Thu Aug 09, 2012 5:34 pm

Re: Missing Control Sequence Error

Post by F84NC35C »

Thorsten, the error still appears even if I don't write the accent in the label... By the way, do you mean there is no way to write accents in labels?
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Missing Control Sequence Error

Post by localghost »

F84NC35C wrote:[…] By the way, do you mean there is no way to write accents in labels?
What else should I mean? And math mode isn't allowed neither.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10308
Joined: Mon Mar 10, 2008 9:44 pm

Missing Control Sequence Error

Post by Stefan Kottwitz »

F84NC35C wrote:Thorsten, the error still appears even if I don't write the accent in the label... By the way, do you mean there is no way to write accents in labels?
Any need for this? \label is for internal references, they will not be printed. Perhaps you mean something like done by \tag or \tag*.

Stefan
LaTeX.org admin
F84NC35C
Posts: 3
Joined: Thu Aug 09, 2012 5:34 pm

Missing Control Sequence Error

Post by F84NC35C »

Thanks!! :)
Post Reply