如何將符號放在張量積的頂部

如何將符號放在張量積的頂部

如何$\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}

在此輸入影像描述

相關內容