テンソル積の上に記号を置く方法

テンソル積の上に記号を置く方法

$\frown$の上に を配置するにはどうすればいいですか$\otimes$? 試してみました\stackrelが、記号間のスペースが広すぎます。

答え1

可能性としては、次のようになります。

\documentclass{article}
\usepackage{amsmath}

\makeatletter
\DeclareRobustCommand\frownotimes{\mathbin{\mathpalette\frown@otimes\relax}}
\newcommand{\frown@otimes}[2]{%
  \vbox{
    \ialign{##\cr
      \hidewidth$\m@th#1{}_\frown$\kern-\scriptspace\hidewidth\cr
      \noalign{\nointerlineskip\kern-1pt}
      $\m@th#1\otimes$\cr
    }%
  }%
}
\makeatother

\begin{document}

$A\frownotimes B_{x\frownotimes y}$

\end{document}

ここに画像の説明を入力してください

答え2

\documentclass{article}
\usepackage{stackengine,scalerel}
\def\frownotimes{\mathbin{\ThisStyle{\ensurestackMath{\stackengine{-1.4\LMpt}{%
  \SavedStyle\otimes}{\mkern1mu\SavedStyle_\frown}{O}{c}{F}{T}{S}}}}}
\begin{document}
$A \frownotimes B_{x \frownotimes y}$
\end{document}

ここに画像の説明を入力してください

関連情報