정의되지 않은 제어 시퀀스 오류가 발생했지만 내 파일에 무슨 문제가 있는지 모르겠습니다.

정의되지 않은 제어 시퀀스 오류가 발생했지만 내 파일에 무슨 문제가 있는지 모르겠습니다.
\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}

(글꼴) 입력 12번 라인의 <10.95>. ! 정의되지 않은 제어 순서. l.12 \noindent 1) $\sqrt{2} \in \mathbb {R} $를 보여주세요.

이것을 컴파일하려고 하면 이 오류가 발생합니다. 여전히 원하는 대로 PDF 출력을 얻을 수 있지만 왜 이 오류가 나타나는지 여전히 신경이 쓰입니다. amsmath, amstext 패키지를 포함하려고 시도했지만 오류가 수정되지 않았습니다.

답변1

위에 표시된 형식의 오류 메시지는 읽을 수 없습니다. TeX 오류를 표시할 때 항상 줄 끝을 유지해야 합니다.

문서에 오류가 있습니다.

! 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.

? 

도움말 텍스트에서 \mathbb정의되지 않은 문제가 있는 명령인 메시지의 줄바꿈 ​​위치를 통해 명확하게 알 수 있습니다.

TeX 자체는 정의 방법이 아니라 정의되지 않았다는 것만 알려줄 수 있지만 해당 명령에 대한 Google은 패키지가 필요하다는 것을 신속하게 알려줄 것입니다.amsfonts

첨가

\usepackage{amsfonts}

문서에 오류가 없도록 해주지만 TeX 마크업에는 오히려 문제가 많습니다.

"두 글자" 글꼴 명령은 latex2e에서 권장되지 않으며(기본적으로 정의되지 않음) 일반적으로 latex 명령을 사용하는 것이 더 좋습니다. \scshape그러나 이 경우 일반적으로 문서에서 글꼴 명령, 특히 다음과 같은 구조적 명령에서는 피해야 합니다 \title. \author이러한 명령의 요점은 데이터가 포함된 일반 텍스트만 있고 스타일은 문서 클래스에 따라 다르다는 것입니다. 비슷한 이유로 \vspace\noindent와 같은 명시적인 번호 매기기를 피해야 합니다 1).

여기에 이미지 설명을 입력하세요

\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}

관련 정보