如何定义数学运算符闭包、内部和基数?
\documentclass{article}
\usepackage{amsmath,amsfonts}
\begin{document}
$\bigskip IntA=clB$
$card\beta \mathbb{N}=card\beta \mathbb{Q}$
\end{document}
我使用的是 Scientific Workspace 5.5,当我在此程序中定义数学运算符时,它将其定义为 \limfunc{***},如下所示。当我在序言中输入此内容时,它不起作用。有什么办法吗?
\documentclass{article}
\usepackage{amsmath,amssymb}
\DeclareMathOperator{\limfunc{Int}}{Int}
\DeclareMathOperator{\limfunc{cl}}{cl}
\begin{document}
$\limfunc{Int}A=\limfunc{cl}A$
\end{document}
答案1
这里有三个使用 的定义,分别是 Int、card 和 cl \DeclareMathOperator
。请参见屏幕截图的输出。
\documentclass[a4paper,12pt]{article}
\usepackage{mathtools,amssymb}
\DeclareMathOperator{\Int}{Int}
\DeclareMathOperator{\card}{card}
\DeclareMathOperator{\clo}{cl}
\begin{document}
$\Int A =\{x\in B : x\leq 4\}$ (\verb|\DeclareMathOperator for Interior|)
Let $A=\{1,3,4,9\}$ i.e., the set of numbers $1,3,4$ and $9$, we see that there are $4$ elements in this set and therefore $\card(A)=4$.
(\verb|\DeclareMathOperator for cardinality|)
$\clo C= D\cup E$ (\verb|\DeclareMathOperator for closure|)
\end{document}
附录
\documentclass{article}
\usepackage{amsmath,amssymb}
\newcommand{\limfunca}{\operatorname{Int}}
\newcommand{\limfuncb}{\operatorname{cl}}
\begin{document}
$\limfunca A=\limfuncb A$
\end{document}