6

I use teXworks and I have a file called textwork1.ltx.

Here is the code:

\documentclass{article}

\usepackage{amsmath}
\usepackage{amstext}
\usepackage{amssymb}
\usepackage{graphicx}

\begin{document}
\title{My first \Latex{} Document}
\maketitle

Hello world!
\end{document}

and it gives me this error:

Errors: 1, Warnings: 0, Bad boxes: 0


textwork1.ltx
11
Undefined control sequence.
\@title ->My first \Latex 
                          {} Document
l.11 \maketitle

What can be the reason?

  • 3
    "does not show any research effort:" Please check any documentation on LaTeX you have (or use Google) - it will clearly explain this error message. – Reinstate Monica - M. Schröder Jul 26 '13 at 17:30
  • @MartinSchröder: I did my research. If you read the answer, you will see the next: LaTeX can be really murky with its errors. The control sequence is kind of command. This error doesn't reflect anything. – user2579252 Jul 27 '13 at 10:28
  • 4
    @user2579252: en.wikibooks.org/wiki/LaTeX/… - it's my second hit on Google. – Reinstate Monica - M. Schröder Jul 27 '13 at 10:37
  • Welcome to TeX.sx! Your post was migrated here from Stack Overflow. Please register on this site, too, and make sure that both accounts are associated with each other (by using the same OpenID), otherwise you won't be able to comment on or accept answers or edit your question. – Werner Jul 29 '13 at 17:50
19

LaTeX can be really murky with its errors. The control sequence is kind of command.

Thus it says, the parser did not understand/know the \Latex command. Perhaps you meant \LaTeX. The difference is capital T and X.