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?