缺 $、需要額外 } 和額外 }

缺 $、需要額外 } 和額外 }

這是一個 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_1c_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}

相關內容