正则化产品符号

正则化产品符号

我如何制作像 Deninger 论文中那样的正则化产品符号。它看起来像 II,只是大一点,$\prod$上面还有一个底部,如下所示论文摘要

在此处输入图片描述

答案1

以下是一种方法:

在此处输入图片描述

\documentclass{article}
\usepackage{amsmath}
\usepackage{graphicx}
\usepackage{mathtools}
\DeclareMathOperator{\MyProd}{\scalebox{1.4}{$\mathrm{I\kern-0.2ex I}$}}

\begin{document}
$\prod  $ \quad\verb|\prod|

$\MyProd$ \quad\verb|\MyProd|
\end{document}

答案2

这里有一个定义,它将根据模式产生适当的大小和适当的限制位置;我还为点积和双点积提供了暂定的定义:

\documentclass{article}
\usepackage{graphicx}
\usepackage{amsmath,amssymb}

\DeclareMathOperator*\Rprod{%
\mathchoice
  {\ooalign{$\displaystyle\prod$\cr\hidewidth$\displaystyle\coprod$\hidewidth\cr}}%
  {\ooalign{$\textstyle\prod$\cr\hidewidth$\textstyle\coprod$\hidewidth\cr}}%
  {\ooalign{$\scriptstyle\prod$\cr\hidewidth$\scriptstyle\coprod$\hidewidth\cr}}%
  {\ooalign{$\scriptscriptstyle\prod$\cr\hidewidth$%
  \scriptscriptstyle\coprod$\hidewidth\cr}}}

\DeclareMathOperator*\Dprod{%
\mathchoice
  {\ooalign{$\bullet$\cr\hidewidth$\displaystyle\Rprod$\hidewidth\cr}}%
  {\ooalign{\scalebox{.7}{$\bullet$}\cr\hidewidth$\textstyle\Rprod$\hidewidth\cr}\mkern6mu}%
  {\mkern6mu\ooalign{\scalebox{.6}{$\bullet$}\cr\hidewidth$\scriptstyle\Rprod$\hidewidth\cr}\mkern3mu}%
  {\mkern4mu\ooalign{\scalebox{.5}{$\bullet$}\cr\hidewidth$\scriptscriptstyle\Rprod$\hidewidth\cr}\mkern2mu}}

\newcommand\Vbullet{\raisebox{-2.1pt}{\kern-0.4pt\vbox{\baselineskip4pt\lineskiplimit0pt%
\hbox{$\bullet$}\hbox{$\bullet$}}}}

\DeclareMathOperator*\DDprod{%
\mathchoice
  {\ooalign{$\Vbullet$\cr\hidewidth$\displaystyle\Rprod$\hidewidth\cr}}%
  {\ooalign{\scalebox{.7}{$\Vbullet$}\cr\hidewidth$\textstyle\Rprod$\hidewidth\cr}\mkern6mu}%
  {\mkern6mu\ooalign{\scalebox{.6}{$\Vbullet$}\cr\hidewidth$\scriptstyle\Rprod$\hidewidth\cr}\mkern3mu}%
  {\mkern4mu\ooalign{\scalebox{.5}{$\Vbullet$}\cr\hidewidth$\scriptscriptstyle\Rprod$\hidewidth\cr}\mkern2mu}}

\begin{document}

\[
  \Rprod_{n\in I}a_{n}  
\]
$\Rprod_{n\in I}a_{n}$
\[
\Dprod_{n\in I}a_{n}
\]
$\Dprod_{n\in I}a_{n}$
\[
\DDprod_{n\in I}a_{n}
\]
$\DDprod_{n\in I}a_{n}$

\end{document}

在此处输入图片描述

答案3

也许一个更好的解决方案受到 Gonzalo 的启发

\documentclass{article}
\usepackage{amsmath}

\def\doubleprod#1#2{\ooalign{$#1\prod$\cr$#1\coprod$\cr}}
\def\ddoubleprod#1#2{\ooalign{\hidewidth$#1\onebullet$\hidewidth\cr$#1\Rprod$\cr}}
\def\dddoubleprod#1#2{\ooalign{\hidewidth$#1\twobullets$\hidewidth\cr$#1\Rprod$\cr}}
\def\onebullet{\mathchoice
  {\vcenter{\hbox{$\bullet$}}}
  {\vcenter{\hbox{$\scriptstyle\bullet$}}}
  {\vcenter{\hbox{$\scriptscriptstyle\bullet$}}}
  {\vcenter{\hbox{$\cdot$}}}
}
\def\twobullets{\mathchoice
  {\vcenter{\offinterlineskip\hbox{$\bullet$}\kern.2ex\hbox{$\bullet$}}}
  {\vcenter{\offinterlineskip\hbox{$\scriptstyle\bullet$}\kern.2ex\hbox{$\scriptstyle\bullet$}}}
  {\vcenter{\offinterlineskip\hbox{$\scriptscriptstyle\bullet$}\kern.1ex\hbox{$\scriptscriptstyle\bullet$}}}
  {\vcenter{\offinterlineskip\hbox{$\cdot$}\kern-1.4ex\hbox{$\cdot$}}}
}

\DeclareMathOperator*{\Rprod}{\mathpalette\doubleprod\relax}
\DeclareMathOperator*\Dprod{\mathpalette\ddoubleprod\relax}
\DeclareMathOperator*\DDprod{\mathpalette\dddoubleprod\relax}

\begin{document}

$\displaystyle\prod_{n\in I}\Rprod_{n\in I}a_{n}X_{\Rprod_{\Rprod}}\textstyle\Rprod$

$\displaystyle\prod_{n\in I}\Dprod_{n\in I}a_{n}X_{\Dprod_{\Dprod}}\textstyle\Dprod$

$\displaystyle\prod_{n\in I}\DDprod_{n\in I}a_{n}X_{\DDprod_{\DDprod}}\textstyle\DDprod$

\end{document}

它们\prod仅用于检查下标是否正确对齐。

如果你只需要第一行显示的符号,那么

\def\doubleprod#1#2{\ooalign{$#1\prod$\cr$#1\coprod$\cr}}
\DeclareMathOperator*{\Rprod}{\mathpalette\doubleprod\relax}

足够了。

在此处输入图片描述

相关内容