在句子中使用二元运算符

在句子中使用二元运算符
\documentclass{article}
\usepackage{graphicx}

\begin{document}

\title{GROUP THEORY}

\maketitle

\section{Algebraic System}
It defines on binary operator \star  over a set A such that A \star A \rightarrow B

If the operator results in the same set that it operates upon, then the algebraic system is called "CLOSED"

Eg:
\begin{enumerate}
    \item Set of integers is closed under +,-,\star\ operator.\
    \item Set of integers is not closed under / operator.\
\end{enumerate}


\end{document}

我想

群论

代数系统:它在集合 A 上定义二元运算符 *,使得 A * A --> B

例如 1. 整数集 +,-,* 2. 整数集 /

(我想用星号运算符 \star 替换 *)

答案1

您喜欢使用的命令仅在数学模式下有效。即在两个$符号之间:

\documentclass{article}

\usepackage{csquotes}% will help you to get real quotes ;-)
\MakeOuterQuote{"}

\begin{document}

\title{GROUP THEORY}

\maketitle

\section{Algebraic System}
It defines on binary operator $\star$ over a set $A$ such that
$A \star A \rightarrow B$

If the operator results in the same set that it operates upon,
then the algebraic system is called "CLOSED"

Eg:
\begin{enumerate}
    \item Set of integers is closed under $+$, $-$, $\star$ operator.
    \item Set of integers is not closed under $/$ operator.
\end{enumerate}
\end{document}

在 LateX 中,你应该将所有数学内容声明为数学本身。这意味着你使用$…$或者\(…\)用于内联和\[…\]用于显示数学的环境{equation}(或许多其他数学环境之一)。

结果


顺便说一句:"CLOSED"不会给你正确的报价。如果你加载csquotes并将其定义"为引号,\MakeQuterQuote您将在 PDF 中获得正确的符号……

相关内容