> For the complete documentation index, see [llms.txt](https://overleaf-pro.ayaka.space/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://overleaf-pro.ayaka.space/latex/ko/latex-1/17-latex-error-something-s-wrong-perhaps-a-missing-item.md).

# LaTeX 오류: 뭔가 잘못되었습니다--아마도 \item이 누락되었을 수 있습니다

이 오류는 다음을 포함하는 것을 잊었을 때 나타납니다 **`\item`** 명령입니다. 또한 표 안에서 목록을 잘못 사용하려고 할 때도 나타날 수 있습니다.

## 흔한 원인

**\item을 쓰는 것을 잊음:**

이 오류의 가장 기본적인 예는 LaTeX에 목록을 작성하겠다고 알려 놓고도 목록 항목에 다음을 붙이지 않은 경우입니다 **`\item`** 태그입니다. 그 예는 아래에 나와 있습니다

```latex
\begin{itemize}
이것은 우리 목록의 첫 번째 항목입니다
\end{itemize}
```

여기서는 다음을 사용하여 LaTeX에 목록을 작성하고 있다고 알려 주었습니다 **`itemize`** 환경입니다. 여기서 저지른 실수는 목록 항목에 다음을 붙이지 않았다는 것입니다 **`\item`**. 그러면 아래에 표시된 오류가 발생합니다:

main.tex, 6행

LaTeX 오류: 뭔가 잘못되었습니다--아마도 \item이 빠졌을 수 있습니다.

설명을 보려면 LaTeX 매뉴얼이나 LaTeX Companion을 참조하세요. 즉시 도움말을 보려면 H를 입력하세요. ... l.6 \end{itemize} 계속하려면 입력해 보세요. 그래도 안 되면 X를 입력하여 종료하세요.

이 목록을 올바르게 작성하는 방법은 다음과 같습니다:

```latex
\begin{itemize}
\item 이것은 우리 목록의 첫 번째 항목입니다
\end{itemize}
```

참고 [여기](/latex/ko/latex/04-lists.md) LaTeX에서 다양한 종류의 목록을 만드는 방법을 더 알아보려면.

**표 안에 목록을 잘못 작성하기:**

아래와 같이 목록을 사용하여 표 안의 셀에 번호를 매기려 하면 이 오류도 나타납니다.

```latex
\begin{tabular}{l}
  \begin{enumerate}
  \item 이것은 첫 번째 항목입니다\\ \hline
  \item 이것은 두 번째 항목입니다
  \end{enumerate}
\end{tabular}
```

이것은 실수입니다. 목록은 이런 방식으로 표 셀에 번호를 매기는 데 사용할 수 없기 때문입니다. 위의 문제를 해결하는 한 가지 방법은 카운터를 만드는 것입니다. 이는 다음을 포함하여 할 수 있습니다

```latex
\newcounter{rownumbers}
\newcommand\rownumber{\stepcounter{rownumbers}\arabic{rownumbers}}
```

문서의 서문에 (참고 [여기](http://tex.stackexchange.com/questions/21243/automatic-table-row-numbers)). 그러면 위 예제를 다음과 같이 작성할 수 있습니다

```latex
\begin{tabular}{l r}
  \rownumber & 이것은 첫 번째 항목입니다\\ \hline
  \rownumber & 이것은 두 번째 항목입니다
\end{tabular}
```

![Listexample.PNG](/files/c51c05574e8f5cc5e5b3d4b4aab8b4fc4ca2a4b3)

카운터를 만드는 방법에 대해 더 알아보려면, 우리의 [문서](/latex/ko/formatting/10-counters.md).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://overleaf-pro.ayaka.space/latex/ko/latex-1/17-latex-error-something-s-wrong-perhaps-a-missing-item.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
