$ 누락, Extra } 및 Extra } 필요

$ 누락, Extra } 및 Extra } 필요

다음은 목록과 함께 다음 정의를 포함하는 MNWE입니다. 하지만 마지막 항목에서 제목에 설명된 대로 문제가 발생하고 마지막 글머리 기호의 들여쓰기가 다른 항목처럼 들여쓰기되지 않습니다.

\documentclass{article}
\usepackage{amsmath}
\usepackage{amssymb}
\newcommand{\R}{\mathbb{R}}
\newenvironment{definition}{}{}
\begin{document}
\begin{definition}[Two-dimensional curves]
  {It is called a simple arc of a curve, the set $C$ of points $M(x,y) \in \R ^2 $
    (two-dimensional Euclidean space) satisfying one of the following equivalent equations;}
  \begin{itemize}
    \item{
      $ y=f(x), \text{ where } a,b \in \R \text{ and are also fixed} \text{,}$
    }
    \item{
      $ F(x,y)=0, \text{ } a_1 \leq x \leq a_2,\text{ }b_1 \leq y \leq b_2 \text{ where, } a_1, a_2, b_1, b_2 \in \R \text{,}$
    }
    \item{
      $
      \left\{\begin{array}{cll}
        x=g(t)\\
        y=h(t)
      \end{array}\right. \text{, where c_1<t< c_2} \text{ and } c_1,c_2 \in \R
      \text{.}$
    }
  \end{itemize}
\end{definition}
\end{document}

답변1

귀하의 예시를 더미 환경으로 최소화하고 완성했습니다.

c_1<t< c_2

텍스트 모드에서는 설정할 수 없습니다. 수학 모드에 있어야 합니다.

\documentclass{article}
\usepackage{amsmath}
\usepackage{amssymb}
\newcommand{\R}{\mathbb{R}}
\newenvironment{definition}{}{}
\begin{document}
\begin{definition}[Two-dimensional curves]
  {It is called a simple arc of a curve, the set $C$ of points $M(x,y) \in \R ^2 $
    (two-dimensional Euclidean space) satisfying one of the following equivalent equations;}
  \begin{itemize}
    \item{
      $ y=f(x), \text{ where } a,b \in \R \text{ and are also fixed} \text{,}$
    }
    \item{
      $ F(x,y)=0, \text{ } a_1 \leq x \leq a_2,\text{ }b_1 \leq y \leq b_2 \text{ where, } a_1, a_2, b_1, b_2 \in \R \text{,}$
    }
    \item{
      $
      \left\{\begin{array}{cll}
        x=g(t)\\
        y=h(t)
      \end{array}\right. \text{, where }c_1<t< c_2 \text{ and } c_1,c_2 \in \R
      \text{.}$
    }
  \end{itemize}
\end{definition}
\end{document}

답변2

@cfr의 답변에서와 같이 수학 자료에 수학 모드를 사용하지 않는 것과 관련된 즉각적인 문제를 해결하는 것 외에도 (a) 그룹화 목적으로 불필요한 인스턴스를 생략해야 {합니다 . }특히\item~ 아니다중괄호로 묶어야 하는 인수를 사용합니다. (b) 텍스트 및 수학 모드를 사용하는 데 더 목적이 있어야 합니다. 이러한 모든 \text명령문은 실제로 코드 혼동의 신호입니다. (c) 인수를 정의하는 데 더 신중해야 합니다. 라는 환경 definition; amsthm패키지를 로드하고 지시문을 사용하는 것이 좋습니다 \newtheorem{definition}{Definition}.

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

마지막으로, 세 개의 주요 항목 중 두 개에 뭔가 빠진 것 같다고 언급하지 않을 수 없습니다. a, b, c_1, 는 어떻게 c_2작동합니까?

\documentclass{article}
\usepackage{amsmath,amssymb,amsthm}
\newcommand{\R}{\mathbb{R}}
\theoremstyle{definition}
\newtheorem*{definition}{Definition}
\begin{document}
\begin{definition}[Two-dimensional curves]
The simple arc of a curve is the set $C$ of points $M(x,y)\in\R^2$ 
(two-dimensional Euclidean space) that satisfy one of the 
following equivalent equations:
  \begin{itemize}
    \item $y=f(x)$, where $a,b\in\R$ and are also fixed,
    \item $F(x,y)=0$, $a_1 \leq x \leq a_2,$ $b_1 \leq y \leq b_2$, 
      where $a_1, a_2, b_1, b_2 \in \R$,
    \item $\begin{cases} x=g(t)\\ y=h(t) \end{cases}$ 
      where $c_1<t<c_2$ and $c_1,c_2\in\R$.
  \end{itemize}
\end{definition}
\end{document}

관련 정보