Error de secuencia de control no definido, pero no tengo idea de qué le pasa a mi archivo

Error de secuencia de control no definido, pero no tengo idea de qué le pasa a mi archivo
\documentclass[11pt]{article}
\usepackage[utf8]{inputenc}

\title{\sc Homework 1}
\author{\sc by Me}
\date{\sc January 2017}

\begin{document}

\maketitle

\noindent 1) Show that $\sqrt{2} \in \mathbb{R} $
\vspace{1pc}

We will define two sequences, $A_k$ and $B_k$. 
Let $A_k = a_1.a_2a_3a_4\dots a_k$, and ${A_k}^2 > 2$ but decreasing the last digit, $a_k$, 
by 1 will result ${A_k}^2 < 2$.

\end{document}

(Fuente) <10.95> en la línea de entrada 12. ! Secuencia de control Indefinido. l.12 \noindent 1) Demuestre que $\sqrt{2} \in \mathbb {R} $

Recibo este error cuando intento compilar esto. Todavía obtengo una salida en PDF como quiero, pero todavía me molesta por qué aparece este error. Intenté incluir el paquete amsmath, amstext, pero no solucionó el error.

Respuesta1

El mensaje de error en el formato que se muestra arriba no es legible; siempre debe conservar los finales de línea cuando muestre errores TeX.

El error en su documento es

! Undefined control sequence.
l.12 \noindent 1) Show that $\sqrt{2} \in \mathbb
                                                 {R} $
? h
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

? 

Lo cual, como deja claro el texto de ayuda, por la posición del salto de línea en el mensaje, \mathbbes el comando problemático que no se ha definido.

TeX en sí solo puede decirle que no está definido, no cómo definirlo, pero Google para ese comando debería decirle rápidamente que necesita el paquete.amsfonts

Añadiendo

\usepackage{amsfonts}

hace que el documento esté libre de errores, pero hay muchos problemas con el marcado TeX.

Los comandos de fuente de "dos letras" no se recomiendan en latex2e (y no están definidos de forma predeterminada). Generalmente es mejor usar los comandos de látex; en este caso, \scshapesin embargo, en general debes evitar los comandos de fuente en el documento y especialmente en comandos estructurales como \titley \authorya que el objetivo de esos comandos es que solo tienen texto sin formato con los datos y el estilo depende de la clase del documento. Por razones similares, debe evitar \vspacenumeraciones \noindentexplícitas como 1).

ingrese la descripción de la imagen aquí

\documentclass[11pt]{article}
\usepackage[utf8]{inputenc}
\usepackage{amsfonts}

\makeatletter
% \@maketitle copied from article.cls, woth \ascshape added
\renewcommand\@maketitle{%
  \newpage
  \null
  \vskip 2em%
  \begin{center}%
\scshape
  \let \footnote \thanks
    {\LARGE \@title \par}%
    \vskip 1.5em%
    {\large
      \lineskip .5em%
      \begin{tabular}[t]{c}%
        \@author
      \end{tabular}\par}%
    \vskip 1em%
    {\large \@date}%
  \end{center}%
  \par
  \vskip 1.5em}
\makeatother

\title{Homework 1}
\author{by Me}
\date{January 2017}

\begin{document}

\maketitle

\begin{enumerate}
\item  Show that $\sqrt{2} \in \mathbb{R} $

\bigskip

We will define two sequences, $A_k$ and $B_k$. 
Let $A_k = a_1a_2a_3a_4\dots a_k$, and 
% You could use {A_k}^2 if you really need to stress the order
% bit it makes the 2 float off and normally the more compact
% form is used (and understood)
$A_k^2
 > 2$
but decreasing the last digit, $a_k$, 
by 
% math mode!
$1$ 
 will result
% as above
$A_k^2
 < 2$.
\end{enumerate}
\end{document}

información relacionada